J_J_J1

updated

14 years ago

J

J_J_J1

8 Posts

0

1704

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

  • AnkitMehta

    4 Apprentice

    1365 Posts

    855

    0

    Posted 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

    11 Legend

    20419 Posts

    87439 Points

    855

    1

    Posted November 22nd, 2012 16:00

    can you try scope 0 or 1

  • J_J_J1

    8 Posts

    855

    1

    Posted 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

    855

    1

    Posted 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

    6 Operator

    5739 Posts

    855

    0

    Posted November 23rd, 2012 06:00

    Thanks for letting us know

  • AnkitMehta

    4 Apprentice

    1365 Posts

    855

    0

    Posted 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

    855

    0

    Posted November 26th, 2012 04:00

    Hi,

    Your question has been moved to the CLARiiON Support Forum.

    Thanks,

    Bob.

  • kelleg

    6 Operator

    4537 Posts

    105

    0

    Posted 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

    11 Legend

    20419 Posts

    87439 Points

    855

    0

    Posted January 15th, 2013 12:00

    add "-o"

  • 855

    0

    Posted 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.