On the primary machine, first activate the database and then issue the start hadr command to start it as the primary database (Listing 8).
在主要计算机上,首先激活数据库,然后发出starthadr命令将其作为主要数据库启动(清单8)。
On the standby machine, first deactivate the database and then issue the start hadr command to start it as the standby database (Listing 7).
在备用计算机上,首先禁用数据库,然后发出starthadr命令,将其作为备用数据库启动(清单7)。
Requirements for HADR environments.
HADR环境的需求。
HADR log write synchronization mode.
HADR日志写入同步模式。
HADR instance name of remote server.
远程服务器的HADR实例名称。
The overhead of running HADR is very small.
运行HADR的开销非常小。
Step 6: Update the HADR configuration parameters.
步骤6:更新HADR配置参数。
Later, it is decided to switch the database to HADR-enabled DB2.
后来,决定将数据库切换到启用HADR的DB2。
The failover operation for HADR can be automated using HA software.
HADR的故障转移操作可以通过HA软件实现自动化。
The primary and standby database name for the HADR setup is jsbmain.
这个HADR设置的主数据库名和备用数据库名是jsbmain。
In these circumstances, there is little to no impact of running HADR.
在这些环境中,运行HADR时受到的影响很小。
Configure the HADR variables for each database on the primary machine.
为主要计算机上的每个数据库配置HADR变量。
HADR provides for synchronous replication of all logged DB2 operations.
HADR提供所有被日志记录的DB 2操作的同步复制。
A DB2 HADR scenario consists of two DB2 systems, a primary and a standby.
一个DB 2HADR场景由两个DB 2系统组成,一个是主系统,一个是备用系统。
DB2 HADR also increases availability by allowing you to perform rolling upgrades.
DB 2HADR还允许执行滚动升级,从而增加了可用性。
You could also mingle automatic client reroute technique with the HADR databases.
您还可以混合使用自动客户端重新路由技术与HADR数据库。
Figure 5 illustrates the HADR processes synchronizing a primary and standby system.
图5演示了同步主系统和备用系统的HADR过程。
Now, since you are done with the entire HADR setup, verify whether it is really working.
现在,已经完成了HADR设置,就应该检查它是否能够正常工作。
Detailed below are the steps to successfully configure DB2 HADR on a TSA cluster domain.
下面详细描述在tsa集群域中成功配置DB 2HADR的步骤。
For example, the HADR feature in DB2 V8.2 allows you to select three levels of data protection.
比如,V8.2中的HADR功能允许您选择三种级别的数据保护。
Issue the following commands on the standby server for a DB2 HADR takeover to occur (Listing 9).
向备用服务器发出以下命令,以便发生DB 2HADR接管(清单9)。
If any of these parameters are empty or misconfigured, DB2 HADR servers will not start properly.
如果这些参数中任何一个参数为空或者配置不正确,DB 2HADR服务器都不会正常启动。
Connect to the primary database and start HADR on the primary server with the start HADR command.
连接主数据库,执行STARTHADR命令在主服务器上启动HADR。
For example, a DB2 HADR (High Availability Disaster Recovery) cluster can be set up in the cloud.
例如,可以在云中建立一个DB 2HADR(高可用性灾难恢复)集群。
If the primary and standby databases are not identical when HADR is started, an error will occur.
在启动HADR时,如果主和备用数据库不相同,就会发生错误。
Setup and administration of HADR is very simple and DB2 provides a wizard to help with these tasks.
HADR的设置和管理非常简单,DB 2提供向导帮助完成这些任务。
Support has also been added for Highly Available (ha) databases, including DB2 HADR and Oracle rac.
还添加了对高可用性(HA)数据库(包括DB 2HADR和Oracle rac)的支持。
The last step of the setup procedure is to test the failover capability of HADR. Follow these steps.
设置过程的最后一步是测试HADR的故障恢复功能。
High Availability Disaster Recovery (for example, HADR log delay; this category is new to DB2 V8.2).
高可用灾难恢复(如hadr日志延迟;这一类别是DB 2“Stinger”中新增的)。
SQL30081N A communication error has been detected when starting HADR on the primary or standby machine.
SQL30081N在主要计算机或备用计算机上启动HADR时检测到通信错误。
应用推荐