Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Synchronizing Time Across Junos Space Nodes

Before you upgrade Junos Space Network Management Platform to Release 17.2, you must ensure that the time across all Junos Space nodes is synchronized.

To synchronize the system time across Junos Space nodes:

  1. Log in to the Junos Space CLI.

    The Junos Space Settings Menu appears.

  2. Type 3 and press Enter to access Change Time Options from the Junos Space Settings menu.

    The Change Time Options menu appears.

  3. To access the NTP options to see whether an NTP server is configured, type 2 and press Enter.

    The NTP options menu appears.

    If an external NTP server is configured, the NTP options menu displays the domain name or IP Address of the NTP server along with the host name of other nodes in the cluster.

    If an external NTP server is not configured, the NTP options menu displays the host name of other nodes in the cluster.

  4. Type M to access the Junos Space Settings menu.

    The Junos Space Settings menu appears.

  5. To access the shell from the Junos Space Settings menu, type one of the following options:
    • 6, if the Junos Space Appliance is a JA2500 Junos Space hardware appliance

    • 7, if the Junos Space Appliance is a virtual appliance

    You are prompted to enter the administrator password.

  6. Enter the administrator password.
  7. Check whether the time is synchronized across nodes.

    If an external NTP server is configured, check whether the time on all Junos Space nodes is synchronized with the time on the NTP server.

    1. Check the time on the NTP server by entering the following command:

      ntpdate -q NTPServerName

      Here NTPServerName is the domain name or IP address of the NTP server.

      Press Enter.

      The time on the NTP server is displayed.

    2. Check the time on the Junos Space nodes by entering the following command on each node:

      date

      The time on the corresponding Junos Space node is displayed.

    If an external NTP server is not configured, check whether the time on all Junos Space nodes is synchronized with that on the VIP node.

    1. Check the time on the VIP node by entering the following command:

      date

      The time on the VIP node is displayed.

    2. Verify the time on non-VIP nodes by entering the following command on each node:

      date

      The time on the corresponding Junos Space node is displayed.

  8. If the time on Junos Space nodes is not synchronized, execute one of the following procedures:

    If an external NTP server is configured, synchronize the time on all Junos Space nodes with that on the NTP server. To synchronize the time, execute the following procedure on all Junos Space nodes:

    1. Stop the NTP process by entering the following command:

      service ntpd stop

      The NTP process is stopped.

    2. Synchronize the time on the node by entering the following command:

      ntpdate -b NTPServerName

      Here NTPServerName is the domain name or IP address of the NTP server. The time on the Junos Space node is synchronized with that on the NTP server.

    3. Restart the NTP process by entering the following command:

      service ntpd start

      The NTP process is restarted.

    If an external NTP server is not configured, synchronize the time on all non-VIP nodes with that on the VIP node. To synchronize the time, execute the following procedure on all non-VIP nodes:

    1. Stop the NTP process by entering the following command:

      service ntpd stop

      The NTP process is stopped.

    2. Synchronize the time on the node by entering the following command:

      ntpdate -b VIPAddress

      Here VIPAddress is the Virtual IP (VIP) address of the Junos Space fabric. The time on the Junos Space node is synchronized with that on the VIP node.

    3. Restart the NTP process by entering the following command:

      service ntpd start

      The NTP process is restarted.

    The time on all Junos Space nodes is synchronized.

  9. Set the time on the hardware clock to the system time by entering the following command:

    hwclock --systohc

    The time on the hardware clock is synchronized with that on the system.

The time across all Junos Space nodes is synchronized. You can now proceed to upgrading to Junos Space Platform Release 17.2.