开始新对话

未解决

此帖子已超过 5 年

1755

2012年3月19日 01:00

Celerra工具包系列之三:收取CLARiiON SPCollects日志 【NAS Code 5.4+】

转载请在文首保留原文出处:EMC中文支持论坛 - https://community.emc.com/go/chinese

本系列将介绍Celerra常用工具:

Celerra工具包系列之一:抓取DataMover网络数据包 

Celerra工具包系列之二:收取Celerra Support_materials日志 [NAS Code 5.6+] 

Celerra工具包系列之三:收取CLARiiON SPCollects日志 【NAS Code 5.4+】

Celerra工具包系列之四:whereisfs脚本

Celerra工具箱系列之五:自动日志收集和传输功能【NAS 5.5.21.3+】

Celerra工具包系列之六:收取Dump日志


摘要
:当Celerra后端CLARiiON出现问题时,技术支持人员通常会要求收取SPCOLLECT日志以便做进一步分析。对于Celerra集成系统,可能无法直接通过浏览器访问CLARiiON图形界面并以常规的方式收取SPCollect

本文将论述如何通过.get_spcollects脚本直接通过Control Station收取后端CLARiiON SPCollects日志。

Celerra提供的.get_spcollect脚本能够直接从Control Station获取SPCollect日志,请遵照如下步骤:

  1. 使用Putty登录Control Station
  2. 输入命令:$ /nas/tools/.get_spcollects
  3. 等待命令完成
  4. 系统将生成/nas/var/log/SPCOLLECT.zip文件
  5. 如果/nas/var/log/SPCOLLECT.zip文件已经存在,那么该脚本将覆盖旧文件,请查看文件生成日期。

文件生成后,可以通过诸如WinSCP软件从Control Station上取下SPCollect,之后便可通过上传日志到PowerlinkEMC FTP站点以供技术人员进一步分析。

示例运行结果:

[nasadmin@NS480-1 ~]$ /nas/tools/.get_spcollect

Generating spcollect zip file for Clariion(s)

Creating spcollect zip file for the Service Processor A_CKM0010330xxxx. 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 CKM0010330xxxx_SPA_2012-03-19_04-25-07_2a004e_data.zip for the Service Processor A_CKM0010330xxxx was created

Creating spcollect zip file for the Service Processor B_CKM00103300619. 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 CKM0010330xxxx_SPB_2012-03-19_04-29-19_2a002e_data.zip for the Service Processor B_CKM0010330xxxx 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: CKM0010330xxxx_SPA_2012-03-19_04-25-07_2a004e_data.zip (stored 0%)

  adding: CKM0010330xxxx_SPB_2012-03-19_04-29-19_2a002e_data.zip (stored 0%)

没有回复!
找不到事件!

Top