You are on page 1of 4

Failover

Step-1: Adding the Service in COGPRD: srvctl add service -d cogprd -s cogprdha1 -r "cogprd1,cogprd2" -m basic -P basic -e select -z 180 -w 5 -j LONG -B SERVICE_TIME Starting the Service: srvctl start service d cogprd s cogprdha1 Checking the Configuration: srvctl config service d cogprd s cogprdha1

Step-2 Add the service name to service_name parameter

Step-3: Connect the service name from external machine. And check the instance name.

Step-4: Check the Failover Status at the Server level.

Step-5: Trigger the query.

Step-6: Stop one instance.

Step-7: Check the Failover and instance status.

Load Balancing:
Step-1: Session count :

Step-2: Script to create the session.

Step-3: Trigger the Script test.sh to generation mutiple session. Step-4: Now the session are load balanced accross the nodes.

You might also like