cancel
Showing results for 
Search instead for 
Did you mean: 

Adding custom SQL command to RUNHA_server.sh

ashref_punnoli33
Discoverer
0 Kudos

We have completed a working ASE_HA setup as Symmetric Active/Active.

ASE1N1 <-> ASE1N2

The failover/failback has been tested,

Once ASE1N1 failover to ASE1N2, immediately after the DBCC Takeover, we need to issue a commmand inside RUNHA_<SERVER> script using haisql to startup a listener.

The command is supposed to be something similar to below:

haisql -U<> -S<> -P<> <<!

sp_listener "start", "vip1:port1"
go
!

let us know, how we can embed such commands to bring up the second listener such that the legacy application can continue to connect seamlessly even after the failover.

this is needed as the application is legacy and cannot be made HA aware.

Awaiting your reply,

Accepted Solutions (0)

Answers (0)