Sie sind auf Seite 1von 3

EMC Celerra – VNX – Get Logs and simple Health Check

1 Gathering Support Material file


Support material is one of the basic log file used to diagnose celerra as well as for VNX issues.
The script will take approximately 10 minutes to run and will capture NAS System logs and configuration file
Connect your Celerra using Putty and execute the following command

/nas/tools/collect_support_materials

The output is as below:-


[nasadmin@Cxxxxxxxxx ~]$ /nas/tools/collect_support_materials
collect_support_materials[29843]: The collection script revision 2.8.4 has started.
Collecting /nas/log/*, /nas/log/webui/*, /nas/ConnectHome/* and /nas/jserver/logs

collect_support_materials[29843]: The collection script has finished successfully.
Logs collection has successfully completed and logs are placed in following location with time stamp zip file.

/nas/var/log/support_materials_APM00070802955.091216_0908.zip
 In older models, the location will be /nas/var/logs
 In new models, the location will be /nas/var/emcsupport

Use Winscp software to transfer the logs from Unix machine to Windows machine.

2 Gathering SPCollect files


In the /nas/tools/ directory you will find a hidden script called .get_spcollect.
[nasadmin@Cxxxxxxxxx ~]$ ls -al /nas/tools/.get_spcollect
-rwxr-xr-x 1 root root 8795 Feb 4 2010 /nas/tools/.get_spcollect
This is a hidden file so pay attention to the preceding dot.
This script will go out to every CLARiiON Service Processor configured with the Celerra and pull the latest SPCollects.
The benefit of using this script is that it takes all of the effort out of obtaining SPCollects by just running a single script.
 An example of the .get_spcollects script run:
[nasadmin@Cxxxxxxxxx ~]$ /nas/tools/.get_spcollect

Generating spcollect zip file for Clariion(s)

Creating spcollect zip file for the Service Processor A_APM00073000619. Please wait...


spcollect zip file APM00073000619_SPA_2010-08-06_13-52-19_1db0f9_data.zip for the Service Processor A_APM00073000619 was created
Creating spcollect zip file for the Service Processor B_APM00073000619. Please wait...

spcollect zip file APM00073000619_SPB_2010-08-06_13-56-49_1db0db_data.zip for the Service Processor B_APM00073000619 was created
Deleting old SPCOLLECT.zip file from /nas/var/log directory...
Old SPCOLLECT.zip deleted
Zipping all spcollect zip files in one SPCOLLECT.zip file and putting it in the /nas/var/log directory...
adding: APM00073000619_SPA_2010-08-06_13-52-19_1db0f9_data.zip (stored 0%)
adding: APM00073000619_SPB_2010-08-06_13-56-49_1db0db_data.zip (stored 0%)
[nasadmin@ns20cs ~]$

Now, the SPCOLLECT.zip and support_materials files produced in “/nas/var/logs” or “/nas/var/emcsupport”


directory can now be transferred and provided to the support for analysis.

Note: If needed, you will find at chapter 3 how to get the same files using Unisphere Manager and USM.
3 Simple Health Check
The result of command below are required for a complete diagnostic.

[nasadmin@Cxxxxxxxxx ~]$ /nas/tools/nas_summary

[nasadmin@xxxxxxxxx ~]$ /nas/sbin/getreason

[nasadmin@xxxxxxxxx ~]$ /nas/bin/nas_server –l

[nasadmin@xxxxxxxxx ~]$ /nas/bin/nas_server –i –a

[nasadmin@xxxxxxxxx ~]$ nas_inventory –list

[nasadmin@xxxxxxxxx ~]$ nas_inventory -tree

[nasadmin@xxxxxxxxx ~]$ nas_inventory -i –all

[nasadmin@xxxxxxxxx ~]$ /nas/sbin/enclosure_status –v -e 0

[nasadmin@Cxxxxxxxxx ~]$ /nas/bin/nas_checkup  It can take some minutes


4 Gathering SPcollect files on a VNX Series array with MCx
Product: VNX Series
Description: How to gather SPcollects from a VNX Series array (running MCx) using either Unisphere, USM or Navisphere Secure
CLI. Retrieving diagnostic data from a Unified array using Unisphere.

4.1 Unisphere
1. Launch Unisphere and login.
2. Select the VNX series array from either the dashboard or from the Systems drop-down menu. Click System on the toolbar.
3. On the right pane, under Diagnostic Files, select 'Generate Diagnostic Files - SPA'. Confirm that it is OK to continue.
"Success" will be displayed when the SPcollect starts, but this only means the script has been started and will still take several
minutes to complete.
4. Repeat step 3 for SP B.
5. It will take around 15 minutes to generate a complete SPcollect file.
6. Still on the right pane, select 'Get Diagnostic files - SP A'.
7. When the SPcollect file has completed, a file with the following name will be listed:
<ArraySerialnumber>_SPA_<date_time(GMT)_code>_data.zip
8. Sorting by descending order of date is a good way to find the latest SPcollect and the zip file will generally be over 10MB. If
the file has not appeared, press refresh every minute or so until the correct _data.zip file appears.
9. On the right-hand side of the box, select the location on the local computer, where the SPcollects should be transferred to.
10. On the left hand side of the box select the file to be transferred. Note, if a file is listed that ends in runlog.txt, this indicates
that the SPcollects are still running. Wait until the data.zip is created.
11. Repeat Steps 6-10 on SP B to retrieve its diagnostic files.

4.2 Unisphere Service Manager


1. Log in to Unisphere client.
2. Select the VNX, either from the dashboard or from the Systems drop-down. Click System on the toolbar.
3. On the right pane, under Service Tasks, select 'Capture Diagnostic Data'. This will launch USM. Alternatively USM can be
launched directly from the Windows Start menu.
4. Select the Diagnostics tab and select ‘Capture Diagnostics Data’. This will launch the Diagnostic Data Capture Wizard.
5. The Wizard will capture and retrieve SPcollect files from both SP and Support Materials from the File storage, which will then
be combined into a single zip file.

4.3 Navisphere Secure CLI


Perform the following steps:
1. Open a command prompt on the Management Station.
2. Type cd "C:\Program Files\EMC\Navisphere CLI" - This is the default installation folder for Windows, but the path the file
was installed to may have been overridden. Other platforms, such as Linux, would have a different folder structure, but the
commands are the same. The CLI folder may already be in the path statement, in which case, the commands can be run from
any directory.
3. Type naviseccli -h <SP_A_IP_address> spcollect
4. Type naviseccli -h <SP_B_IP_address> spcollect
5. These commands start the SPcollect script on each SP. Additional security information may also need to be specified
(39860).
6. Wait at least 10 minutes for the SPcollects to run, before attempting to retrieve them.
7. Type naviseccli -h <SP_IP_address> managefiles -list
8. This will list the files created by SPcollect. Check that a file with the current date and time in GMT has been created, ending
with _data.zip. If there is a file ending with .runlog instead, then the SPcollect is still running, so wait for a while longer before
retrying this.
9. Type naviseccli -h <SP_IP_address> managefiles -retrieve
This will display the files that can be moved from the SP to the Management Station.

Example:
Index Size in KB Last Modified Filename
0 339 06/25/2013 00:45:42 admin_tlddump.txt
...
10 24965 06/24/2013 23:39:53 FNM00125001234_SPB_2013-06-24_22-38-15_32a007_data.zip
11 41577 06/25/2013 00:17:17 FNM00125001234_SPB_2013-06-24_23-10-55_32a007_data.zip
...
10. Enter files to be retrieved with index separated by comma (1,2,3,4,5) OR by a range (1-3) OR enter 'all' to retrieve all file OR
'quit' to quit> 11

This will pull the index number 10 (the most recent ~_data.zip file) from the corresponding SP and copy it to the c:\program
files\emc\navisphere cli directory, with a filename of FNM00125001234_SPB_2013-06-24_23-10-55_32a007_data.zip

Das könnte Ihnen auch gefallen