Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

14.30 GetPoolList (Gets a List of Resource Pools)

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

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

-type(optional)

Specify the resource pool type.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> 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>
[Linux Manager]
# 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:

0

The command executed successfully.

non-zero

An error has occurred.