ページの先頭行へ戻る
ServerView Resource Orchestrator Cloud Edition V3.1.0 リファレンスガイド (コマンド/XML編)
ServerView

13.25 GetLServerConfiguration (サーバの構成情報を取得)

名前

【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\GetLServerConfiguration - サーバの構成情報を取得

【Linuxマネージャー】
/opt/FJSVcfmg/bin/GetLServerConfiguration.sh - サーバの構成情報を取得

形式

【Windowsマネージャー】

GetLServerConfiguration -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID

【Linuxマネージャー】

GetLServerConfiguration.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID

機能説明

サーバの構成情報を取得します。

オプション

-version

L-Platform APIのバージョンIDを指定します。

-locale

L-Platform APIと通信するための言語を指定します。

-userId

L-Platform APIを実行するユーザーIDを指定します。

-password

L-Platform APIを実行するユーザーIDのパスワードを指定します。

-orgId

L-Platform APIを実行するユーザーのテナント名を指定します。

-lplatformId

L-Platform IDを指定します。

-lserverId

サーバ IDを指定します。

必要な権限・実行環境

権限

OSの管理者権限をもつユーザー

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> GetLServerConfiguration -version 2.0 -locale jp -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>
      <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>
    <type>Virtual</type>
    <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>
    <resource>
      <name>tenantA-M3PGGWCFX-S-0001</name>
    </resource>
    <snapshotExist>true</snapshotExist>
  </lserver>
</GetLServerConfigurationResponse>
【Linuxマネージャー】
# GetLServerConfiguration.sh -version 2.0 -locale jp -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>
      <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>
    <type>Virtual</type>
    <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>
    <resource>
      <name>tenantA-M3PGGWCFX-S-0001</name>
    </resource>
    <snapshotExist>true</snapshotExist>
  </lserver>
</GetLServerConfigurationResponse>

終了ステータス

以下の終了ステータスが返されます。

0

正常に処理されました。

0以外

エラーが発生しました。