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

14.26 GetLServerConfiguration (Gets Configuration Information for a Server)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\GetLServerConfiguration - Gets Configuration Information for a Server

[Linux Manager]
/opt/FJSVcfmg/bin/GetLServerConfiguration.sh - Gets Configuration Information for a Server

Synopsis

[Windows Manager]

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

[Linux Manager]

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

Function description

This command gets configuration information for a server.

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.

-lserverId

Specify the server ID.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> GetLServerConfiguration -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001
<?xml version="1.0" encoding="UTF-8"?>
<GetLServerConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lserver>
    <cpuPerf>1.4</cpuPerf>
    <creator>tenantA</creator>
    <diskimageId>image-132480039e8</diskimageId>
    <diskimageName>g-vm-0001</diskimageName>
    <hostName>test-vm11</hostName>
    <image>
      <cpuBit>32</cpuBit>
      <id>image-132480039e8</id>
      <maxCpuPerf>4.0</maxCpuPerf>
      <maxDiskSize>100.0</maxDiskSize>
      <maxMemorySize>8.0</maxMemorySize>
      <maxSysvolSize>200.0</maxSysvolSize>
      <numOfMaxCpu>2</numOfMaxCpu>
      <numOfMaxDisk>0</numOfMaxDisk>
      <numOfMaxNic>3</numOfMaxNic>
      <serverApplication>AP</serverApplication>
      <serverCategory>GENERAL</serverCategory>
      <softwares>
        <software>
          <category>OS</category>
          <license>1</license>
          <name>softNameA</name>
          <officialVersion/>
          <patch/>
          <softwareId>SW00000003</softwareId>
          <support>1</support>
          <version>6.0</version>
        </software>
      </softwares>
      <sysvolSize>20.0</sysvolSize>
    </image>
    <memorySize>2.0</memorySize>
    <numOfCpu>1</numOfCpu>
    <storagePool>/StoragePool</storagePool>
    <lserverType>Virtual</lserverType>
    <disks/>
    <vmType>VMware</vmType>
    <nics>
      <nic>
        <management>1</management>
        <networkId>M3PGGWCFX-N-3sep#FWS#</networkId>
        <nicNo>1</nicNo>
        <privateIp>192.xxx.xxx.xxx</privateIp>
      </nic>
      <nic>
        <management>0</management>
        <networkId>M3PGGWCFX-N-3sep#FWS#</networkId>
        <nicNo>2</nicNo>
        <privateIp>192.xxx.xxx.xxx</privateIp>
      </nic>
      <nic>
        <management>0</management>
        <networkId>M3PGGWCFX-N-3seq#FWS#</networkId>
        <nicNo>3</nicNo>
        <privateIp>192.xxx.xxx.xxx</privateIp>
      </nic>
    </nics>
    <lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
    <lserverName>test-vm11</lserverName>
    <serverType>over_commit</serverType>
    <sysvolSize>100</sysvolSize>
    <resource>
      <name>tenantA-M3PGGWCFX-S-0001</name>
    </resource>
    <snapshotExist>true</snapshotExist>
  </lserver>
</GetLServerConfigurationResponse>
[Linux Manager]
# GetLServerConfiguration.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001
<?xml version="1.0" encoding="UTF-8"?>
<GetLServerConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lserver>
    <cpuPerf>1.4</cpuPerf>
    <creator>tenantA</creator>
    <diskimageId>image-132480039e8</diskimageId>
    <diskimageName>g-vm-0001</diskimageName>
    <hostName>test-vm11</hostName>
    <image>
      <cpuBit>32</cpuBit>
      <id>image-132480039e8</id>
      <maxCpuPerf>4.0</maxCpuPerf>
      <maxDiskSize>100.0</maxDiskSize>
      <maxMemorySize>8.0</maxMemorySize>
      <maxSysvolSize>200.0</maxSysvolSize>
      <numOfMaxCpu>2</numOfMaxCpu>
      <numOfMaxDisk>0</numOfMaxDisk>
      <numOfMaxNic>3</numOfMaxNic>
      <serverApplication>AP</serverApplication>
      <serverCategory>GENERAL</serverCategory>
      <softwares>
        <software>
          <category>OS</category>
          <license>1</license>
          <name>softNameA</name>
          <officialVersion/>
          <patch/>
          <softwareId>SW00000003</softwareId>
          <support>1</support>
          <version>6.0</version>
        </software>
      </softwares>
      <sysvolSize>20.0</sysvolSize>
    </image>
    <memorySize>2.0</memorySize>
    <numOfCpu>1</numOfCpu>
    <storagePool>/StoragePool</storagePool>
    <lserverType>Virtual</lserverType>
    <disks/>
    <vmType>VMware</vmType>
    <nics>
      <nic>
        <management>1</management>
        <networkId>M3PGGWCFX-N-3sep#FWS#</networkId>
        <nicNo>1</nicNo>
        <privateIp>192.xxx.xxx.xxx</privateIp>
      </nic>
      <nic>
        <management>0</management>
        <networkId>M3PGGWCFX-N-3sep#FWS#</networkId>
        <nicNo>2</nicNo>
        <privateIp>192.xxx.xxx.xxx</privateIp>
      </nic>
      <nic>
        <management>0</management>
        <networkId>M3PGGWCFX-N-3seq#FWS#</networkId>
        <nicNo>3</nicNo>
        <privateIp>192.xxx.xxx.xxx</privateIp>
      </nic>
    </nics>
    <lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
    <lserverName>test-vm11</lserverName>
    <serverType>over_commit</serverType>
    <sysvolSize>100</sysvolSize>
    <resource>
      <name>tenantA-M3PGGWCFX-S-0001</name>
    </resource>
    <snapshotExist>true</snapshotExist>
  </lserver>
</GetLServerConfigurationResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.