Dgmgr-to physical STANDBY Failed (ORA12514) workaround

Source: Internet
Author: User
Tags failover

to Physical STANDBY Failed (ORA-12514: ) Workaround:

==========DG Environment:

Dgmgrl> SHOW CONFIGURATION;

Configuration-drsolution

Protection mode:maxavailability

Databases:

Prod1-primary Database

Sbdb1-physical Standby Database

Fast-start failover:disabled

Configuration Status:

SUCCESS

switchover failure, error message:

============ perform switch to report Network Monitor error (ORA-12514: ):

dgmgrl> Convert database ' SBDB1 ' to physical STANDBY;- -------------

Converting database "SBDB1" to a physical Standby database, please wait ...

Operation requires shutdown of instance "SBDB1" on Database "SBDB1"

Shutting down instance "SBDB1" ...

Database closed.

Database dismounted.

ORACLE instance shut down.

Operation requires startup of instance "SBDB1" on Database "SBDB1"

Starting instance "SBDB1" ...

Unable to connect to database

Ora-12514:tns:listener does not currently know of service requested in Connect descriptor

Failed.

Warning:you is no longer connected to ORACLE.

Please complete the following steps and reissue the CONVERT command:

Start up and Mount instance "SBDB1" of the Database "SBDB1"

========= Check the configuration of the database:

Show database verbose ' SBDB1 ';----

Stand:

Staticconnectidentifier = ' (description= (address= (protocol=tcp) (HOST=EDBJR2P2) (port=1521)) (CONNECT_DATA= (SERVICE _name=sbdb1_dgmgrl.us.oracle.com) (INSTANCE_NAME=SBDB1) (server=dedicated))) '

Workaround:

================== add DGMGRL static monitoring on standby monitor :

==================

Sid_list_listener=

(sid_list=

(sid_desc=

(global_dbname=sbdb1.us.oracle.com)

(oracle_home=/u01/app/oracle/product/11.2.0/db_1)

(SID_NAME=SBDB1))

(sid_desc=

(global_dbname=SBDB1_DGMGRL.us.oracle.com)

(oracle_home=/u01/app/oracle/product/11.2.0/db_1)

(SID_NAME=SBDB1)))

Switch Success:

============== to perform a switchover test at a time:OK

dgmgrl> Convert database ' SBDB1 ' to physical STANDBY;

Converting database "SBDB1" to a physical Standby database, please wait ...

Operation requires shutdown of instance "SBDB1" on Database "SBDB1"

Shutting down instance "SBDB1" ...

Database closed.

Database dismounted.

ORACLE instance shut down.

Operation requires startup of instance "SBDB1" on Database "SBDB1"

Starting instance "SBDB1" ...

ORACLE instance started.

Database mounted.

Continuing to convert Database "SBDB1" ...

Operation requires shutdown of instance "SBDB1" on Database "SBDB1"

Shutting down instance "SBDB1" ...

Ora-01109:database not open

Database dismounted.

ORACLE instance shut down.

Operation requires startup of instance "SBDB1" on Database "SBDB1"

Starting instance "SBDB1" ...

ORACLE instance started.

Database mounted.

Database "SBDB1" converted successfully

If the switch fails, manually in the Sqlplus to perform the switch command, log in dgmgrl, view the configuration Ken can encounter the following error:

Dgmgrl> SHOW CONFIGURATION

Configuration-drsolution

Protection mode:maxavailability

Databases:

Prod1-primary Database

Sbdb1-snapshot Standby Database

error:ora-16816:incorrect database role

Fast-start failover:disabled

Configuration Status:

ERROR

Workaround: Delete the configuration file and reconfigure it. O (^Contest^) o

dgmgrl> Disable CONFIGURATION;

Disabled.

dgmgrl> Remove CONFIGURATION drsolution;


Dgmgr-to physical STANDBY Failed (ORA12514) workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.