HP Integrity Virtual Machines 4.2.5: Release Notes

1. Specify the correct network driver associated with the device type in the /etc/
modprobe.conf file. For example, if the eth0 network device type is changing from VIO
to AVIO and the existing alias line reads alias eth0 e1000, change it to the following::
alias eth0 lgssn
2. Issue the depmod -a command to inform the kernel of the device type change. After you
issue the command, you should see the following (or similar) line in modules.dep file:
/lib/modules/2.6.9-55.EL/kernel/drivers/net/lgssn/lgssn.ko:
For example:
# grep lgssn /lib/modules/2.6.9-42.EL/modules.dep
/lib/modules/2.6.9-42.EL/kernel/drivers/net/lgssn/lgssn.ko:
These two steps enable automatic loading of the AVIO Linux LAN guest driver (lgssn) at boot
time.
7.2.9 Using Network Time Protocol (NTP) in Integrity VM Environments
Using NTP in Integrity VM environments is recommended to keep time-of-day clocks in sync and
correct. Use xntpd on HP-UX and ntpd on Linux to synchronize time use NTP.
NTP Configuration on a VM Host
On each VM Host, NTP should be configured just as it would be on any typical (non-virtual) system.
In /etc/ntp.conf, specify a drift file and one or more high quality time servers:
driftfile /etc/ntp.drift
server <A-HIGH-QUALITY-TIME-SERVER> prefer # a preferred time source
server <ANOTHER-HIGH-QUALITY-TIME-SERVER> # a backup time source
server <YET-ANOTHER-HIGH-QUALITY-TIME-SERVER>
The local clock should also be configured as a fall back if necessary:
server 127.127.1.0 # use local clock as backup
fudge 127.127.1.0 stratum 10 # show poor quality
If you have a group of VM Hosts that you would like to synchronize, you can add "peer" references
in the /etc/ntp.conf file for each of those associated VM Hosts, so they will do mutual
synchronization:
peer <AN-ASSOCIATED-VM-HOST>
peer <ANOTHER-ASSOCIATED-VM-HOST>
peer <YET-ANOTHER-ASSOCIATED-VM-HOST>
After configuring the Host's /etc/ntp.conf file, assuming the NTP is already enabled, (that is,
the XNTPD variable in /etc/rc.config.d/netdaemons is set to 1, as in export XNTPD-1),
you can execute /sbin/init.d/xntpd start to restart xntpd on the HP-UX VM Host.
NTP Configuration on a VM Guest
Because NTP was not designed to run inside a virtual machine, using NTP on VM guests requires
special configuration to be stable. Using a typical default NTP configuration on a VM guest might
result in NTP instability and failure to synchronize, or in apparent lost time on the guest. To avoid
these virtualization related NTP issues, each VM guest should get its time directly from the VM
Host. Also, VM guests should not serve time to any other systems.
You can monitor NTP status by using the ntpq -p command and noting the offset and the
disp values. Ideally both values will be well under 100. For information about how to check NTP
stability, see the HP-UX Internet Services Administrators Guide.
You can improve time stability on VM guests by tuning NTP to poll more frequently for time
corrections. The default NTP values for the minpoll and maxpoll intervals are 6 (64 seconds)
and 10 (1024 seconds) respectively. NTP adjusts the current polling interval depending on network
quality and delays. A VM guest uses a virtual lan that can cause NTP to set the polling value
72 Networking Information