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 tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-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>tenantA</creator>
<diskimageId>image-1324e09f82f</diskimageId>
<diskimageName>g-vm-0002</diskimageName>
<hostName>V8O0NW7TZV0002</hostName>
<disks>
<disk>
<attachedTo>tenantA-M3PGGWCFX-S-0001</attachedTo>
<creator>tenantA</creator>
<size>20.0</size>
<diskId>tenantA-M3PGGWCFX-D-0001</diskId>
<diskName>DISK1</diskName>
</disk>
</disks>
<lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
<lserverName>vierual1</lserverName>
<serverType>over_commit</serverType>
<resource>
<name>tenantA-M3PGGWCFX-S-0001</name>
</resource>
</lserver>
</GetLServerAttributesResponse># GetLServerAttributes.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"?>
<GetLServerAttributesResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
<lserver>
<creator>tenantA</creator>
<diskimageId>image-1324e09f82f</diskimageId>
<diskimageName>g-vm-0002</diskimageName>
<hostName>V8O0NW7TZV0002</hostName>
<disks>
<disk>
<attachedTo>tenantA-M3PGGWCFX-S-0001</attachedTo>
<creator>tenantA</creator>
<size>20.0</size>
<diskId>tenantA-M3PGGWCFX-D-0001</diskId>
<diskName>DISK1</diskName>
</disk>
</disks>
<lserverId>tenantA-M3PGGWCFX-S-0001</lserverId>
<lserverName>vierual1</lserverName>
<serverType>over_commit</serverType>
<resource>
<name>tenantA-M3PGGWCFX-S-0001</name>
</resource>
</lserver>
</GetLServerAttributesResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.