1. login to vpshere and expand disk to new space for the vm 2. echo the following command – change controller to match ; you can also reboot to see the changes echo “- – -” > /sys/class/scsi_host/host0/scan 3. login to VM – determine if filesystem mount is directly written to; if so you can […]
Month: February 2017
How to re-register cloned System on Red Hat Network Portal?
SOLUTION VERIFIED – Updated March 17 2014 at 9:56 PM – English Environment Red Hat Enterprise Linux v 6.3 RHN Classsic (Red Hat Network Classic) Certificate Based Registration (Red Hat Subscription Management) Issue How to re-register cloned System on Red Hat Network Portal? Resolution If cloned system is registered using RHN classic, then following steps […]
NMAP – scan for unused or down IP’s
nmap -v sn -n 192.168.3.0/23 -oG – | awk ‘/Status: Down/{print $2}’ -sn (No port scan) . This option tells Nmap not to do a port scan after host discovery, and only print out the available hosts that responded to the scan. This is often known as a “ping scan”, but you can also request […]
Solaris 10 – clean up the device tree after lun removal
Image Credits: Oracle Solaris. Cleaning up the Operating System device tree after removing LUNs – Solaris 10 example You must clean up the device tree after removing LUNs (e.g Netapp, EMC) . The OS commands may vary for Solaris versions. Be careful – this worked on Solaris 10 To clean up the device tree after […]
Redhat tuned-adm
Installing and configuring Tuned To start using tuned we will first need to install the packages for it: [root@server ~]# yum install tuned After the packages are installed we can query the status of the tuning daemons using the tuned-adm activecommand: [root@server ~]# tuned-adm active Current active profile: off Service tuned: disabled, stopped Service ktune: disabled, stopped As […]
Cal command
cal -j format julian dates