This post is more than 5 years old
8 Posts
0
1661
November 22nd, 2012 13:00
Trying to retrieve an archive
Hello everyone,
I am trying to use the following command to retrieve an archive based on page 712 of 300-011-815.pdf
naviseccli -User user -Password password -Address address -Scope 2 analyzer -archiveretrieve -file archive.nar -location D:\TEMP\ -overwrite y -retry 3
but i am getting the following error
Cannot create file:Missing actual parameter 'EngineerMode' in call to method 'createArchive'.
Does anyone know if I am missing something? A setting or configuration?
Thanks,
J
No Events found!
AnkitMehta
1.4K Posts
0
November 23rd, 2012 02:00
Are you trying to gather Performance Logs?! In addition to what dynamox mentioned,KB Article:emc148982 How do I automate collecting .NAR files? should help you with the issue you are facing.
dynamox
9 Legend
•
20.4K Posts
1
November 22nd, 2012 16:00
can you try scope 0 or 1
J_J_J1
8 Posts
1
November 23rd, 2012 05:00
scope 0 or 1 gives authentication failed when i run "analyzer -archive -list" so i'm pretty sure I need scope 2.
J_J_J1
8 Posts
1
November 23rd, 2012 06:00
After re-reading the doc and the KB article, it turns out that I was using the wrong command.
naviseccli -User xxxx -Password xxxx -Scope 2 -Address xxxx analyzer -archive -file xxxx.nar
worked
thanks everyone.
RRR
2 Intern
•
5.7K Posts
0
November 23rd, 2012 06:00
Thanks for letting us know
AnkitMehta
1.4K Posts
0
November 23rd, 2012 09:00
Thank you. I have notified the moderators. This discussion will be now moved to CLARiiON Support Forum for better visibility for other contributor with the same issue/query.
RFritz11
2 Intern
•
244 Posts
0
November 26th, 2012 04:00
Hi,
Your question has been moved to the CLARiiON Support Forum.
Thanks,
Bob.
kelleg
4.5K Posts
0
January 15th, 2013 12:00
From the Unisphere/Navisphere Command LIne Interface manual:
analyzer -archive
Manages archive files.
PREREQUISITES
You must have a user account on the system on which you want to execute the command.
DESCRIPTION
The naviseccli analyzer command with the -archive switch lets you list, retrieve, or
delete one or more archive files from an SP. It retrieves both the encrypted and decrypted
archive files.
SYNTAX
analyzer -archive
[[-list][-path pathname][-o][-all|-file filenames][-delete]]
or
analyzer -archive
[-new|-statusnew filename]
OPTIONS
-list
Lists all the archive files, ignoring all other switches.
-path pathname
Retrieves files to the path you specify. If you do not specify a pathname, files are retrieved
to the current directory.
-o
Does not display warning messages.
-all
Retrieves all archive files.
-file filenames
Retrieves archive files you specify.
glen
dynamox
9 Legend
•
20.4K Posts
0
January 15th, 2013 12:00
add "-o"
rdc2_971ba0
2 Posts
0
January 15th, 2013 12:00
Is there a way to run this command without any prompts? I would like to script grabbing the nar files but I get a prompt every time which hangs the script.
AnkitMehta
1.4K Posts
0
January 15th, 2013 22:00
Just for future reference, in case if you are not sure of switch available for a particular command.
Type the command put a space or "-" to see available switches with that command. (for a quick reference)
However, to know which switch does what, as Glen mentioned it is recommended to refer to Navisphere Command Line Reference.