Top
PRIMECLUSTER  Installation and Administration Guide4.3

6.7.3 Setting Up Dependency Relationships Between Cluster Applications

You can set up exclusivity and startup priority as part of the RMS Configuration settings.

Note

The startup priority setup function is not supported in this version.

6.7.3.1 Setting Exclusive 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.

Note

If a cluster application is in Faulted state in a node, you cannot start another cluster application with exclusive relationship to the cluster application in Faulted state on the same node.

This is because resources under the Faulted cluster application may not have been stopped.

In this case, clear the Faulted of the application and brings it to Offline. Then, start the cluster application with exclusive relationships.

For how to clear the Faulted state of a cluster application, see "7.2.2.4 Bringing Faulted Cluster Application to Online State."

The operation of cluster applications, between which an exclusive relationship is set up, during failover can be explained in the following two cases:

When the job priorities of the cluster applications with an exclusive relationship are different

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).

Failover of the cluster application with a high job priority

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 of the cluster application with a low job priority

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.

When the job priorities of cluster applications with an exclusive relationship are the same

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.

Information

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.

Setting up an exclusive relationship

This section explains how to set up an exclusive relationship.

Figure 6.64 Flow for setting up an exclusive relationship

Setting up dependencies between userApplications

From the top menu of the "userApplication Configuration Wizard", select Set up dependency between userApplication.

Figure 6.65 userApplication Configuration Wizard top menu

Click Next to go to the "Set up startup priority and exclusivity of userApplication" screen.

Note

The "Set up dependency between userApplication" menu can be selected only when there are two or more standby cluster applications in the cluster system.

Selecting Exclusivity of userApplication

Select Exclusivity of userApplication.

Figure 6.66 Setting up the startup priority and exclusivity of userApplication

Click Next to go to the "Set up exclusivity of userApplication" screen.

Setting up exclusivity between userApplications

Create a group of cluster applications between which an exclusive relationship is to be set and then add cluster applications to the group.

Figure 6.67 Setting up exclusivity between userApplications

userApplication

Cluster applications are listed. A cluster application that has already been set up in either a group or a scalable cluster application will not be displayed.

Group selection box

From the list box in the center of the setup screen, select a group for which cluster applications are to be set up. If "New" is specified, a new group will be created. Up to 52 groups of A to Z and a to z can be created.
If a group has not been created, you can select "New" only.

Add-High/Add-Low buttons

Add the cluster application that you have selected from the userApplication list to the selected group. If you make this addition by using Add-High, the job priority will be set to "high" while, if you make the addition by using Add-Low, the job priority will be set to "low."
Select the addition destination group from the group selection box in advance.

Delete button

Used to cancel the exclusivity setting made for cluster applications. Select cluster applications within a group, and then click Delete. You can return the cluster applications to the [useApplication] list.

After you have made this setting, click Next to go to the "Registration of the exclusive information on userApplication" screen.

Information

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."

Confirming the registration information of exclusivity between cluster applications

Confirm the setup information for the exclusive relationship between cluster applications.

Figure 6.68 Registration of the exclusive information on userApplication

Setup information will be displayed.

After you have completed the registration information, click Registration.