Tech-tip: Get DELLEMC VNX SP Collect using CLI
In this tech tip I’ll show how to use navisphere cli to gather SP collect, without using the GUI.
Using naviseccli
1 |
/nas/sbin/naviseccli -Scope 0 -h #sp_ip# -User sysadmin -Password #password# spcollect |
After 10 minutes check created files
1 |
/nas/sbin/naviseccli -Scope 0 -h #sp_ip# -User sysadmin -Password #password# managefiles -list | grep data |
And here the result:
1 2 3 4 5 6 7 |
7 31669 04/29/18 02:55:47 CKM0016XXXXXXX_SPB_2018-04-29_00-46-14_415053_data.zip 9 29169 05/06/18 02:55:50 CKM0016XXXXXXX_SPB_2018-05-06_00-46-16_415053_data.zip 11 33834 05/10/18 15:46:12 CKM0016XXXXXXX_SPB_2018-05-10_13-36-28_415053_data.zip 13 36447 05/13/18 02:56:01 CKM0016XXXXXXX_SPB_2018-05-13_00-46-17_415053_data.zip 15 33186 05/20/18 02:56:01 CKM0016XXXXXXX_SPB_2018-05-20_00-46-18_415053_data.zip 17 30689 05/27/18 02:56:01 CKM0016XXXXXXX_SPB_2018-05-27_00-46-19_415053_data.zip 19 35073 05/31/18 10:39:02 CKM0016XXXXXXX_SPB_2018-05-31_08-29-24_415053_data.zip |
Then retrieve files with
1 |
/nas/sbin/naviseccli -Scope 0 -h #sp_ip# -User sysadmin -Password #password# managefiles -retrieve |
and input the relative line number… the file will be placed in c:/program files/emc/navisphere cli directory
Enjoy