Previous  |  Next  >  
Product: Storage Foundation for Oracle RAC Guides   
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration   

Editing VCS Configuration Files on Existing Nodes

After running uninstallsfrac, modify the configuration files on the existing nodes to remove references to the removed nodes.

Editing /etc/llthosts

On the each of the existing nodes, use vi or another editor to edit /etc/llthosts. Remove lines corresponding to the removed nodes; for example, if saturn is the node removed from the cluster, remove the line "2 saturn" from the file:


 0 galaxy
 1 nebula
 2 saturn

Change to:


 0 galaxy
 1 nebula

Editing /etc/gabtab

In /etc/gabtab, change the command contained in the file to reflect the number of cluster nodes after the removal of a node:


/sbin/gabconfig -c -nN

N is the number of remaining nodes. For example, a file with two remaining nodes appears as:


/sbin/gabconfig -c -n2

Modifying the VCS Configuration to Remove the Node

Modify the VCS configuration by editing /etc/VRTSvcs/conf/config/main.cf directly, using the VCS GUI (Cluster Manager), or using the command line, as illustrated in the following example. Refer to the VERITAS Cluster Server User's Guide for details on configuring VCS.

Complete the procedure on one of the existing nodes.

  1. As root user, enable write access to the configuration:
      # haconf -makerw
  2. Remove the node from the AutoStartList of the oradb1_grp Oracle service group by specifying the remaining nodes in the desired order:
      # hagrp -modify oradb1_grp AutoStartList galaxy nebula
  3. Remove the node from the SystemList of the oradb1_grp service group:
      # hagrp -modify oradb1_grp SystemList -delete saturn
  4. If you have other Oracle service groups with Oracle resources that have the removed node in their configuration, perform step 2 and step 3 for each of them.
  5. Delete the node from the CVMCluster resource by removing it from the CVMNodeId attribute key list:
      # hares -modify cvm_clus CVMNodeId -delete saturn
  6. Delete the node from the cvm AutoStartList by specifying the remaining nodes in the desired order:
      # hagrp -modify cvm AutoStartList galaxy nebula
  7. Delete the node from the system lists for the cvm and ClusterService service groups:
       # hagrp -modify cvm SystemList -delete saturn
       # hagrp -modify ClusterService SystemList -delete saturn
  8. After deleting the removed node from all service groups in the configuration, delete the node from the cluster system list:
      # hasys -delete saturn
  9. Save the new configuration to disk:
      # haconf -dump -makero
 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation for Oracle RAC Guides  
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration  
VERITAS Software Corporation
www.veritas.com