博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle11gR2DataGuardSetupusingOracleGridControl
阅读量:6948 次
发布时间:2019-06-27

本文共 3997 字,大约阅读时间需要 13 分钟。

hot3.png

Oracle Database 11g Release 2 Data Guard Setup using Oracle Grid Control

This article describes the creation of a standby database using Oracle Database 11g Release 2 and the Oracle Grid Control. The article assumes the following servers are present.

  • Grid Control (10.2.0.5). An example installation can be found .
  • A primary database server, with Oracle Database 11g Release 2 software installed and an existing database present. An example installation can be found .
  • A standby database server with a software-only installation of Oracle Database 11g Release 2. Setup and installation is the same as the previous server, with the exception of the software-only installation.
  • Both database servers should have a Grid Control agent installed. An example installation can be found .

With this setup in place, the standby database is created and managed from Oracle Grid Control as follows.

Related articles.

Standby Database Creation

Navigate to the "Availability" tab of the primary database server (Targets > Databases > (Primary Database Name) > Availability). Click on the "Add Standby Database" link under the "Data Guard" section of the page.

Availability

On the resulting page, click on the "Add Standby Database" link.

Data Guard

Accept the "Create a new physical standby database" option by clicking the "Continue" button.

Add Standby Database

Accept the "Perform an online backup of the primary database" and "Use Recovery Manager (RMAN) to copy the files" options by clicking the "Next" button.

Backup Type

Enter the "Primary Host Credentials", if they have not already been defaulted as a preferred credentials, then click the "Next" button.

Backup Options

Enter the name of the standby host and its host credentials, then click the "Next" button.

Database Location

Select the "Keep file names and locations the same as primary database" option, then click the "Next" button.

File Locations

Enter a "Database Unique Name" and "Target Name" and select the "Use SYSDBA monitoring credentials" option, then click the "Next" button. Notice the "Use Data Guard Broker" option is checked.

Configuration

If you are happy with the information on the review page, then click the "Finish" button.

Review

Wait while the first section of processing completes.

Processing

Once the basic processing is complete, you are presented with the Data Guard "Setup and Manage" screen. Towards the bottom of the screen is a list of available standby databases, with the new standby database listed. The status of the new database is "Creation in process". Clicking on this status link gives a breakdown of the current processing.

Creation In Progress

Expand the "Task: DBClone" node for a more detailed status of the operation.

Job Activity

The image below shows an example of the expanded progress.

Job Activity Expanded

When the standby database creation is complete, the "Setup and Manage" screen will display a status of "Normal" for the standby database.

Creation Complete

The "Availability" tab now includes several new links in the "Data Guard" section.

Data Guard

Switchover

To perform a switchover, navigate to the "Setup and Manage" screen, select the standby server you wish to become the new primary server, then click the "Switchover" button.

Switchover

Accept the "Swap Monitoring Settings" and "Transfer Jobs" options by clicking the "OK" button.

Switchover Confirmation

Wait while the switchover processing takes place.

Processing

Once complete, the "Setup and Manage" screen shows the primary and standby roles have been reversed.

Switchover Complete

Performance

The "Data Guard" section of the "Availability" tab includes a "Performance" link. Click on this link to monitor the performance of the standby database.

Data Guard

If the database load is too low to stress the standby server, a built in test application can be run to stress test it. The test application is started by clicking the "Start" button under the "Test Application" section.

Performance

Clicking on the graphs drills down into additional information. When you have finished monitoring the standby performance click the "Stop" button to stop the test application.

Performance Run

Once the test application is stopped, the performance information gathered is still available.

Performance Stop

For more information see:

转载于:https://my.oschina.net/rootliu/blog/1944659

你可能感兴趣的文章
获取局域网里一个MAC地址对于的IP地址
查看>>
让phpmailer支持中文名称的附件和邮件标题中文乱码(转)
查看>>
JavaScript强化教程——JavaScript Math(算数) 对象
查看>>
CentOS7部署Kubernetes集群
查看>>
struts2中使用DMI(动态调用方法)方式配置action
查看>>
使用hyperpacer实现AWR报告的同步收集
查看>>
关于os.popen你可能不知道的
查看>>
redhat5.3恢复***
查看>>
linux 下mysql的乱码问题
查看>>
门面模式/Facade
查看>>
webService客户端参数为DataHandler类型时候的参数组装
查看>>
遗传算法入门--连载3
查看>>
【安全牛学习笔记】信息收集--DNS
查看>>
Linux 第11天: (08月17日) 练习和作业
查看>>
Install Latest Versions NodeJS NPM on ubuntu
查看>>
Linux常用命令——crontab
查看>>
Discuz! X2 下 URL 静态化的实现方法
查看>>
mongodb删除重复数据
查看>>
项目中常用的第三方框架总结
查看>>
希尔排序
查看>>