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
Format
[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]
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>
        <vmhosts>
          <vmhost>
            <name>esxi5</name>
            <resourceId>WIN-5EGJBQPP4SJ_648</resourceId>
          </vmhost>
        </vmhosts>
        <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>
        <vmhosts>
          <vmhost>
            <name>esxi5</name>
            <resourceId>WIN-5EGJBQPP4SJ_648</resourceId>
          </vmhost>
        </vmhosts>
        <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.