AOConfig - createAOConnection
AOConfig - createAOConnection
Description :
This command creates an Atrium Orchestrator connection.
It returns the AOConfig ID.
Return type : Integer
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
hostName | String | The host name of the Atrium Orchestrator server. |
port | Integer | The port number in which the Atrium Orchestrator server is running. The typical port is 8080. |
gridName | String | The grid name of the Atrium Orchestrator server. |
userName | String | The user name to connect to the Atrium Orchestrator server for a web service call. This is typically Admin. |
password | String | The plain password of the user for the Atrium Orchestrator web service connection. NOTE - Due to a limitation of the encryption mechanism, the password cannot be more than 30 characters long. Otherwise, it may be truncated to a length of 30 characters. |
isPrimary | Boolean | True to indicate that the Atrium Orchestrator configuration is for a primary server; false otherwise. |
sslEnable | Boolean | True to indicate that the Atrium Orchestrator connection is secure (SSL); false otherwise. |
timeout | Integer | The Atrium Orchestrator connection time-out value, expressed in seconds. The default is 300. |
Example
The following example shows how to create an Atrium Orchestrator connection.
Script
AO_CONFIG_ID=`blcli AOConfig createAOConnection myAOHost 8080 myGrid Admin password2 true true 300`