1 Introduction
This document describes how to change the Network Time Protocol (NTP) server address.
The main steps are performed in the following order:
- Perform backups of the current system configuration
- Change an NTP server address
- Perform backups of the new system configuration
1.1 Prerequisites
This section describes the prerequisites, which must be fulfilled before using the procedure.
1.1.1 Conditions
The following conditions must apply:
- No other Backup and Restore Framework (BRF) backup operation is in progress.
- The NTP server ID to change is known, for example, NTPServer1.
- The new NTP server address is known.
- userLabel text for the new NTP server is known.
- An Ericsson Command-Line Interface (ECLI) session is in progress.
2 Procedure
Perform Backups of the Current System Configuration
- Navigate to the BrmBackupManager Managed Object (MO), for example:
>dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA
- 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.
- 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.
Change an NTP Server Address
Connection to the NTP server is lost during the transition to the new NTP server address.
To change the NTP server address:
- 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.
- 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"
- Enter Config mode:
(NtpServer=NTPserver1)>configure
- Set the new NTP server address, for example:
(config-NtpServer=NTPserver1)>serverAddress="100.0.12.14"
- Set the attribute userLabel, for example:
(config-NtpServer=NTPserver1)>userLabel="Primary NTP Server for application use"
- Commit the setting:
(config-NtpServer=NTPserver1)>commit
- 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"
Perform Backups of the New Configuration
- Navigate to the BrmBackupManager MO, for example:
>dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA
- 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.
- 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.

Contents