Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

3.9.13 Change virtual server system

Description

This operation component connects to the virtual environment management product and changes a virtual server system.

The component establishes connection by using the information registered in the Configuration Management Database (CMDB).

Options

Basic Options

(1) servername

Name of the virtual server where the system is to be changed. Specify the virtual server name that is registered in the Virtual Environment Management Server.

If the virtual environment is managed by ServerView Resource Orchestrator, specify L-Server name.

An argument error occurs if the virtual server name is omitted.

The maximum length of the virtual server name is 1,024 characters. An argument error occurs if this is exceeded.

Advanced Options

(1) newservername

Virtual server name.

Specify the virtual server name after changed, if change the virtual server name.
If the virtual environment is managed by ServerView Resource Orchestrator, change L-Server name to specify name. The maximum length of the virtual server name is 1,024 characters. An argument error occurs if this is exceeded.

(2) numofprocessor

Virtual server CPU number.

If the virtual server CPU number is changed, specify the new CPU number.

CPU number can be specified in a range between 1 and 8. In all other cases, an argument error occurs.

(3) processorspeed

Virtual server CPU performance.

If the virtual server CPU performance is changed, specify the new CPU performance.

GHz can be specified as a unit in a range between 0.1 and 8, up to one decimal place. A unit (GHz) does not need to specify.

The maximum length of the CPU performance is 1,024 characters. An argument error occurs if this is exceeded.

(4) memorysize

Virtual server memory size.

If the virtual server memory size is changed, specify the new memory size.

Gbyte can be specified as a unit in a range between 0.1 and 255, up to one decimal place. A unit (Gbyte) does not need to specify.

The maximum length of the memory size is 1,024 characters. An argument error occurs if this is exceeded.

(5) disksize

Disk size allocated to the virtual server.

If the virtual server disk size is added, specify the disk size to be added.

Gbyte can be specified as a unit in a range between 0.1 and 2048, up to one decimal place. A unit (Gbyte) does not need to specify.

The maximum length of the disk size is 1,024 characters. An argument error occurs if this is exceeded.

(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

(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

Changing of virtual server system was successful.

Failure

161

Connection error occurred between the Virtual Environment Management Server. Retried if a retry count has been specified.

171

Authentication failed to connect the Virtual Environment Management Server.

172

Failed to change the virtual server system.

173

The virtual server is running.

188

Connection to the Virtual Environment Management Server failed during execution.

189

An attempt to connect to the Virtual Environment Management Server has 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

This variable will be set to the following message if the virtual server system is changed successfully.

The operation component was successful.

If an attempt to change the virtual server system fails, the content of the error will be set as a string.

changed_server_name

This variable is set to the new (changed) server name.

returnCode

This variable is set to the return value.

Notes