3
naviseccli getagent naviseccli getcache naviseccli faults -list naviseccli getlun -private -owner -type >c:\lun101.txt naviseccli getdisk -hs -tla -product -state >c:\hotspare101.txt naviseccli getcrus >c:\crus101.txt naviseccli getdisk 2_0_0 -tla -product -state naviseccli getlog -2000 >c:/logs101.txt naviseccli getresume >c:\partno101.txt naviseccli getresume -all >c:\sps101.txt naviseccli getlog -2000 >c:/logs101.txt ====== navicli getagent navicli getlun -private -owner -type >c:\lun101.txt navicli getcrus >c:\crus101.txt navicli getdisk -hs -tla -product >c:\hotspare101.txt navicli getcache naviseccli faults -list naviseccli getresume >c:\partno101.txt navicli getresume -all >c:\sps101.txt naviseccli getlog -2000 >c:/logs.txt navicli getrg To run BV ======== navicli setsniffer -rg 26 -cr -bv -bvtime high navicli getsniffer -rg 26 Modem dialin ============ naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getagent naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getcache naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 faults -list naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getdisk 1_4_8 -state naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getlog -2000 >c:/logs101.txt naviseccli -h 192.168.127.131 -user admin -password PASSWORD -scope 0 spcollect -messner naviseccli -h 192.168.127.131 -user admin -password PASSWORD -scope 0 managefile s -retrieve naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getlun -priva te -owner -type >c:\Vikas\lun101.txt naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getcrus >c:\V ikas\crus101.txt naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getdisk -hs - tla -product >c:\Vikas\hotspare101.txt naviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 getcache naviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 faults -list naviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 getresume >c:\p artno12.txt naviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 getresume -all >c:\sps101.txt

91299445 Navicli Commands

Embed Size (px)

Citation preview

Page 1: 91299445 Navicli Commands

naviseccli getagentnaviseccli getcachenaviseccli faults -listnaviseccli getlun -private -owner -type >c:\lun101.txtnaviseccli getdisk -hs -tla -product -state >c:\hotspare101.txtnaviseccli getcrus >c:\crus101.txtnaviseccli getdisk 2_0_0 -tla -product -statenaviseccli getlog -2000 >c:/logs101.txtnaviseccli getresume >c:\partno101.txtnaviseccli getresume -all >c:\sps101.txtnaviseccli getlog -2000 >c:/logs101.txt

======navicli getagentnavicli getlun -private -owner -type >c:\lun101.txtnavicli getcrus >c:\crus101.txtnavicli getdisk -hs -tla -product >c:\hotspare101.txtnavicli getcachenaviseccli faults -listnaviseccli getresume >c:\partno101.txtnavicli getresume -all >c:\sps101.txt

naviseccli getlog -2000 >c:/logs.txt

navicli getrg

To run BV========navicli setsniffer -rg 26 -cr -bv -bvtime high

navicli getsniffer -rg 26

Modem dialin ============naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getagentnaviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getcachenaviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 faults -listnaviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getdisk 1_4_8 -statenaviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getlog -2000 >c:/logs101.txtnaviseccli -h 192.168.127.131 -user admin -password PASSWORD -scope 0 spcollect -messnernaviseccli -h 192.168.127.131 -user admin -password PASSWORD -scope 0 managefiles -retrieve

naviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getlun -private -owner -type >c:\Vikas\lun101.txtnaviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getcrus >c:\Vikas\crus101.txtnaviseccli -h 127.1.1.1 -user nasadmin -password nasadmin -scope 0 getdisk -hs -tla -product >c:\Vikas\hotspare101.txtnaviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 getcachenaviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 faults -listnaviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 getresume >c:\partno12.txtnaviseccli -h 172.23.13.10 -user emc -password Bmw520I! -scope 0 getresume -all >c:\sps101.txt

Page 2: 91299445 Navicli Commands

Celerra commands================

/nas/sbin/navicli -h spa getagent/nas/sbin/navicli -h spa getcache/nas/sbin/navicli -h spa faults -list/nas/sbin/navicli -h spa getlun -private -owner -type/nas/sbin/navicli -h spa getdisk -hs -tla -product -state

/nas/sbin/navicli -h spa getcrus

/nas/sbin/navicli -h spa getdisk -state -tla -hs -product

/nas/sbin/navicli -h spa getdisk 0_2_10 -state -tla -hs -product

/nas/sbin/navicli -h spa getlun -trespass -private

/nas/sbin/navicli -h spa getlog | tail -2000

cat /etc/hosts |grep -i SP

/nas/sbin/naviseccli -h spa faults -list

cat /etc/hosts |grep -i SPto get the ip address

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

How to collect SP Collects : Login to putty as nasadmin / nasadmin : � cd /nas/tools � ./.get_spcollect � (after the SP Collects are done) � Go to cd /nas/var/log � ll (you will be able to see the SP Collects file) � ftp ftp.emc.com � anonymous (password and username) � bin � hash � cd /incoming/SR/

Page 3: 91299445 Navicli Commands

� cd SR � mkdir <SR NUMBER> � cd /incoming/SR/<dir name> � mput SPCOLLECT.zip � yes � and It will add the SP Collects to the FTP site.======================================================================

DISK LIBRARY

username: dlrootpassword: !4CustUse

cd /opt/Navisphere/binfclar./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 getagent./navicli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 getagent

./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 getcache./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 faults -list./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 getdisk -hs -tla -product./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 getcrus./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 getlun -private -owner -type

./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 spcollect -messner./naviseccli -h 10.144.152.24 -user cdlsupport -password wabisabi -scope 0 spcollect -messner

./naviseccli -h 10.144.152.23 -user cdlsupport -password wabisabi -scope 0 managefiles -retrieve./naviseccli -h 10.144.152.24 -user cdlsupport -password wabisabi -scope 0 managefiles -retrieve