HPE SimpliVity
1748060 Members
5110 Online
108758 Solutions
New Discussion юеВ

Re: How to update ntp servers on running OVC

 
DavS
Advisor

How to update ntp servers on running OVC

How do you update the ntp servers on a running OVC without rebooting?

If /etc/ntp.conf file is updated and the ntp service is restarted the updated ntp servers are not updated until the OVC is rebooted.

Is the another conf file that can be edited to update the ntp server names on a running OVC, with out rebooting?

Dave
6 REPLIES 6
DeclanOR
Respected Contributor

Re: How to update ntp servers on running OVC

Hi @DavS

The OVC syncs automatically with the ESXi ntp settings.

You should only need to ensure that all of your ESXi hosts are pointed to the same ntp servers and in sync.

Page 27 of the admin guide explains how to configure an internal ntp server however

https://internal.support.hpe.com/hpsc/doc/public/display?sp4ts.oid=1010292248&docLocale=en_US&docId=emr_na-a00056458en_us

Are your ntp servers internal or external?

Thanks,

Declan.OR

 

Accept or Kudo



DavS
Advisor

Re: How to update ntp servers on running OVC

ESXi NTP servers where updated to use new external NTP servers.

ntpq -p on the OVC shows the old NTP servers

Sounds like the OVC's have to be rebooted to use the new NTP server defined on the ESXi hosts, correct?

Dave
DeclanOR
Respected Contributor

Re: How to update ntp servers on running OVC

Hi @DavS

I believe a restart of the ntp service should possibly resolve this also.

I will test in the lab tomorrow and let you know.

Thanks,

DeclanOR

 

Accept or Kudo



DeclanOR
Respected Contributor

Re: How to update ntp servers on running OVC

Hi @DavS

Apologies for the delay in getting back to you.

I have tested in my lab, and believe a restart of the ntp service should also resolve this for you.

Restarting the ntp service will have no negative effects and no reboot of OVC or ESXi should be required.

Question: What version of simplivity software are you running.

I will provide the steps, but it will be dependant on the version of the software you are running.

Thanks,

DeclanOR

Accept or Kudo



DavS
Advisor

Re: How to update ntp servers on running OVC

Thanks, I am running version 3.7.5

Dave
DeclanOR
Respected Contributor

Re: How to update ntp servers on running OVC

Hi @DavS

In version 3.7.5 you can elevate to super user yourself, and run the required command.

The procedure is as follows:

SSH to an OVC showing this behaviour

Connect with vCenter creds (admin preferably)

Run the following to elevate:

#sudo su

#source /var/tmp/bin/build/appsetup

#sudo /roroot/etc/init.d/ntp restart

You will see that the ntp service has restarted.

Check with ntpq -p to see if ntp servers configured reflect the expected ones.

If successful, repeat on other OVC's.

Let me know if this helps.

Thanks,

DeclanOR

Accept or Kudo