Professional Documents
Culture Documents
Guided Steps To Setup Disaster Recovery (DR) Site For SAP ASE (Sybase) Database Running With SAP Business Suite Applications - SAP Blogs
Guided Steps To Setup Disaster Recovery (DR) Site For SAP ASE (Sybase) Database Running With SAP Business Suite Applications - SAP Blogs
Guided Steps To Setup Disaster Recovery (DR) Site For SAP ASE (Sybase) Database Running With SAP Business Suite Applications - SAP Blogs
Community
Follow
Ask a Question
Write
Like a Blog Post Login
RSS Feed
Technical Articles
Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE
(Sybase) Database running with SAP Business Suite Applications
28 20 8,725
This blog post/Article is for all level of SAP Basis System Administrators who wants to setup simple Disaster Site (DR) solution (Active-Passive) for their SAP
Systems running with SAP ASE 16.0 (Sybase) Database with guided steps.
This blog post will focus on “How to Setup/Implement”, “How to reconfigure”, “How to Uninstall” DR Site based on SAP ASE (Sybase) Database.
The process described here will setup simple DR site for clustered SAP ASE 16.0 (Sybase) database on Windows 2012 OS platform with/without Fail-over
Cluster.
Contents:
1. Process / Setup Overview
2. Preparation & Prerequisites
3. Installation Steps
4. Post-Installation Steps
5. Other Tasks
Note: In the above image, the SAP ASE 16.0 Database, RMA Agent, SRS are part of the Microsoft Windows OS Fail-over Cluster in Final Setup.
Let’s try to understand who will be the major payers and how they will play their role in the whole setup. This is very important part because execution with
proper understanding is called good quality of genuine SAP Consultant.
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 1/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Replication Management Agent (RMA) (also called replication agent): A database (depending on the source database)-specific agent that supports data and
transaction replication from a source database to a replication server.
Follow
Sybase Replication Server Process (SRS): The server receives replicated data and transactions from the source database via the replication agent and
controls its transition to the target database.
Like
Target Database (also called companion/standby/DR site’s database): A database that is the target of data and transactions that are modified in the source
database.
RSS Feed
MS Failover Cluster Manager (optional): This will be required to provide High Availability to the installed Sybase Replication Components like RMA, SRS
Preparation / Prerequisites :
System Environment used on Primary Site and DR site:
Prepare hosts.allow file at location %SYBROOT% location (e.g. D:\sybase\POM) with following input format on both Sybase Database Servers to
enable smooth communication of Sybase Backup Server with remote Sybase Database.<local sybase backup server> <remote sybase backup server>
The password of users sapsa, sa at Sybase Database level and users syb<sid> at OS level should be known and user account sapsa, syb<sid> should
be accessible
Installation Steps :
Step-1: Install Data Movement Component
Location: Database Host of Primary and DR Site
As mentioned in official guide, prepare setup response file and Install Data Movement Component without silent installation along with SAP ASE Cockpit
feature. The input USER_INSTALL_DIR is very important in this small step.
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 2/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Follow
Like
RSS Feed
If SAP ASE Cockpit component is already got installed on database host before then you can ignore its installation. In other case, do not forget to complete
the installation with configuration part of SAP ASE cockpit. Refer SAP Note 2272320 for complete installation information and configuration of SAP ASE
Cockpit, but you can do it at the end with great free time
One can create Batch script with following commands to Install DR Agent Service (RMA) manually on Host-1. Provide correct SID of Database.
set SID=POM
set SYBASE_OLD=%SYBASE%
call %SYBASE%\DM\SYBASE.bat
set SCC_PLATFORM_BITWIDTH=64
call %SYBASE_OLD%\SYBASE.bat
Copy this batch script file to Host-2, Failover Cluster to Host-2 and Install DR Agent Service (RMA), same as above. This step is necessary if you want to
include RMA agent service in Failover Cluster.
Step-3: Apply SAP Note 2754218 ( if it is required) and Restart RAM Service
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 3/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Location: Database Host of Primary and DR Site
Like This action step is very important step; otherwise, setuphadr script will end
go
Steps-4: Prepare Response file (setup_hadr.rs) for setuphadr script & Execute setuphadr script
Location: Database Host of Primary and DR Site
Prepare Response file (rs) for setuphadr script as per the guided response file templates of official guide. Be careful with respect to the inputs of
Primary and Companion Server.
Very Important Parameters to change before execution of setuphadr script for Primary Site database:
setup_site=PRIM
is_secondary_site_setup=false
Run setuphadr script with above generated Response file on Companion/Standby/DR site with following changed parameter:
setup_site=COMP
is_secondary_site_setup=true
backup_server_dump_directory= any big disk space where the database backup can be exported>
The execution output should be without error. If there is error, repeat the execution of setuphadr script till you get the clean result.
The following execution output is with AUTO Database Materialization option in which the Database backup will be executed automatically on Primary
Database Host and it will be copied and restored automatically on DR Site as per the internal steps of setuphadr script.
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 4/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Follow
Like
RSS Feed
Check sap_status path. The output should be like the following. If the output is not as the following information, then re-execute the setuphadr script
first on Primary Database Host and then on companion/DR site database host as mentioned above. The opened port communication plays important
role in having valid result in ‘sap_status path’
Post-Installation Steps:
Steps-5: Post Installation Steps:Location: Database Host of Primary and DR Site
Installation User: <domain>\syb<sid> , <domain>\<sid>adm
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 5/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
On Host-1 Restart Replication Server as a Service on Windows
Follow
Like
RSS Feed
Export Registry Key of Replication Server from Host-1 and Import to Host-2
Registry key to export: HKEY_LOCAL_MACHINE -> SOFTWARE -> SYBASE -> <SID>_REP_<SiteName>
Failover Cluster to another Host-2 – > Create & Restart Replication Server as a Service on Windows on Host-2 -> Check sap_status path
Lock sa user
go
Add the DR_admin Entry to SecureStore under <sid>adm user
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 6/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Follow
Include DR Agent Service (RMA), Replication Server Service in Failover Cluster like the following reference screen. Test FailOver/Failback in Failover
Cluster Manager.
Like
RSS Feed
Check sap_status path , Test HADR Configuration , Save the Response file, scripts for future use
Setup & Access SAP ASE Cockpit and Monitor Primary & DR Site databases
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 7/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
2. Execute command sap_teardown under <domain>/syb<sid> OS level user
Like
RSS Feed
3. check sap_status path and check that it should not return anything in configuration. If you see the configuration settings, then re-execute the
command sap_teardown same as above
Conclusion
Generally, the people will find the relevant technical setup guide or sap notes for the same topic but it does not give more confidence to the administrator
when it is question of setup the complete DR site for SAP ASE (Sybase) database.
The intention of publishing this article/post/blog was to share technical knowledge to setup simple DR site for SAP Systems running SAP ASE (Sybase)
Database with possible high level overview steps to give more confidence to the Technical System Administrators (SAP Basis Consultants).
Reference:
SAP HADR Users Guide:
https://help.sap.com/viewer/efe56ad3cad0467d837c8ff1ac6ba75c/16.0.3.7/en-US/6833f9798a9848c0b2b25e270ef1992e.html
SAP Note 2272320 – How to install SAP ASE Cockpit on Windows Platform – SAP ASE
Alert Moderator
Assigned tags
SAP ASE - HADR Enablement | SAP Replication Server | Reconfigure DR Site for SAP ASE (sybase) Database | Setup DR Site for SAP ASE (Sybase) Database |
Related Questions
Recommended bandwidth requirement for log replication for SYBASE ASE Sybase ASE DR Setup
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 8/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
By
Former Member Mar 19, 2018 By
Rohit K Dec 19, 2018
Follow
ASE HADR setup minimum system resource requirement on fault manager host
By
Rong-Ping Chu Sep 11, 2019
Like
RSS Feed
28 Comments
Varenyam Trivedi
December 4, 2019 at 6:53 am
Really appreciate for your amazing article. Thank you for this sharing valuable information.
Like 1 | Share
Thanks.
Like 0 | Share
Jasani Hardik
December 4, 2019 at 7:13 am
Like 1 | Share
Thanks a lot.
Like 0 | Share
Gaurav Patel
December 4, 2019 at 7:37 am
Like 1 | Share
Thanks a lot.
Like 0 | Share
Parth Raval
December 4, 2019 at 11:12 am
Like 1 | Share
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-appli… 9/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Bhavik Kumar G. Shroff | Blog Post Author
December 7, 2019 at 6:43 am
Follow
Thanks a lot.
Like 0 | Share
Like
RSS Feed
Wispmac Shah
December 4, 2019 at 12:03 pm
Good effort. Well documented steps. Can be very useful to anyone who wants a DR on their ASE setup!
Like 1 | Share
Vijay CHHABRA
December 5, 2019 at 8:19 am
Congratulations Bhavik. Great Initiative for the SAP BASIS Community. Very well detail each step for DR, fortunately , our team is actually setting up DR for one customer.
Like 1 | Share
Thank you. I hope your team will get benefited through this article.
Like 0 | Share
Biren Parikh
December 5, 2019 at 11:42 am
Thanks a lot.
Like 1 | Share
Thanks a lot.
Like 0 | Share
Glareh Majid
December 6, 2019 at 4:14 pm
Very useful article to me. Please accept my sincere thanks for sharing this valuable solution.
Like 1 | Share
Thanks a lot.
Like 0 | Share
Sumit Patel
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-ap… 10/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
December 8, 2019 at 4:38 am
Follow
Thnka for sharing very useful information.
Dear Sumit,
Like 0 | Share
Abhijeet Siras
February 19, 2020 at 6:18 am
Hello Bhavik,
Its nice article , can you have the same for other operating system like AIX, HP unix.
Regards,
Abhijit Siras
Like 1 | Share
Dear Abhijeet,
You will find the relevant commands for unix platforms in relevant HADR User guide available at here. Please choose sybase release and version carefully.
For Multiple DR sites, one can use new features of "External Replication", as per sap note 2410733 - Always-On (HADR) support for 1-to-many replication - SAP ASE
Like 0 | Share
Deepak Pant
April 8, 2020 at 5:08 pm
Hello Bhavik
Can we use replication scenario to upgrade Production Sybase and OS. OS is suse linux 11 sp3 and want to go on suse linux 12 sp4 and also sybase is 16.0.0.0.0.1. I can''t find which SRS
to use for the same and guide for the same. If you could pls help me
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-app… 11/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Best regards
Hetal Follow
Like 1 | Share
Like
Bhavik Kumar G. Shroff | Blog Post Author
April 22, 2020 at 8:30 am
DearRSS
Hetal,
Feed
Replication scenario what you are expecting in term of HADR is only available from Sybase release SAP ASE 16.0.02.04 which support SRS 15.7.1.304 on Linux SLES platform.
Please refer this URL and sap note1891560 - SYB: Disaster Recovery Setup with SAP Replication Server.
In your situation, a well planned TESTING on TEST server landscape is required with expert consulting of SAP Basis consultant. I have done it for some customers.
Best Regards,
Bhavik G. Shroff
Like 0 | Share
AMIT Lal
June 17, 2020 at 2:36 pm
Like 1 | Share
Hi Amit,
HA (High Availability) at OS level or at Application level is important requirement to provide business continuity in less time in some business vertical for production systems. So
this technical article covers both aspects.
Best Regards,
Bhavik G. Shroff
Like 0 | Share
sandipkumar sharma
February 3, 2021 at 4:59 am
Like 1 | Share
Thank you.
Like 0 | Share
Bhargav Bhatt
March 7, 2021 at 5:34 am
Like 1 | Share
Thank you.
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-ap… 12/13
9/9/21 23:57 Guided steps to Setup Disaster Recovery (DR) Site for SAP ASE (Sybase) Database running with SAP Business Suite Applications | S…
Like 0 | Share
Follow
Like
BrijeshKumar Kathiriya
July 31, 2021 at 12:38 am
RSS
Thanks Bhavik forFeed
preparing such a nice document.
Like 0 | Share
Find us on
Newsletter Support
https://blogs.sap.com/2019/12/03/guided-steps-to-setup-disaster-recovery-dr-site-for-sap-ase-sybase-database-running-with-sap-business-suite-ap… 13/13