Sybdb2 Setup Hadr - Rs
Sybdb2 Setup Hadr - Rs
#################
# Setup HADR sample responses file
#
# This sample responses file setup ASE HADR on
# hosts "host1" (primary) and "host2" (companion).
#
# Prerequisite :
# - New SAP ASE and Backup servers setup and started on
"host1" and "host2".
# See HADR User Guide for requirements on SAP ASE servers.
# - Replication Management Agent (RMA) started on "host1" and
"host2".
#
# Usage :
# 1. On host1 (primary), run:
# $SYBASE/$SYBASE_ASE\bin\setuphadr
<this_responses_file>
#
# 2. Change this responses file properties:
# setup_site=COMP
# is_secondary_site_setup=true
#
# 3. On host2 (companion), run
# $SYBASE/$SYBASE_ASE\bin\setuphadr
<responses_file_from_step_2>
#
##############################################################
#################
# Set installation_mode
#
# Valid values: true, false
#
# If set to true, installation_mode will be set to "BS".
# If set to false, installation_mode will be set to "nonBS"
# Note: Set value to true for HADR on SAP Business Suite
installations
setup_bs=true
1
# Note: Set enable_ssl to false for HADR on SAP Business Suite
Installations
#
# true OR false
enable_ssl=false
# common name, take SYBASE for example
#ssl_common_name=SYBASE
# private key file
#ssl_private_key_file=/tmp\hadr.key
# public key file
#ssl_public_key_file=/tmp\hadr.crt
# root CA cert
# NOTE: if you're using self-signed cert, put your public key
file here
#ssl_ca_cert_file=/tmp\rootCA.pem
# ssl password
#ssl_password=Sybase
# cluster ID database
participating_database_1=PR1
materialize_participating_database_1=true
##############################################################
#################
# Site "PRIM" on host host1 with primary role
##############################################################
#################
# Site name
#
# Enter value that identifies this site,
# like a geographical location.
# Value must be unique.
PRIM.site_name=Site1
3
# Site role
#
# Enter the role of this site.
# Valid values: primary, companion
PRIM.site_role=primary
PRIM.ase_server_name=PR1
PRIM.ase_server_port=4901
PRIM.backup_server_name=PR1_BS
PRIM.backup_server_port=4902
##############################################################
#################
# Site "COMP" on host host2 with companion role
##############################################################
#################
# Site name
#
# Enter value that identifies this site,
# like a geographical location.
# Value must be unique.
COMP.site_name=Site2
# Site role
#
# Enter the role of this site.
# Valid values: primary, companion
COMP.site_role=companion
COMP.ase_server_name=PR1
COMP.ase_server_port=4901
COMP.backup_server_name=PR1_BS
COMP.backup_server_port=4902
5
# Directory to store database dumps
# in materialzation
#
# Backup server must able to access this directory
COMP.backup_server_dump_directory=M:\\sybase\\PR1\\data