Tag Archives: nas

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

How to Change VNX Control Station time zone using the CLI ?

Steps:
1. Log in to the Control Station as root.

2. To verify the current environment, type:
# date
Output:
Wed Aug  8 16:22:54 IST 2012

3. Display information about the current time zone of the Control Station by typing:
# ls -la /etc/localtime
Output:
lrwxrwxrwx 1 root root 32 Aug  7 22:48 /etc/localtime -> /usr/share/zoneinfo/Asia/Kolkata

4. Set the hardware clock to the current time zone of the Control Station by typing:
# vi /etc/sysconfig/clock
When the file opens, type:
ZONE=”America/New_York”
UTC=false
ARC=false

5. Save the file and exit.

6. Change the current time zone, New York, to Asia/Kolkata, by typing:
# /usr/bin/perl /nas/http/webui/bin/timezone.pl -s Asia/Kolkata
Note: A list of valid Linux time zones is located in the /usr/share/zoneinfo directory.

7. To verify the current environment, type:
# date
Output:
Wed Aug  8 16:22:54 IST 2012

8. Display information about the current time zone of the Control Station by typing:
# ls -la /etc/localtime
Output:
llrwxrwxrwx 1 root root 32 Aug  7 22:48 /etc/localtime -> /usr/share/zoneinfo/Asia/Kolkata

9. Set the hardware clock to the current time zone of the Control Station by typing:
# vi /etc/sysconfig/clock
When the file opens, type:
ZONE=”Asia/Kolkata”
UTC=false
ARC=false

10. Save the file and exit.

11. The time zone of the Control Station is changed to the new location specified in step 6.

How to Set the time zone of the VNX Data Mover ?

You can update the time zone information on the Data Mover by using simple and  decipherable strings that correspond to the time zones available in the Control Station. You can also update the daylight savings time on the Data Mover for the specified time zone.

Set Data Mover or blade time zone manually

To set the time zone on a Data Mover using the Linux time zone method, use this command
syntax:
$ server_date <movername> timezone -name <timezonename>
where:
<movername> = name of the Data Mover
<timezonename> = a Linux style time zone specification
Note: A list of valid Linux time zones is located in the /usr/share/zoneinfo directory.
Example:
To set the time zone to Central Time and adjust the daylight savings time for a Data Mover by using the Linux method, type:
$ server_date server_2 timezone -name  Asia/Kolkata

How to identify your VNX NAS software versions ?

To determine the software versions on the Control Station, Data Mover, or blade,
use the following:

To view the software version running on the Control Station, type:

$ nas_version -l

Output

Name        : emcnas                       Relocations: /nas
Version     : 7.0.51                            Vendor: EMC
Release     : 3                             Build Date: Fri 10 Feb 2012 03:00:06        AM IST
Size        : 669927880                        License: EMC Copyright
Signature   : (none)
Packager    : EMC Corporation
URL         : http://www.emc.com
Summary     : EMC nfs base install
Description :
EMC nfs base install

How to halt the VNX for file / nas server ?

To halt the VNX for file server, type:
# /nasmcd/sbin/nas_halt now
ARE YOU SURE YOU WANT TO CONTINUE? [ yes or no ] :
# yes
Sending the halt signal to the Master Control Daemon…: Done
.
.
Halting system…
flushing ide devices: hda hdd
Power down.
It can take as long as 20 minutes to halt the server, depending on the configuration of the
VNX. Wait until the command completes before continuing. If the Control Station halted
successfully, the HyperTerminal session will be unresponsive.
If the Control Station restarts after the nas_halt command, then go to step 6. If the Control
Station has halted successfully, then go to the next step to restart the Control Station.

Verify the shutdown of the blades:

Wait for 5 minutes, and then log in as root at the login prompt. Then verify the shutdown of
the blades by running the following command:
# /nasmcd/sbin/getreason
Sample output for a four blade configuration:
6 – slot_0 primary control station
– slot_2 powered off
– slot_3 powered off
– slot_4 powered off
– slot_5 powered off

Run the following command to halt the Control Station:

# /sbin/halt
Sample Output:
# /sbin/halt
Broadcast message from root (ttyS1) (Tue 7 13 10:05:55 2012):
The system is going down for system halt NOW!
INIT: Stopping HAL daemon: [OK]
Stopping system message bus: [OK]
……..
……..
Halting system…
md: stopping all md devices.
md: md0 switched to read-only mode.
Shutdown: hda
System halted

EMC NAS / VNX Health Checkup using command line

