cancel
Showing results for 
Search instead for 
Did you mean: 

Sybase Replication server Sp135 uninatallation

0 Kudos


Hi ,

We are facing issue in SRS and I have uninstalled using sapinst. I have tried to install the SRS again on primary host but we are facing issue while installation saying database is already in HADR mode.

sapinst.log

select 'SAP', srvstatus, srvname, srvnetname, srvclass from sysservers where srvclass=16 or srvclass=17
  srvstatus srvname srvnetname srvclass
---------------------------------------
SAP 8 REP_group REP_REP1DR 17
SAP 2 REP_REP1DR ARGSREP01:4901 16
SAP 2 REP_REP2DR ARGSREP02:4901 16
3 rows affected
quit

ERROR 2015-08-12 14:17:26.715 (ARGAS\bp_tech_basis) id=ind-rel.ind-os.ind-db.assertionFailed errno=CJS-00030
Assertion failed: Unable to configure a replication environment because the database is already running in HADR mode. Refer to trace file sapinst_dev.log for further information.

ERROR 2015-08-12 14:17:26.715 (ARGAS\bp_tech_basis) id=modlib.jslib.caughtException errno=MUT-03025
Caught ESAPinstException in module call: Assertion failed: Unable to configure a replication environment because the database is already running in HADR mode. Refer to trace file sapinst_dev.log for further information..

Please let us know what cleanup we need to do on primary DB level.

--Srikanth.

0 Kudos

Hi Mark,

Thanks for the update!

I have installed/configured SRS on SAP application , I have done uninstallation of SRS with sapinst tool. Uninstallation was successful but still I could start fresh installation because of the above issue.

--Srikanth.

0 Kudos

 

In HADR user guide, it states

sap_teardown automatically:

 

1. Demotes the source Adaptive Server, if the source host (the machine on which Adaptive

 

sp_hadr_admin 'standby'

 

2. Drops all servers from the HADR server list on both Adaptive Servers:

 

sp_hadr_admin dropserver

 

3. Drops the HADR group from both servers:

 

sp_hadr_admin dropgroup

 

4. Disables HADR on both servers:

 

sp_configure ‘HADR mode’, -1

 

5. Disables CIS RPC Handling:

 

sp_configure ‘cis rpc handing’, 0

Manually executes the steps to see if they can clear the leftover.

Binh Liu

Accepted Solutions (0)

Answers (0)