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

14.2.6 GetLPlatformConfiguration (L-Platformの構成情報を取得)

名前

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

【Linuxマネージャー】
/opt/FJSVcfmg/bin/GetLPlatformConfiguration.sh - L-Platformの構成情報を取得

形式

【Windowsマネージャー】

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

【Linuxマネージャー】

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

機能説明

L-Platformの構成情報を取得します。

オプション

-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を指定します。

必要な権限・実行環境

権限

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

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> GetLPlatformConfiguration -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX
<?xml version="1.0" encoding="UTF-8"?>
<GetLPlatformConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatform>
    <baseDescriptor>template-1325738ea5b</baseDescriptor>
    <bladeLogic>true</bladeLogic>
    <connector>none</connector>
    <creator>tenantA</creator>
    <description>firewall</description>
    <firewalls>
      <firewall>
        <interfaces>
          <interface>
            <name>network-param-0001</name>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
          </interface>
          <interface>
            <name>network-param-0002</name>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
          </interface>
        </interfaces>
        <name>Firewall</name>
        <ruleset>
          <description>rule1</description>
          <designtype>UserCustomize</designtype>
          <name>rule1</name>
          <parameters>
            <parameter>
              <description>param1</description>
              <name>param_var_001</name>
              <required>true</required>
              <summary>パラメーター1の概要</summary>
              <syntax>INTEGER(0..256)</syntax>
              <value>200</value>
              <view>false</view>
            </parameter>
            <parameter>
              <description>param2</description>
              <name>param_var_002</name>
              <required>true</required>
              <summary>パラメーター2の概要</summary>
              <syntax>DisplayString(SIZE(0..256))</syntax>
              <value/>
              <view>true</view>
            </parameter>
            <parameter>
              <description>param3</description>
              <name>param_var_003</name>
              <required>true</required>
              <summary>パラメーター3の概要</summary>
              <syntax>INTEGER(0..65535)</syntax>
              <value>400</value>
              <view>true</view>
            </parameter>
          </parameters>
        </ruleset>
      </firewall>
    </firewalls>
    <ownerUser>user3</ownerUser>
    <slbs>
      <slb>
        <interfaces>
          <interface>
            <name>network-param-0001</name>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
          </interface>
          <interface>
            <name>network-param-0002</name>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
          </interface>
        </interfaces>
        <name>SLB</name>
        <operationLogExist>false</operationLogExist>
        <operations>
         <operation>
          <operationId>ROR_001</operationId>
          <rulesetName>rule1</rulesetName>
          <status>completed</status>
         </operation>
        </operations>
        <ruleset>
          <description>rule1</description>
          <name>rule1</name>
          <parameters>
            <parameter>
              <description>param1</description>
              <name>param_var_001</name>
              <required>true</required>
              <summary>パラメーター1の概要</summary>
              <syntax>INTEGER(0..256)</syntax>
              <value>200</value>
              <view>false</view>
            </parameter>
            <parameter>
              <description>param2</description>
              <name>param_var_002</name>
              <required>true</required>
              <summary>パラメーター2の概要</summary>
              <syntax>DisplayString(SIZE(0..256))</syntax>
              <value/>
              <view>true</view>
            </parameter>
            <parameter>
              <description>param3</description>
              <name>param_var_003</name>
              <required>true</required>
              <summary>パラメーター3の概要</summary>
              <syntax>INTEGER(0..65535)</syntax>
              <value>400</value>
              <view>true</view>
            </parameter>
          </parameters>
        </ruleset>
      </slb>
    </slbs>
    <networks>
      <network>
        <name>network-param-0001</name>
        <networkCategory>BUSINESS</networkCategory>
        <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
        <numOfMaxVm>10</numOfMaxVm>
        <resourceId>mngsrv_1234</resourceId>
       <segmentType>DMZ</segmentType>
      </network>
      <network>
        <name>network-param-0002</name>
        <networkCategory>BUSINESS</networkCategory>
        <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
        <numOfMaxVm>10</numOfMaxVm>
        <resourceId>mngsrv_1235</resourceId>
        <segmentType>Intranet</segmentType>
      </network>
    </networks>
    <lservers>
      <lserver>
        <cpuPerf>1.0</cpuPerf>
        <creator>tenantA</creator>
        <diskimageId>image-1324e093f4e</diskimageId>
        <diskimageName>g-physical-0001</diskimageName>
        <hostName>V8O0NW7TZV0001</hostName>
        <lserverType>Physical</lserverType>
        <memorySize>2.0</memorySize>
        <numOfCpu>2</numOfCpu>
        <pool>/ServerPool</pool>
        <priority>128</priority>
        <requestCpuPerf>1.4</requestCpuPerf>
        <requestMemorySize>2.0</requestMemorySize>
        <requestNumOfCpu>1</requestNumOfCpu>
        <resource>
          <name>tenantA-M3PGGWCFX-S-0001</name>
        </resource>
        <snapshotExist>false</snapshotExist>
        <sparePool>/SparePool</sparePool>
        <storagePool>/StoragePool</storagePool>
        <sysvolSize>100</sysvolSize>
        <disks/>
        <nics>
          <nic>
            <management>0</management>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
            <nicNo>2</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
          <nic>
            <management>1</management>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
            <nicNo>1</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
        </nics>
        <lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
        <lserverName>physical1</lserverName>
        <serverType>Economy</serverType>
      </lserver>
      <lserver>
        <cpuPerf>1.2</cpuPerf>
        <creator>tenantA</creator>
        <diskimageId>image-1324e09f82f</diskimageId>
        <diskimageName>g-vm-0002</diskimageName>
        <hostName>V8O0NW7TZV0002</hostName>
        <lserverType>Virtual</lserverType>
        <memorySize>1.6</memorySize>
        <numOfCpu>1</numOfCpu>
        <pool>/VMHostPool</pool>
        <priority>128</priority>
        <resource>
          <name>tenantA-M3PGGWCFX-S-0002</name>
        </resource>
        <snapshotExist>true</snapshotExist>
        <storagePool>/StoragePool</storagePool>
        <sysvolSize>100</sysvolSize>
        <disks/>
        <vmType>VMware</vmType>
        <nics>
          <nic>
            <management>0</management>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
            <nicNo>3</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
          <nic>
            <management>0</management>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
            <nicNo>2</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
          <nic>
            <management>1</management>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
            <nicNo>1</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
        </nics>
        <lserverId>tenantA-M3PGGWCFX-S-0002</lserverId>
        <lserverName>virtual1</lserverName>
        <serverType>over_commit</serverType>
      </lserver>
    </lservers>
    <lplatformId>tenantA-M3PGGWCFX</lplatformId>
    <lplatformName>firewall-test</lplatformName>
  </lplatform>
