Highlighted
wmluecke
1 Nickel

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?

0 Kudos
3 Replies
christopher_ime
4 Beryllium

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

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.

0 Kudos

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

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

<?xml version='1.0' encoding='UTF-8' standalone='no'?>

<ecml version="3.0">

<eclipdescription>

<meta name="creation.poolid" value="861673fa-1dd2-11b2-b535-b66ede9133c1-7"/>

<meta name="sdk.version" value="3.2.607"/>

<meta name="modification.poolid" value="861673fa-1dd2-11b2-b535-b66ede9133c1-7"/>

<meta name="retention.period" value="0"/>

<meta name="type" value="Standard" offset="0"/>

<meta name="name" value="paul"/>

<meta name="creation.date" value="2013.07.22 19:18:08 GMT"/>

<meta name="modification.date" value="2013.07.22 19:18:15 GMT"/>

<meta name="creation.profile" value="armtesting"/>

<meta name="modification.profile" value="armtesting"/>

<meta name="numfiles" value="0"/>

<meta name="totalsize" value="0"/>

<meta name="refid" value="6T4G9I5JC3174658KGAHTE7GCC"/>

<meta name="clusterid" value="25c57a54-1dd2-11b2-b87c-ce625a7031f2"/>

<meta name="prev.clip" value=""/>

<meta name="clip.naming.scheme" value="MD5"/>

<meta name="numtags" value="0"/>

</eclipdescription>

<eclipcontents/>

</ecml>

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 Stop:               --
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: 


0 Kudos
wmluecke
1 Nickel

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

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  ?

0 Kudos