Login using nasadmin  and verify the system’s health, type:
$ /nas/bin/nas_checkup
The checkup command reports back on the state of the Control Station, Data Movers, and storage system.
Note: This health check ensures that there are no major errors in the system that would prevent the system from being turned on during the power up process.

[nasadmin@VNXCS01 ~]$ /nas/bin/nas_checkup
Check Version: 7.0.51.3
Check Command: /nas/bin/nas_checkup
Check Log    : /nas/log/checkup-run.120807-113919.log

————————————-Checks————————————-
Control Station: Checking statistics groups database………………….. Pass
Control Station: Checking if file system usage is under limit………….. Pass
Control Station: Checking if NAS Storage API is installed correctly…….. Pass
Control Station: Checking if NAS Storage APIs match…………………… Pass
Control Station: Checking if NBS clients are started………………….. Pass
Control Station: Checking if NBS configuration exists…………………. Pass
Control Station: Checking if NBS devices are accessible……………….. Pass
Control Station: Checking if NBS service is started…………………… Pass
Control Station: Checking if PXE service is stopped…………………… Pass
Control Station: Checking if standby is up…………………………… Pass
Control Station: Checking integrity of NASDB…………………………. Pass
Control Station: Checking if primary is active……………………….. Pass
Control Station: Checking all callhome files delivered………………… Warn
Control Station: Checking resolv conf……………………………….. Pass
Control Station: Checking if NAS partitions are mounted……………….. Pass
Control Station: Checking ipmi connection……………………………. Pass
Control Station: Checking nas site eventlog configuration……………… Pass
Control Station: Checking nas sys mcd configuration…………………… Pass
Control Station: Checking nas sys eventlog configuration………………. Pass
Control Station: Checking logical volume status………………………. Pass
Control Station: Checking valid nasdb backup files……………………. Pass
Control Station: Checking root disk reserved region…………………… Pass
Control Station: Checking if RDF configuration is valid………………..  N/A
Control Station: Checking if fstab contains duplicate entries………….. Pass
Control Station: Checking if sufficient swap memory available………….. Pass
Control Station: Checking for IP and subnet configuration……………… Pass
Control Station: Checking auto transfer status……………………….. Warn
Control Station: Checking for invalid entries in etc hosts…………….. Pass
Control Station: Checking the hard drive in the control station………… Pass
Control Station: Checking if Symapi data is present…………………… Pass
Control Station: Checking if Symapi is synced with Storage System………. Pass
Blades         : Checking boot files………………………………… Pass
Blades         : Checking if primary is active……………………….. Pass
Blades         : Checking if root filesystem is too large……………… Pass
Blades         : Checking if root filesystem has enough free space……… Pass
Blades         : Checking network connectivity……………………….. Pass
Blades         : Checking status……………………………………. Pass
Blades         : Checking dart release compatibility………………….. Pass
Blades         : Checking dart version compatibility………………….. Pass
Blades         : Checking server name……………………………….. Pass
Blades         : Checking unique id…………………………………. Pass
Blades         : Checking CIFS file server configuration………………. Pass
Blades         : Checking domain controller connectivity and configuration. Pass
Blades         : Checking DNS connectivity and configuration…………… Pass
Blades         : Checking connectivity to WINS servers………………… Pass
Blades         : Checking I18N mode and unicode translation tables……… Pass
Blades         : Checking connectivity to NTP servers…………………. Warn
Blades         : Checking connectivity to NIS servers…………………. Pass
Blades         : Checking virus checker server configuration…………… Pass
Blades         : Checking if workpart is OK………………………….. Pass
Blades         : Checking if free full dump is available………………. Pass
Blades         : Checking if each primary Blade has standby……………. Pass
Blades         : Checking if Blade parameters use EMC default values……. Pass
Blades         : Checking VDM root filesystem space usage………………  N/A
Blades         : Checking if file system usage is under limit………….. Pass
Blades         : Checking slic signature…………………………….. Pass
Storage System : Checking disk emulation type………………………… Pass
Storage System : Checking disk high availability access……………….. Pass
Storage System : Checking disks read cache enabled……………………. Pass
Storage System : Checking disks and storage processors write cache enabled. Pass
Storage System : Checking if FLARE is committed………………………. Pass
Storage System : Checking if FLARE is supported………………………. Pass
Storage System : Checking array model……………………………….. Pass
Storage System : Checking if microcode is supported……………………  N/A
Storage System : Checking no disks or storage processors are failed over… Pass
Storage System : Checking that no disks or storage processors are faulted.. Pass
Storage System : Checking that no hot spares are in use……………….. Pass
Storage System : Checking that no hot spares are rebuilding……………. Pass
Storage System : Checking minimum control lun size……………………. Pass
Storage System : Checking maximum control lun size…………………….  N/A
Storage System : Checking maximum lun address limit…………………… Pass
Storage System : Checking system lun configuration……………………. Pass
Storage System : Checking if storage processors are read cache enabled….. Warn
Storage System : Checking if auto assign are disabled for all luns………  N/A
Storage System : Checking if auto trespass are disabled for all luns…….  N/A
Storage System : Checking storage processor connectivity………………. Pass
Storage System : Checking control lun ownership……………………….  N/A
Storage System : Checking if Fibre Channel zone checker is set up……….  N/A
Storage System : Checking if Fibre Channel zoning is OK………………..  N/A
Storage System : Checking if proxy arp is setup………………………. Pass
Storage System : Checking if Product Serial Number is Correct………….. Pass
Storage System : Checking SPA SPB communication………………………. Pass
Storage System : Checking if secure communications is enabled………….. Pass
Storage System : Checking if backend has mixed disk types……………… Pass
Storage System : Checking for file and block enabler………………….. Pass
Storage System : Checking if nas storage command generates discrepancies… Pass
Storage System : Checking if Repset and CG configuration are consistent…. Pass
Storage System : Checking block operating environment…………………. Pass
Storage System : Checking thin pool usage…………………………….  N/A
Storage System : Checking for domain and federations health on VNX……… Pass
——————————————————————————–

