Author Archives: admin

Check Amazon EBS/NVME Volume ID in EC2 Linux

Assalamualaikum.. EBS volumes are exposed as NVMe block devices on instances built on the Nitro System. The device names are /dev/nvme0n1, /dev/nvme1n1, and so on. The device names that you specify in a block device mapping are renamed using NVMe … Continue reading

Posted in aws, Install, RedHat | Tagged , , , | Leave a comment

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 | Leave a comment

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 , , , , , , | Leave a comment

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 | Tagged , , , , , | Leave a comment

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 , , , , , , | Leave a comment

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 , , , , , | Leave a comment

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 , , , , | Leave a comment

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 –attribute=email=hanief@example.net 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 , | Leave a comment

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 , , , | Leave a comment

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 , , , , | Leave a comment