Running sp_companion with do_advisory  Configuring for asymmetric configuration

Chapter 10: Configuring Linux Adaptive Server for Failover on Veritas 2.1

Verifying the HA agent

Because Adaptive Server can support different cluster software, sp_companion includes the show_cluster option to query the HA agent currently running and the set_cluster option to set the HA agent.

If you are running the Veritas Cluster Server subsystem, you must specify this with sp_companion. Adaptive Server assumes it is running the Sun Cluster software on the Solaris platform, unless you specify otherwise. Set the agent to VCS-HAase for VCS versions 2.1.

The syntax is:

sp_companion companion_server_name, [show_cluster]
sp_companion companion_server_name, [set_cluster ["VCS-HAase"]]

In the following example, Adaptive Server is using the default HA agent for Sun Cluster 2.2:

sp_companion MONEY1, show_cluster
The default cluster is: SC-2.2
The current cluster is set to default.
Supported cluster systems for SunOS:
SC-2.2
VCS-Sybase
SC-3.0
VCS-HAase

To change the Adaptive Server to use the HAase agent for the Veritas Cluster:

sp_companion MONEY1, set_cluster, "VCS-HAase"

The current cluster is set to VCS-HAase

The Adaptive Server now uses the HAase agent for the VCS subsystem.

NoteDo not change to another HA agent type when Adaptive Server is configured for normal companion mode on your VCS system.





Copyright © 2004. Sybase Inc. All rights reserved. Configuring for asymmetric configuration

View this book as PDF