One or more warnings have occurred. It is recommended that you follow the
instructions provided to correct the problem then try again.

———————————–Information———————————-
Control Station: Check if standby is up
Information HC_CS_27389984778: The standby Control Station is
currently powered on. It will be powered off during upgrade, and then
later restarted and upgraded.

——————————————————————————–

————————————Warnings————————————
Control Station: Check all callhome files delivered
Warning HC_CS_18800050328: There are 36 undelivered Call Home
incidents and 3 scheduled Call Home files left in the
/nas/log/ConnectHome directory(es)
Action :

Check the /nas/log/connectemc/ConnectEMC log to ensure the connection
is established correctly. To test your Callhome configuration, you can
run /nas/sbin/nas_connecthome -test { -email_1 | -email_2 | -ftp_1 |
-ftp_2 | -modem_1 | -modem_2 } command. View the RSC*.xml files under
the /nas/log/ConnectHome directory(es) and inspect the CDATA content
to find out and possibly resolve the problem. To remove the call home
incidents and files, run the command “/nas/sbin/nas_connecthome –
service clear”. Otherwise escalate this issue through your support
organization.

Control Station: Check auto transfer status
Warning HC_CS_18800050417: The automatic transfer feature is disabled.
Action :

EMC recommends the automatic transfer feature to be enabled via
command:

/nas/tools/automaticcollection -enable

or from Unisphere:

1. Select VNX > [VNX_name] > System. Click the link for “Manage Log
Collection for File” Under Service Tasks.
2. Select Enable Automatic Transfer.
3. Click Apply.

By default, support materials will be transferred to ftp.emc.com,
but you can modify the location in the
/nas/site/automaticcollection.cfg file. For more information, search
the Knowledgebase on Powerlink as follows:
1. Log in to http://powerlink.emc.com and go to Support >
Knowledgebase Search> Support Solutions Search.
2. Use ID emc221733 to search.

Blades : Check connectivity to NTP servers
Warning HC_DM_18800115743:
* server_2: Only one NTP server is configured. It is recommended to
define at least two different NTP servers for a high availability.
If the clock of the Data Mover is not correct, potential errors
during Kerberos authentication may happen (timeskew).
Action : Use the server_date command to define another NTP server on
the Data Mover. Read the man pages for details and examples.

Storage System : Check if storage processors are read cache enabled
Warning HC_BE_18799984735: SPA Read Cache State on VNX FCN0xxxxxxxx5
is not enabled
Action : Please contact EMC Customer Service for assistance. Include
this log with your support request.

Storage System : Check if storage processors are read cache enabled
Warning HC_BE_18799984735: SPB Read Cache State on VNX FCNxxxxxxxxx5
is not enabled
Action : Please contact EMC Customer Service for assistance. Include
this log with your support request.

——————————————————————————–

[nasadmin@VNXCS01 ~]$