Contents
Managing Serviceguard Extension for SAP Version B.05.00
Page
Table of Contents
SAP Supply Chain Management
SGeSAP Cluster Administration 137
SAP Master Data Management MDM 111
List of Figures
Page
List of Tables
Page
About this Manual
Printing History
INSTNR, INR
Related Documentation
General Concepts of SGeSAP
Designing SGeSAP Cluster Scenarios
Mutual Failover Scenarios Using the Two Package Concept
Mutual Failover Scenarios Using the Two Package Concept
Robust Failover Using the One Package Concept
Follow-and-Push Clusters with Replicated Enqueue
Applications/sap/enqor/SID ersINSTNR
Replicated Enqueue Clustering for Abap and Java Instances
Dedicated NFS Packages
Handling of Redundant Dialog Instances
Dedicated Failover Host
Replicated Enqueue Clustering for Abap and Java Instances
SAP Instance Storage Considerations
Planning the Storage Layout
Common Directories that are Kept Local
Option 1 SGeSAP NFS Cluster
Directories that Reside on Shared Disks
Option 2 SGeSAP NFS Idle Standby Cluster
System and Environment Specific Volume Groups
Option 3 SGeSAP CFS Cluster
Directories that Reside on CFS
Database Instance Storage Considerations
Oracle Single Instance Rdbms
$ORACLEHOME/common/nls/admin/data
File System Layout for NFS-based Oracle Clusters
Oracle Real Application Clusters
Maxdb Storage Considerations
Globals IndepData=/sapdb/data IndepPrograms=/sapdb/programs
Sapnfs
Planning the Storage Layout
Pgname = pkgtypeINSTNRSID
Step-by-Step Cluster Conversion
Step-by-Step Cluster Conversion
SAP Preparation
SAP Pre-Installation Considerations
SAP Netweaver High Availability
Cmmakepkg -m sgesap/db -m sgesap/ci
Cmmakepkg -m sgesap/sapinstance -m ... /sap.config
Cmmakepkg -m sgesap/db Cmmakepkg -m sgesap/ci
Cmmakepkg -m sgesap/scs Cmmakepkg -m sgesap/ers
Page
Replicated Enqueue Conversion
SAPINSTMASTERDVD/IMXOS/SAPINST/UNIX/OS
Splitting an Abap Central Instance
Volume group needs to be created for the Ascs instance
Create a new mountpoint
Su sidadm Mkdir /usr/sap/SID/ASCSINSTNR
Sapsystemname =SID
If the used SAP kernel has a release older than
SAPSYSTEM=INSTNR2
Instancename =ASCSINSTNR
SAPLOCALHOST=DRELOC
Creation of Replication Instance
Volume group needs to be created for the ERS instance
Su sidadm Mkdir /usr/sap/SID/ERSINSTNR
Sapstartsrv Sapcontrol Servicehttp
Mkdir -p exe/servicehttp/sapmc
PF = $DIRPROFILE/SIDERSINSTNRAREPRELOC
Scsid = INR
HP-UX Configuration
Cluster Filesystem Configuration
Directory Structure Configuration
Ls -d /usr/sap/???/*INSTNR
Installation Step IS049
Mkdir /usr/sap/SID.new
Non-CFS Directory Structure Conversion
Maxdb Database Step SD040
Filename localcopy checkexist
Installation Step IS050
Cluster Node Synchronization
Open the password file, /etc/passwd, on the primary side
Open the groupfile, /etc/group, on the primary side
Copy the sidadm home directory to the backup nodes
Look at the service file, /etc/services, on the primary side
STARTPROFILE=STARTDVEBMGSINRsecondary
STARTPROFILE=STARTDVEBMGSINRprimary
Su orasid Mkdir -p /oracle/SID Exit
Su sqddbsid Mkdir -p /sapdb/DBSID
Mkdir /dev/vgdbSIDmknod /dev/vgdbSID/group c 64
Cluster Node Configuration
Mkdir -p /usr/sap/tmp
Ssh-keygen -t dsa
Swlist grep ssh
Iddsa Iddsa.pub
Ssh hostN date Ssh -l sidadm hostN date
Configure /etc/nsswitch.conf to avoid problems
External Application Server Host Configuration
Hosts filesNOTFOUND=continue UNAVAIL=continue TRYAGAIN=ns
Set -u
DB=ORACLE
Modular Package Configuration
DBRELOC=0.0.0.0
Sapsystem C11
Modular Package Configuration
Step-by-Step Cluster Conversion
Example entries for the package configuration file
Sapextinstance DVEBMGS10 Sapextsystem QAS
Sbin/init.d/sapinit referenced by /sbin/rc3.d/S###sapinit
Cmapplyconf -P ./sap.config
Serviceguard Configuration
Legacy Package Configuration
Created configuration files need to be edited
Mkdir -p /etc/cmcluster/SID
Servicefailfastenabled YES Servicehalttimeout
Servicename ciC11ms
Servicename ciC11disp
Touch /etc/cmcluster/SID/debug
Applications/sap/enqor/SIDersinstnr
Resourcename /applications/sap/enqor/C11ascs
ENQORSCSPKGNAMEC11=foobar ENQORREPPKGNAMEC11=foorep
Specification of the Packaged SAP Components
SGeSAP Configuration
Distribute the package setup to all failover nodes
NFSRELOC=0.0.0.0
AREPNAME=ERS AREPNR=01 AREPRELOC=0.0.0.0
CINAME=DVEBMGS CINR=00
DNAME0=D
DNAME1=D
JCINAME=SCS JCINR=01
Configuration of Application Server Handling
JCIRELOC=0.0.0.0
REPNAME=ERS REPNR=00
Page
Restart Stop Start
$STARTWITHPKG, $STOPWITHPKG, $RESTARTDURINGFAILOVER
ASPSTART=1
ASTREAT0=$RESTARTDURINGFAILOVER ASPLATFORM0=SG-PACKAGE
WAITOWNAS=1
WAITOWNAS=2
Optional Parameters and Customizable Functions
WAITOWNAS=0
RFCADAPTERSTART=1
SAPROUTERSTART0=1 SAPROUTERPORT0=-S3299
RFCADAPTERCMD=runadapter.sh
SAPCCMSRSTART=1
Global Defaults
SAPSTARTSRVSTART=1 SAPSTARTSRVSTOP=1
Legacy Package Configuration
EXEDIR= /usr/sap/SID/SYS/exe/runU
HA NFS Toolkit Configuration
JMSSERVBASE=3600
Packagename sapnfs
HANFSSCRIPTEXTENSION=pkgtype
Auto FS Configuration
Export/sapmnt/SID Export/usr/sap/trans
Sapmnt/SID Usr/sap/trans
AUTOMOUNTDOPTIONS= -L AUTOFS=1
AUTOMASTER=/etc/automaster AUTOMOUNTOPTIONS=-f $AUTOMASTER
AUTOMASTER=/etc/automaster AUTOOPTIONS=-f $AUTOMASTER
NFSCLIENT=1 NFSSERVER=1 NUMNFSD=4 NUMNFSIOD=4
Database Configuration
Perform the following step as sidadm
Additional Steps for Oracle
Perform the following steps as orasid
Lsnrctl start LISTENERSID1/2
If you use more than one SAP system inside of your cluster
Additional steps for Oracle 9i Rdbms
Additional Steps for Maxdb
Additional steps for Oracle 10g Rdbms
SAP Application Server Configuration
Cdpro
SAP Abap Engine specific configuration steps
Rdisp/enqname = relocciSIDinstnr
Sapmnt/SID/profile/SIDINSTNAMEINR
SID/dbhost = relocdb
Saplocalhostsidinstnr
Batch jobs can be scheduled to run on a particular instance
Rdisp/starticman=TRUE
SAP J2EE Engine specific installation steps
Icm/hostnamefull=relocatibleip
Jdbc/pool/SID/Url jdbcoraclethin@relocdb1527SID
Admin/host/SID relocdb
Page
SAP Supply Chain Management
More About Hot Standby
Option 1 Simple Clusters with Separated Packages
Planning the Volume Manager Setup
Option 3 Full Flexibility
Option 2 Non-MAXDB Environments
Option 4 Hot Standby liveCache
Maxdb Storage Considerations
LiveCache Installation Step LC010
Synchronize the /etc/group and /etc/passwd files
HP-UX Setup for Options 1, 2
Copy file /etc/opt/sdb to the second cluster node
Do the following to continue
Mkdir /sapdb
Mkdir -p /sapdb/data Mkdir /sapdb/LCSID
If you use DNS
HP-UX Setup for Option
Hosts filesNOTFOUND=continue UNAVAIL=continue \ TRYAGAIN=ns
HORCCMRCF=1 HORCMINST=0
Cmmakepkg -m sgesap/livecache lcLCSID.config
SGeSAP Modular Package Configuration
Packagename lcLCSID
SGeSAP Modular Package Configuration
Create standard package control and configuration files
SGeSAP Legacy Package Configuration
Cp /opt/cmcluster/sap/*.functions /etc/cmcluster
Packagetype Failover
LCPRIMARYROLE=primarynode LCSECONDARYROLE=secondarynode
Cold Admin Warm Online
LCCOPYMECHANISM=BUSINESSCOPY
Livecache Service Monitoring
AVOIDWWIDCHECK=1
LCSTANDBYRESTART=1
APO Setup Changes
Mv .XUSER.62 .XUSER.62.ORG Default key
Su lcsidadm Dbmcli -ux SAPLCSID,password -ul
# dbmcli on hostname Lcsid quit
For option
General Serviceguard Setup Changes
Sapdb/programsrelocsapnfss/export/sapdb/programs
Last step is to reconfigure the cluster with cmapplyconf1m
Master Data Management User Interface Components
Master Data Management Overview
SAP Netweaver XI components
MDM Server Components
Prerequisites
Installation and Configuration Considerations
MDM SGeSAP File System Layout
Oracle/MDM
Single MDM Serviceguard Package ONE
Single or Multiple MDM Serviceguard Package Configurations
Multiple MDM Serviceguard packages FOUR+ONE
Opt/MDM
Mkdir -p /oracle/MDM
Run ioscan and insf to probe/install new disk devices
Mkdir -p /export/home/mdmuser Mkdir -p /home/mdmuser
Mkdir -p /opt/MDM
Installation and Configuration Considerations
Haltscripttimeout Notimeout
Runscripttimeout Notimeout
Nodename
Runscript /etc/cmcluster/MDMNFS/mdmNFS.control.script
Scp -p /etc/auto.direct clunode2/etc/auto.direct
Scp -rp /etc/cmcluster/MDMNFS clunode2/etc/cmcluster/MDMNFS
Sbin/init.d/nfs.client stop Sbin/init.d/nfs.client start
Haltscript /etc/cmcluster/MDM/mgroupMDM.control.script
Runscript /etc/cmcluster/MDM/mgroupMDM.control.script
Runscript /etc/cmcluster/MDM/mdbMDM.control.script
Runscript /etc/cmcluster/MDM/mdsMDM.control.script
Haltscript /etc/cmcluster/MDM/mdbMDM.control.script
Haltscript /etc/cmcluster/MDM/mdsMDM.control.script
Haltscript /etc/cmcluster/MDM/mdisMDM.control.script
Runscript /etc/cmcluster/MDM/mdisMDM.control.script
Runscript /etc/cmcluster/MDM/mdssMDM.control.script
Haltscript /etc/cmcluster/MDM/mdssMDM.control.script
Haltscript /etc/cmcluster/MDM/masterMDM.control.script
Runscript /etc/cmcluster/MDM/masterMDM.control.script
Ssh -X clunode1 -l oramdm
KITS/ora9208/Disk1/runInstller Specify File Locations
Sidmdm
Setup Step MDM218
SAP Master Data Management MDM
MDM = Description = Addresslist =
Listener = Descriptionlist = Description = Addresslist =
Connectdata = Server = Dedicated Servicename = MDM
Sidlistlistener = Sidlist = Siddesc = Globaldbname = MDM
Installation and Configuration Considerations
Create a /home/mdmuser/mdss directory
Global
SAP Master Data Management MDM
MDMLISTENERNAME=LISTENER
Single Serviceguard package configure sap.config
MDMUSER=mdmuser
MDMMDSRELOC=172.16.11.96
MDMPASSWORD= MDMREPOSITORYSPEC=
MDMMONITORINTERVAL=60
MDMMGROUPDEPEND=mdb mds mdis mdss
Vi /etc/cmcluster/MDM/mdsMDM.config Servicename mdsMDMmon
Servicefailfastenabled no Servicehalttimeout
Cmapplyconf -P /etc/cmcluster/MDM/mdsMDM.config
Cmrunpkg mgroupMDM Cmhaltpkg mgroupMDM
Cmrunpkg masterMDM Cmhaltpkg masterMDM
System Level Changes
Change Management
SGeSAP Cluster Administration
SAP Software Changes
Mixed Clusters
Upgrading SAP Software
Swlist -l bundle T2357BA T2803BA
Swlist -l bundle B7885BA T2803BA
Cd /sapmnt/SID Mkdir exeipf
Cd /sapmnt/SID Mv exe exepa
Cd /sapmnt/SID Ln -s /sapmnt/SIDexelocal exe
Cd /sapmnt Ln -s /sapmnt/SID/exepa /sapmnt/SIDexelocal