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.bat -version 2.0 -locale en -orgId tenantD -userId manage1 -password manage1 -lplatformId tenantD-HY43YHSWA -lserverId tenantD-HY43YHSWA-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> <cpuReserve>0.8</cpuReserve> <cpuShare>800</cpuShare> <creator>tenantD</creator> <diskimageId>image-13f2b6162a3</diskimageId> <diskimageName>g-vm-0002</diskimageName> <hostName>VHY43YHSWA0001</hostName> <image> <cpuBit>64</cpuBit> <id>image-13f2b6162a3</id> <maxCpuPerf>1.4</maxCpuPerf> <maxDiskSize>500.0</maxDiskSize> <maxMemorySize>2.0</maxMemorySize> <maxSysvolSize>70.0</maxSysvolSize> <numOfMaxCpu>1</numOfMaxCpu> <numOfMaxDisk>5</numOfMaxDisk> <numOfMaxNic>1</numOfMaxNic> <serverApplication>WEB</serverApplication> <serverCategory>GENERAL</serverCategory> <softwares> <software> <category>OS</category> <license/> <name>Windows Server 2008 R2 Enterprise</name> <officialVersion/> <patch/> <softwareId>SW00000007</softwareId> <support/> <version>6.1</version> </software> </softwares> <sysvolSize>70.0</sysvolSize> <vmType>VMware</vmType> </image> <lserverType>Virtual</lserverType> <memoryReserve>1.0</memoryReserve> <memoryShare>2000</memoryShare> <memorySize>2.0</memorySize> <numOfCpu>1</numOfCpu> <pool>/VMPool</pool> <priority>128</priority> <resource> <name>tenantD-HY43YHSWA-S-0001</name> </resource> <snapshotExist>false</snapshotExist> <storagePool>/StoragePool</storagePool> <sysvolSize>70.0</sysvolSize> <disks> <disk> <attachedTo>tenantD-HY43YHSWA-S-0001</attachedTo> <creator>tenantD</creator> <size>400.0</size> <storagePool>/StoragePool</storagePool> <diskId>tenantD-HY43YHSWA-D-0001</diskId> <diskName>DISK0</diskName> </disk> <disk> <attachedTo>tenantD-HY43YHSWA-S-0001</attachedTo> <creator>tenantD</creator> <size>500.0</size> <storagePool>/StoragePool</storagePool> <diskId>tenantD-HY43YHSWA-D-0002</diskId> <diskName>DISK1</diskName> </disk> </disks> <vmType>VMware</vmType> <nics> <nic> <management>1</management> <networkId>HY43YHSWA-N-360r#FWS#</networkId> <nicNo>1</nicNo> <privateIp>192.168.21.60</privateIp> </nic> </nics> <lserverId>tenantD-HY43YHSWA-S-0001</lserverId> <lserverName>AP1</lserverName> <serverType>over_commit</serverType> </lserver> </GetLServerConfigurationResponse>
# GetLServerConfiguration.sh -version 2.0 -locale en -orgId tenantD -userId manage1 -password manage1 -lplatformId tenantD-HY43YHSWA -lserverId tenantD-HY43YHSWA-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> <cpuReserve>0.8</cpuReserve> <cpuShare>800</cpuShare> <creator>tenantD</creator> <diskimageId>image-13f2b6162a3</diskimageId> <diskimageName>g-vm-0002</diskimageName> <hostName>VHY43YHSWA0001</hostName> <image> <cpuBit>64</cpuBit> <id>image-13f2b6162a3</id> <maxCpuPerf>1.4</maxCpuPerf> <maxDiskSize>500.0</maxDiskSize> <maxMemorySize>2.0</maxMemorySize> <maxSysvolSize>70.0</maxSysvolSize> <numOfMaxCpu>1</numOfMaxCpu> <numOfMaxDisk>5</numOfMaxDisk> <numOfMaxNic>1</numOfMaxNic> <serverApplication>WEB</serverApplication> <serverCategory>GENERAL</serverCategory> <softwares> <software> <category>OS</category> <license/> <name>Windows Server 2008 R2 Enterprise</name> <officialVersion/> <patch/> <softwareId>SW00000007</softwareId> <support/> <version>6.1</version> </software> </softwares> <sysvolSize>70.0</sysvolSize> <vmType>VMware</vmType> </image> <lserverType>Virtual</lserverType> <memoryReserve>1.0</memoryReserve> <memoryShare>2000</memoryShare> <memorySize>2.0</memorySize> <numOfCpu>1</numOfCpu> <pool>/VMPool</pool> <priority>128</priority> <resource> <name>tenantD-HY43YHSWA-S-0001</name> </resource> <snapshotExist>false</snapshotExist> <storagePool>/StoragePool</storagePool> <sysvolSize>70.0</sysvolSize> <disks> <disk> <attachedTo>tenantD-HY43YHSWA-S-0001</attachedTo> <creator>tenantD</creator> <size>400.0</size> <storagePool>/StoragePool</storagePool> <diskId>tenantD-HY43YHSWA-D-0001</diskId> <diskName>DISK0</diskName> </disk> <disk> <attachedTo>tenantD-HY43YHSWA-S-0001</attachedTo> <creator>tenantD</creator> <size>500.0</size> <storagePool>/StoragePool</storagePool> <diskId>tenantD-HY43YHSWA-D-0002</diskId> <diskName>DISK1</diskName> </disk> </disks> <vmType>VMware</vmType> <nics> <nic> <management>1</management> <networkId>HY43YHSWA-N-360r#FWS#</networkId> <nicNo>1</nicNo> <privateIp>192.168.21.60</privateIp> </nic> </nics> <lserverId>tenantD-HY43YHSWA-S-0001</lserverId> <lserverName>AP1</lserverName> <serverType>over_commit</serverType> </lserver> </GetLServerConfigurationResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.