PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents Index |
Part 2 Installation | > Chapter 5 Building a Cluster | > 5.1 Initial Cluster Setup | > 5.1.2 Configuring the Shutdown Facility |
The configuration procedure for the shutdown facility varies depending on the machine type. Check the hardware machine type and configure an appropriate shutdown agent.
For details on the configuration procedure of the shutdown facility and asynchronous monitoring facility, and details on the facilities, see the following manuals:
WaitForPROM function is not currently supported and its setup is not necessary in normal operation.
From the CF main window of the Cluster Admin screen, select the Tool menu and then Shutdown Facility -> Configuration Wizard. The shutdown configuration wizard will start.
You can also configure the shutdown facility immediately after you complete the CF configuration with the CF wizard.
The following confirmation popup will appear. Click Yes to start the shutdown configuration wizard.
You can select either of the following two modes to configure the shutdown facility:
This section explains how to configure the shutdown facility using Easy configuration (Recommended). With this mode, you can configure the PRIMECLUSTER shutdown facility according to the procedure.
Select Easy configuration (recommended) and then click <Next>.
After you confirm the hardware machine type, select an appropriate shutdown agent.
Select No SCON Configuration.
Then, select all the shutdown agents to be used.
* If you select Console Break, you can select RCCU or XSCF as the Console Break agent. To choose RCCU, you have to configure the RCCU unit in advance.
Upon the completion of configuration, click Next.
If you select XSCF Panic or XSCF Reset for the shutdown agent, the screen for configuring the XSCF will appear.
Enter the settings for XSCF that you recorded in "Check console configuration."
Once you have made all the necessary settings, click Next.
If you select Console Break as the shutdown agent, the screen used for selecting a Console Break agent will appear.
The selection to be made for the Console Break agent varies depending on the machine type to be set up. Confirm the hardware machine type and then set up an appropriate Console Break agent.
Upon the completion of configuration, click Next.
If you select RCCU as the Console Break agent, you must configure RCCU.
Enter the settings for RCCU that you recorded in "Check console configuration."
If you wish to use RCCU with its factory settings, select Use Defaults.
Otherwise, uncheck Use Defaults, and then enter the user name, password, and superuser password.
After you have completed this configuration, click Next.
Once you have completed this configuration, click Next.
Wait for PROM is currently not supported, and normally does not need to be configured.
Uncheck the check box if checked, and then click the [Next] button.
Enter the weights of the nodes and the IP addresses for the administrative LAN.
Once you have completed this configuration, click Next.
Survival priority
Even if a cluster partition occurs due to a failure in the cluster interconnect, all the nodes will still be able to access the user resources. For details on the cluster partition, see "2.2.2.1 Protecting data integrity" in the "PRIMECLUSTER Concept Guide."
To guarantee the consistency of the data constituting user resources, you have to determine the node groups to survive and those that are to be forcibly stopped.
The weight assigned to each node group is referred to as a "Survival priority" under PRIMECLUSTER.
The greater the weight of the node, the higher the survival priority. Conversely, the less the weight of the node, the lower the survival priority. If multiple node groups have the same survival priority, the node group that includes a node with the name that is first in alphabetical order will survive.
Survival priority can be found in the following calculation:
Survival priority = SF node weight + ShutdownPriority of userApplication
- SF node weight (Weight):
- Weight of node. Default value = 1. Set this value while configuring the shutdown facility.
- userApplication ShutdownPriority:
- Set this attribute when userApplication is created. For details on how to change the settings, see "Changing the Operation Attributes of a Cluster Application."
For details on the ShutdownPriority attribute of userApplication, see "Attributes."
The typical scenarios that are implemented are shown below:[Largest node group survival]
- Set the weight of all nodes to 1 (default).
- Set the attribute of ShutdownPriority of all user applications to 0 (default).
[Specific node survival]
- Set the "weight" of the node to survive to a value more than double the total weight of the other nodes.
- Set the ShutdownPriority attribute of all user applications to 0 (default).
In the following example, node1 is to survive:[Specific application survival]
- Set the "weight" of all nodes to 1 (default).
- Set the ShutdownPriority attribute of the user application whose operation is to continue to a value more than double the total of the ShutdownPriority attributes of the other user applications and the weights of all nodes.
In the following example, the node for which app1 is operating is to survive:
Confirm and then save the configuration. In the left-hand panel of the window, those nodes that constitute the cluster are displayed, as are the shutdown agents that are configured for each node.
Click Next. A popup screen will appear for confirmation. Select Yes to save the setting.
If you save the setting, a screen displaying the configuration of the shutdown facility will appear. On this screen, you can confirm the configuration of the shutdown facility on each node by selecting each node in turn.
You can also view the configuration of the shutdown facility by selecting Shutdown Facility -> Show Status from the Tool menu.
To exit the configuration wizard, click Finish. Click Yes in the confirmation popup that appears.
Confirm that the shutdown facility is operating normally.
If "InitFailed" is displayed in the Initial state even when the configuration of the shutdown facility has been completed or if "Unknown" is displayed in the Test state or "TestFailed" is highlighted in red, the agent or hardware configuration may contain an error. Check the /var/adm/messages file and the console for an error message. Then, apply appropriate countermeasures as instructed the message that is output.
For details on how to respond to the error messages that may be output, see the following manual.
"12.12 Monitoring Agent messages" in the "PRIMECLUSTER Cluster Foundation (CF) Configuration and Administration Guide."
Contents Index |