HP Serviceguard Extension for SAP (SGeSAP) $Startwithpkg, $Stopwithpkg, $Restartduringfailover

Models: Serviceguard Extension for SAP (SGeSAP)

1 142
Download 142 pages 58.48 Kb
Page 74
Image 74

used, you also have to specify the Dialog Instance package name in ASPKGNAME[*].The common naming conventions for Dialog Instance packages are:

d<ASNR><SID> (new)

app<SID><ASNR> (deprecated)

${START_WITH_PACKAGE}, ${STOP_WITH_PACKAGE} and {RESTART_DURING_FAILOVER} only make sense if ASSID[]=${SAPSYSTEMNAME}, i.e. these instances need to belong to the clustered SAP component. ${STOP_IF_LOCAL_AFTER_FAILOVER} and {STOP_DEPENDENT_INSTANCES} can also be configured for different SAP components.

The following table gives an overview of ASTREAT[*] values and their combination. The

${START_WITH_PKG}, ${STOP_WITH_PKG}, ${RESTART_DURING_FAILOVER},

${STOP_IF_LOCAL_AFTER_FAILOVER}, ${STOP_DEPENDENT_INSTANCES} columns represent binary

values and decimal values in parenthesis that are accumulated in the ASTREAT column.

Table 3-6 Overview of reasonable ASTREAT values

ASTREAT value

STOP_DEP

STOP_LOCAL

RESTART

STOP

START

Restrictions

0

0

0

0

0

 

0

Should only be configured for

1

0

0

0

0

 

1 (1)

AS that belong to the same SID

 

 

2

0

0

0

1

(2)

0

 

3

0

0

0

1

(2)

1

 

4

0

0

1 (4)

0

 

0

 

5

0

0

1 (4)

0

 

1 (1)

 

6

0

0

1 (4)

1

(2)

0

 

7

0

0

1 (4)

1

(2)

1 (1)

 

8

0

1 (8)

0

0

 

0

Can be configured for AS

 

 

 

 

 

 

 

belonging to same SID or AS

 

 

 

 

 

 

 

part of other SID

9

0

1 (8)

0

0

 

1 (1)

Should only be configured for

10

0

1 (8)

0

1

(1)

0

AS that belong to the same SID

 

11

0

1 (8)

0

1

(2)

1 (1)

 

12

0

1 (8)

1 (4)

0

 

0

 

13

0

1 (8)

1 (4)

0

 

1 (1)

 

14

0

1 (8)

1 (4)

1

(2)

0

 

15

0

1 (8)

1 (4)

1

(2)

1 (1)

 

24

1 (16)

1 (8)

0

0

 

0

Should only be configured for

 

 

 

 

 

 

 

Instances that have different

 

 

 

 

 

 

 

SID and have dependencies to

 

 

 

 

 

 

 

AS

START=${START_WITH_PKG}

STOP=${STOP_WITH_PKG}

RESTART=${RESTART_DURING_FAILOVER}

STOP_LOCAL=${STOP_IF_LOCAL_AFTER_FAILOVER}

STOP_DEP=${STOP_DEPENDENT_INSTANCES}

Example 1:

The primary node is also running a non-critical Dialog Instance with instance ID 01. It should be stopped and started with the package. In case of a failover a restart attempt should be made. There is a second instance outside of the cluster that should be treated the same.

ASSID[0]=SG1; ASHOST[0]=node1; ASNAME[0]=D; ASNR[0]=01; ASTREAT[0]=7; ASPLATFORM[0]="HP-UX"

74 Step-by-Step Cluster Conversion

Page 74
Image 74
HP Serviceguard Extension for SAP (SGeSAP) manual $Startwithpkg, $Stopwithpkg, $Restartduringfailover, Restart Stop Start