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 4 <strong>ExpressCluster</strong> command reference<br />

Controlling group resources (clprsc command)<br />

314<br />

clprsc: the clprsc command controls group resources<br />

Command line:<br />

clprsc -s resource_name [-h hostname] [-f]<br />

clprsc -t resource_name [-h hostname] [-f]<br />

Description This command starts and stops group resources.<br />

Option -s Starts group resources.<br />

-t Stops group resources.<br />

-h Requests processing to the server specified by the<br />

hostname.<br />

When this option is skipped, request <strong>for</strong> processing is made<br />

to the following servers.<br />

• When the group is offline, the command execution<br />

server (local server) .<br />

• When the group is online, the server where group is<br />

activated.<br />

-f When the group resource is online, all group resources that<br />

the specified group resource depends starts up.<br />

Return Value 0 success<br />

Other than 0 failure<br />

When the group resource is offline, all group resources that<br />

the specified group resource depends stop.<br />

Example Group resource configuration<br />

# clpstat<br />

========== CLUSTER STATUS ==========<br />

Cluster : cluster<br />

<br />

*server1..........................................: Online<br />

lankhb1 : Normal<br />

lankhb2 : Normal<br />

pingnp1 : Normal<br />

server2..........................................: Online<br />

lankhb1 : Normal<br />

lankhb2 : Normal<br />

pingnp1 : Normal<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!