Friday, June 6, 2008

Bonding Network Interfaces

Should have the GATEWAY defined in /etc/sysconfig/network and the ifcfg-xxxx config file. Just in one. Try to use save vendor of NIC for network bonding.

Xen DomU server different time zone

I am in the testing stages of Xen right now and have discovered that you only need to run ntp on the Dom0 host. The DomU hosts get updated from the Dom0 server. What if you want to run a DomU in a different time zone?

For a RHEL 4/5 DomU edit /etc/sysconfig/clock and set the appropriate timezone OR create a symbolic link in /etc called localtime that points to the time zone desired.

Changing Time Zone CL style

Set system time RHEL 5. Probably works for RHEL3 and 4 but not tested. The time zone files are listed in /usr/share/zoneinfo. Simply, cd to /etc directory and create a symbolic link to change the time of the system. Make sure you are pointing to the correct time zone.

cd /etc
ln -sf /usr/share/zoneinfo/Americas/Los_Angeles localtime

Note using the date command will not overwrite this setting. Using date -s hour:min and then running date again, the time is not changed.

In addition to make sure the system time comes up correct again, you can edit /etc/sysconfig/clock and make sure tha appropriate time zone is listed.

Note: the /etc/localtime take precidense over the /etc/sysconfig/clock file.