Setting Up a Hot Standby System (No Shared Resources) 
In this hot standby solution, master database and standby database share no system resources. Log entries are written simultaneously to the log area of the master database and the log area of the standby database.
For this hot standby solution, you do not need a special storage system.
Note that you can only set up one standby database. Since the log entries are transported to the standby database over a normal network connection, this solution is not suitable for very large databases with lots of data changes
You have set up a cluster consisting of the two database computers on which the master database and the standby database will be located.
For more information on the prerequisites for setting up a hot standby system, see Database Administration, Hot Standby System (No Shared Resources).
Create the database that will later become the master database. You can also use an existing SAP MaxDB database.
Caution
When creating the volumes of the master database, use relative paths.
Recommendation
Set the parameter EnableMultipleServerTaskUKT to YES (see Database Administration, Support Database Parameters). This may significantly speed up the redo operations in the standby database in the hot standby system.
For more information about creating databases, see Creating Databases.
In the master database, you have defined a backup template for a complete data backup (see Defining Backup Templates).
Note
You cannot use backup templates of the type PIPE.
In the context menu of the database that will become the master database, choose .
To enable the hot standby system:
Enter the virtual server name of your cluster.
As type of hot standby system, choose No Shared Log Area.
To create the standby database, enter the following data:
Property |
Description |
|---|---|
Computer Name |
Name of the computer on which the standby database is to be created |
Database Name |
Name of the standby database
Use the same name for master and standby database. End of the recommendation. |
Login Name |
Name of the operating system user for accessing the standby database computer |
Password |
Password of the operating system user for accessing the standby database computer |
Use this login for the database service of the standby database |
Only for network shares on Microsoft Windows Depending on your system setup, select this option so that all users have the correct permissions. |
Installation |
Database software installation
The database software versions of the installations for the master database and the standby database must be identical. End of the caution. |
To start the standby database:
Choose Start Standby Database.
Enter a free network port. This port will be used for copying the redo log entries from the master to the standby database.
Select the backup template that you have created in the master database.
To finish the setup of the hot standby system, choose Activate.
The hot standby system is activated and added to the explorer tree as Hot Standby System node with the master database and standby database as sub-nodes.
Caution
To execute commands in the hot standby system, from now on always use the commands that are available in the context menu of the Hot Standby System node in the explorer tree.
Recommendation
To make it easier to see which database currently has which role in the hot standby system, choose and select Hot Standby. This adds labels to the icons in the explorer tree.
To stop the standby database, choose in the context menu of the Hot Standby System node in the explorer tree.
Note that stopping the standby database interrupts the log shipping.
To start the standby database, choose in the context menu of the Hot Standby System node in the explorer tree, enter a network port and choose a backup template for the initial data copy. Then choose Start.
Note that starting the standby database will take some time because a new initial data backup will be restored in the standby database.
The hot standby system always consists of one master database and one standby database.
If you want to substitute the current standby database by a new one, you first have to delete the current standby database by choosing in the context menu of the Hot Standby System node in the explorer tree.
The hot standby system always consists of one master database and one standby database. If you have removed the former standby database, you can add a new standby database as follows:
In the context menu of the Hot Standby System node in the explorer tree, choose and proceed as described in the section Configuring a Hot Standby System.
After removing the standby database, you can remove all hot standby properties from the master database by choosing in the context menu of the Hot Standby System node in the explorer tree.
Setting Up Hot Standby Systems: Overview
Database Administration, Hot Standby System (No Shared Resources)
Database Manager CLI, Setting Up a Hot Standby System (No Shared Resources)