Start a Conversation

Unsolved

This post is more than 5 years old

1172

March 12th, 2010 05:00

Get pool Quota and used capacity from script

Hi all.

We have a Centera Environment with 2 Centera's

For this environment I need some automatical storage usage reporting.

EMC promised me that I could use "History Manager Database via ODBC" for this.

But I have only access to 10 tables in the History Manager, and none of them contains information regarding the pool's on the Centera

Does anyone here know if there is another way to get these data?

Best Regards

Bo Sorensen

124 Posts

March 12th, 2010 06:00

Console history manager should show capacity utilization through time.

Health reports contains pool capacity information.

You could create a Centera Viewer CLI script that runs at defined intervals that gathers pool information

You could use Centera Chargeback Reporter which allows you to create custom reports based off of clip metadata

Any one of the above should provide the information you are looking for but I thing Chargeback Reporter is the best option

2 Intern

 • 

337 Posts

March 12th, 2010 06:00

Hi Bo

For a customer who wanted to pause and resume replication we used the following line in a batch file to launch the script:

"C:\Program Files\EMC\Centera\4_0\SystemOperator\_jvm\bin\java.exe" -cp "C:\Program Files\EMC\Centera\4_0\SystemOperator\lib\CenteraViewer.jar" com.filepool.remote.cli.CLI -u repadmin -p repadmin -ip 172.16.99.62:3682 -script c:\temp\replicationpause.txt



The replicationpause.txt contains:

replication pause

yes

quit



Using "show pool capacity" in the script you should be able to generate the output you want.

The online help of the tools tells us the followinf for the batch file:

Create a batch file

Create a batch file which calls the Centera Viewer and CLI with the file containing the CLI commands as a parameter and re-directs output to another text file which will be used to display the results of the CLI commands.

Example

@echo off

java -cp CenteraViewer.jar com.filepool.remote.cli.CLI -u username -p password -ip 10.65.133.5:3682 -script script.cli > output.txt

Description

This script calls the Centera Viewer and CLI with the file script.cli as a parameter and re-directs output to another text file which will be used to display the results of the CLI commands.

  • -u: Enter the username of the administrator, used to login to Centera.


  • -p: Enter the password of the administrator.


  • -ip: Enter the ip address of the cluster.


  • -script: Enter the name of the file containing the CLI commands that the user wants to run.


  • output.txt: Enter the name (Output.txt) of the file that will display the results of the CLI commands.


Hope this helps, Holger

March 12th, 2010 07:00

Hi Holger

Thanks, this is very helpfull.

I will try this on Monday

No Events found!

Top