Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\GetLServerAttributes - Gets the Attributes of a Server
[Linux Manager]
/opt/FJSVcfmg/bin/GetLServerAttributes.sh - Gets the Attributes of a Server
Synopsis
[Windows Manager]
GetLServerAttributes -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]
GetLServerAttributes.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 attribute 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
> GetLServerAttributes -version 2.0 -locale en -userId user3 -password password -orgId papi -lplatformId papi-TAFRIXZ53 -lserverId papi-TAFRIXZ53-S-0001
<?xml version="1.0" encoding="UTF-8"?>
<GetLServerAttributesResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
<lserver>
<creator>papi</creator>
<diskimageId>image-141cafdcb24</diskimageId>
<diskimageName>RHEL62X8664</diskimageName>
<hostName>VTAFRIXZ530001</hostName>
<resource>
<name>papi-TAFRIXZ53-S-0001</name>
</resource>
<disks>
<disk>
<attachedTo>papi-TAFRIXZ53-S-0001</attachedTo>
<creator>papi</creator>
<size>0.2</size>
<diskId>papi-TAFRIXZ53-D-0001</diskId>
<diskName>DISK0</diskName>
</disk>
</disks>
<lserverId>papi-TAFRIXZ53-S-0001</lserverId>
<lserverName>PRE_IMG</lserverName>
<serverType>sample_medium</serverType>
</lserver>
</GetLServerAttributesResponse># GetLServerAttributes.sh -version 2.0 -locale en -userId user3 -password password -orgId papi -lplatformId papi-TAFRIXZ53 -lserverId papi-TAFRIXZ53-S-0001
<?xml version="1.0" encoding="UTF-8"?>
<GetLServerAttributesResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
<lserver>
<creator>papi</creator>
<diskimageId>image-141cafdcb24</diskimageId>
<diskimageName>RHEL62X8664</diskimageName>
<hostName>VTAFRIXZ530001</hostName>
<resource>
<name>papi-TAFRIXZ53-S-0001</name>
</resource>
<disks>
<disk>
<attachedTo>papi-TAFRIXZ53-S-0001</attachedTo>
<creator>papi</creator>
<size>0.2</size>
<diskId>papi-TAFRIXZ53-D-0001</diskId>
<diskName>DISK0</diskName>
</disk>
</disks>
<lserverId>papi-TAFRIXZ53-S-0001</lserverId>
<lserverName>PRE_IMG</lserverName>
<serverType>sample_medium</serverType>
</lserver>
</GetLServerAttributesResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.