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:
- Log in to the Junos Space CLI.
The Junos Space Settings Menu appears.
- Type 3 and press Enter to access
Change Time Options
from the Junos Space Settings menu.The
Change Time Options
menu appears. - 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. - Type M to access the Junos
Space Settings menu.
The Junos Space Settings menu appears.
- 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.
- Enter the administrator password.
- 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.
- 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.
- 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.
- Check the time on the VIP node by entering the following
command:
date
The time on the VIP node is displayed.
- 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.
- Check the time on the NTP server by entering the following
command:
- 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:
- Stop the NTP process by entering the following command:
service ntpd stop
The NTP process is stopped.
- 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.
- 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:
- Stop the NTP process by entering the following command:
service ntpd stop
The NTP process is stopped.
- 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.
- 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.
- Stop the NTP process by entering the following command:
- 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.