Description

This article provides information on how to change/modify the system date and time zone in Qfabric.

Symptoms

Unable to change system date and time zone in Qfabric.

The traditional Junos method of modifying the system date and time zone does not work for Qfabric. This issue is found in 11.3X30.10 and below:

root@qfabric> set date 20111006.00
/bin/date: invalid date `20111006.00'

Solution


Workaround:
  1. Login to Director Groups (DG0)
  2. At the DG prompt, first set the date using the following format:

    [root@dg0 ~]# date <MMddhhmmyy.ss>
    For example:
    [root@dg0 ~]# date 100617452011.00
    Thu Oct 6 17:45:00 PDT 2011

  3. To modify the system time zone in Qfabric, you need to create a link file on DG:
    [root@dg0 ~]#ln -sf /usr/share/zoneinfo/ <time-zone folder=""> <time-zone file=""> /etc/localtime
    For example, to set the PDT time zone:
    [root@dg0 ~]# ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
  4. Verify the timezone change on the DG0 using "date" command
  5. Repeat step 1 to 3 for DG1
  6. Verify the system time and timezone changes on SFC (Stratus Fabric Controller) using command "show system uptime"
Please contact the Juniper Technical Assistance Center (JTAC) for further information concerning this issue.