Reply to Message

Reply to Message

View discussion in a popup

Replying to:
Roger_Wu
4 Ruthenium

Re: SPcollect for both SPs

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