Change NTP Server Address

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

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

The main steps are performed in the following order:

  1. Perform backups of the current system configuration
  2. Change an NTP server address
  3. 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:

2   Procedure

Perform Backups of the Current System Configuration

  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.

Change an NTP Server Address

Attention!

Risk of system malfunction or traffic disturbance.

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

To change the NTP server address:

  1. 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.

  2. 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"
  3. Enter Config mode:

    (NtpServer=NTPserver1)>configure

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

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

  5. Set the attribute userLabel, for example:

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

  6. Commit the setting:

    (config-NtpServer=NTPserver1)>commit

  7. 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

  1. Navigate to the BrmBackupManager 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 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.

  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 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.



Copyright

© Ericsson AB 2016. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Change NTP Server Address