Category Archives: Linux

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 , ,

Iperf3: How to Specify the Amount of Data to be Transmitted

Assalamulaikum. I need to test my server to server connection with 1gb data transfer. Below is the command Server IP: 10.200.200.5 Client IP: 10.200.200.4 On Server, run iperf -s On client, run iperf3 -c 10.200.200.5 -n 1G or iperf3 -c … Continue reading

Posted in Linux | Tagged ,

Configure Multipathing in Linux (RHEL7/CentOS7

Assalamualaikum, After you have assigned LUN (usually configured in storage) to the specific client, below is the steps on how to configure mutltipath on client machine (RHEL7/CentOS7. Install device-mapper-multipath root@www ~]# yum -y install device-mapper-multipath Install iSCSI Initiator. [root@www ~]# … Continue reading

Posted in Linux | Tagged , , , , , ,

Engine-setup hangs on “Creating CA” During Installation

Assalamualaikum, Issue: ovirt-engine hang during installation. Stuck at Creating CA. Please confirm installation settings (OK, Cancel) [OK]: [ INFO ] Stage: Transaction setup [ INFO ] Stopping engine service [ INFO ] Stopping ovirt-fence-kdump-listener service [ INFO ] Stopping dwh … Continue reading

Posted in Linux, oVirt, RHEV | Tagged , ,

Connect to RHEV/oVIrt Using CLI

Assalamualaikum, To connect to your RHEV/oVirt using CLI (rhevm-shell/ovirt-shell) # ovirt-shell -l https://skrinhitam.wordpress.com/ovirt-engine/api -u admin@internal –ca-file /etc/pki/ovirt-engine/ca.pem Below is the location of the related certs. To connect ‘securely’ to the rhevm-shell, the following files are required to be passed: [key-file] … Continue reading

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

How to Add One User to Multiple Groups

Assalamualaikum, The utility is usermod and is used like: usermod -a -G group1,group2 username Where username is the user you want to modify and group1 and group2 are the new groups you want that user to join. Running the command … Continue reading

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