![]() ![]() ![]() If you don't do this, you may get a system whose clock gets shifted by exactly the amount of the current UTC offset at each boot. ![]() after that, update your initramfs file, to make sure that early boot processes use the same settings as the rest of the system.make sure that /etc/adjtime and any legacy settings in /etc/sysconfig/clock, /etc/default/rcS or similar are in agreement as to whether the hardware clock runs in UTC or local time, to avoid different tools making different interpretations.This can cause problems when the UTC/local setting in /etc/adjtime is in conflict with the corresponding legacy setting in /etc/sysconfig/clock, /etc/default/rcS or similar: the distribution's initramfs may respect the legacy method while the the hwclock command run interactively by the sysadmin follows /etc/adjtime unless overridden - and will automatically store the new setting to /etc/adjtime only if the -utc or -local options are used. And enterprise distributions are especially keen on backwards compatibility. For backwards compatibility, these methods may still exist. If your hosting provider has primarily Windows systems, the syncing may have been configured to use local time rather than UTC.Īnd there is one gotcha that can affect both physical and virtual systems, particularly if running enterprise Linux distributions:īefore the hwclock tool and the convention to indicate the RTC being set up to either UTC or local time in /etc/adjtime existed, there were several distribution-specific methods to store this setting. Virtual machines usually sync their virtual hardware clock according to the clock of the physical host system at VM initialization time, since a virtual machine cannot have a real physical hardware clock. To turn it off, you had to access the BIOS settings of the blade. At least on (some models of) Fujitsu's blade hardware, this sync option was enabled by default. Some manufacturers' blade hardware has an option to sync the hardware clocks of each blade to the clock of the management processor of the blade enclosure. Is this a virtual machine? Or a physical system on blade hardware? ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |