27.02.2013 Views

ExpressCluster X 2.0 for Windows Reference Guide - Nec

ExpressCluster X 2.0 for Windows Reference Guide - Nec

ExpressCluster X 2.0 for Windows Reference Guide - Nec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A. Group A start script: a sample of stop.bat<br />

rem ***************************************<br />

rem * START.BAT *<br />

rem ***************************************<br />

IF "%CLP_EVENT%" == "START" GOTO NORMAL<br />

IF "%CLP_EVENT%" == "FAILOVER" GOTO FAILOVER<br />

IF "%CLP_EVENT%" == "RECOVER" GOTO RECOVER<br />

GOTO no_arm<br />

:NORMAL<br />

IF "%CLP_DISK%" == "FAILURE" GOTO ERROR_DISK<br />

IF "%CLP_SERVER%" == "OTHER" GOTO ON_OTHER1<br />

GOTO EXIT<br />

:ON_OTHER1<br />

GOTO EXIT<br />

:FAILOVER<br />

Section II Resource details<br />

<strong>ExpressCluster</strong> is not<br />

operating.<br />

Overview of processing:<br />

Application’s normal startup processing<br />

When to start this process:<br />

(1) Normal startup<br />

(6) Moving failover group (online failback)<br />

Overview of processing:<br />

A process to be executed only when the application is normally started on the primary<br />

server.<br />

When to start this process:<br />

(1) Normal startup<br />

(6) Moving failover group (online failback)<br />

Overview of processing:<br />

A process to be executed only when the application is normally started on the server other<br />

than the primary server.<br />

When to start this process:<br />

IF “%CLP_DISK%” == “FAILURE” GOTO ERROR_DISK<br />

Overview of processing:<br />

Application’s normal startup processing<br />

When to start this process:<br />

(3) Failing over due to server1 down<br />

Understanding script resources<br />

Refer to the environment<br />

variable of script executing<br />

factor and divide the processes.<br />

Refer to the environment variable of<br />

executing server and divide the processes.<br />

Refer to the DISK connection<br />

in<strong>for</strong>mation environment variable<br />

and handle the error.<br />

485

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!