Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\ListServerType - Gets a List of L-Server Templates
[Linux Manager]
/opt/FJSVcfmg/bin/ListServerType.sh - Gets a List of L-Server Templates
Synopsis
[Windows Manager]
ListServerType -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name
[Linux Manager]
ListServerType.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name
Function description
This command gets a list of the server image types in the virtual data center.
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.
Requirements
User with OS administrator privilege
Admin server
Example
> ListServerType -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListServerTypeResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
<servertypes>
<servertype>
<comment>comment1</comment>
<cpu>
<cpuArch>IA</cpuArch>
<cpuPerf>2.6</cpuPerf>
<cpuReserve>0.0</cpuReserve>
<cpuShare>1000</cpuShare>
<numOfCpu>4</numOfCpu>
</cpu>
<disks>
<disk>
<diskIndex>0</diskIndex>
<diskSize>100</diskSize>
</disk>
</disks>
<id>template-0001</id>
<label>vmware-template-1</label>
<lserverType>Virtual</lserverType>
<memory>
<memoryReserve>8</memoryReserve>
<memoryShare>81920</memoryShare>
<memorySize>8</memorySize>
</memory>
<name>High_Performance</name>
<nics>
<numOfNIC>1</numOfNIC>
</nics>
<serverPolicy>
<positioning>Fixed</positioning>
<redundancy>None</redundancy>
<repurpose>true</repurpose>
</serverPolicy>
<vmType>VMware</vmType>
</servertype>
<servertype>
<comment>comment2</comment>
<cpu>
<cpuArch>IA</cpuArch>
<cpuPerf>2.0</cpuPerf>
<numOfCpu>2</numOfCpu>
</cpu>
<disks>
<disk>
<diskIndex>0</diskIndex>
<diskSize>100</diskSize>
</disk>
</disks>
<id>template-0002</id>
<label>physical-template-2</label>
<lserverType>Physical</lserverType>
<memory>
<memorySize>4</memorySize>
</memory>
<name>Middle_Spec</name>
<nics>
<numOfNIC>1</numOfNIC>
</nics>
<serverPolicy>
<aliveMonitoring>false</aliveMonitoring>
<positioning>Fixed</positioning>
<redundancy>HA</redundancy>
<repurpose>false</repurpose>
</serverPolicy>
</servertype>
</servertypes>
</ListServerTypeResponse># ListServerType.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA
<?xml version="1.0" encoding="UTF-8"?>
<ListServerTypeResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
<servertypes>
<servertype>
<comment>comment1</comment>
<cpu>
<cpuArch>IA</cpuArch>
<cpuPerf>2.6</cpuPerf>
<cpuReserve>0.0</cpuReserve>
<cpuShare>1000</cpuShare>
<numOfCpu>4</numOfCpu>
</cpu>
<disks>
<disk>
<diskIndex>0</diskIndex>
<diskSize>100</diskSize>
</disk>
</disks>
<id>template-0001</id>
<label>vmware-template-1</label>
<lserverType>Virtual</lserverType>
<memory>
<memoryReserve>8</memoryReserve>
<memoryShare>81920</memoryShare>
<memorySize>8</memorySize>
</memory>
<name>High_Performance</name>
<nics>
<numOfNIC>1</numOfNIC>
</nics>
<serverPolicy>
<positioning>Fixed</positioning>
<redundancy>None</redundancy>
<repurpose>true</repurpose>
</serverPolicy>
<vmType>VMware</vmType>
</servertype>
<servertype>
<comment>comment2</comment>
<cpu>
<cpuArch>IA</cpuArch>
<cpuPerf>2.0</cpuPerf>
<numOfCpu>2</numOfCpu>
</cpu>
<disks>
<disk>
<diskIndex>0</diskIndex>
<diskSize>100</diskSize>
</disk>
</disks>
<id>template-0002</id>
<label>physical-template-2</label>
<lserverType>Physical</lserverType>
<memory>
<memorySize>4</memorySize>
</memory>
<name>Middle_Spec</name>
<nics>
<numOfNIC>1</numOfNIC>
</nics>
<serverPolicy>
<aliveMonitoring>false</aliveMonitoring>
<positioning>Fixed</positioning>
<redundancy>HA</redundancy>
<repurpose>false</repurpose>
</serverPolicy>
</servertype>
</servertypes>
</ListServerTypeResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.