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

14.38 ListLServer (Gets a List of Servers in an L-Platform)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\ListLServer - Gets a List of Servers in an L-Platform

[Linux Manager]
/opt/FJSVcfmg/bin/ListLServer.sh - Gets a List of Servers in an L-Platform

Synopsis

[Windows Manager]

ListLServer -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID

[Linux Manager]

ListLServer.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID

Function description

This command gets a list of server IDs within an L-Platform.

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.

-lplatformId

Specify the L-Platform ID.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> ListLServer -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX
<?xml version="1.0" encoding="UTF-8"?>
<ListLServerResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lservers>
    <lserver>
      <creator>tenantA</creator>
      <diskimageId>image-1324e093f4e</diskimageId>
      <diskimageName>g-physical-0001</diskimageName>
      <type>Physical</type>
      <disks/>
      <lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
      <lserverName>physical</lserverName>
      <serverType>Economy</serverType>
      <resource>
        <name>tenantA-M3PGGWCFX-S-0001</name>
      </resource>
      <snapshotExist>false</snapshotExist>
    </lserver>
    <lserver>
      <creator>tenantA</creator>
      <diskimageId>image-1324e09f82f</diskimageId>
      <diskimageName>g-vm-0002</diskimageName>
      <type>Virtual</type>
      <disks>
        <disk>
          <attachedTo>tenantA-M3PGGWCFX-S-0002</attachedTo>
          <creator>tenantA</creator>
          <size>20.0</size>
          <diskId>tenantA-M3PGGWCFX-D-0001</diskId>
          <diskName>DISK1</diskName>
        </disk>
      </disks>
      <lserverId>tenantA-M3PGGWCFX-S-0002</lserverId>
      <lserverName>vierual1</lserverName>
      <serverType>over_commit</serverType>
      <resource>
        <name>tenantA-M3PGGWCFX-S-0002</name>
      </resource>
      <snapshotExist>true</snapshotExist>
    </lserver>
  </lservers>
</ListLServerResponse>
[Linux Manager]
# ListLServer.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX
<?xml version="1.0" encoding="UTF-8"?>
<ListLServerResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lservers>
    <lserver>
      <creator>tenantA</creator>
      <diskimageId>image-1324e093f4e</diskimageId>
      <diskimageName>g-physical-0001</diskimageName>
      <type>Physical</type>
      <disks/>
      <lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
      <lserverName>physical</lserverName>
      <serverType>Economy</serverType>
      <resource>
        <name>tenantA-M3PGGWCFX-S-0001</name>
      </resource>
      <snapshotExist>false</snapshotExist>
    </lserver>
    <lserver>
      <creator>tenantA</creator>
      <diskimageId>image-1324e09f82f</diskimageId>
      <diskimageName>g-vm-0002</diskimageName>
      <type>Virtual</type>
      <disks>
        <disk>
          <attachedTo>tenantA-M3PGGWCFX-S-0002</attachedTo>
          <creator>tenantA</creator>
          <size>20.0</size>
          <diskId>tenantA-M3PGGWCFX-D-0001</diskId>
          <diskName>DISK1</diskName>
        </disk>
      </disks>
      <lserverId>tenantA-M3PGGWCFX-S-0002</lserverId>
      <lserverName>vierual1</lserverName>
      <serverType>over_commit</serverType>
      <resource>
        <name>tenantA-M3PGGWCFX-S-0002</name>
      </resource>
      <snapshotExist>true</snapshotExist>
    </lserver>
  </lservers>
</ListLServerResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.