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.
Processing overview
Changing input values set in the automatic operation process
The Web 3-tier system stop template performs processing in the following sequence to stop a system:
Releasing Web server load balancer. If load balancer release fails, sending error notification mail and then ending stop processing.
Stopping the Web server Interstage service. If the service fails to stop, sending error notification mail and then ending stop processing.
Stopping Web servers
If Web server stop processing fails, sending error notification mail and then ending the stop processing
Waiting for Web server stop confirmation
Fetching Web server power supply status
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
Stopping AP servers
If AP server stop processing fails, sending error notification mail and then ending the stop processing
Waiting for AP server stop confirmation
Fetching AP server power supply status
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
Stopping DB servers
If DB server stop processing fails, sending error notification mail and then ending the stop processing
Waiting for DB server stop confirmation
Fetching DB server power supply status
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
Sending stop completion notification by mail
Change the automatic operation process to suit your operations.
Wait time for fetching power supply status
Adding AP servers or Web servers as operation targets
The operation parts shown below are positioned in the automatic operation process.
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 | 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 |
The following settings are required for the automatic operation process:
User-defined attributes
Operation part input information
Delay node timer value
User-defined attributes
Values must be set in the user-defined attributes of the automatic operation process. Enter values as shown below.
User-defined attribute name | Input value | Use |
---|---|---|
webserver1_hostname | Host name or IP address of the Web server | Used as the following values: |
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:
Stop complete notification
Error notification 1-3
Enter parameter values as shown below.
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.
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. |
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.