PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
Part 2 Installation | > Chapter 6 Building Cluster Applications | > 6.6 Setting Up Cluster Applications | > 6.6.3 Setting Up Dependency Relationships Between Cluster Applications |
Set up exclusive relationships for the cluster applications to prevent cluster applications with exclusive relationships from operating simultaneously. An exclusive relationship can be set up only between standby cluster applications. If failover occurs, determine the cluster applications that should continue operating by using the job priority of the cluster applications between which an exclusive relationship is set.
The operation of cluster applications, between which an exclusive relationship is set up, during failover can be explained in the following two cases:
The "hvswitch(1M) -p" command is executed for a low-priority cluster application on the node where a high-priority cluster application is running, or a high-priority cluster application is switched. For the state transition of the cluster application, see the manual page of hvswitch(1M).
If a high-priority cluster application is switched to other node during a low-priority cluster application startup, the high-priority cluster application is given the highest priority for startup. The low-priority cluster application is eliminated with the "hvreset(1M)" command.
For information on the hvreset(1M) command, see the manual page describing the hvreset(1M) command.
If failover occurs in a cluster application with a high job priority, the cluster application with the high job priority will always be in the operating state.
Failover occurs for a cluster application with a low job priority only when there is no cluster application with a high job priority included on the node to which the cluster application with a low job priority is to be failed over.
Ongoing operations of the cluster application are never disrupted. If other cluster applications are started on the node where the cluster application has been running, or they are switched to that node, the "hvswitch(1M) -p" is executed. See the manual page of hvswitch.
To set up an exclusive relationship, create a group of cluster applications between which an exclusive relationship is to be set. Up to 52 groups can be created. Exclusive control is established between cluster applications within a single group.
This section explains how to set up an exclusive relationship.
From the top menu of the "userApplication Configuration Wizard", select Set up dependency between userApplication.
Click Next to go to the "Set up startup priority and exclusivity of userApplication" screen.
The "Set up dependency between userApplication" menu can be selected only when there are two or more standby cluster applications in the cluster system.
Select Exclusivity of userApplication.
Click Next to go to the "Set up exclusivity of userApplication" screen.
Create a group of cluster applications between which an exclusive relationship is to be set and then add cluster applications to the group.
After you have made this setting, click Next to go to the "Registration of the exclusive information on userApplication" screen.
If the job priorities of cluster applications are the same, the same operation will continue even when you add the cluster applications to "High" or "Low."
Confirm the setup information for the exclusive relationship between cluster applications.
Setup information will be displayed.
After you have completed the registration information, click Registration.
Contents
Index
![]() ![]() |