Start a Conversation

Unsolved

This post is more than 5 years old

W

748

July 15th, 2013 14:00

Is it possible after connecting to cluster via pea file to retrieve the home pool name?

assuming i connect to a cluster via MyCluster?c:\peafiles\profile1.pea

which was created to connect to home pool "homepoolA".

is it possible to retrieve by centera API (e.g. getPoolInfo() etc) this home pool name?

July 15th, 2013 22:00

Please consider moving this question as-is (no need to recreate) to the proper forum for maximum visibility.  Questions written to the users' own "Discussions" space don't get the same amount of attention and questions can go unanswered for a long time. 

You can do so by selecting "Move" under ACTIONS along the upper-right.  Then search for and select: "Centera Support Forum" which would be the most relevant for this question.

409 Posts

July 22nd, 2013 10:00

There is no call to directly get the virual pool name but if you create a clip then the SDK will populate two sysem attributes which you can read to find the virtual pool ID

>

you could then use the center viewer to display the pool id of a virtual pool and compare

Config# show pool detail armtesting
Centera Pool Detail Report
------------------------------------------------------
Generated on Monday, 22 July 2013 18:43:23 BST

Pool Name:                          armtesting
Pool ID:                            861673fa-1dd2-11b2-b535-b66ede9133c1-7
Pool Mask:                          rdqeDcwh
Cluster Mask:                       rdqeDcw--h

Pool Quota Alert:                   10,240 GB
Pool Quota Hard S              --
Used Pool Capacity:                 146 GB
Free Pool Capacity (Alert):         10,094 GB
Free Pool Capacity (Hard Stop):     --
Number of C-Clips:                  673744
Number of Files:                    705605
Number of scheduled tasks:          0

Granted Rights to Access Profiles: 


14 Posts

July 24th, 2013 03:00

Thanks for this.

I did now use following pseudo code to retrieve the pool id:

FPClip_Create(...)

FPClip_GetDescriptionAttribute (..., "creation.poolid",...)

FPClip_Close(...)

The questions are now:

a) does this code sequence increase the "Used Objects Count"

b) Is there an API call that retrieves the pool list from the cluster like "show pools"  in centera viewer admin  ?

No Events found!

Top