Unsolved
This post is more than 5 years old
19 Posts
0
1196
February 18th, 2009 05:00
arrayconfig output on screen
Does anyone know how I can tell to naviseccli arrayconfig -capture to print its output on screen? I try to use - as filename but its write the output into - file... I have no permission on /tmp so I cannot write to there.
No Events found!



AranH1
2.2K Posts
0
February 18th, 2009 08:00
SKT2
2 Intern
•
1.3K Posts
0
February 18th, 2009 12:00
bertog
61 Posts
0
February 18th, 2009 13:00
There is no way to do what you are attempting with the array config -capture command, it can only print output to a file. See the Navisphere Command Line Reference Guide on Powerlink:
http://powerlink.emc.com/km/live1/en_US/Offering_Technical/Technical_Documentation/300-003-628_A10.pdf
The arrayconfig -capture command queries the storage system for its
configuration along with I/O port configuration information. When
issued, the command will capture a storage system¿s essential
configuration data. The information is formatted and stored on the
client workstation.
This generated file can be used as a template to configure other
storage systems or rebuild the same storage system if the previous
configuration is destroyed.
I wonder if the getall with appropriate switches will accomplish what you want?
The getall command is a superset of the getagent command. If you
type the getall command without switches, the CLI displays all
values. With switches, the CLI displays only the values specified.
Note that the getall command and any of its arguments return all
information pertinent to the current Navisphere release. The amount
of this information may change (usually it increases) with each new
Navisphere release. This may affect your custom command scripts
that use getall.
The command displays information for the agent running in the SP
(the SP agent). Values for irrelevant display fields appear as NA.
Some information is not displayed if the feature is not activated or
not supported. For example, SAN Copy items a
-array
Displays only information about the storage system and its
hardware components such as fan and link control card (LCC).
This is a composite of information displayed by the getarrayuid,
arrayname, getcrus, and initialiazearray commands.
naviseccli -h -user -password -scope 0 getall
AssafK
19 Posts
0
February 18th, 2009 23:00
I need all available infromation about CLARiiON so getall return only a part of my needs (It doesn't return infromation about clock for example) and anyway the parsing of arrayconfig -capture output is much more simple.
AssafK
19 Posts
0
February 18th, 2009 23:00
dynamox
9 Legend
•
20.4K Posts
0
February 19th, 2009 05:00
bertog
61 Posts
0
February 19th, 2009 07:00
You can run the arrayconfig command from any server that has Navisphere Secure CLI installed and IP connectivity to the CLARiiON's management ports. You do not need to run it on a server that is connected via fibre or iSCSI.
AssafK
19 Posts
0
February 24th, 2009 06:00
AssafK
19 Posts
0
February 24th, 2009 06:00