| United States-English |
|
|
|
![]() |
Managing Serviceguard Version A.11.16, Eleventh EditionSecond Printing > Chapter 7 Cluster
and Package MaintenanceReconfiguring a Cluster |
|
You can reconfigure a cluster either when it is halted or while it is still running. Some operations can only be done when the cluster is halted. Table 7-1 “Types of Changes to Permanent Cluster Configuration ” shows the required cluster state for many kinds of changes. Table 7-1 Types of Changes to Permanent Cluster Configuration
You can make a permanent change in cluster configuration when the cluster is halted. This procedure must be used for changes to the quorum server or lock disk configuration, changes in timing parameters, and changes to the Maximum Number of Packages parameter, but it can be used for any other cluster configuration changes as well. Use the following steps:
(Serviceguard 11.16 only, requires root login to the cluster.) First halt the cluster. Select it on the tree or map. From the Actions menu, select Administering Serviceguard, then Halt Cluster. When halted, select the cluster in the map or tree. From the Actions menu, select Configuring Serviceguard. When the Configuring Cluster window opens, click the Parameters tab. Enter the new number. Click Apply. Close the configuration window. (After refresh, check the cluster’s Properties to see the change.) The cluster must be halted. Use the cmgetconf command to obtain a current copy of the cluster's existing configuration. Example:
Edit the clconfig.ascii file to include the desired value for MAX_CONFIGURED_PACKAGES. Then use the cmcheckconf command to verify the new configuration. Time can be significantly reduced if you use the -k or -K options with cmcheckconf. Using -k or -K option with the cmcheckconf command, can significantly reduce the response time. Use the cmapplyconf command to apply the changes to the configuration and send the new configuration file to all cluster nodes. Time can be significantly reduced if you use the -k or -K options with cmapplyconf. You can add new nodes to the cluster configuration or delete nodes from the cluster configuration while the cluster is up and running. Note the following, however:
Changes to the package configuration are described in a later section. The following sections describe how to perform dynamic reconfiguration tasks using Serviceguard Manager or Serviceguard commands. Select the cluster on the tree or map. Choose Configuring from the Actions menu. You need root permission on the cluster. On the Nodes tab, under Available nodes, highlight the node you want to add, and click Add. Then click Apply. After Refresh, check the cluster’s Properties to confirm the change. Use the following procedure to add a node with HP-UX commands. For this example, nodes ftsys8 and ftsys9 are already configured in a running cluster named cluster1, and you are adding node ftsys10.
Use cmrunnode to start the new node, and, if desired, set the AUTOSTART_CMCLD parameter to 1 in the /etc/rc.config.d/cmcluster file to enable the new node to join the cluster automatically each time it reboots.
The node must be halted. If it is not, select it and choose Administering Serviceguard from the Actions menu. Choose Delete Node. Select the cluster on the tree or map. Choose Configuring Serviceguard from the Actions menu. (You need root permission on the cluster.) On the Nodes tab, under Available nodes, highlight the node to remove, and click Delete. Then click Apply. After Refresh, check the cluster’s Properties to confirm the change. If the node you wish to delete is unreachable (disconnected from the LAN, for example), you can delete the node only if there are no packages which specify the unreachable node. If there are packages that depend on the unreachable node, halt the cluster or use Serviceguard commands as described in the next section. Use the following procedure to delete a node with HP-UX commands. For this example, nodes ftsys8, ftsys9 and ftsys10 are already configured in a running cluster named cluster1, and you are deleting node ftsys10.
Select the cluster on the tree or map. Choose Configuring Serviceguard from the Actions menu. (You need root permission on the cluster.) On the Logical Volumes tab highlight the node to add or remove, and click Add or Delete. Then click Apply. After Refresh, check the cluster’s Properties to confirm the change. You cannot change the cluster lock volume group or physical volume configuration while the cluster is running.
Use the cmgetconf command to obtain a current copy of the cluster's existing configuration. Example:
Edit the file clconfig.ascii to add or delete volume groups. Then use the cmcheckconf command to verify the new configuration. Use the cmapplyconf command to apply the changes to the configuration and send the new configuration file to all cluster nodes. Following is an example for adding two volume groups:
If there are a large number of volume groups, you can use a reference file that lists all the volume groups. Example, using a reference file:
Following are examples of removing the volume groups that were added in the preceding examples:
Use the cmapplyconf command to apply the changes to the configuration and send the new configuration file to all cluster nodes. Syntax for the options with cmapplyconf is the same as given for the cmcheckconf command above.
You can add VxVM disk groups to the cluster configuration while the cluster is running. To add new CVM disk groups, the cluster must be running. Create CVM disk groups from this node. Open the configuration ASCII file of the package that uses the CVM storage; add the CVM storage group in a STORAGE_GROUP statement. Then issue the cmapplyconf command. Similarly, you can delete VxVM or CVM disk groups provided they are not being used by a cluster node at the time.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||