Tutoriel:

Comment collecter les journaux de votre NAS Celerra

 

Objectif :

Ce tutoriel vous permet de récolter les journaux de votre baie Celerra afin de les analyser ou de les faire parvenir au support technique Dell.

 

Prerequis : 

L'ip de management du Celerra.

 

Procédure : 

Connectez vous au Celerra en SSH : https://www.google.com/search?hl=en&q=putty

login as: nasadmin

A customized version of the Linux operating system is used on the

EMC(R) Celerra(R) Control Station.  The operating system is

copyrighted and licensed pursuant to the GNU General Public License

("GPL"), a copy of which can be found in the accompanying

documentation.  Please read the GPL carefully, because by using the

Linux operating system on the EMC Celerra you agree to the terms

and conditions listed therein.

EXCEPT FOR ANY WARRANTIES WHICH MAY BE PROVIDED UNDER THE TERMS AND

CONDITIONS OF THE APPLICABLE WRITTEN AGREEMENTS BETWEEN YOU AND EMC,

THE SOFTWARE PROGRAMS ARE PROVIDED AND LICENSED "AS IS" WITHOUT

WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT

NOT LIMITED TO, THE IMPLIED MERCHANTABILITY AND FITNESS FOR A

PARTICULAR PURPOSE.  In no event will EMC Corporation be liable to

you or any other person or entity for (a) incidental, indirect,

special, exemplary or consequential damages or (b) any damages

whatsoever resulting from the loss of use, data or profits,

arising out of or in connection with the agreements between you

and EMC, the GPL, or your use of this software, even if advised

of the possibility of such damages.

EMC and Celerra are registered trademarks or trademarks of

EMC Corporation in the United States and/or other countries.  All

other trademarks used herein are the property of their respective

owners.

EMC Celerra Control Station Linux release 3.0 (NAS 6.0.36)

Access denied

nasadmin@192.168.7.12's password:

Last login: Thu Oct 25 15:09:28 2012 from san-palantir.ser-techsupport.local

EMC Celerra Control Station Linux   Mon Jul 30 12:24:21 EDT 2012

             *** slot_0 primary control station ***

 

Logez vous et saisissez la commande : /nas/tools/collect_support_materials

[nasadmin@NS120 ~]$ collect_support_materials

-bash: collect_support_materials: command not found

[nasadmin@NS120 ~]$ /nas/tools/collect_support_materials

collect_support_materials[24579]: The collection script revision 4.3.10 has started.

PPID is 24579

Monitor_collect_script called

   Discovering Clariion SPs

   Collecting system times

   Collecting output from server_log

   Collecting output from internal commands

   Collecting event log configuration files

   Collecting files from .etc dir of each DM

   Collecting /nas/http/domain

   Collecting Mirrorview DR logs

   Collecting Backend Monitor logs

   Collecting /var logs

   Collecting upgrade logs

   Collecting files from /etc

Collecting files from /root

Collecting files from /proc

   Collecting /http/logs and /tomcat/logs

   Collecting Celerra Manager tasks

   Collecting cron files

   Collecting Control Station process information and versions

   Collecting /nas/jserver/debug_of_core* files

   Collecting /nas/bdb files

   Collecting C3 log files

   Collecting output from other CS commands

   Collecting Backend audit logs

   Collecting files from /usr

Collecting files from /tmp

   Collecting Boot logs

Now running material collection script for longer running commands.

   Collecting complete nas dir listing

   Collecting output from nas commands

   Collecting Replicator information

   Collecting RDF information

   Collecting F-RDE information

   Collecting DHSM information

   Collecting Symmetrix information

   Collecting Clariion information

   Collecting other files from /nas, /nas/site, /nas/sys,

                /nas/rdf, and /nas/dos

Collecting complete replication v2 namedb listing

   Collecting /nas/log/*, /nas/log/webui/*, /nas/ConnectHome/*,

                /nas/jserver/logs, /nas/log/connectemc/* and /nas_standby/log/*

Material Collection File:

  /nas/var/emcsupport/support_materials_CK200102100205.121025_1512.zip has been generated.

**********************************************************************

  Please include file /nas/var/emcsupport/support_materials_CK200102100205.121025_1512.zip

  with materials submitted to EMC for problem investigation.

**********************************************************************

collect_support_materials[24579]: The collection script has finished successfully.

 

Puis la commande : /nas/tools/.get_spcollect

[nasadmin@NS120 var]$ /nas/tools/.get_spcollect

Generating spcollect zip file for Clariion(s)

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

spcollect started to pull out log files(it will take several minutes)...

Wait until new _data.zip file size becomes final(it will take several minutes)

Retrieving new _data.zip file...

Wait until new _data.zip file size becomes final(it will take several minutes)

Retrieving new _data.zip file...

spcollect zip file CKM00084300882_SPA_2012-10-25_19-23-31_292007_data.zip for the Service Processor A_CKM00084300882 was created

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

spcollect started to pull out log files(it will take several minutes)...

Wait until new _data.zip file size becomes final(it will take several minutes)

Retrieving new _data.zip file...

spcollect zip file CKM00084300882_SPB_2012-10-25_19-28-03_224127_data.zip for the Service Processor B_CKM00084300882 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: CKM00084300882_SPA_2012-10-25_19-23-31_292007_data.zip (stored 0%)

  adding: CKM00084300882_SPB_2012-10-25_19-28-03_224127_data.zip (stored 0%)

 

Les fichiers de logs sont ici  :

cd /nas/var/emcsupport

ls

cd /nas/var/log

ls

Recuperez les fichiers avec WINSCP : https://www.google.com/search?hl=en&q=winscp

NAS log :

Sp collect :