Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

3.15.12 Hardware Library

The hardware library provides the following classes:

Article number/class name

3.15.12.1 IPMI

3.15.12.2 IPCOM

3.15.12.1 IPMI

Class Name

Swrba_Hardware

List of Methods

Method

Description

String server_start(String ipmiipaddress,
String
ipmiusername, String ipmipassword)

Use IPMI to make a request to start the specified server.

"Success" is returned if start of the server was successful.

An exception is returned if start of the server failed.

String server_shutdown(String ipmiipaddress,
String
ipmiusername, String ipmipassword)

Use IPMI to make a request to stop the specified server

"Success" is returned if stop of the server was successful.

An exception is returned if stop of the server failed.

String server_check(String ipmiipaddress,
String
ipmiusername, String ipmipassword)

Use IPMI to check the power status of the specified server

The text string of the status of the server is returned if confirmation of the status was successful.

An exception is returned if confirmation of the status failed.

Input Information

ipmiipaddress	Specify IP address that set to IPMI of the server that starts or stops.
ipmiusername	Specify the name of the user that set to IPMI of the server that starts or stops.
ipmipassword	Specify the password of the user that set to IPMI of the server that starts or stops.

Notes

File Location

Windows

<Installation directory>\SWRBAM\rbaope\bin\parts\lib\

standard\swrba_hardware.rb

Linux

/opt/FJSVswrbam/rbaope/bin/parts/lib/standard/swrba_hardware.rb

3.15.12.2 IPCOM

Class Name

Swrba_Hardware

List of Methods

Method

Description

String loadbalancer_remove(String lbhostname, Integer removetime, String hostname, String username, String password, String execpassword)

Remove the specified server from a load balancing target.

"Success" is returned if removal was successful.

An exception is returned if removal failed.

String loadbalancer_embed(String lbhostname, String hostname, String username, String password, String execpassword)

Add the specified server to a load balancing target.

"Success" is returned if adding was successful.

An exception is returned if adding failed.

Input Information

lbhostname	Specify the host name or IP address of the server to be removed or added to a load balancing target managed by IPCOM.
removetime	Specify the "removetime" when the server is to be removed from a load balancing target managed by IPCOM.
hostname	Specify the host name or IP address for connecting through an operation management network set in IPCOM.
username	Specify the name of the user using SSH to connect to the IP address of an operation management network set in IPCOM.
The connected user must be an administrator.
password	Specify the password of the user using SSH to connect to the IP address of an operation management network set in IPCOM.
execpassword	Specify the password for the command for transitioning to the administrator EXEC mode (admin command).

Notes

File Location

Windows

<Installation directory>\SWRBAM\rbaope\bin\parts\lib\

standard\swrba_hardware.rb

Linux

/opt/FJSVswrbam/rbaope//bin/parts/lib/standard/swrba_hardware.rb