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.

Chapter 6 Group resource details<br />

472<br />

(3) Failover at the failed server1<br />

The start script of a group that has server1 as its primary server will be run on a lower priority<br />

server (server2) if an error occurs. You need to write CLP_EVENT(=FAILOVER) as a<br />

branching condition <strong>for</strong> triggering application startup and recovery processes (such as database<br />

rollback process) in the start script in advance.<br />

For the process to be per<strong>for</strong>med only on a server other than the primary server, specify<br />

CLP_SERVER(=OTHER) as a branching condition and describe the process in the script.<br />

Server 1<br />

Server failed<br />

Group A<br />

Start<br />

Stop<br />

Server 2<br />

B<br />

A C<br />

(1) (1)<br />

Group C<br />

Start<br />

Stop<br />

Environment variables <strong>for</strong> Start.bat<br />

Group Environment variable Value<br />

A (1)<br />

C (1)<br />

CLP_EVENT FAILOVER<br />

CLP_SERVER HOME<br />

CLP_EVENT FAILOVER<br />

CLP_SERVER HOME<br />

Symbols<br />

: Script execution<br />

: Application<br />

(the letter indicates<br />

the application<br />

Start )<br />

: Start script<br />

Stop<br />

: Stop script<br />

(1) (2)…<br />

: Execution order<br />

<strong>ExpressCluster</strong> X <strong>2.0</strong> <strong>for</strong> <strong>Windows</strong> <strong>Reference</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!