Configuring sfcfs and cvm agents on the new node, Configuring sfcfs and cvm agents on the, New node – Symantec VERITAS STORAGE FOUNDATION HP-UX User Manual

Page 54

Advertising
background image

56 Adding and removing a node

Configuring SFCFS and CVM agents on the new node

Configuring SFCFS and CVM agents on the new node

You must configure the SFCFS and CVM agents, after rebooting the new system.

To configure SFCFS and CVM agents on the new node

1

Start the VCS server and

vxfen

on system03.

a

Use

hastart

on system03 for starting the VCS server.

b

For starting

vxfen

in the disable mode, run the following commands on

system03:

# echo vxfen_mode=disabled > /etc/vxfenmode

# /sbin/init.d/vxfen start

c

For starting

vxfen

in the enabled mode:

Copy the following files from one of the existing cluster nodes to
system03:

/etc/vxfenmode

/etc/vxfendg

Run the following command:

# /sbin/init.d/vxfen start

2

Check that there are no service groups dependent on CVM, such as SFCFS,
that are still online:

# hagrp -dep cvm

3

If there are any dependencies, take them offline, then take the CVM service
group offline:

# hagrp -offline cvm -sys system01

# hagrp -offline cvm -sys system02

4

Open the VCS configuration for writing:

# haconf —makerw

5

Add the new node to the CVM system list and specify a failover priority of
zero:

# hagrp —modify cvm SystemList -add system03 X

where

X

is one more than the index of the last system in System list of CVM

service group in

/etc/VRTSvcs/conf/config/main.cf

.

6

Add the new node to the CVM AutoStartList:

# hagrp —modify cvm AutoStartList system01 system02 system03

7

Node ID can be obtained from

CVMNodeId

of

/etc/VRTSvcs/conf/config/main.cf

. Add the new node,

system03

,

and its node ID, #, to the

cvm_clust

resource:

# hares —modify cvm_clus CVMNodeId -add system03 2

8

Write the new VCS configuration to disk:

Advertising