Get server information

Operation name

Get server information

Function overview

Get information of all the servers from destination.

Data model

XML type.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select a global resource.
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Shema

Input schema

None.

Output schema

<?xml version="1.0"?>
<instances>
  <instance edition="" instanceState="" instanceType="" ipAddress="" ipAddressV6="" launchTime="" name="" platform=""
  privateIpAddress="" />
</instances>
Element name Attribute name Description Remarks
instances -    
instance - It will appear per every server created.  
edition Outputs server edition.
  • [se]: Displays "Standard Edition".
  • [ee]: Displays "Enterprise Edition".
  • If OS is Linux, null character will be output.
instanceState Outputs server status.
  • [running]: Server is running.
  • [pending]: Server is in the process of being launched/stopped.
  • [stopped]: Server has stopped.
 
instanceType Outputs server model.  
ipAddress Outputs global IP address(IPv4 type) of server  
ipAddressV6 Outputs global IP address(IPv6 type) of server.  
launchTime Outputs time created of server.  
name Outputs server name.  
platform Outputs server OS.
  • [centos5_64]: Displays "CentOS 5 (64bit)".
  • [rhel5_64]: Displays "Red Hat Enterprise Linux 5 (64bit)".
  • [windows2008_r2]: Displays "Windows Server 2008 R2 (64bit)".
  • [windows2008_32]: Displays "Windows Server 2008 (32bit)".
 
privateIpAddress Output private IP address(IPv4 type) of server.  

Loading Schema on Mapper

Schema is loaded automatically.
For details, refer to, "Edit schema".

Mass Data Processing

Mass data processing is not supported.

PSP Usage

PSP is not supported.

Available component Variables

Component variable name Description Remarks
message_category Stores the category of message code corresponding to the occured error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occured error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occured error.
  • Default value is null.
error_type Stores the error type of occured error.
  • Default value is null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on the DataSpider Servista version.
error_message Stores the error message of occured error.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Stores the trace information of occured error.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Specification Limits

None.

Main Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition could not be found.Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition could not be found.Name:[<Name of global resources>]
Resource definition selected in [Destination] is not found. Confirm the global resource specified in [Destination].
InvalidPropertyConfigurationException
<Property name> is not set up.
[<Property name>] is not set up. Set up [<Property name>].
InvalidPropertyConfigurationException
The timeout needs to be greater than 0.
A value less than 0 is entered in the [Timeout] of the global resource specified in [Destination]. Enter a value greater than 0 in the [Timeout] of the global resource specified in [Destination].
InvalidPropertyConfigurationException
Enter an integer or a variable in the timeout.
A value other than a numerical value is entered in the [Timeout] of the global resource specified in [Destination]. Enter a value in the [Timeout] of the global resource specified in [Destination].
BiglobeCloudhostingClientException
Code=AuthFailure, Message='AccessKeyId' does not exist.
There is an error in [API access key] of the global resource specified in [Destination]. Confirm the global resource settings specified in [Destination].
BiglobeCloudhostingClientException
Code=AuthFailure, Message=Incorrect value 'Signature' .
There is an error in [Encryption key] of the global resource specified in [Destination]. Confirm the global resource settings specified in [Destination]
BiglobeCloudhostingTimeoutException
org.apache.http.conn.ConnectTimeoutException: Connect to <host> timed out
Timeout occured during connection to the host. Confirm the network status or confirm [Timeout] of the global resource specified in [Destination].
BiglobeCloudhostingTimeoutException
java.net.SocketTimeoutException: Read timed out
Timeout occured after connecting the host, but before response from the host. Confirm the host status or confirm [Timeout] of the global resource specified in [Destination].

Notes