Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\GetPoolList - Gets a List of Resource Pools
[Linux Manager]
/opt/FJSVcfmg/bin/GetPoolList.sh - Gets a List of Resource Pools
Synopsis
[Windows Manager]
GetPoolList -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name [-type resource pool type]
[Linux Manager]
GetPoolList.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name [-type resource pool type]
Function description
This command gets a list of resource pools.
Options
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Specify the resource pool type.
Requirements
User with OS administrator privilege
Admin server
Example
> GetPoolList -version 2.0 -locale en -userId user3 -password password -orgId tenantA -type vm <?xml version="1.0" encoding="UTF-8"?> <GetPoolListResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <resourcepools> <vmpools> <vmpool> <cpuFree>63.8</cpuFree> <cpuTotal>63.8</cpuTotal> <maxCpuPerf>2.6</maxCpuPerf> <maxMemorySize>13.7</maxMemorySize> <memoryFree>27.4</memoryFree> <memoryTotal>27.4</memoryTotal> <name>/VMHostPool</name> <numOfMaxCpu>12.0</numOfMaxCpu> <vmpoolResourceId>WIN-5EGJBQPP4SJ_4</vmpoolResourceId> </vmpool> </vmpools> </resourcepools> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </GetPoolListResponse>
# GetPoolList.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -type vm <?xml version="1.0" encoding="UTF-8"?> <GetPoolListResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <resourcepools> <vmpools> <vmpool> <cpuFree>63.8</cpuFree> <cpuTotal>63.8</cpuTotal> <maxCpuPerf>2.6</maxCpuPerf> <maxMemorySize>13.7</maxMemorySize> <memoryFree>27.4</memoryFree> <memoryTotal>27.4</memoryTotal> <name>/VMHostPool</name> <numOfMaxCpu>12.0</numOfMaxCpu> <vmpoolResourceId>WIN-5EGJBQPP4SJ_4</vmpoolResourceId> </vmpool> </vmpools> </resourcepools> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </GetPoolListResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.