Creating an asymmetric companion configuration  Starting the primary companion as a monitored resource

Chapter 9: Configuring Adaptive Server for Failover on HP Tru64 TruCluster Server 5.x

Configuring for symmetric configuration

After you configure the companions for asymmetric fail over, you can set them up for symmetric configuration. In a symmetric configuration, both servers act as primary and secondary companions. See Figure 3-2 for a description of symmetric configuration.

Issue sp_companion from the secondary companion to configure it for symmetric configuration. You can use the same syntax as the asymmetric setup, except you cannot add with_proxydb.

The following example adds an Adaptive Server named MONEY1 as the secondary companion to the Adaptive Server named PERSONNEL1. Log in to the primary server MONEY1, and enter:

sp_companion 'PERSONNEL1', configure,
go

Log in to the secondary server PERSONNEL1, and enter:

sp_companion “MONEY1”, configure
go
Server 'MONEY1' is alive and cluster configured.
Step: Access verified from Server:'MONEY1' to Server:'PERSONNEL1'
Server 'PERSONNEL1' is alive and cluster configured.
Step: Access verified from Server:'PERSONNEL1' to Server:'MONEY1'
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
(1 row affected)
.....
Step: Companion servers configuration check succeeded
Step: Server handshake succeeded
Step: Master device accessible from companion
Step: Added the servers 'MONEY1' and 'PERSONNEL1' for cluster config
Step: Server configuration initialization succeeded
Step: Synchronizing server logins from companion server
Step: Synchronizing remoteserver from companion server
Step: Synchronizing roles from companion server
Step: Synchronizing server-wide privs from companion server
Step: User information syncup succeeded
Step: Server configured in normal companion mode




Copyright © 2005. Sybase Inc. All rights reserved. Starting the primary companion as a monitored resource

View this book as PDF