Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

3.9.1 Start the server

Description

This operation component starts servers.

This component uses IPMI to make requests to start servers.

Options

Basic Options

(1) hostname

Target host name or IP address where the operation component will be executed..

Multiple host names or IP addresses can be specified.

An argument error occurs if the host name or IP address is omitted.

The maximum allowable number of host names or IP addresses is 100. An argument error will occur if this limit is exceeded.

The specification is in CSV format. Refer to "3.17 Notes on Specifying Multiple Input Parameters" for examples of multiple specifications.

Advanced Options

(1) ipmiipaddress

IP address set in the IPMI of the server to be started.

If IPMI IP address is omitted, the Configuration Management Database (CMDB) will be searched based on the specified host name or IP address, and Systemwalker Runbook Automation automatically sets the acquired IPMI IP address as a value.

Multiple IP addresses can be specified. For the specification order, use the same order as for the host names or IP addresses specified for "hostname".

The maximum allowable number of IP addresses is 100. An argument error will occur if this limit is exceeded.

The specification is in CSV format. Refer to "3.17 Notes on Specifying Multiple Input Parameters" for examples of multiple specifications.

(2) ipmiusername

User name set in the IPMI of the server to be started.

If the user name or password is not specified, the Configuration Management Database (CMDB) is searched based on the specified host name or IP address and Systemwalker Runbook Automation automatically sets the acquired IPMI user name as a value.

Multiple connection user names can be specified. For the specification order, use the same order as for the host names or IP addresses specified for "hostname".

The maximum allowable number of user names is 100. An argument error will occur if this limit is exceeded.

The specification is in CSV format. Refer to "3.17 Notes on Specifying Multiple Input Parameters" for examples of multiple specifications.

(3) ipmipassword

User password set in the IPMI of the server to be started.

If the user name or password is not specified, the Configuration Management Database (CMDB) is searched based on the specified host name or IP address and Systemwalker Runbook Automation automatically sets the acquired IPMI user password as a value.

Multiple connection passwords can be specified. For the specification order, use the same order as for the host names or IP addresses specified for "hostname".

The maximum allowable number of passwords is 100. An argument error will occur if this limit is exceeded.

The specification is in CSV format. Refer to "3.17 Notes on Specifying Multiple Input Parameters" for examples of multiple specifications.

(4) multiplicity

Specify the execution multiplicity for starting servers.

Values from 1 through 100 can be specified.

If a value greater than the number of host names or IP addresses specified for the "hostname" option is used, the operation component runs as though the "hostname" value has been specified for "multiplicity".

If this option is omitted, the operation component will run as though "1" has been specified.

If multiple different IP addresses are specified for "ipmiipaddress", specify the degree of execution multiplicity.

(5) operationmode

Specify the parts movement mode, for when multiple target host names or IP addresses executing the operation component are specified.

The valid values are:

continue : Execute to the end of the specified host.

abort : Suspend processing in the host where the error was discovered.

If omitted or some other value than the options listed above is specified, "continue" is used by default.

This option is not case sensitive.

If "abort" is specified and a multiplicity of 2 or higher is specified, the component will not be interrupted until the server processing that is executing at the time the error is detected completes.

This will be ignored if only one host name or IP address is specified for the server to be started.

(6) timeout

This is the completion timeout (seconds) for the execution of operation components.

Values between 300 and 86400 (1 day) can be specified.

For example: When timeout is to occur every 10 minutes: 600

When the execution of the operation components is not completed even if the specified time passes, the processing of the operation components is interrupted in return value 201.

(7) retry

This is the retry count for the execution of operation components.

When the operation components end in return value 161, the retry count is specified. Values between 0 and 5 can be specified.

As a result of retrying, if the operation components ended by the return values other than 161, the execution of the operation components ends even if it doesn't reach the specified retry count. The return values of the operation components become the value executed at the end.

For example: When retries are to be performed twice: 2

If multiple host names or IP addresses have been specified for the server to be started, retries will not be performed.

(8) retry_interval

This is the retry interval (seconds) for operation components.

When the operation components end in return value 161, the retry interval is specified. Values between 1 and 14400 can be specified.

For example: When retrying in 300 seconds: 300


If the specification of the timeout, retry and retry_interval is omitted, and a value beyond the limits of the above-mentioned is input, the value specified with the operation components definition file becomes effective. Refer to "2.5 Definition File for Operation Components" for details.

Return Values

Icon

Name

Return value

Description

Success

0

A request to start the server has been successful.

Failure

161

A request to start the server failed. Retried if a retry count has been specified. If multiple host names have been specified, retries will not be performed.

180

Multiple operations failed. For the return values for the operations on each host, check the "Return_code" column in Output Data: server_start_result.

189

Connection to the server failed.

197

There is an error in the option content.

-

-

201

Execution of operation component timed out.

202

The operation component was not executed. There is a problem in the setting to execute operation components.

203

Failed to execute the operation component. There is a problem in the Operation Automation Server environment.

205

The operation component was not executed. There is a problem with the input information specification of the operation component.

206

The operation component was not executed normally. There is a problem with the output information specification of the operation component.

207

The operation components were not executed. There is a possibility that the operation components are not registered in the Management Server.

208

The Automated Operation Process has been canceled because the Automated Operation Process was recovered while the operation component was executing.

Output information

Variable

Description

Message

  • If only one host name or IP address has been specified for "hostname":

    This variable will be set to the following message if the server start request is successful.

    The operation component was successful.

    If the server start request fails, the content of the error will be set as a string.

  • If multiple host names or IP addresses have been specified for "hostname":

    This variable will be set to the following message if all of the server start requests are successful.

    The operation component was successful.

    If some or all of the server start requests fail, information for the servers that failed to start will be output using the same format as the "server_start_result" variable.

server_start_result

This variable is set to the result of executing the start request on the specified server.

server_start_list

This variable is set to a list of servers for which the startup request was successful. The specification is in the CSV format.

server_start_fault_list

This variable is set to a list of servers for which the startup request was unsuccessful. The specification is in the CSV format.

returnCode

This variable is set to the return value.

The output format for the "server_start_result" variable is as follows:

[hostname],[return value],[output data],[message]


For [output data], nothing will be output.

For [message], one of the following will be output:

<Example>

If "host1,host2,host3" has been specified for the "hostname" option, and a request to start server "host3" has failed:

"hostname",Return_code,"Output","Message"
"host1",0,"","Success"
"host2",0,"","Success"
"host3",161,"","Lanplus RAKP2 HMAC does not match with BMC"


In the example above, the following will be output to the "message" variable.

<Example>

"hostname",Return_code,"Output","Message"
"host3",161,"","Lanplus RAKP2 HMAC does not match with BMC"

Notes