BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Administration   |   Topic List   |   Previous   |   Next   |   Contents

   Administering a BEA Tuxedo Application at Run Time

How to Switch the Master and Backup Machines

When a MASTER machine must be shut down for maintenance, or is no longer accessible due to an unanticipated problem (such as a partitioned network), then you must transfer the work of the MASTER to a configured BACKUP machine.

Note: Before you can migrate the MASTER, both the MASTER and BACKUP machines must be running the same release of the BEA Tuxedo system software.

This type of switching is done by migrating the DBBL from the MASTER to the BACKUP. To migrate the DBBL, enter the following command.

tmadmin master

In most cases, you need to migrate application servers to alternate sites, or restore the MASTER machine. For more detail about the tmadmin command, see the tmadmin(1) reference page in BEA Tuxedo File Formats and Data Descriptions Reference.

Examples of Switching MASTER and BACKUP Machines

The following two sample tmadmin sessions show how to switch MASTER and BACKUP machines regardless of whether the MASTER machine is accessible from the BACKUP machine. In the first example, the MASTER machine is accessible, so the DBBL process is migrated from the MASTER to the BACKUP.

Switching MASTER and BACKUP When MASTER Is Accessible from BACKUP


$ tmadmin
tmadmin - Copyright © 1987-1990 AT&T; 1991-1993 USL. All rights reserved.
> master
are you sure? [y,n] y
Migrating active DBBL from SITE1 to SITE2, please wait...
DBBL has been migrated from SITE1 to SITE2
> q


In the second example, because the MASTER machine is not accessible from the BACKUP machine, the DBBL process is created on the BACKUP machine.

Switching MASTER and BACKUP When MASTER Is Not Accessible from BACKUP


$ tmadmin
tmadmin - Copyright © 1987-1990 AT&T; 1991-1993 USL. All rights reserved.
TMADMIN_CATT:199: Cannot become administrator. Limited set of commands available.
> master
are you sure? [y,n] y
Creating new DBBL on SITE2, please wait... New DBBL created on SITE2
> q