Tag Archives: celerra

How to Set the date and time of the VNX ?

Set Control Station date and time

You must log in as root to perform this operation.

To set the date and time for a Control Station, use this command syntax:
# date -s “<hh:mm mm/dd/yy>”
where:
<hh:mm mm/dd/yy> = time and date format
Example:
To set the date and time to 5:40 P.M. on August  8, 2012, type:
# date -s “17:40 08/08/12”

Set Data Mover or blade date and time

You can customize the display of the date and time on a Data Mover or blade by
using the server_date command. Configuring Time Services on VNX provides
additional information on time services.

To set the current date and time for a Data Mover or blade, use this command syntax:
$ server_date <movername> <yymmddhhmm> [<ss>]
where:
<movername> = name of the Data Mover or blade
<yymmddhhmm> [<ss>] = where <yy> is the year; the first <mm> is the month; <dd> is the day;
<hh> is the hour (in 24-hour system); and the second <mm> is the minute, and <ss> is the second.
Example:
To set the date and time on server_2 to July 4, 2012, 10:30 A.M., type:
$ server_date server_2 1207041030

How to Configure NTP service using the CLI in VNX NAS ?

1. Log in to the Control Station as root.

2. Check the status of the NTP daemon by typing:
# ps -ef |grep ntpd
Output:
ntp      30818     1  0 Aug07 ?        00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid

3. Display information about the ntpd status by typing:
# /sbin/service ntpd status
Output:
ntpd is stopped

4. Display information about the ntpd configuration by typing:
# /sbin/chkconfig ntpd –list
Output:
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

5. Open the /etc/ntp.conf file for editing.

6. Add the NTP server IP address to the file by typing:
server 10.xx.xx.xx

7. Save the file and exit.

8. Open the /etc/ntp/step-tickers file for editing.

9. Add the NTP server IP address to the file by typing:
server 10.xx.xx.xx

10. Save the file and exit.

11. Set up the NTP daemon for run-levels 3, 4, and 5 by typing:
# /sbin/chkconfig –level 345 ntpd on

12. Display information about the ntpd configuration by typing:
# /sbin/chkconfig ntpd –list
Output:
ntpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

13. Start or restart the NTP daemon by typing:
# /sbin/service ntpd start
Output:
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]
# /sbin/service ntpd restart
Output:
Shutting down ntpd: [ OK ]
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]

Note: If the response for synchronizing with the time server is positive, the NTP client
was able to communicate with the NTP server.

14. Check the status of the NTP daemon by typing:
# ps -ef |grep ntp
Output:
ntp 25048 1 0 13:09 ? 00:00:00 ntpd -u ntp:ntp -p
/var/run/ntpd.pid

15. Display information about the ntpd status by typing:
# /sbin/service ntpd status
Output:
ntpd (pid 25346) is running…

16. Display the list and status of the peers for the NTP server by typing:
# /usr/sbin/ntpq -p
Output:
r     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*10.0.50.xx      212.26.18.41     2 u  655 1024  377    1.755  -17.314   1.915