EXPRESSCLUSTER X 3.1 for Linux SAP NetWeaver Configuration Example (

®
EXPRESSCLUSTER X 3.1
for Linux SAP NetWeaver
Configuration Example
10/1/2012
First Edition
Revision History
Edition
First
Revised Date
10/1/2011
Description
New manual
© Copyright NEC Corporation 2012. All rights reserved.
Disclaimer
Information in this document is subject to change without notice.
NEC Corporation is not liable for technical or editorial errors or omissions in the information in this document.
You are completely liable for all risks associated with installing or using the product as described in this
manual to obtain expected results and the effects of such usage.
The information in this document is copyrighted by NEC Corporation.
No part of this document may be reproduced or transmitted in any form by any means, electronic or
mechanical,for any purpose, without the express written permission of NEC Corporation.
Trademark Information
EXPRESSCLUSTER® X is a registered trademark of NEC Corporation.
SAP,SAP NetWeaver,and other SAP products and services mentioned herein as well as their respective logos
are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the
world.
Linux is a registered trademark or trademark of Linus Torvalds in the United States and other countries.
RPM is a trademark of Red Hat, Inc.
Oracle and logos are trademarks or registered trademarks of Oracle and/or its affiliates.
Novell is a registered trademark of Novell, Inc. in the United State and Japan.
SUSE is a registered trademark of SUSE LINUX AG, a group company of U.S. Novell.
Other product names and slogans written in this manual are trademarks or registered trademarks of their
respective companies.
Table of Contents
Preface ..................................................................................................................... v
Who Should Use This Guide .................................................................................. v
EXPRESSCLUSTER X 3.1 for Linux SAP NetWeaver Documentation Set .......... v
Conventions ........................................................................................................... vi
Related documents ............................................................................................... vii
EXPRESSCLUSTER X Documentation Set.......................................................... vii
SAP NetWeaver 7.3 documents............................................................................ vii
Terminology in this guide .................................................................................... viii
Section I
Configuration example ......................................................................... 9
•
Chapter 1
An example of setting environment on the SAP NW ................. 9
•
Chapter 2
EXPRESSCLUSTER setting ......................................................... 9
•
Chapter 3
Bundled scripts ............................................................................. 9
Chapter 1 An example of setting
environment on the SAP NW .................... 11
1.1. Mount Point ........................................................................................................................... 11
1.2. Floating IP ............................................................................................................................ 12
1.3. An example of setting OS..................................................................................................... 13
1.4. An example of setting the SAP NW ..................................................................................... 14
1.5. An example of setting cluster constructing with MaxDB ...................................................... 14
1.5.1.
Copy of the profile......................................................................................................... 15
1.5.2.
Copy of the registory file ............................................................................................... 15
1.5.3.
Copy of the folder (/var/libsdb) ..................................................................................... 15
1.5.4.
Copy of the run commond ............................................................................................ 15
1.5.5.
Add service name/port number .................................................................................... 15
Chapter 2 EXPRESSCLUSTER setting ............................................................... 16
2.1. An example of setting EXPRESSCLUSTER ........................................................................ 16
2.1.1.
Configuration example for failover groups .................................................................... 16
2.1.2.
Example of the configuration of the Monitor Resources............................................... 26
Chapter 3 Bundled scripts .................................................................................. 35
3.1.
3.2.
iv
Exec resource ...................................................................................................................... 35
Custom monitor .................................................................................................................... 39
Preface
This Guide: Building the cluster system in the [EXPRESSCLUSTER X 3.1 for Linux SAP NetWeaver System
Configuration Guide], and giving the example of setting for actuate.
* At the time of writing this Guide, the versions of SAP NetWeaver and EXPRESSCLUSTER X are 7.3 and
3.1 respectively.
Who Should Use This Guide
This manual is intended for administrators who want to build a cluster system, system engineers who want to
provide user support, and maintenance personnel.
This manual introduces software whose operation in an EXPRESSCLUSTER environment has been checked.
The software and setup examples introduced here are for reference only. They are not meant to guarantee the
operation of each software product.
The introduced software and the example of setting in this document are just reference infomation. There are
not warranty of the each software’s behavior.
EXPRESSCLUSTER X 3.1 for Linux SAP NetWeaver Documentation Set
This Guide consist of the following two guides.
“EXPRESSCLUSTER X 3.1 for Linux SAP NetWeaver System Configuration Guide”
“EXPRESSCLUSTER X 3.1 for Linux SAP NetWeaver Configuration Example”
v
Conventions
In this guide, Note, Important, Related Information are used as follows:
Note:
Used when the information given is important, but not related to the data loss and damage to the system and
machine
Important:
Used when the information given is necessary to avoid the data loss and damage to the system and machine.
Related Information:
Used to describe the location of the information given at the reference destination.
The following conventions are used in this guide.
Convention
Bold
Angled
bracket
within the
command
line
#
Monospace
(courier)
Monospace
bold
(courier)
Monospace
italic
(courier)
vi
Usage
Indicates graphical objects, such as
fields, list boxes, menu selections,
buttons, labels, icons, etc.
Indicates that the value specified
inside of the angled bracket can
be omitted.
Prompt to indicate that a Linux user
has logged on as root user.
Indicates path names, commands,
system output (message, prompt,
etc), directory, file names,
functions and parameters.
Indicates the value that a user
actually enters from a command
line.
Indicates that users should
replace italicized part with
values that they are actually
working with.
Example
In User Name, type your name.
On the File menu, click Open Database.
clpstat -s [-h host_name]
# clpcl -s -a
/Linux/3.0/eng/server/
Enter the following:
# clpcl -s –a
rpm –i expressclsbuilder
-<version_number><release_number>.i686.rpm
Related documents
EXPRESSCLUSTER X Documentation Set
The EXPRESSCLUSTER X manuals consist of the following four guides. The title and purpose of each guide is
described below:
EXPRESSCLUSTER X Getting Started Guide
This guide is intended for all users. The guide covers topics such as product overview, system requirements,
and known problems.
EXPRESSCLUSTER X Installation and Configuration Guide
This guide is intended for system engineers and administrators who want to build, operate, and maintain a
cluster system. Instructions for designing, installing, and configuring a cluster system with
EXPRESSCLUSTER are covered in this guide.
EXPRESSCLUSTER X Reference Guide
This guide is intended for system administrators. The guide covers topics such as how to operate
EXPRESSCLUSTER, function of each module, maintenance-related information, and troubleshooting. The
guide is supplement to the Installation and Configuration Guide.
EXPRESSCLUSTER X Integrated WebManager Administrator’s Guide
This guide is intended for system administrators who manage cluster systems using EXPRESSCLUSTER
with Integrated WebManager, and also intended for system engineers who introduce Integrated
WebManager. This guide describes detailed issues necessary for introducing Integrated WebManager in the
actual procedures.
SAP NetWeaver 7.3 documents
The detail of SAP NetWeaver 7.3 may refer following documents
Installation Guide
“SAP Systems Based on SAP NetWeaver 7.3 Application Server ABAP on Linux: SAP MaxDB”
Installation Guides of DB or each OS can be downloaded from the following URL.
http://service.sap.com/installnw73/
SAP NOTE
#0171356:
#0784391:
#1048303:
#1496410:
#0958253:
#1310037:
#1567511:
#1635808:
#1382721:
#0174911:
#0181543:
#0870871:
#1391070:
#0146003:
#1031096:
#1463606:
SAP software on Linux: Essential information
SAP support terms and 3rd-party Linux kernel drivers
Red Hat Enterprise Linux 5.x: Installation and upgrade
Red Hat Enterprise Linux 6.x: Installation and Upgrade
SUSE LINUX Enterprise Server 10: Installation Notes
SUSE LINUX Enterprise Server 11: Installation Notes
Oracle Linux 5.x SAP installation and upgrade
Oracle Linux 6.x SAP Installation and Upgrade
Linux: Interpreting the output of the command 'free'
Determining the hardware key (customer key)
License key for high availability environment
License key installation
Linux UUID solutions
Application servers cannot be started
Installing Package SAPHOSTAGENT
MaxDB as of 7.8: Directories in UNIX cluster for failover
vii
#1553301: EXT Kernel – Usage
Note:
Related documents and URL in this guide are subject to change without notice.
Terminology in this guide
Provides information of terminology used in this guide.
Terminology
This product
Description
EXPRESSCLUSTER X for Linux SAP NetWeaver
Connecter for SAP
EXPRESSCLUSTER X for Linux SAP NetWeaver
System Configuration Guide
EXPRESSCLUSTER X for Linux SAP NetWeaver
Configuration Example
The connecter which links with SAP included in this product.
SAP NW
SAP NetWeaver
ASCS
ABAP SAP Central Services Instance
ERS
Enqueue Replication Server
PAS
Primary Application Server
AAS
Additional Application Server
MaxDB
The database included in SAP NW
DA
Diagnostics Agent
Configuration Guide
Configuration Example
viii
Section I
•
•
•
Configuration example
Chapter 1 An example of setting environment on the SAP NW
Chapter 2 EXPRESSCLUSTER setting
Chapter 3 Bundled scripts
Section I
Configuration example
9
10
Chapter 1 An example of setting
environment on the SAP NW
Terminology used in this chapter.
Terminology
Description
SID
SAP System ID
DBSID
Database SAP System ID
DASID
Diagnostics Agent SAP System ID
INO
Instance Number
1.1. Mount Point
An example of setting mount points for each node to access the NFS server used in this
manualis listed below.
Mount Type
Node#1 / Node#2
NFS Server
/sapmnt
/opt/nfsroot/sapmnt
fstab(NFS)
/usr/sap/<SID>/SYS/sm
Symboliclink
pmnt/<SID>
/sapdb
/opt/nfsroot/sapdb
/usr/sap/<SID>/ASCS10 /opt/nfsroot/sapascs
fstab(NFS)
/usr/sap/<SID>/trans
/opt/nfsroot/saptrans
/usr/sap/<SID>/ASCS<I /opt/nfsroot/sapascs
NO>
EXPRESSCLUSTER
/opt/sapdb/sapdata
/opt/nfsroot/sapdata
(NAS resource)
/opt/sapdb/saplog
/opt/nfsroot/saplog
Node#1 (Active)
Node#2 (Standby)
ASCS
ASCS
ERS
ERS
PAS
AAS
DA
DA
MaxDB
MaxDB
saphostexec
saphostexec
NFS Server
ASCS
MaxDB
MaxDB
: Active-Standby configuration
: Single Server configuration
: mount
: umount
Section I
Configuration example
11
Chapter 1 An example of setting environment on the SAP NW
1.2. Floating IP
An example of setting host name and IP address used in this manual is listed below.
Floating IP is used when an outside system connects to an activated node.
Node#1
Node#2
NFS Server
sap1
sap2
NAS1
Host Name
172.16.30.135/24
172.16.30.136/24 172.16.30.140/24
Inter connect IP(eth0)
Inter connect IP(eth1)
10.0.0.1/24
10.0.0.2/24
10.0.0.3/24
(for shared disk)
managesv:172.16.30.137/24
ascssv:172.16.30.138/24
•
Floating IP(eth0)
maxdbsv:172.16.30.139/24
Floating IP for WebManager
172.16.30.137/24
Floating IP for ASCS
172.16.30.138/24
IP Address (eth0)
172.16.30.135/24
Floating IP for MaxDB
IP Address (eth0)
172.16.30.136/24
172.16.30.139/24
Node#1 (Standby)
Node#1 (Active)
IP Address (eth1)
10.0.0.1/24
IP Address (eth1)
10.0.0.2/24
IP Address (eth1)
10.0.0.3/24
NFS Server
IP Address (eth0)
172.16.30.140/24
12
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
1.3. An example of setting OS
An example of setting Redhat 6.x is listed below.
Status
Setting of SELinux Host Name
sap1
Disabled
sap2
Disabled
nas1
Disabled
# yum groupinstall <Group Name>
Installation and
#Group Name
setting of
base
indispensable
compat-libraries
software
debugging
directory-client
hardware-monitoring
large-systems
network-file-system-client
perl-runtime
storage-client-multipath
x11
# yum install uuidd.x86_64
# service uuidd start
# chkconfig uuidd on
java-1.4.2-ibm-sap-1.4.2.13.11.sap-1jpp.1.el6.x86_64.rpm
Java execution
java-1.4.2-ibm-sap-devel-1.4.2.13.11.sap-1jpp.1.el6.x86_64.rpm
environment
# vi /etc/hosts
Adding nodes to
10.0.0.3 nas1
/etc/hosts
172.16.30.135 sap1
172.16.30.136 sap2
172.16.30.137 managesv
172.16.30.138 ascssv
172.16.30.139 maxdbsv
# mkdir -p /sapmnt
Creating mount
# mkdir -p /sapmnt/<SID>
points
# mkdir -p /sapdb
# mkdir -p /usr/sap/<SID>/ASCS<INO>
# mkdir -p /usr/sap/<SID>/trans
# ln -s /sapmnt/<SID> /usr/sap/<SID>/SYS
# mkdir -p /opt/sapdb/saplog
# mkdir -p /opt/sapdb/sapdata
Setting for NFS to # vi /etc/fstab
nas1:/opt/nfsroot/sapmnt /sapmnt nfs defaults 0 0
be mounted at boot
nas1:/opt/nfsroot/sapdb /sapdb nfs defaults 0 0
time
nfs
nas1:/opt/nfsroot/sapascs
/usr/sap/<SID>/ASCS<INO>
defaults 0 0
nas1:/opt/nfsroot/saptrans /usr/sap/<SID>/trans nfs defaults
0 0
Setting of kernel
parameters
Setting of
limits.conf
Section I
# vi /etc/sysctl.conf
# SAP settings
kernel.msgmni=1024
kernel.sem=1250 256000 100 1024
vm.max_map_count=1000000
Enter the following to apply the setting.
# sysctl –p
# vi /etc/security/limits.conf
@sapsys
hard
nofile
@sapsys
soft
nofile
@dba
hard
nofile
@dba
soft
nofile
Configuration example
32800
32800
32800
32800
13
Chapter 1 An example of setting environment on the SAP NW
1.4. An example of setting the SAP NW
An example of setting “host name”, “instance name” and “instance number” of SAP NW used in this manual
is listed below.
Host Name
Floating IP Address
Note
managesv
172.16.30.137
For
EXPRESSCLUSTER
Management Group
ascssv
172.16.30.138
For ASCS
maxdbsv
172.16.30.139
For MaxDB
Instance
Parameter name
Value of the setting
SAP NW
SID
NEC
DBSID
DB1
Host name
maxdbsv
The instance number
10
The instance name
ASCS10
Host name
ascssv
The instance number
20
The instance name
ERS20
The instance number
21
The instance name
ERS21
The instance number
30
The instance name
DVEBMGS30
The instance number
40
The instance name
D40
The instance number
97
The instance name
SMDA97
The instance number
96
The instance name
SMDA96
MaxDB
ASCS
ERS1
ERS2
PAS
AAS
DA1
DA2
1.5. An example of setting cluster constructing with MaxDB
Preliminary setting is needed to install MaxDB by a cluster configuration.
For the setting of the stand-by node (Node#2) before installing SAP NW, see following documents.
SAP Note
#1463606: MaxDB as of 7.8: Directories in UNIX cluster for failover
#0146003: Application servers cannot be started
The following describes how to set cluster constructing with MaxDB for Redhat 6.x.
Note:
Hereafter, specify the host name or IP address for “Node#1” and “Node#2”.
14
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
1.5.1. Copy of the profile
Enter the following command in Node#1 and copy the profile to Node#2.
# cd /home; tar zc -ps * | ssh Node#2 'cd /home; tar zxv'
# cd /etc; scp passwd group shadow Node#2:/etc
1.5.2. Copy of the registory file
Enter the following command in Node#1 and copy the registory file of MaxDB to Node#2.
# scp /etc/opt/sdb Node#2:/etc/opt
1.5.3. Copy of the folder (/var/libsdb)
Enter the following command in Node#1 and copy /var/lib/sdb to Node#2.
# cd /var/lib
# tar zc -ps sdb | ssh Node#2 'cd /var/lib; tar zxv'
1.5.4. Copy of the run commond
Find commands of /usr/sap/sapservices file in Node#1 which take profile of "ASCS<INO>" as an argument and
run sapstartsrv. Copy them to Node#2.
A display example
LD_LIBRARY_PATH=/usr/sap/<SID>/ASCS<INO>/exe:$LD_LIBRARY_PATH;
export
LD_LIBRARY_PATH;
/usr/sap/<SID>/ASCS<INO>/exe/sapstartsrv
pf=/usr/sap/<SID>/SYS/profile/<SID>_ASCS<INO>_<hostname> -D -u <SID>adm
1.5.5. Add service name/port number
Add the following description to /etc/services in Node#2.
sql6
7210/tcp
Section I
Configuration example
15
Chapter 2 EXPRESSCLUSTER setting
Chapter 2 EXPRESSCLUSTER setting
2.1. An example of setting EXPRESSCLUSTER
An example of setting EXPRESSCLUSTER used in this manualis listed below.
The following table will be the setting for creating a cluster environment of SAP NW.
2.1.1. Configuration example for failover groups
Parameter name
Value of the setting
Cluster name
cluster
The number of servers
2
The number of failover groups
11
The number of monitor resources
21
Lankhb
2
Lanhb
2
Server name
sap1
Cluster configuration
Heartbeat
Node#1
(Server of master)
IP address of interconnect
(Kernel Mode、Priority1)
IP address of interconnect
(Kernel Mode、Priority2)
IP address of interconnect
(User Mode、Priority3)
IP address of interconnect
(User Mode、Priority4)
Server name
Node#2
1st group
(for WebManager)
1st group resource
2nd group
(for MaxDB)
16
IP address of interconnect
(Kernel Mode、Priority1)
IP address of interconnect
(Kernel Mode、Priority2)
IP address of interconnect
(User Mode、Priority3)
IP address of interconnect
(User Mode、Priority4)
172.16.30.135
10.0.0.1
172.16.30.135
10.0.0.1
sap2
172.16.30.136
10.0.0.2
172.16.30.136
10.0.0.2
Type
Failover
Group name
Management Group
Server group of run
Failover is possible on all servers
The number of group resources
1
Type
Floating ip resource
Group resource name
Management IP
IP address
172.16.30.137
Type
Failover
Group name
MaxDB-Group
Startup Server
Failover is possible on all servers
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Failover Exclusive Attribute
Off
Start Dependent group
----------
Stop Dependent group
ERS1-Group
PAS-Group
ERS2-Group
AAS-Group
ACSC-Group
Wait the Dependent Groups when a Cluster
Stops
Wait the Dependent Groups when a Server
Stops
1st group resource
Depth0
The number of group resources
4
Type
floating ip resource
Group resource name
fip-maxdbsv
Dependency
Follow the default dependency
IP address
172.16.30.139
Type
Nas resource
Group resource name
nas-sapdata
Dependency
Follow the default dependency
Retry Count 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
2nd group resource
Depth1
Retry Count at Deactivation 0
Recovery operation at Deactivation
failure detection
Stop the cluster service and shutdown OS
Server name
nas1
Shared name
/opt/nfsroot/sapdata
Mount point
/opt/sapdb/sapdata
File system
nfs
Mount Option
rw,nolock
Type
Nas resource
Group resource name
nas-saplog
Dependency
Follow the default dependency
Retry Count 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
3rd group resource
Depth1
Section I
Retry Count at Deactivation 0
Recovery operation at Deactivation
failure detection
Stop the cluster service and shutdown OS
Server name
nas1
Shared name
/opt/nfsroot/saplog
Mount point
/opt/sapdb/saplog
File system
nfs
Mount Option
rw,nolock
Configuration example
17
Chapter 2 EXPRESSCLUSTER setting
4th group resource
Depth2
Parameter name
Value of the setting
Type
Execute resource
Group resource name
exec-maxdb
Dependency
Follow the default dependency
Retry Count 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
3rd group
(for ASCS)
Retry Count at Deactivation 0
Recovery operation at Deactivation
failure detection
Stop the cluster service and shutdown OS
Type
Failover
Group name
ASCS-Group
Startup Server
Failover is possible on all servers
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
Failover Exclusive Attribute
Off
Start Dependent group
MaxDB-Group
Stop Dependent group
ERS1-Group
PAS-Group
ERS2-Group
AAS-Group
Wait the Dependent Groups when a Cluster
Stops
Wait the Dependent Groups when a Server
Stops
1st group resource
Depth 0
The number of group resources
4
Type
floating ip resource
Dependency
Follow the default dependency
Group resource name
fip-ascssv
IP address
172.16.30.138
Type
Nas resource
Group resource name
nas-ascs
Dependency
Follow the default dependency
Retry Count 0
Recovery operation at activation
failure detection
2nd group resource
Depth 1
18
Failover Threshold 1
No operation (not activate next resource)
Retry Count at Deactivation 0
Recovery operation at Deactivation
failure detection
Stop the cluster service and shutdown OS
Server name
nas1
Shared name
/opt/nfsroot/sapascs
Mount point
/usr/sap/NEC/ASCS10
File system
nfs
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Type
Execute resource
Group resource name
exec-ascs-SAP-instance_NEC_10
Dependent Resources
fip-ascssv
nas-ascs
Retry Count 0
3rd group resource
Depth 2
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-ascs-SAP-service_NEC_10
Dependent Resources
fip-ascssv
nas-ascs
Retry Count 0
4rd group resource
Depth 2
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
4th group
(for ERS1)
1st group resource
Depth 0
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Failover
Group name
ERS1-Group
Startup Server
Sap1
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Auto Failback
Failover Exclusive Attribute
Off
Start Dependent group
ASCS-Group
Stop Dependent group
----------
The number of group resources
2
Type
Execute resource
Group resource name
exec-ERS1-SAP-instance_NEC_20
Dependency
Follow the default dependency
Retry Count 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Section I
Configuration example
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
19
Chapter 2 EXPRESSCLUSTER setting
Parameter name
Value of the setting
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-ERS1-SAP-service_NEC_20
Dependency
Follow the default dependency
Retry Count 0
2nd group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
5th group
(for PAS)
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Failover
Group name
PAS-Group
Startup Server
sap1
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
Failover Exclusive Attribute
Off
Start Dependent group
ASCS-Group
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
----------
Wait the Dependent Groups when a Server
Stops
The number of group resources
2
Type
Execute resource
Group resource name
exec-PAS-SAP-instance_NEC_30
Dependency
Follow the default dependency
Retry Count 0
1st group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
2nd group resource
Depth 0
20
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-PAS-SAP-service_NEC_30
Dependency
Follow the default dependency
Recovery operation at activation
Retry Count 0
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
6th group
(for ERS2)
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Failover
Group name
ERS2-Group
Startup Server
Sap2
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Auto Failback
Failover Exclusive Attribute
Off
Start Dependent group
ASCS-Group
----------
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
Wait the Dependent Groups when a Server
Stops
The number of group resources
2
Type
Execute resource
Group resource name
exec-ERS2-SAP-instance_NEC_21
Dependency
Follow the default dependency
Retry Count 0
1st group resource
Depth 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-ERS2-SAP-service_NEC_21
Dependency
Follow the default dependency
Retry Count 0
2nd group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not Deactivate next resource)
Recovery operation at Deactivation
failure detection
Details
Section I
Failover Threshold 1
Configuration example
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Script created with this product
Start script / start.sh
Stop script / stop.sh
21
Chapter 2 EXPRESSCLUSTER setting
7th group
(for AAS)
Parameter name
Value of the setting
Type
Failover
Group name
AAS-Group
Startup Server
Sap2
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
Failover Exclusive Attribute
Off
Start Dependent group
ASCS-Group
----------
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
Wait the Dependent Groups when a Server
Stops
The number of group resources
2
Type
Execute resource
Group resource name
exec-AAS-SAP-instance_NEC_40
Dependency
Follow the default dependency
Retry Count 0
1st group resource
Depth 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-AAS-SAP-service_NEC_40
Dependency
Follow the default dependency
Retry Count 0
2nd group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
8th group
(for DA1)
22
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Failover
Group name
DA1-Group
Startup Server
Sap1
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Failover Exclusive Attribute
Off
Start Dependent group
----------
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
The number of group resources
2
Type
Execute resource
Group resource name
exec-DA1-instance_DAA_97
Dependency
Follow the default dependency
----------
Retry Count 0
1st group resource
Depth 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-DA1-service_DAA_97
Dependency
Follow the default dependency
Retry Count 0
2nd group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
9th group
(for DA2)
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Failover
Group name
DA2-Group
Startup Server
Sap2
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
Failover Exclusive Attribute
Off
Start Dependent group
----------
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
The number of group resources
2
Type
Execute resource
Group resource name
exec-DA2-instance_DAA_96
----------
1st group resource
Depth 0
Section I
Configuration example
23
Chapter 2 EXPRESSCLUSTER setting
Parameter name
Value of the setting
Dependency
Follow the default dependency
Retry Count 0
Recovery operation at activation
failure detection
Failover Threshold 1
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Execute resource
Group resource name
exec-DA2-service_DAA_96
Dependency
Follow the default dependency
Retry Count 0
2nd group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
10th group
(for hostexec1)
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Details
Script created with this product
Start script / start.sh
Stop script / stop.sh
Type
Failover
Group name
hostexec1-Group
Startup Server
Sap1
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
Failover Exclusive Attribute
Off
Start Dependent group
-------------------
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
The number of group resources
1
Type
Execute resource
Group resource name
exec-hostexec1
Dependency
Follow the default dependency
Retry Count 0
1st group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Details
24
Failover Threshold 1
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Script created with this product
Start script / start.sh
Stop script / stop.sh
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
11th group
(for hostexec2)
Parameter name
Value of the setting
Type
Failover
Group name
hostexec2-Group
Startup Server
Sap2
Startup Attribute
Auto Startup
Failover Attribute
Auto Failover
Use the startup server settings
Failback Attribute
Manual Failback
Failover Exclusive Attribute
Off
Start Dependent group
-------------------
Stop Dependent group
Wait the Dependent Groups when a Cluster
Stops
The number of group resources
1
Type
Execute resource
Group resource name
exec-hostexec2
Dependency
Follow the default dependency
Retry Count 0
1st group resource
Depth 0
Recovery operation at activation
failure detection
No operation (not activate next resource)
Recovery operation at Deactivation
failure detection
Details
Section I
Failover Threshold 1
Configuration example
Retry Count at Deactivation 0
Stop the cluster service and shutdown OS
Script created with this product
Start script / start.sh
Stop script / stop.sh
25
Chapter 2 EXPRESSCLUSTER setting
2.1.2. Example of the configuration of the Monitor Resources
Parameter name
Value of the setting
1st monitor resource
(create of default)
2nd monitor resource
3rd monitor resource
Type
user mode monitor
Monitor resource name
userw
Type
NIC Link Up/Down monitor
Monitor resource name
miiw-eth0
Monitor Target
Eth0
Monitor Timing
Always
Recovery Action
Executing failover to the recovery target
Recovery Target
ALL Groups
Type
NIC Link Up/Down monitor
Monitor resource name
miiw-eth1
Monitor Target
Eth1
Monitor Timing
Always
Recovery Action
Executing failover to the recovery target
Recovery Target
ALL Groups
Type
custom monitor
Monitor resource name
genw-MaxDB
Interval
30 sec
Timeout
120 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
0 sec
Active
exec-maxdb
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-MaxDB.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Executing failover to the recovery target
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
MaxDB-Group
Maximum Failover Count
1
Final Action
No operation
Monitor Timing
4th monitor resource
(for MaxDB-Group)
5th monitor resource
(for ASCS instance ENQ)
3
Type
custom monitor
Monitor resource name
genw-ASCS-instance-ENQ
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ascs-SAP-instance_NEC_10
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-ASCS-instance-ENQ.log
Monitor Timing
26
0
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-ascs-SAP-instance_NEC_10
0
Maximum Failover Count
1
Final Action
Stop the cluster service and shutdown OS
Type
custom monitor
Monitor resource name
genw-ASCS-instance-MSG
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ascs-SAP-instance_NEC_10
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-ASCS-instance-MSG.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-ascs-SAP-instance_NEC_10
3
Maximum Failover Count
1
Final Action
No operation
Monitor Timing
6th monitor resource
(for ASCS instance MSG)
Section I
Configuration example
0
Type
custom monitor
Monitor resource name
genw-ASCS-service
Interval
15 sec
Timeout
60 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ascs-SAP-service_NEC_10
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-ASCS-service.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
exec-ascs-SAP-service_NEC_10
Monitor Timing
7th monitor resource
(for ASCS service)
0
0
27
Chapter 2 EXPRESSCLUSTER setting
Parameter name
Value of the setting
Maximum Reactivation Count
3
Maximum Failover Count
1
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-ERS1-instance
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ERS1-SAP-instance_NEC_20
genw.sh
Monitor Type
Synchronous
Monitor Timing
8th monitor resource
(for ERS1 instance)
Log Output Path
/opt/nec/clusterpro/log/genw-ERS1-instance.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-ERS1-SAP-instance_NEC_20
10th monitor resource
(for ERS2 instance)
28
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-ERS1-service
Interval
15 sec
Timeout
60 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ERS1-SAP-service_NEC_20
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-ERS1-service.log
Rotate log
ON
Rotation Size
1000000 byte
Monitor Timing
9th monitor resource
(for ERS1 service)
0
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-ERS1-SAP-service_NEC_20
0
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-ERS2-instance
Interval
30 sec
Timeout
120 sec
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ERS2-SAP-instance_NEC_21
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-ERS2-instance.log
Monitor Timing
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-ERS2-SAP-instance_NEC_21
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-ERS2-service
Interval
15 sec
Timeout
60 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-ERS2-SAP-service_NEC_21
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-ERS2-service.log
Monitor Timing
11th monitor resource
(for ERS2 service)
12th monitor resource
(for PAS instance)
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-ERS2-SAP-service_NEC_21
3
Maximum Failover Count
0
Configuration example
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-PAS-instance
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-PAS-SAP-instance_NEC_30
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-PAS-instance.log
Monitor Timing
Section I
0
29
Chapter 2 EXPRESSCLUSTER setting
Parameter name
Value of the setting
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-PAS-SAP-instance_NEC_30
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-PAS-service
Interval
30 sec
Timeout
120 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
15 sec
Active
exec-PAS-SAP-service_NEC_30
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-PAS-service.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-PAS-SAP-service_NEC_30
3
Maximum Failover Count
0
Final Action
No operation
Monitor Timing
13th monitor resource
(for PAS service)
30
0
Type
custom monitor
Monitor resource name
genw-AAS-instance
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-AAS-SAP-instance_NEC_40
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-AAS-instance.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
exec-AAS-SAP-instance_NEC_30
Monitor Timing
14th monitor resource
(for AAS instance)
0
0
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Maximum Reactivation Count
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-AAS-service
Interval
15 sec
Timeout
60sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-AAS-SAP-service_NEC_40
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-AAS-service.log
Rotate log
ON
Rotation Size
1000000 byte
Monitor Timing
15th monitor resource
(for AAS service)
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-AAS-SAP-service_NEC_40
17th monitor resource
(for DA1 service)
Section I
Configuration example
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-DA1-instance
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-DA1-instance_DAA_97
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-DA1-instance.log
Rotate log
ON
Rotation Size
1000000 byte
Monitor Timing
16th monitor resource
(for DA1 instance)
0
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-DA1-instance_DAA_97
0
3
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-DA1-service
Interval
15 sec
Timeout
60 sec
31
Chapter 2 EXPRESSCLUSTER setting
Parameter name
Value of the setting
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-DA1-service_DAA_97
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-DA1-service.log
Monitor Timing
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-DA1-service_DAA_97
Maximum Failover Count
0
19th monitor resource
(for DA2 service)
Final Action
No operation
custom monitor
Monitor resource name
genw-DA2-instance
Interval
30 sec
Timeout
120 sec
Retry Count
2 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-DA2-instance_DAA_96
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-DA2-instance.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-DA2-instance_DAA_96
Maximum Failover Count
0
0
3
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-AAS-service
Interval
15 sec
Timeout
120 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-DA2-service_DAA_96
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-DA2-service.log
Monitor Timing
32
3
Type
Monitor Timing
18th monitor resource
(for DA2 instance)
0
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Parameter name
Value of the setting
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-DA2-service_DAA_96
Maximum Failover Count
0
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-hostexec1
Interval
30 sec
120 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-hostctl1
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-hostexec1.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
Maximum Reactivation Count
exec-hostexec1
3
Maximum Failover Count
1
Final Action
No operation
Type
custom monitor
Monitor resource name
genw-hostexec2
Interval
30 sec
Section I
Configuration example
0
Timeout
120 sec
Retry Count
1 time
Wait Time to start Monitoring
Script created with this product
30 sec
Active
exec-hostexec2
genw.sh
Monitor Type
Synchronous
Log Output Path
/opt/nec/clusterpro/log/genw-hostexec2.log
Rotate log
ON
Rotation Size
1000000 byte
Normal Return Value
0
Recovery Action
Custom settings
Recovery Target
Recovery Script Execution
Count
exec-hostexec2
Monitor Timing
21th monitor resource
(for hostexec2)
3
Timeout
Monitor Timing
20th monitor resource
(for hostexec1)
0
0
33
Chapter 2 EXPRESSCLUSTER setting
34
Parameter name
Value of the setting
Maximum Reactivation Count
3
Maximum Failover Count
0
Final Action
No operation
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
Chapter 3 Bundled scripts
Terminology used in this chapter.
Terminology
Description
SID
SAP System ID
DBSID
Database SAP System ID
DASID
Diagnostics Agent SAP System ID
INO
Instance Number
Default script for starting exec resource
start.sh
Default script for stopping exec resource
stop.sh
Default script for custom monitor
genw.sh
The bundled scripts in a media are stored in the following directory.
media/Linux/3.1/common/sample
3.1. Exec resource
Set the following bundled scripts in a media as exec resources.
Bundled scripts are listed below.
File name
Use
hostexec_start.sh
For starting Saphostexec
hostexec_stop.sh
For stopping Saphostexec
instance_start.sh
For starting instance
instance_stop.sh
For stopping instance
service_start.sh
For starting service
service_stop.sh
For stopping service
maxdb_start.sh
For starting MaxDB
maxdb_stop.sh
For stopping MaxDB
Modify SAP user (SAPUSER), SAP System ID (SID), Database SAP System ID (DBSID), Diagnostics Agent
SAP System ID (DASID) and Instance Number (INO) written in the bundled scripts according to the values
setting in installation of SAP NW.
About the file name of instance profile, a profile for each instance is created in /usr/sap/<SID>/SYS/profile in
Node#1 and Node#2 with installation of SAP NW.
The default naming convention is <SID>_<Instance Name>_<Host Name>.
An example of profile path of each instance is listed below.
Instance
Profile path
/usr/sap/<SID>/SYS/profile/<SID>_<Instance
Example
Name>_<Host Name>
/usr/sap/NEC/SYS/profile/NEC_ASCS10_ascssv
ASCS
/usr/sap/NEC/SYS/profile/NEC_ERS20_sap1
ERS1
/usr/sap/NEC/SYS/profile/NEC_ERS21_sap2
ERS2
/usr/sap/NEC/SYS/profile/NEC_DVEBMGS30_sap1
PAS
/usr/sap/NEC/SYS/profile/NEC_D40_sap2
AAS
/usr/sap/DAA/SYS/profile/DAA_SMDA97_sap1
DA1
/usr/sap/NEC/SYS/profile/DAA_SMDA96_sap2
DA2
Section I
Configuration example
35
Chapter 3 Bundled scripts
3.1.1. Usage of the script
The construction of the table is as follows.
Failover group name
Exec resource name
Description
ASCS-Group
exec-ascs-SAP-instance_NEC_10
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively.
Modify <instance_name> to the “file name of SAP profile” of ASCS.
Example in this manual
NEC_ASCS10_ascssv
exec-ascs-SAP-service_NEC_10
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of ASCS.
Example in this manual
NEC_ASCS10_ascssv
Modify <CLUSTER_instance_resource_name> to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-ascs-SAP-instance_NEC_10
ERS1-Group
exec-ERS1-SAP-instance_NEC_20
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively and
Modify <instance_name> to the “file name of SAP profile” of ERS1.
Example in this manual
NEC_ERS20_sap1
exec-ERS1-SAP-service_NEC_20
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of ERS1.
Example in this manual
NEC_ERS20_sap1
Modify < CLUSTER_instance_resource_name > to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-ERS1-SAP-instance_NEC_20
ERS2-Group
exec-ERS2-SAP-instance_NEC_20
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of ERS2.
Example in this manual
36
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
NEC_ERS21_sap2
exec-ERS2-SAP-service_NEC_20
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of ERS2.
Example in this manual
NEC_ERS21_sap2
Modify < CLUSTER_instance_resource_name > to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-ERS2-SAP-instance_NEC_20
PAS-Group
exec-PAS-SAP-instance_NEC_30
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of PAS.
Example in this manual
NEC_DVEBMGS30_sap1
exec-PAS-SAP-service_NEC_30
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of PAS.
Example in this manual
NEC_DVEBMGS30_sap1
Modify < CLUSTER_instance_resource_name > to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-PAS-SAP-instance_NEC_30
AAS-Group
exec-AAS-SAP-instance_NEC_40
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of AAS.
Example in this manual
NEC_D40_sap2
exec-AAS-SAP-service_NEC_40
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of AAS.
Example in this manual
NEC_D40_sap2
Modify < CLUSTER_instance_resource_name > to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-AAS-SAP-instance_NEC_40
Section I
Configuration example
37
Chapter 3 Bundled scripts
MaxDB-Group
exec-maxdb
Copy the contents of “maxdb_start.sh” and “maxdb_stop.sh” to start.sh and stop.sh respectively.
Modify <DBSID> to the value setting in 5.3 in the supplied “Configuration Guide” document.
Example in this manual
NEC
DA1-Group
exec-DA1-instance_NEC_97
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of DA1.
Example in this manual
DAA_SMDA97_sap1
exec-DA1-service_NEC_97
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to “fine name of SAP profile” of DA1.
Example in this manual
DAA_SMDA97_sap1
Modify < CLUSTER_instance_resource_name > to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-DA1-instance_DAA_97
DA2-Group
exec-DA2-instance_NEC_96
Copy the contents of “instance_start.sh” and “instance_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of DA1.
Example in this manual
DAA_SMDA96_sap2
exec-DA2-service_NEC_96
Copy the contents of “service_start.sh” and “service_stop.sh” to start.sh and stop.sh respectively.
Modify <instance name> to the “fine name of SAP profile” of DA1.
Example in this manual
DAA_SMDA96_sap2
Modify < CLUSTER_instance_resource_name > to the exec resource name setting in 6.1.2 in the
supplied “Configuration Guide” document.
Example in this manual
exec-DA2-instance_DAA_96
hostexec1-Group
exec-hostexec1
Copy the contents of “hostexec_start.sh” and “hostexec_stop.sh” to start.sh and stop.sh respectively.
Use the default path of SAP NW for SAPHOSTEXEC and PROFILE.
hostexec2-Group
exec-hostexec2
Setting like the above exec-hostexec1.
38
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example
3.2. Custom monitor
Set the following bundled scripts in a media as custom monitor resources.
Bundled scripts are listed below.
File name
Use
ascs_enq_genw.sh
For monitoring ASCS enqueue
server
ascs_msg_genw.sh
For monitoring ASCS message
server
instance_genw.sh
For monitoring instance
service_genw.sh
For monitoring instance service
maxdb_genw.sh
For monitoring MaxDB
hostexec_genw.sh
For monitoring Saphostexec
In the same way as 3.1, modify SAPUSER, SID (SAP System ID), DBSID (Database SAP System ID),
DASID (Diagnostics agent SAP System ID) and INO (Instance Number) written in the bundled scripts
according to the values setting in installation of SAP NW.
3.2.1. Usage of the scripts
The construction of the table is as follows.
Custom monitor name
Description
An example of setting: modifying part is the <>.
genw-ASCS-instance-ENQ
Copy the contents of “ascs_enq_genw.sh” to genw.sh.
Modify <instance name> to the “fine name of SAP profile” of ASCS.
Example in this manual
NEC_ASCS10_ascssv
genw-ASCS-instance-MSG
Copy the contents of “ascs_msg_genw.sh” to genw.sh.
Modify <instance name> to the “fine name of SAP profile” of ASCS.
Example in this manual
NEC_ASCS10_ascssv
genw-ERS1-instance
genw-ERS2-instance
genw-PAS-instance
genw-AAS-instance
genw-DA1-instance
genw-DA2-instance
Copy the contents of “instance_genw.sh” to genw.sh.
Modify <instance name> to the “fine name of SAP profile” which corresponds to each instance.
Example in this manual
NEC_ERS20_sap1
NEC_ERS21_sap2
NEC_DVEBMGS30_sap1
NEC_D40_sap2
DAA_SMDA97_sap1
DAA_SMDA96_sap2
Section I
Configuration example
39
Chapter 3 Bundled scripts
genw-ASCS-service
genw-ERS1-service
genw-ERS2-service
genw-PAS-service
genw-AAS-service
genw-DA1-service
genw-DA2-service
Copy the contents of “instance_genw.sh” to genw.sh.
Modify <instance name> to the “fine name of SAP profile” which corresponds to each instance.
Example in this manual
NEC_ASCS10_ascssv
NEC_ERS20_sap1
NEC_ERS21_sap2
NEC_DVEBMGS30_sap1
NEC_D40_sap2
DAA_SMDA97_sap1
DAA_SMDA96_sap2
genw-MaxDB
Copy the contents of “maxdb_genw.sh”. to genw.sh.
Modify <DBSID> to the value setting in 5.3 in the supplied “Configuration Guide” document.
Example in this manual
NEC
genw-hostexec1
genw-hostexec2
Copy the contents of “hostexec_genw.sh” to genw.sh and modify the following part.
For SAPHOSTEXEC, use the default path of SAP NW.
40
EXPRESSCLUSTER X for Linux SAP NetWeaver Configuration Example