Various Time Scripts
To see the offset for a range of system for X in `cat YourList.txt` do Y=`ssh $X -l root ‘ntpdate -q 10.168.XX.XX’ | awk -F, ‘{print $3}’` echo $X $Y done
To see the offset for a range of system for X in `cat YourList.txt` do Y=`ssh $X -l root ‘ntpdate -q 10.168.XX.XX’ | awk -F, ‘{print $3}’` echo $X $Y done
If you get the error Metadata file does not match checksum You can fix it with yum clean metadata
Create the virtual interface vi /etc/sysconfig/network-scripts/ifcfg-eth0:0 Populate the file DEVICE=eth0:0 ONPARENT=yes IPADDR=10.10.10.10 Bring up the interface /sbin/ifup eth0:0 The interface will be brought up and down automatically as the parent interface (eth0) changes state.