About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
This document describes how to configure the HMC to automatically synchronize its clock with a Network Time Protocol (NTP) time server.
Resolving The Problem
This document describes how to configure the HMC to automatically synchronize its clock with a Network Time Protocol (NTP) time server. NTP is supported in HMC Version 6 and later.
Graphical Interface
The graphical option is only available on Version 7 HMCs. To enable clock synchronization with a NTP server, you should perform the following:
Note: You must perform all configuration steps and restart the HMC to fully enable NTP.
1. Select HMC Management, click Change Date and Time, and then click the NTP Configuration tab.
2. Enable the NTP Service. Check the box Enable NTP service on this HMC.
3. Add at least one NTP server, and click the Add NTP Server... button. Fill in the IP address or DNS address of the NTP Service. If you do not know the protocol version, select Not specified. Click OK.
4. Click OK to save the changes.
5. Restart the HMC when prompted. Under HMC Management, click Shutdown or Restart, restart, and click OK.
Command Line Interface (CLI)
This option is available for HMC Version 6 and later. To enable Network Time Protocol service (start the daemon on each boot):
chhmc -c xntp -s enable
To add a Network Time Protocol server to the configuration file by IP address and, at the same time, enable firewall access through network interface eth1:
chhmc -c xntp -s add -a 10.10.10.32 -i eth1
To add a Network Time Protocol server to the configuration file by name and, at the same time, enable firewall access through network interface eth1:
chhmc -c xntp -s add -a mytimeserver.company.com -i eth1
Note: If -i is not specified, the firewall will need to be opened. In Version 6, use Customize network settings, LAN adapters, Details, firewall tab to enable NTP. In Version 7, use HMC Management, Change Network settings, LAN Adapters, Details, firewall tab to enable NTP.
Restart the HMC after running the commands to make sure daemon starts with the updated configuration file.
To view the current configuration (if ntp is enabled and list of servers):
lshmc -r
ssh=enable,sshprotocol=,remotewebui=enable,xntp=disable,xntpserver=127.127.1.0,...
Verification
To check daemon is running use the netstat command to verify the daemon is listening on udp port 123:
netstat -lnu | grep 123
Support for a command to query NTP status is being considered for a future release (after Version 8) . See
https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=101180
[{"Product":{"code":"SSB6AA","label":"Power System Hardware Management Console Physical Appliance"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"HMC","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Historical Number
382149477
Was this topic helpful?
Document Information
More support for:
Power System Hardware Management Console Physical Appliance
Software version:
Version Independent
Document number:
638227
Modified date:
22 September 2021
UID
nas8N1015481