How to configure the NTP on the vCenter Server Appliance 6.0 – vCSA

We have various methods to configure and verify the NTP settings in PSC\VC and during the installation itself we have to point the correct NTP setup and if we want to change or update the configuration then pls follow the below methods.

Method : 1

Login to the web link https:\\psc:5480 and from the Time configuration we can set the NTP server .

r4ed

Method :2

Open the console session and press ALT + F1 or login to the putty session.

From the Bash shell –  Login as Root user.

ntp.get

For example:
Config:
Status: Down
It will show the status as down if no NTP is configured.

Run this command to enable the NTP server:

ntp.server.add –servers ntp_servername

To remove an NTP server, run this command

ntp.server.delete –-servers ntp_servername

To override any current servers.

 ntp.server.set 

Once the NTP Server is set and active , it will show the below status in ntp.get.

 

233itled

Run this command to enable the NTP mode.

timesync.set –mode NTP

 

Method : 3

Login in to the Application Shell.

First check the status of the NTP Server by running the below command

   ntpq -p

Check the NTP service Status.

service ntp status

To configure the NTP Server by login to the below ntp.conf.

vi /etc/ntp.conf

Pls note you have to use one server below another and don’t use commas.

 Server 1.NTP.Server

Server  2.NTP.Server

Once done then stop and start the NTP service.

 service ntp stop\start.

 Again to verify the entry in the conf.

cat /etc/ntp.conf

ntpq –p

So the * shows the active NTP Server and make sure the reach shows 377

321led

Run the command to verify that you successfully applied the NTP synchronization.

Logout and from the shell run this command to enable the NTP server:

timesync.set –mode NTP

timesync.get The command returns that the time synchronization is in NTP mode or host mode.

If the NTP sync was pointed to host then it will show the Mode as Host and same for the NTP server as mode NTP.

245ed

 

Reference :
https://pubs.vmware.com/vsphere-60/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-60-appliance-configuration-guide.pdf

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2113610

http://www.vmware.com/files/pdf/products/vsphere/VMware-vsphere-60-vcenter-server-appliance-55-60-comparison.pdf

Advertisements
This entry was posted in vCSA 6.0, VMware and tagged , , . Bookmark the permalink.

2 Responses to How to configure the NTP on the vCenter Server Appliance 6.0 – vCSA

  1. _nd says:

    Thank you, i did not know about https://vcenter:5480/login.html

    Like

  2. kiru says:

    Good article, but watch out for those “-“. there’s always 2 of them for every arguments

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s