Interstage Shunsaku Data Manager Operator's Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Chapter 8 HA Functions> 8.4 Director Server Failovers Using PRIMECLUSTER

8.4.7 Creating Cluster Applications

This section explains how to create cluster applications on PRIMECLUSTER.

Shunsaku runs as a cluster application for standby operations. If there are multiple director servers, perform this procedure for each director server.

[Table 8-4 Cluster Application Creation Procedure for Director Servers]

Operation

Set up cluster applications

x

Create and set up Cmdline resources

Create Fsystem resources

Create GDS resources

Create GLS resources

Create inherited network resources

x

Create a cluster application

x

Set up dependency relationships between cluster applications

x

:Required
x:Not required

Refer to the section on creating cluster applications in the PRIMECLUSTER Installation and Administration Guide for more information on creating cluster applications.

mark1Setting Up Cluster Applications

Create a cluster application for standby operations.

The following table shows the method for setting up the nodes that make up a cluster application.

[Table 8-5 Setting up Nodes for Cluster Application]

Setting location

Setting item

Setting value

The nodes that make up the userApplication

Machines[0]

Specify the director server that will operate as the active server.

Machines[1]

Specify the director server that will operate as the standby server.

When creating second or subsequent cluster applications for an N:1 active/standby configuration, specify an active server for 'Machines[0]' that is different from the 'Machines[0]' settings used for cluster applications that have already been set up.

For 'Machines[1]', specify the same standby server as that specified for cluster applications that have already been set up.

The following example shows the settings for the 2:1 active/standby configuration in 8.1.1 Failover Function for Director Servers.

[Table 8-6 Settings for 2:1 Active/Standby]

Cluster application

Setting location

Setting item

Setting value

First cluster application

The nodes that make up the userApplication

Machines[0]

Specify the director server that will operate as active server 1 (node 1).

Machines[1]

Specify the director server that will operate as the standby server for active server 1 (node 2).

Second cluster application

The nodes that make up the userApplication

Machines[0]

Specify the director server that will operate as active server 2 (node 3).

Machines[1]

Specify the director server that will operate as the standby server for active server 2 (node 2).

The attributes that are set when creating cluster applications are given in the following table.

[Table 8-7 Attributes Set when Creating Cluster Applications]

Setting location

Setting item

Setting value

userApplicationattributes

AutoStartUp

Specify "Yes".

AutoSwitchOver

Specify "HostFailure|ResourceFailure|Shutdown".

HaltFlag

Specify "Yes".

StandbyTransitions

Specify "ClearFaultRequest|StartUp|SwitchRequest".

LicenseToKill

Specify the same group for all of the cluster applications that make up the Shunsaku system. After the group, specify "20X" as the job priority. For example, specify "A20X" for group "A".

Set this attribute for N:1 active/standby configurations only.

mark1Creating and Setting Up a Cmdline Resources

Link Shunsaku to the cluster application so that starting and stopping the cluster application starts and stops Shunsaku. Start, Stop, and Check scripts are provided for this reason.

Create a Cmdline resource and set Start, Stop, and Check scripts with this Cmdline resource.

The following table shows where each script is stored.

[Table 8-8 Location of Shunsaku Scripts]

Script

Storage location

Start script

/etc/opt/FJSVshnsk/etc/HA/shunstart

Stop script

/etc/opt/FJSVshnsk/etc/HA/shunstop

Check script

/etc/opt/FJSVshnsk/etc/HA/shuncheck

Set the following items for the Cmdline resource settings.

[Table 8-9 Cmdline Resource Settings]

Setting location

Setting item

Setting value

Cmdline settings

Start script

/etc/opt/FJSVshnsk/etc/HA/shunstart Shunsaku system name

Stop script

/etc/opt/FJSVshnsk/etc/HA/shunstop Shunsaku system name

Check script

/etc/opt/FJSVshnsk/etc/HA/shuncheck <Shunsaku system name> <inherited IP address or host name>

Flag settings

CLUSTEREXCLUSIVE

Specify "Yes".

When specifying an inherited IP address for the 'inherited IP address or host name' setting in the Check script, specify the inherited IP address used by the cluster application being created. When specifying a host name, specify a unique host name corresponding to the inherited IP address used by the cluster application being created. This must be a name other than the host name that corresponds to the physical IP address.

mark1Creating Fsystem Resources

File systems are used as Fsystem resources in order to mount the file systems on the shared disk when the cluster application starts. Create Fsystem resources to enable the file systems on the shared disk to be used when Shunsaku starts up.

mark1Creating GDS Resources

Set the following item as part of the settings for registering shared disks with the cluster application as GDS resources in order to use the shared disks as switchable disks.

Setting location

Setting item

Setting value

GDS resource settings

StandbySupport

Specify "No".

Setting location

Setting item

Setting value

Disk Class usage settings

Exclusive use

Specify "Yes".

HotStandby operations

Specify "No".

mark1Creating GLS Resources

To use inherited IP addresses via GLS 'IP address inheritance', create GLS resources. Define inherited IP address settings to enable inherited IP addresses to be used from Shunsaku.

mark1Creating Inherited Network Resources

To use inherited IP addresses via PRIMECLUSTERs 'inherited network resources', create inherited network resources. Define inherited IP address settings to enable inherited IP addresses to be used from Shunsaku.

mark1Creating Cluster Applications

Create a cluster application from the Create userApplication menu.

Set the following items in the settings for creating the cluster application.

[Table 8-10 Settings for Creating the Cluster Application]

Location

Item

Setting

userApplication name and operation configuration settings

Operation mode

Select 'Standby'

SysNode settings

Selected SysNode

Set the director server as the SysNode name that will execute the cluster application.

Select the active server first and then the standby server.

Attribute settings

AutoStartUp

Select 'Yes'.

AutoSwitchOver

Set "HostFailure|ResouceFailure|ShutDown".

StandbyTransitions

Set "ClearFaultRequest|Startup|SwitchRequest"

HaltFlag

Select 'Yes'.

Resource selection

Selected Resource

Select and add the resources used by the cluster application.

When creating second or subsequent cluster applications for an N:1 active/standby configuration, specify an active server by a SysNode name that is different from any of the active servers specified for other cluster applications. For the SysNode name of the standby server, specify the same server as has already been specified for the other cluster applications.

mark1Setting Up Dependency Relationships between Cluster Applications

Set up the dependency relationships between the cluster applications. These settings need to be made for N:1 active/standby configurations only.

For exclusive control settings for cluster applications, use the same group for all of the cluster applications in the Shunsaku system, and set the job priority to "high".


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2006