Change NTP Address

Contents


1   Description

This instruction describes how to change the Network Time Protocol (NTP) server address.

The procedure consists of the following main steps:

  1. Perform backups of the current system configuration
  2. Change an NTP server address
  3. Perform backups of the new system configuration

2   Procedure

2.1   Change NTP Server Address

Prerequisites

Steps

  1. Navigate to the BrmBackupManager Managed Object (MO), for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA

  2. Start the software backup operation, for example:

    (BrmBackupManager=SYSTEM_DATA)>createBackup B4NTPChange

    Note:  
    The backup name can have up to 50 characters. Alphanumeric, dash, and underscore characters are supported.

    The system returns output true or false.

  3. Verify that the backup was created:

    (BrmBackupManager=SYSTEM_DATA)>show progressReport

    Note:  
    As this is a long-running operation, it can be necessary to enter the command several times until the final operation result is shown in the progress report.

    After a backup is successfully created, the progress report shows, for example, the following:

    progressReport
       actionId=0
       actionName="CREATE"
       additionalInfo
          "Create Backup for B4NTPChange: Initialized"
          "Create Backup for B4NTPChange: Succeeded"
       progressInfo=""
       progressPercentage=100
       result=SUCCESS
       resultInfo="B4NTPChange was created successfully."
       state=FINISHED
       timeActionCompleted="2015-12-15T10:44:41"
       timeActionStarted="2015-12-15T10:42:37"
       timeOfLastStatusUpdate="2015-12-15T10:44:41"
    
    Note:  
    To free up storage space, and for increased safety, export the backup to a different location; refer to Export Backup.

  4. Navigate to the NtpServer MO, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SysM=1,TimeM=1,Ntp=1,NtpServer=NTPserver1

    Note:  
    Press the Tab key twice at NtpServer= to list the current NtpServer MOs.

  5. List the current settings:

    (NtpServer=NTPserver1)>show -v

    The following is an example output:

    NtpServer=NTPserver1
       administrativeState=UNLOCKED
       ntpServerId="NTPserver1"
       serverAddress="100.0.12.13"
       userLabel="Primary NTP server"
  6. Enter Config mode:

    (NtpServer=NTPserver1)>configure

  7. Set the new NTP server address, for example:

    (config-NtpServer=NTPserver1)>serverAddress="100.0.12.14"

  8. Set the attribute userLabel, for example:

    (config-NtpServer=NTPserver1)>userLabel="Primary NTP Server for application use"

  9. Commit the setting:
    Attention!

    Risk of system malfunction or traffic disturbance.

    Connection to the NTP server is lost during the transition to the new NTP server address.

    (config-NtpServer=NTPserver1)>commit

  10. Verify the changed NTP settings:

    (NtpServer=NTPserver1)>show -v

    The following is an example output:

    NtpServer=NTPserver1
       administrativeState=UNLOCKED
       ntpServerId="NTPserver1"
       serverAddress="100.0.12.14"
       userLabel="Primary NTP Server for application use"
  11. Navigate to the BrmBackupManager MO, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA

  12. Start the software backup operation, for example:

    (BrmBackupManager=SYSTEM_DATA)>createBackup AfterNTPChange

    Note:  
    The backup name can have up to 50 characters. Alphanumeric, dash, and underscore characters are supported.

    The system returns output true or false.

  13. Verify that the backup was created:

    (BrmBackupManager=SYSTEM_DATA)>show progressReport

    Note:  
    As this is a long-running operation, it can be necessary to enter the command several times until the final operation result is shown in the progress report.

    After a backup is successfully created, the progress report shows the following:

    progressReport
       actionId=0
       actionName="CREATE"
       additionalInfo
          "Create Backup for AfterNTPChange: Initialized"
          "Create Backup for AfterNTPChange: Succeeded"
       progressInfo=""
       progressPercentage=100
       result=SUCCESS
       resultInfo="AfterNTPChange was created successfully."
       state=FINISHED
       timeActionCompleted="2015-12-15T10:54:14"
       timeActionStarted="2015-12-15T10:52:37"
       timeOfLastStatusUpdate="2015-12-15T10:54:14"
    
    Note:  
    To free up storage space, and for increased safety, export the backup to a different location; refer to Export Backup.