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
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Specify the L-Platform ID.
Specify the server ID.
Requirements
User with OS administrator privilege
Admin server
Example
> 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>
# 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:
The command executed successfully.
An error has occurred.