Professional Documents
Culture Documents
HADR Installation in A Nutshell - Part II
HADR Installation in A Nutshell - Part II
Part II
Joachim Pfefferle
October 2015
Internal
General Information
This document describes how to install a disaster recovery solution in two
data centers with an SAP system in each data center.
This setup can only be used if a disaster recovery solution is desired, that is,
the SAP system in the primary data center should not connect to the ASE
database that is running in the standby data center after a failover has been
initiated.
Therefore, a seamless failover where the SAP application would automatically
reconnect to the failover database is not possible and the following
environment parameter cannot be set as described in SAP Note 1891560:
dbs_syb_ha = 1
dbs_syb_server = <primary hostname>:<standby hostname>
dbs_syb_port =<primary_port>:<standby_port>
Public
General Information
Steps for a planned failover:
Shut down the SAP system in the primary data center.
Initiate a database failover using saphostctrl or the DR_agent.
Start up the SAP system in the standby data center.
Steps for an unplanned failover (ASE crashed in the primary data center and
cannot be restarted):
Shut down the SAP System in the primary data center.
Initiate an unplanned database failover using saphostctrl or DR_agent.
Start up the SAP system in the standby data center.
Public
Public
Public
Host 1
Host 2
/sybase
ASE1
/<SID>
/ASE16_0
/sapdata
_n
/sapmnt
/<SID>
/sybase
/<SID>
/<SID>_REP
/REP15_5
/RMA15_5
/SCC3_2
RS1
DR Agent
Host 3
SAP-PAS
/ASE16_0
/sapdata_
n
Global
ASE2
/<SID>_REP
/REP15_5
/RMA15_5
/SCC-3_2
Must be up during
normal operation
RS2
DR Agent
Host 4
SAP-PAS
/sapmnt
/<SID>
/sapmnt
/<SID>
/exe
Standby
/sapmnt
/<SID>
Active
profile
/exe
Global
Public
profile
Host 4
SAP Netweaver 7.4 Support Release 2 -> SAP ASE -> SAP Systems -> Application Server ABAP
-> Distributed System -> ASCS Instance
UID for user <sid>adm and sapadm must be the same as on the primary system.
Public
UID for user <sid>adm, sapadm and syb<sid> must be the same as on the primary system.
Database devices must have the same size as on the primary database, otherwise materialization will fail
Provide the virtual host name if using virtual names. The database ports can be the same as on the primary
database
Public
After the installation has finished, stop the SAP system on host 4.
This SAP system should only be started after a database failover from the primary site to the
standby site.
Check with DR_admin command sap_status path that the standby site has the status
Primary:Active
Public
Public
10
Provide the virtual host name if using virtual names when asked for:
Public
11
Public
12
2.
Provide amount of memory and CPUs the SRS should be configured with.
Public
13
Public
14
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE
(or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional
trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.