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
April 1, 2009
by Greg Cain
Comments Off
April 1, 2009
by Greg Cain
Comments Off
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
April 1, 2009
by Greg Cain
Comments Off
If you get the error Metadata file does not match checksum You can fix it with yum clean metadata
March 30, 2009
by Greg Cain
Comments Off
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.