Previous  |  Next  >  
Product: Storage Foundation Cluster File System Guides   
Manual: Cluster File System 4.1 Installation and Administration Guide   

Configuring CFS and CVM Agents on the New Node

After rebooting the new system, you must configure the CFS and CVM agents on it. Use the command line procedure below.

  To configure CFS and CVM agents on the new node

  1. Start HAD and vxfen on system03.
    1. Use hastart on system03 for starting HAD.
    2. For starting vxfen, run the following commands on system03:

    3.     # echo vxfen_mode=disabled > /etc/vxfenmode
          # /sbin/init.d/vxfen start
  2. Check that there are no service groups dependent on CVM, such as CFS, 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:
       # haconf ---dump -makero
  9. Put the CVM resources back online, in the following order:
       # hagrp -online cvm -sys system01
       # hagrp -online cvm -sys system02
       # hagrp -online cvm -sys system03
  10. Check the system status to see whether the new node is online:
       # hastatus ---sum
       -- SYSTEM STATE
       -- System        State          Frozen
       A  system01      RUNNING          0
       A  system02      RUNNING          0
       A  system03      RUNNING          0

       -- GROUP STATE
       -- Group            System      Probed      AutoDisabled         State
       B  cvm          system01      Y       N        ONLINE
       B  cvm          system02      Y       N        ONLINE
       B  cvm          system03      Y       N        ONLINE
  11. Add shared disk groups to the cluster configuration:
      # cfsdgadm add cfsdg system03=sw
  12. Create a /mnt on system03 and run the following commands:
      # cfsmntadm modify /mnt add system03=rw
    Refer to cfsmntadm man page for more details.
  13. Use cfsmount command to cluster mount /mnt back on all the nodes:
      # cfsmount /mnt
 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation Cluster File System Guides  
Manual: Cluster File System 4.1 Installation and Administration Guide  
VERITAS Software Corporation
www.veritas.com