You also need to perform several specialized tasks to install SAP Replication Server as a data service.
Each SAP Replication Server must have its own directory with the server name in the path. Copy the listed script files from the SAP Replication Server installation directory $SYBASE/$SYBASE_REP/sample/ha t o/opt/SUNWcluster/ha/repserver_name on both cluster nodes, where repserver_name is the name of your SAP Replication Server:
If the scripts already exist on the local machine as part of another Replication Server data service, you can create the following as a link to the script directory instead:
/opt/SUNWcluster/ha/repserver_name
This file should contain only two lines in the following form with no blank space, and should be readable only by root:
repserver:logicalHost:RunFile:releaseDir:SYBASE_OCS:SYBASE_REP
probeCycle:probeTimeout:restartDelay:login/password
where:
repserver – the SAP Replication Server name.
logicalHost – the logical host on which SAP Replication Server runs.
RunFile – the complete path of the runfile.
releaseDir – the $SYBASE installation directory.
SYBASE_OCS – the $SYBASE subdirectory where the connectivity library is located.
SYBASE_REP – the $SYBASE subdirectory where the SAP Replication Server is located.
probeCycle – the number of seconds between the start of two probes by the fault monitor.
probeTimeout – time, in seconds, after which a running SAP Replication Server probe is aborted by the fault monitor, and a timeout condition is set.
restartDelay – minimum time, in seconds, between two SAP Replication Server restarts. If, in less than restartDelay seconds after a SAP Replication Server restart, the fault monitor again detects a condition that requires a restart, it triggers a switch over to the other host instead. This resolves situations where a database restart does not solve the problem.
login/password – the login/password the fault monitor uses to ping SAP Replication Server.
kill -2 monitor_process_id
This file lists the UNIX login names of the SAP Replication Server administrators. The login names should be all in one line, separated by one space.
If the fault monitor encounters any problems that need intervention, this is the list to which it sends mail.
hareg -r repserver_name \
-b "/opt/SUNWcluster/ha/repserver_name" \
-m START_NET="/opt/SUNWcluster/ha/repserver_name/ repserver_start_net" \
-t START_NET=60 \
-m STOP_NET="/opt/SUNWcluster/ha/repserver_name/ repserver_stop_net" \
-t STOP_NET=60 \
-m FM_START="/opt/SUNWcluster/ha/repserver_name/ repserver_fm_start" \
-t FM_START=60 \
-m FM_STOP="/opt/SUNWcluster/ha/repserver_name/repserver_fm_stop" \
-t FM_STOP=60 \
[-d sybase] -h logical_host
where -d sybase is required if the RSSD is under HA on the same cluster, and repserver_name is the name of your SAP Replication Server and must be in the path of the scripts.
Enter: hareg -y repserver_name