Oracle11gR2DataGuardSetupusingOracleGridControl

Wesley13
• 阅读 709

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 here.
  • A primary database server, with Oracle Database 11g Release 2 software installed and an existing database present. An example installation can be found here.
  • 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 here.

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

Wait while the first section of processing completes.

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

The image below shows an example of the expanded progress.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

Wait while the switchover processing takes place.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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.

Oracle11gR2DataGuardSetupusingOracleGridControl

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

Oracle11gR2DataGuardSetupusingOracleGridControl

For more information see:

点赞
收藏
评论区
推荐文章
blmius blmius
3年前
MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1
文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s
皕杰报表之UUID
​在我们用皕杰报表工具设计填报报表时,如何在新增行里自动增加id呢?能新增整数排序id吗?目前可以在新增行里自动增加id,但只能用uuid函数增加UUID编码,不能新增整数排序id。uuid函数说明:获取一个UUID,可以在填报表中用来创建数据ID语法:uuid()或uuid(sep)参数说明:sep布尔值,生成的uuid中是否包含分隔符'',缺省为
待兔 待兔
4个月前
手写Java HashMap源码
HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22
Jacquelyn38 Jacquelyn38
3年前
2020年前端实用代码段,为你的工作保驾护航
有空的时候,自己总结了几个代码段,在开发中也经常使用,谢谢。1、使用解构获取json数据let jsonData  id: 1,status: "OK",data: 'a', 'b';let  id, status, data: number   jsonData;console.log(id, status, number )
Wesley13 Wesley13
3年前
mysql设置时区
mysql设置时区mysql\_query("SETtime\_zone'8:00'")ordie('时区设置失败,请联系管理员!');中国在东8区所以加8方法二:selectcount(user\_id)asdevice,CONVERT\_TZ(FROM\_UNIXTIME(reg\_time),'08:00','0
Stella981 Stella981
3年前
DOIS 2019 DevOps国际峰会北京站来袭~
DevOps国际峰会是国内唯一的国际性DevOps技术峰会,由OSCAR 联盟指导、DevOps时代社区与高效运维社区联合主办,共邀全球80余名顶级专家畅谈DevOps体系与方法、过程与实践、工具与技术。会议召开时间:2019070508:00至2019070618:00结束会议召开地点:北京主办单位:DevOps
Wesley13 Wesley13
3年前
00:Java简单了解
浅谈Java之概述Java是SUN(StanfordUniversityNetwork),斯坦福大学网络公司)1995年推出的一门高级编程语言。Java是一种面向Internet的编程语言。随着Java技术在web方面的不断成熟,已经成为Web应用程序的首选开发语言。Java是简单易学,完全面向对象,安全可靠,与平台无关的编程语言。
Stella981 Stella981
3年前
Android蓝牙连接汽车OBD设备
//设备连接public class BluetoothConnect implements Runnable {    private static final UUID CONNECT_UUID  UUID.fromString("0000110100001000800000805F9B34FB");
Stella981 Stella981
3年前
Django中Admin中的一些参数配置
设置在列表中显示的字段,id为django模型默认的主键list_display('id','name','sex','profession','email','qq','phone','status','create_time')设置在列表可编辑字段list_editable
Wesley13 Wesley13
3年前
MySQL部分从库上面因为大量的临时表tmp_table造成慢查询
背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_
Python进阶者 Python进阶者
10个月前
Excel中这日期老是出来00:00:00,怎么用Pandas把这个去除
大家好,我是皮皮。一、前言前几天在Python白银交流群【上海新年人】问了一个Pandas数据筛选的问题。问题如下:这日期老是出来00:00:00,怎么把这个去除。二、实现过程后来【论草莓如何成为冻干莓】给了一个思路和代码如下:pd.toexcel之前把这