Top
ServerView Resource Orchestrator Cloud Edition V3.1.2 Reference Guide (Command/XML)
FUJITSU Software

14.3.12 GetLServerAttributes (Gets the Attributes of a Server)

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

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

-lplatformId

Specify the L-Platform ID.

-lserverId

Specify the server ID.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> 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>
[Linux Manager]
# 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:

0

The command executed successfully.

non-zero

An error has occurred.