Unsolved
This post is more than 5 years old
15 Posts
0
1008
January 16th, 2015 02:00
Capacity Centera Information
Hi,
I need to display these informations in my application (Java)
Cluster
=====
clusterIdentification |
totalCapacity |
usedCapacity |
freeCapacity |
totalObjectCount |
freeObjectCount |
And For Pool
=========
poolIdentification |
usedCapacity |
freeCapacity |
quota |
hardStopQuota |
usedObjectCount |
usedClipCount |
In API i didnt find methodes that return all these information.
How can I retrieve these information from API?
NB. I use SDK 3.3 in Java Enviroment.
thanks for your helps.
No Events found!
mfh2
208 Posts
0
January 16th, 2015 05:00
Hello -
There a section on the SDK manual that details the "Monitoring Functions"; in particular you should experiment with FPMonitor_GetDiscoveryStream which *may* return all of the information you need (along with a LOT of other stuff which you will not need).
I should caution you however that these monitoring functions (referred to collectively as the 'MOPI' API) and only supported on CentraStar. If your customer were to move to one of EMC's newer CAS implementations (Atmos-CAS or ViPR-CAS/ECS) the MOPI functions would not be available.
In my opinion, implementing this feature is likely more trouble than it is worth. You cold choose to implement a less comprehensive 'system information' display using the information returned by FPPool.getPoolInfo() which AFAIK is supported on all EMC CAS implementations.
As a side note, it would be very interesting to hear a description of your application. It's quite unusual for a Centera app to display such detailed system information to the user.
Regards,
Mike Horgan
y_labchiri
15 Posts
0
January 16th, 2015 08:00
Thanks for your reply;
this part of my application is for user Admin (monitoring) and not for all user.
I have tried FPMonitor_GetDiscoveryStream but it retun nothing in the output stream.
I am trying to understand why
mckeown_paul
409 Posts
0
January 16th, 2015 08:00
Check that the access profile you are using to make the connection allows the monitoring capability.
If you are testing against the online clusters they do not
y_labchiri
15 Posts
0
January 19th, 2015 08:00
Hi,
Yes the profil used allows monitoring capability.
my call is like this :
FPLibraryNative.FPMonitor_Open(CLUSTER_IP?name=myProfil,secret=MyPass)
FPMonitor_GetDiscoveryStream(monitor,out);
the profil is tested with the CLI and il work fine.
i have the error -10153 in the call of the function FPMonitor_GetDiscoveryStream.
FPMonitor_Open is passed without error and return a constant(as long) of monitor!
Any Idea?