</GetLPlatformConfigurationResponse>
【Linuxマネージャー】
# GetLPlatformConfiguration.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX
<?xml version="1.0" encoding="UTF-8"?>
<GetLPlatformConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatform>
    <baseDescriptor>template-1325738ea5b</baseDescriptor>
    <bladeLogic>true</bladeLogic>
    <connector>none</connector>
    <creator>tenantA</creator>
    <description>firewall</description>
    <firewalls>
      <firewall>
        <interfaces>
          <interface>
            <name>network-param-0001</name>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
          </interface>
          <interface>
            <name>network-param-0002</name>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
          </interface>
        </interfaces>
        <name>Firewall</name>
        <ruleset>
          <description>rule1</description>
          <designtype>UserCustomize</designtype>
          <name>rule1</name>
          <parameters>
            <parameter>
              <description>param1</description>
              <name>param_var_001</name>
              <required>true</required>
              <summary>パラメーター1の概要</summary>
              <syntax>INTEGER(0..256)</syntax>
              <value>200</value>
              <view>false</view>
            </parameter>
            <parameter>
              <description>param2</description>
              <name>param_var_002</name>
              <required>true</required>
              <summary>パラメーター2の概要</summary>
              <syntax>DisplayString(SIZE(0..256))</syntax>
              <value/>
              <view>true</view>
            </parameter>
            <parameter>
              <description>param3</description>
              <name>param_var_003</name>
              <required>true</required>
              <summary>パラメーター3の概要</summary>
              <syntax>INTEGER(0..65535)</syntax>
              <value>400</value>
              <view>true</view>
            </parameter>
          </parameters>
        </ruleset>
      </firewall>
    </firewalls>
    <ownerUser>user3</ownerUser>
    <slbs>
      <slb>
        <interfaces>
          <interface>
            <name>network-param-0001</name>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
          </interface>
          <interface>
            <name>network-param-0002</name>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
          </interface>
        </interfaces>
        <name>SLB</name>
        <operationLogExist>false</operationLogExist>
        <operations>
         <operation>
          <operationId>ROR_001</operationId>
          <rulesetName>rule1</rulesetName>
          <status>completed</status>
         </operation>
        </operations>
        <ruleset>
          <description>rule1</description>
          <name>rule1</name>
          <parameters>
            <parameter>
              <description>param1</description>
              <name>param_var_001</name>
              <required>true</required>
              <summary>パラメーター1の概要</summary>
              <syntax>INTEGER(0..256)</syntax>
              <value>200</value>
              <view>false</view>
            </parameter>
            <parameter>
              <description>param2</description>
              <name>param_var_002</name>
              <required>true</required>
              <summary>パラメーター2の概要</summary>
              <syntax>DisplayString(SIZE(0..256))</syntax>
              <value/>
              <view>true</view>
            </parameter>
            <parameter>
              <description>param3</description>
              <name>param_var_003</name>
              <required>true</required>
              <summary>パラメーター3の概要</summary>
              <syntax>INTEGER(0..65535)</syntax>
              <value>400</value>
              <view>true</view>
            </parameter>
          </parameters>
        </ruleset>
      </slb>
    </slbs>
    <networks>
      <network>
        <name>network-param-0001</name>
        <networkCategory>BUSINESS</networkCategory>
        <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
        <numOfMaxVm>10</numOfMaxVm>
        <resourceId>mngsrv_1234</resourceId>
       <segmentType>DMZ</segmentType>
      </network>
      <network>
        <name>network-param-0002</name>
        <networkCategory>BUSINESS</networkCategory>
        <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
        <numOfMaxVm>10</numOfMaxVm>
        <resourceId>mngsrv_1235</resourceId>
        <segmentType>Intranet</segmentType>
      </network>
    </networks>
    <lservers>
      <lserver>
        <cpuPerf>1.0</cpuPerf>
        <creator>tenantA</creator>
        <diskimageId>image-1324e093f4e</diskimageId>
        <diskimageName>g-physical-0001</diskimageName>
        <hostName>V8O0NW7TZV0001</hostName>
        <lserverType>Physical</lserverType>
        <memorySize>2.0</memorySize>
        <numOfCpu>2</numOfCpu>
        <pool>/ServerPool</pool>
        <priority>128</priority>
        <requestCpuPerf>1.4</requestCpuPerf>
        <requestMemorySize>2.0</requestMemorySize>
        <requestNumOfCpu>1</requestNumOfCpu>
        <resource>
          <name>tenantA-M3PGGWCFX-S-0001</name>
        </resource>
        <snapshotExist>false</snapshotExist>
        <sparePool>/SparePool</sparePool>
        <storagePool>/StoragePool</storagePool>
        <sysvolSize>100</sysvolSize>
        <disks/>
        <nics>
          <nic>
            <management>0</management>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
            <nicNo>2</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
          <nic>
            <management>1</management>
            <networkId>M3PGGWCFX-N-1ot2#FWS#</networkId>
            <nicNo>1</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
        </nics>
        <lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
        <lserverName>physical1</lserverName>
        <serverType>Economy</serverType>
      </lserver>
      <lserver>
        <cpuPerf>1.2</cpuPerf>
        <creator>tenantA</creator>
        <diskimageId>image-1324e09f82f</diskimageId>
        <diskimageName>g-vm-0002</diskimageName>
        <hostName>V8O0NW7TZV0002</hostName>
        <lserverType>Virtual</lserverType>
        <memorySize>1.6</memorySize>
        <numOfCpu>1</numOfCpu>
        <pool>/VMHostPool</pool>
        <priority>128</priority>
        <resource>
          <name>tenantA-M3PGGWCFX-S-0002</name>
        </resource>
        <snapshotExist>true</snapshotExist>
        <storagePool>/StoragePool</storagePool>
        <sysvolSize>100</sysvolSize>
        <disks/>
        <vmType>VMware</vmType>
        <nics>
          <nic>
            <management>0</management>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
            <nicNo>3</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
          <nic>
            <management>0</management>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
            <nicNo>2</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
          <nic>
            <management>1</management>
            <networkId>M3PGGWCFX-N-1ot4#FWS#</networkId>
            <nicNo>1</nicNo>
            <privateIp>192.xxx.xxx.xxx</privateIp>
          </nic>
        </nics>
        <lserverId>tenantA-M3PGGWCFX-S-0002</lserverId>
        <lserverName>virtual1</lserverName>
        <serverType>over_commit</serverType>
      </lserver>
    </lservers>
    <lplatformId>tenantA-M3PGGWCFX</lplatformId>
    <lplatformName>firewall-test</lplatformName>
  </lplatform>
</GetLPlatformConfigurationResponse>

終了ステータス

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

0

正常に処理されました。

0以外

エラーが発生しました。