Get server information

Operation Name

Get server information

Function Overview

Gets information of all servers at 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 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.
 

Schema

Input Schema

None.

Output Schema

<?xml version="1.0"?>
<servers>
  <server image="" ipAddress="" name="" privateIpAddress="" status="" type="" />
</servers>
Element name Attribute name Description Remarks
servers -    
server - Appears each creating server.  
image Outputs OS image name of server.  
ipAddress Outputs Grobal IP address of server.  
name Outputs server name.  
privateIpAddress Outputs private IP address of server.  
status Outputs server condition.
  • [running]: server is runnig.
  • [pending]: server is in the process of launch/stop.
  • [stopped]: server stops.
 
type Outputs the type of server depending to number of CPU and memory capacity.  

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 Returns 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 Returns the error message of the occured error.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Returns the trace information of the 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 resource>]
Resource definition selected in[Destination] is not found. Confirm the global resource specified in[Destination].
InvalidPropertyConfigurationException
<Property name>is required.
[<Property name>] is not set. Set [<Property name>]
InvalidPropertyConfigurationException
Timeout must be bigger than 0.
Number less than 0 is entered in [Timeout] of global resource specified in [Destination]. Enter the number bigger than 0 at [Timeout] specified in [Destination].
InvalidPropertyConfigurationException
Enter an integer or a caluable in Timeout.
Value which is not a numerical value is entered in [Timeout] of global resource specified in [Destination]. Enter a numerical value in [Timeout] of global resource specified in [Destination].
com.nifty.cloud.sdk.NiftyServiceException
Client.AuthFailure: This system was not able to validate the provided access key.
A value of [AccessKey] or [SecretAccessKey] of global resource specified in [Destination] is wrong. Enter a right value in [AccessKey], [SecretAccessKey] of global resource specified in [Destination].
com.nifty.cloud.sdk.NiftyServiceException
org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of <Timeout> ms
Timeout has occurred in the process of conneting with the host. Confirm network condition or [Timeout] of global resource specified in [Destination].
com.nifty.cloud.sdk.NiftyServiceException
java.net.SocketTimeoutException: Read timed out
Timeout has occurred after it connects to host and before host responces. Confirm the host condition or [Timeout] of global resource specified in [Destination].

Notes