Unsolved
This post is more than 5 years old
11 Posts
0
1521
July 21st, 2017 07:00
How can i automate to get the capacity values for centera cluster.
Now i can go to centra console and pull the report manually , i need total,used ,available and free capacity values.
No Events found!
dynamox
9 Legend
•
20.4K Posts
0
July 22nd, 2017 04:00
java -cp "C:\Program Files (x86)\EMC\Centera\4_3\SystemOperator\lib\CenteraViewer.jar" com.filepool.remote.cli.CLI -u admin -p centera -ip', " $centera_ip", ':3682 -script showcapacity.cli
where showcapacity.cli file looks like this:
show capacity availability
yes
yes
yes
yes
yes
quit
srikanthvamaraj
11 Posts
0
July 24th, 2017 07:00
Do i have to create a file showcapacity.cli?
can you help me understand the syntax of the above command?
where will the output be saved?
thanks.
dynamox
9 Legend
•
20.4K Posts
0
July 25th, 2017 03:00
you have to install Centera Viewer tools on the system where you are going to run this script. CenteraViewer.jar is part of that install.
Yes, you have to create file sowcapacity.cli in notepad. This file is basically issuie commands to Centera Viewer once connection is established. Actually you don't need those multiple "yes" commands, but you do need the quit command. The output is send to standard out, i parse it on the fly in my perl script but you can also redirect it to a file and process it how you like.
java -cp "C:\Program Files (x86)\EMC\Centera\4_3\SystemOperator\lib\CenteraViewer.jar" com.filepool.remote.cli.CLI -u admin -p centera -ip', " $centera_ip", ':3682 -script showcapacity.cli > centera.output