Configure and Test NTP on emc VNX

All computers on a network need to be in sync.  Things can go awry when data is perceived to be arriving in the wrong order.

If you use a NAS and have CIFS Servers, the same rules apply – they have to be in sync.  You’ll certainly experience problems joining a Windows Domain if the CIFS Server (datamover) doesn’t have it’s watch synchronised with the Domain Controllers.

The easiest way to test and if necessary, reconfigure this (ntp client on emc vnx), is to ssh to the control station and log in as nasadmin,

The most useful NTP Commands run as nasadmin are…

Configure and add NTP Server: 

server_date server_2 timesvc start ntp <ip1>,<ip2>,<ip3>

replacing <ip> with the IP addresses of contactable NTP servers.  If in doubt, try the IP address of your local domain controller as this worked well for me, particularly on satellite sites.  You can add more than one IP address too, separated with commas.

Remove existing NTP configuration:

server_date server_2 timesvc delete ntp

To remove the existing ntp source IP address, don’t edit a file and restart services, just type this command.

Force an update of the time, rather than wait:

server_date server_2 timesvc update ntp

When you’ve configured the correct IP address for your time source, don’t delay, sync right away.

Get NTP Stats to check success:

server_date server_2 timesvc stats ntp

date

Check that the sync was successful and that the time was actually updated.

 

Official document downloadable from here

Rather than have a separate post, I’m going to include this next section here so that all VNX NTP related info is in the one place.

Setting the date and time on the Management Control Station

Display the current date and time.

# /nas/http/webui/bin/datetime.pl -g
2017-03-09T23:17:10

Set the date and time to the correct values usign the format YYYY-MM-DDTHH:MM:SS.

# /nas/http/webui/bin/datetime.pl -s 2017-03-09T11:19:00

Confirm the date and time are correct:

# /nas/http/webui/bin/datetime.pl -g
2017-03-09T11:19:02

Manually set the time if NTP not available

In the event that NTP is not available to you, then you can set the time manually on the datamovers

server_date ALL 1703151440

where 17 is the year, 03 is the month, 15 is the day, 14:40 is the time.

Did you like this?
Tip cyberfella with Cryptocurrency

Donate Bitcoin to cyberfella

Scan to Donate Bitcoin to cyberfella
Scan the QR code or copy the address below into your wallet to send some bitcoin:

Donate Bitcoin Cash to cyberfella

Scan to Donate Bitcoin Cash to cyberfella
Scan the QR code or copy the address below into your wallet to send bitcoin:

Donate Ethereum to cyberfella

Scan to Donate Ethereum to cyberfella
Scan the QR code or copy the address below into your wallet to send some Ether:

Donate Litecoin to cyberfella

Scan to Donate Litecoin to cyberfella
Scan the QR code or copy the address below into your wallet to send some Litecoin:

Donate Monero to cyberfella

Scan to Donate Monero to cyberfella
Scan the QR code or copy the address below into your wallet to send some Monero:

Donate ZCash to cyberfella

Scan to Donate ZCash to cyberfella
Scan the QR code or copy the address below into your wallet to send some ZCash:

2 Replies to “Configure and Test NTP on emc VNX”

  1. How to configure a second NTP server on vnx?
    I need to have at least two accessible and responding NTP servers configured for the time service..

    Can you help me?

    Please

    1. You can add them all in one go, just as you’d add a single ntp server. the ip addresses need to be separated by commas As it says in the post above…
      Configure and add NTP Server:

      server_date server_2 timesvc start ntp ip1,ip2,ip3

      replacing ip1,ip2,ip3 with the IP addresses of contactable NTP servers. If in doubt, try the IP address of your local domain controller as this worked well for me, particularly on satellite sites. You can add more than one IP address too, separated with commas.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.