Symantec 5 manual # hagrp -switch grp3 -to nebula, # hagrp -dep

Models: 5

1 176
Download 176 pages 9.76 Kb
Page 134
Image 134

134Adding and removing cluster nodes Removing a node from a cluster

To remove or switch service groups from the departing node

1Switch failover service groups from the departing node. You can switch grp3 from node saturn to node nebula.

# hagrp -switch grp3 -to nebula

2Check for any dependencies involving any service groups that run on the departing node; for example, grp4 runs only on the departing node.

# hagrp -dep

3If the service group on the departing node requires other service groups—if it is a parent to service groups on other nodes—unlink the service groups.

#haconf -makerw

#hagrp -unlink grp4 grp1

These commands enable you to edit the configuration and to remove the requirement grp4 has for grp1.

4Stop VCS on the departing node:

# hastop -sys saturn

5Check the status again. The state of the departing node should be EXITED. Make sure that any service group that you want to fail over is online on other nodes.

# hastatus -summary

--

SYSTEM STATE

 

 

--

System

State

Frozen

A

galaxy

RUNNING

0

A

nebula

RUNNING

0

A

saturn

EXITED

0

--

GROUP STATE

 

 

 

--

Group

System

Probed

AutoDisabled

State

B

grp1

galaxy

Y

N

ONLINE

B

grp1

nebula

Y

N

OFFLINE

B

grp2

galaxy

Y

N

ONLINE

B

grp3

nebula

Y

N

ONLINE

B

grp3

saturn

Y

Y

OFFLINE

B

grp4

saturn

Y

N

OFFLINE

Page 134
Image 134
Symantec 5 manual # hagrp -switch grp3 -to nebula, # hagrp -dep, # haconf -makerw # hagrp -unlink grp4 grp1