beautypg.com

Symantec Veritas 5 User Manual

Page 134

background image

To remove or switch service groups from the departing node

1

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

#

hagrp -switch grp3 -to nebula

2

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

#

hagrp -dep

3

If 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.

4

Stop VCS on the departing node:

#

hastop -sys saturn

5

Check 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

Adding and removing cluster nodes
Removing a node from a cluster

134