Top
Systemwalker Runbook Automation Template Operator's Guide
Systemwalker

4.7.2 Stopping a Web 3-tier System

This section describes the items below concerning the Web 3-tier system stop automatic operation process provided by the Web 3-tier system start and stop template.

4.7.2.1 Processing Overview

The Web 3-tier system stop template performs processing in the following sequence to stop a system:

  1. Releasing Web server load balancer. If load balancer release fails, sending error notification mail and then ending stop processing.

  2. Stopping the Web server Interstage service. If the service fails to stop, sending error notification mail and then ending stop processing.

  3. Stopping Web servers

  4. If Web server stop processing fails, sending error notification mail and then ending the stop processing

  5. Waiting for Web server stop confirmation

  6. Fetching Web server power supply status

  7. If a Web server power supply is on, or if fetching the power supply status fails, sending error notification mail and then ending stop processing

  8. Stopping AP servers

  9. If AP server stop processing fails, sending error notification mail and then ending the stop processing

  10. Waiting for AP server stop confirmation

  11. Fetching AP server power supply status

  12. If a AP server power supply is on, or if fetching the power supply status fails, sending error notification mail and then ending stop processing

  13. Stopping DB servers

  14. If DB server stop processing fails, sending error notification mail and then ending the stop processing

  15. Waiting for DB server stop confirmation

  16. Fetching DB server power supply status

  17. If a DB server power supply is on, or if fetching the power supply status fails, sending error notification mail and then ending stop processing

  18. Sending stop completion notification by mail


Change the automatic operation process to suit your operations.

The operation parts shown below are positioned in the automatic operation process.

Table 4.8 Operation part placement

Name

Name of operation part to be used

Purpose

Load balancer release 1-2

Remove as load balancing target

Removing Web servers from load balancer targets

Stops Interstage 1-2

Stop service

Stopping the Web server Interstage service

Web server n stop (n=1-2)

Stop OS

Stopping Web servers

Obtain Web server n power status (n=1-2)

Get server power status

Fetching Web server power supply status

Stop AP server n (n=1-2)

Stop OS

Stopping AP servers

Obtain AP server n power status
(n=1-2)

Get server power status

Fetching AP server power supply status

DB server stopped

Stop OS

Stopping DB servers

Obtain DB server power status

Get server power status

Fetching DB server power supply status

Stop complete notification

Send emails

Sending mail notifying of server stop processing completion

Error notification 1-3

Sending mail notifying of server stop processing errors

4.7.2.2 Changing Input Values Set in the Automatic Operation Process

The following settings are required for the automatic operation process:

User-defined attributes

Values must be set in the user-defined attributes of the automatic operation process. Enter values as shown below.

Table 4.9 Automatic operation process user-defined attributes

User-defined attribute name

Input value

Use

webserver1_hostname

Host name or IP address of the Web server

Used as the following values:
- lbhostname parameter of the operation part that performs load balancer release
- hostname parameter of the operation part that stops Interstage service
- hostname parameter of the operation part that stops Web servers
- hostname parameter of the operation part that fetches Web server power supply status

webserver2_hostname

apserver1_hostname

Host name or IP address of the AP server

Used as the hostname parameter value in the operation part that stops AP servers, and as the hostname parameter value in the operation part that fetches AP server power supply status

apserver2_hostname

dbserver_hostname

Host name or IP address of the DB server

Used as the hostname parameter value in the operation part that stops DB servers, and as the hostname parameter value in the operation part that fetches DB server power supply status

ipcom_hostname

Host name or IP address set in the operation management network of the IPCOM that performs load balancing

Used as the hostname parameter value in the operation part that performs load balancer release

isa_servicename

Service name of the Interstage service to be stopped at the Web server

Used as the service parameter value in the operation part that stops Interstage service

smtp_server

Host name or IP address of the mail send (SMTP) server

Used as the hostname parameter value of the operation part that sends mail to notify of stop completion and errors

from_address

Stop completion notification and error notification mail send source address

Used as the fromaddress parameter value of the operation part that sends mail to notify of stop completion and errors

to_address

Stop completion notification and error notification mail send destination address

Used as the toaddress parameter value of the operation part that sends mail to notify of stop completion and errors

manager_server

Web console URL host name to be coded in the text of the mail to be sent

Used as the Web console URL coding in the text parameter value of the operation part that sends mails notifying of stop processing completion and errors

Operation part input information

If required, set a parameter value as input information for the following operation parts:

Enter parameter values as shown below.

Table 4.10 Operation part input information

Operation part name

Parameter name

Input value

Stop complete notification

smtpusername (*1)

User name for SMTP authentication to the host of the mail send (SMTP) server

smtppassword (*1)

User password for SMTP authentication to the host of the mail send (SMTP) server

Error notification 1-3

smtpusername (*1)

User name for SMTP authentication to the host of the mail send (SMTP) server

smtppassword (*1)

User password for SMTP authentication to the host of the mail send (SMTP) server

*1:
Set this parameter in environments that require authentication to the SMTP server when mail is sent.

Delay node timer value

Set wait times for the delay node timers, as required. The settings contents are shown below.

Table 4.11 Timer settings information

Name

Timer name

Settings value

Web server stop confirmation wait

wait_web1_server

After a server stops, the wait time until the server power supply status is fetched.
5 minutes is set as the default.

wait_web2_server

Standby for AP server stop check

wait_ap1_server

wait_ap2_server

Standby for check that DB server has stopped.

wait_db_server

See

Refer to the Systemwalker Runbook Automation Studio User's Guide for details on how to change automatic operation processes.