3.5.2 Procedure 12 CONFIGURE CHRONY SERVERS

Table 3-16 Procedure 12 CONFIGURE CHRONY SERVERS

STEP # This procedure configures the NTP server setting for both servers. Note: Estimated time of completion is 5 minutes. Check off (✓) each step as it is completed. Boxes have been provided for this purpose under each step number. Should this procedure fail, Contact Oracle technical services and ask for FULL UPGRADE ASSISTANCE.

1. ☐

MPS A: Switch user to elapconfig.

# su – elapconfig

2. ☐

MPS A: Press Return to continue.

CAUTION: This is the first login of the text user interface. Please review the following checklist before continuing. Failure to enter complete and accurate information at this time will have unpredictable results.
  1. The mate MPS servers (MPS A and MPS B) must be powered on.

  2. "Initial Platform Manufacture" for the mate MPS servers must be complete.

  3. The sync network between the mate MPS servers must be operational.

  4. You must have the correct password for the elapdev user on the mate MPS server.

    Press return to continue...

3. ☐

MPS A:

Enter elapdev and root password when prompted.

Password of elapdev: 
Could not get authorized keys file from remote (mate). 
Maybe it does not exist.  Continuing... ssh is working correctly. 
Password of root: 
Could not get authorized keys file from remote (mate). 
Maybe it does not exist.  Continuing... ssh is working correctly. 
Password of admusr: 
Could not get authorized keys file from remote (mate). 
Maybe it does not exist.  Continuing... ssh is working correctly. Password of root: 
ssh is working correctly. 
Performing DRBD configuration. 
Creating the DB Data directory. 
Moving DB files to the DRBD Volume. 
Changing ownership to mysql. 
Updating my.cnf. 
Restarting mysqld. 
Building the initial database on side A. 
Checking if EuiDB database exists: No preexisting EuiDB database was detected. 
Creating EuiDB database. 
Creating Alarms database. 
Creating Ulog database. 
Creating EuiDB, Alarms and Ulog tables. 
FIPS integrity verification test failed. 
FIPS integrity verification test failed. 
/bin/chmod: cannot access `/var/TKLC/elap/drbd/mysql/data/EuiDB': 
No such file or directory 

4. ☐

MPS A: Select choice 7, Configure NTP Server Menu.

 /-----ELAP Configuration Menu----------\ 
/----------------------------------------\ 
|  1 | Display Configuration             | 
|----|-----------------------------------| 
|  2 | Configure Network Interfaces Menu | 
|----|-----------------------------------| 
|  3 | Set Time Zone                     | 
|----|-----------------------------------| 
|  4 | Exchange Secure Shell Keys        | 
|----|-----------------------------------| 
|  5 | Change Password                   | 
|----|-----------------------------------| 
|  6 | Platform Menu                     | 
|----|-----------------------------------| 
|  7 | Configure NTP Server              | 
|----|-----------------------------------| 
|  8 | Mate Disaster Recovery            | 
|----|-----------------------------------| 
|  e | Exit                              | 
\----------------------------------------/ 
Enter Choice: 7 

5. ☐

MPS A: The

Configure NTP Server Menu is displayed. Select choice 2, Add External NTP Server.

/-----ELAP Configure NTP Server Menu-\ 
/--------------------------------------\ 
|  1 | Display External NTP Server     | 
|----|---------------------------------| 
|  2 | Add External NTP Server         | 
|----|---------------------------------| 
|  3 | Remove External NTP Server      | 
|----|---------------------------------| 
|  e | Exit                            | 
\--------------------------------------/ 
Enter Choice: 2 

Are you sure you wish to add new NTP Server? [N]: Y Enter the ELAP NTP Server IP Address: <NTP_server_IP_Addr>  
External NTP Server [<NTP_server_IP_Addr>] has been added.  
Press return to continue... 

6.

☐

MPS A: The

ELAP Configure NTP Server Menu is displayed.

Enter choice 1, Display External NTP Server.

/-----ELAP Configure NTP Server Menu-\ 
/--------------------------------------\ 
|  1 | Display External NTP Server     | 
|----|---------------------------------| 
|  2 | Add External NTP Server         | 
|----|---------------------------------| 
|  3 | Remove External NTP Server      | 
|----|---------------------------------| 
|  e | Exit                            | 
\--------------------------------------/ 
Enter Choice: 1 
chronyserver1      <NTP_server_IP_Addr> 
Press return to continue... 

7.

☐

MPS A: The ELAP

Configure NTP Server Menu is displayed. Select choice, Exit. If more Chrony servers are to be added, then repeat steps 1 to 6.

 /-----ELAP Configure NTP Server Menu-\ 
/--------------------------------------\ 
|  1 | Display External NTP Server     | 
|----|---------------------------------| 
|  2 | Add External NTP Server         | 
|----|---------------------------------| 
|  3 | Remove External NTP Server      | 
|----|---------------------------------| 
|  e | Exit                            | 
\--------------------------------------/ 
Enter Choice: e 

8.

☐

MPS A: Run the following command.

Note: The “chronyc ntpdata” command works after the servers have been assigned with an IP. Hence, steps 8 and 9 works only after the network configuration is done.

# chronyc ntpdata 
Remote address  : 10.75.124.27 (0A4B7C1B) Remote port     : 123 
Local address   : 10.75.141.11 (0A4B8D0B) 
Leap status     : Normal Version         : 4 
Mode            : Server 
Stratum         : 4 
Poll interval   : 10 (1024 seconds) 
Precision       : -19 (0.000001907 seconds) 
Root delay      : 0.045807 seconds 
Root dispersion : 0.016266 seconds 
Reference ID    : 0A4B7CF6 () 
Reference time  : Tue Jan 02 10:39:12 2024 
Offset          : -0.000049386 seconds 
Peer delay      : 0.000802394 seconds 
Peer dispersion : 0.000001940 seconds 
Response time   : 0.000062915 seconds 
Jitter asymmetry: -0.50 
NTP tests       : 111 111 1111 
Interleaved     : No 
Authenticated   : No 
TX timestamping : Kernel 
RX timestamping : Kernel 
Total TX        : 4193 
Total RX        : 4193 
Total valid RX    : 4193 

Make sure that delay and offset is zero. If delay and offset is not zero, follow step 9 Otherwise skip step 9.

9.

☐

MPS A: Run the following command.

# systemctl stop chronyd 
# systemctl start chronyd
# systemctl enable chronyd
# chronyc makestep 

10.

☐

MPS A: Note down the timestamp in log.

Run the following command:

$ date

This procedure is complete!