środa, 17 maja 2017

Datapower running on AWS instance (from AWS marketplace) - NTP server configuration

Managing Datapower instance from AWS - changing date and time and synchronizing time with NTP



1. It turned out that if Datapower runs on Linux - it doesn't have NTP service available:

https://www.ibm.com/support/knowledgecenter/en/SS9H2Y_7.5.0/com.ibm.dp.doc/ntp-service_global.html

http://www-01.ibm.com/support/docview.wss?uid=swg21991499&myns=swgws&mynp=OCSS9H2Y&mync=R&cm_sp=swgws-_-OCSS9H2Y-_-R

2. Datapower inherits NTP configuration from its OS environment

3. Install NTP on redhat: https://www.tecmint.com/install-ntp-server-in-centos/

4. Then do all steps from

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sect-Date_and_Time_Configuration-Command_Line_Configuration-Network_Time_Protocol.html

5. It is worth to remember that ntpd will not start on boot if chrony is enabled. In order to disable it - perform all steps from here: http://thegeekdiary.com/centos-rhel-7-enable-ntp-to-start-at-boot-after-fresh-install-disable-chrony/

6. Now if you restart your instance ntp will be enabled but in order to configure correct time zone for datapower you need to go to your console Administrator - Device - Time Settings

7. If you also need to change time zone on your redhat please take a look at these links:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html