Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

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

1.4K Posts

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.

9 Legend

 • 

20.4K Posts

November 22nd, 2012 16:00

can you try scope 0 or 1

8 Posts

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.

8 Posts

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.

2 Intern

 • 

5.7K Posts

November 23rd, 2012 06:00

Thanks for letting us know

1.4K Posts

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.

2 Intern

 • 

244 Posts

November 26th, 2012 04:00

Hi,

Your question has been moved to the CLARiiON Support Forum.

Thanks,

Bob.

4.5K Posts

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

9 Legend

 • 

20.4K Posts

January 15th, 2013 12:00

add "-o"

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.

1.4K Posts

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.

No Events found!

Top