行至水穷处

坐看云起时

同步系统和硬件时间

OL3381: Setting the time and date on BIG-IP


Updated: 3/20/08 10:52 AM
Solution

 

 

The BIG-IP system uses the following two clocks to track time:
  • Hardware clock

    The hardware clock tracks time even when the system is unplugged. It is used to initialize the operating system clock when the system is booted.

  • Operating system clock

    The operating system clock is a software clock that is used when the system is running. This clock stores time according to the local time zone that you configure when you initially set up the system.

Note: Versions of BIG-IP prior to 9.0 allowed you to configure the hardware clock using the BIOS Configuration utility. This option is no longer possible, and is not necessary on systems running version 9.0 or later.

To set the operating system time on a BIG-IP system, perform the following procedure:

  1. Log in to the command line.

  2. Change the operating system time using the following command syntax:

    date <month><day><hour><minute><year>.<second>
     

    The specific format is as follows:

    date MMDDHHMMYYYY.SS

    For example, to set the time to 1:00pm on January 1, 2007, you would type the following command:

    date 010113002007.00

  3. Save the time to the hardware clock (BIOS), by typing the following command:

    hwclock –systohc

  4. In order to ensure the BIG-IP system daemons operate and log properly once the operating system clock has been changed, you will need to reboot the BIG-IP system. To reboot the BIG-IP, type the following command:

    reboot

点赞