Author Archives: admin

Redirect Tomcat Homepage to Another URL

Assalamualaikum.. To redirect the Tomcat home page we need to edit file index.jsp (/opt/tomcat/webapps/ROOT/index.jsp). It is a good idea to backup the file before you doing any modification to the file. Below steps was tested on Tomcat 9. Step 1: … Continue reading

Posted in tomcat | Tagged

Resize Swap Space in RHEL/CentOS 6 & 7

Assalamualaikum, Your swap partition might need to resize over time. Below are the steps; Disable Swap [root@server ~]# swapoff -v /dev/rootdg/swap swapoff /dev/rootdg/swap Resize Swap (resize to 30GB) [root@server ~]# lvextend -L30G /dev/rootdg/swap Size of logical volume rootdg/swap changed from … Continue reading

Posted in Linux, RedHat | Tagged , , , , , ,

Monitor Disk Space in Real Time

Assalamualaikum.. Run below command to check size of file or directory in real time. # watch -n 1 du -sh /var/cores/netbackup/* -n = Interval in second 1 = Size will update every 1 second. du -sh = Get the size … Continue reading

Posted in Linux, RedHat

Veritas: Creating and Administering Disk Groups (Veritas Volume Manager – VxVM)

Assalamualaikum, You can use the vxdg command to create a new disk group. A disk group must contain at least one disk at the time it is created. You also have the option to create a shared disk group for … Continue reading

Posted in Linux, Storage, UNIX | Tagged , , , , , ,

How to Configure Network Teaming in CentOS/RHEL 7

Assalamualaikum, On network servers, it is an important requirement to ensure that the network interface is available at all times. On Red Hat Enterprise Linux 7, you can create aggregated network interfaces. Use network teaming or network bonding to accomplish … Continue reading

Posted in Linux | Tagged , , , , ,

Openvswitch – Cannot Update CentOS 7

Assalamualaikum Whenever you use CentOS 7 with openvswith enabled you cannot update you system. yum update will time out. The server can access the internet, the mirror server can be resolved. So what is the problem? Usually this happened on … Continue reading

Posted in Install, Linux, RedHat | Tagged , , , ,

Create ID In RHV/oVirt

Assalamualaikum… Below are step by step guide to create user in RHV/oVirt and give user privilege to access to Manager. Create ID ovirt-aaa-jdbc-tool user add hanief –attribute=firstName=Hanief –attribute=lastName=Harun – Show ID ovirt-aaa-jdbc-tool user show hanief Set User Password ovirt-aaa-jdbc-tool user … Continue reading

Posted in Linux, oVirt, RHEV, RHV | Tagged ,

Error “Cannot import VM. Selected display type is not supported by the operating system” When Importing VM from RHEV to oVirt

Assalamualaikum, When importing VMs from a StorageDomain (usually export domain) you may get a “Cannot import VM. Selected display type is not supported by the operating system” error. This is my workaround solution. The issue happened when I try to … Continue reading

Posted in RHEV, RHV, Virtualization | Tagged , , ,

How to Check Top Running Processes by Highest Memory and CPU Usage in Linux

Assalamualiakum.. The following command will show the list of top processes ordered by RAM and CPU use in descendant form (remove the pipeline and head if you want to see the full list): ps -eo pid,ppid,cmd,%mem,%cpu –sort=-%mem | head Brief … Continue reading

Posted in Linux, UNIX | Tagged , , , ,

How to Backup oVirt Engine

Assalamualaikum.. Backup is straightforward. See –help for details. Below is the steps on how to backup ovirt engine. Example: engine-backup –mode=backup –file=backup1 –log=backup1.log Full backup engine-backup –mode=backup –scope=all –file=”/var/lib/ovirt-engine/backups/fullbackup-$(date +%Y%m%d%H%M%S).tar.bz2″ –log=/var/log/ovirt-engine/fullbackup-$(date +%Y%m%d%H%M%S).log DB backup engine-backup –mode=backup –scope=files –scope=db –file=”/var/lib/ovirt-engine/backups/DBbackup-$(date +%Y%m%d%H%M%S).tar.bz2″ … Continue reading

Posted in Linux, oVirt, RedHat, RHEV, RHV | Tagged , ,