DG Broker Configuration to dest_2
I have a (simple) question regarding using the DG broker and by setting the DEST_2, DEST_3 locations.Oracle 11.2
This is if the DEST_2 must include a 'service' in its location?
We have a database of the production configured with DG broker and on the production side, the game of DEST_2 to use the service.
However, on the basis of data pending, it doesn't have a service defined in the location of DEST_2.
Also, on the primary side, it has a physical location defined for dest_3, but in sleep mode, it is empty and poorly defined at all.
Hello;
Yes, the installation of the standby program is incomplete without a DEST_2 framework. He won't be ready to assume the lead role in the case of a failover. Data broker will usually add DEST_3.
Two won't be able to work in both roles without a 'service' in the location of the database.
If it helps, my installation notes:
http://www.Visi.com/~mseberg/data_guard/broker_setup_example.html
This is the desired Oracle document:
Oracle® Data Guard Broker 11 g Release 2 (11.2) E17023-06
Best regards
mseberg
Published by: mseberg on April 11, 2013 11:25
Tags: Database
Similar Questions
-
Broker configuration files not be created at the level of the BONE
DB version: 12.1.0.2 on Oracle Linux 6.7
Type: Physical standby
I'm trying to set up data guard broker for my own DB. Primary and standby phyical are autonomous DBs.
As the first step, I tried to create a broker configuration files in the following locations. But it is not created is at the level of the BONE.
No idea why?
SQL > ALTER SYSTEM SET DG_BROKER_CONFIG_FILE1 = ' / oradata/DG_BROKER/dr1APGCMS.dat' scope = both;
Modified system.
SQL > ALTER SYSTEM SET DG_BROKER_CONFIG_FILE2 = ' / datastore/DG_BROKER/dr2APGCMS.dat' scope = both;
Modified system.
-The configuration files will be created at the level of the BONE
$ ls-l /oradata/DG_BROKER/dr1APGCMS.dat
method: cannot access the /oradata/DG_BROKER/dr1APGCMS.dat: no such file or directory
$
$
$ ls-l /datastore/DG_BROKER/dr2APGCMS.dat
method: cannot access the /datastore/DG_BROKER/dr2APGCMS.dat: no such file or directory
So, I thought that the configuration files will be created only when Michael is started. So, I started using
SQL > alter system set dg_broker_start = TRUE scope = both;
Modified system.
But the configuration files are not yet created. These directories are empty. I can see that the process Michael started in elementary school
$ ps - ef | grep Michael
Oracle 7577 1 0 22:43? 00:00:00 ora_dmon_APGCMS
-extract from the primary alerts log
ALTER SYSTEM SET dg_broker_config_file1='/oradata/DG_BROKER/dr1APGCMS.dat' SCOPE = BOTH;
Sat Dec 26 22:41:49 2015
ALTER SYSTEM SET dg_broker_config_file2='/datastore/DG_BROKER/dr2APGCMS.dat' SCOPE = BOTH;
Sat Dec 26 22:43:39 2015
From MICHAEL background process
Sat Dec 26 22:43:39 2015
ALTER SYSTEM SET dg_broker_start = TRUE SCOPE = BOTH;
Sat Dec 26 22:43:39 2015
MICHAEL started with pid = 40, OS id = 7577
Sat Dec 26 22:43:42 2015
From Data Guard Broker (MICHAEL)
From INSV background process
Sat Dec 26 22:43:47 2015
INSV started with pid = 43, OS id = 7579
Sorry... I just removed the post for security reasons. (Host names has been a matter of concern). But I have the day before with my comment. The configuration files will be created once you create the dgmgrl configuration.
-Jonathan Rolland
-
Impossible to activate the broker configuration or display information from the database
-J' I add databases primary and standby in a broker configuration:
DGMGRL > see Configuring
Configuration - DGConfig1
Protection mode: MaxPerformance
Databases:
TEST_PRI - primary
TEST_STD - physical of the standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
####################################
- And the configuration of the
DGMGRL > activate configuration;
Permit.
################################
- And see the new configuration
DGMGRL > see the configuration;
Configuration - DGConfig1
Protection mode: MaxPerformance
Databases:
TEST_PRI - primary
TEST_STD - physical of the standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
##################################
-But, when I show the information of database
DGMGRL > see the TEST_PRI database
Object "test_pri" not found.
#############################################
-J' noticed 'ACTIVATE' notation is not see the place in the broker configuration, like this
DGMGRL > see Configuring
Configuration
Name: DGConfig1
Activated: YES < < < -.
Protection mode: MaxPerformance
Databases:
pc00prmy - primary database
pc00sby1 - physical of the standby database
Fast-Start Failover: DISABLED
Current situation for 'DGConfig1 ':
SUCCESS
###########
-Why my setup notes the mention: "enabled: Yes/No?
- And in the configuration, it will list the databases (pri and stdby), but why I can not use 'show the TEST_PRI/TEST_STD database'
:(
Help, please
So thank you
ChHello;
Show you:
See the TEST_PRI database
I think it should be:
See the "TEST_PRI" database
Other examples:
DGMGRL > see THE DATABASE 'TEST_PRI', 'StatusReport. "
DGMGRL > see THE DATABASE 'TEST_PRI', 'LogXptStatus;
DGMGRL > see THE DATABASE 'TEST_PRI', 'InconsistentProperties ';
DGMGRL > see THE DATABASE 'TEST_PRI', 'InconsistentLogXptProps ';Best regards
mseberg
-
an impact on the passage of the Broker Configuration files
Hello
I have setup a datagaurd for my RAC - ASM production database.
The backup database is on ASM and RAC
but now I have this error
ORA-16637: an instance could not access the Data Guard broker configuration
I realized that the
DG_BROKER_CONFIG_FILE1
DG_BROKER_CONFIG_FILE1
point to a file on the file system.
I realized that I need to stop the broker and move the files to the location of the ASM so both my production instance sees the same broker configuration file.
But now I want to know if by stopping the process broker and move the files to another location and begin the process of broker, will be this aything affect with dataguard Setup.
in other words, moving the broker configuration files, am I break anything with installing dataguard.
do I have to re - configure the installer of all datagaurd by moving the files to the broker.
Thanks in advance.No, it will leave the current parameters of work and then when it starts up again once he sees that everything is just as it should. Simply not make a move to the middle.
If you are worried, you can always drop configuration broker preserving destinations, stop the broker, move files, and re-enable the broker and re-create the configuration but I think it's exaggerated.
Larry
-
DG broker configuration file not created at the backup site
Hello
I try to configure dataguard for db (10.2.0.1) primary, standby is created as stby
I configured a third node to the observer, I did the TNS entires and verified connectivity
When I expressed
ALTER system set dg_broker_start = True scope = both;
on both nodes, the configuration files have been created at the primary site
SQL > show parameter DG_BROKER_CONFIG
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
DATABASE\DR1PRIMARY. A3
dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
DATABASE\DR2PRIMARY. A3
I checked the
but the stby node
SQL > show parameter DG_BROKER_CONFIG
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
DATABASE\DR1STBY. A3
dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
DATABASE\DR2STBY. A3
There is no config file even though the parameter gives suggests that it had been created
how I created these files
without them I won't be able to add stby on the watcher nodeThe config seems mostly OK. Suggest you add another roll forward Eve sign in primary and standby, then switch connects to the primary and see what you get errors.
-
Several primary and physical databases Configuration ensures in Data Guard Broker
Hello
Is it possible to add two or several primary and physical databases configuration ensures in data guard broker?
I have 1 primary databases and two databases physical standby that is
(1) primary that is pri - (database primary)
(2) secondary i, e, s (physical pending)
(3) Secondary2 i.e. sec2 (physical pending)
Practical AM sinister place, my scenario is my pri and dry machines are in seat, if the pri crashed it switch to s that works very well and my S2 is in another area office. Suppose that if my two siege machines pri and sec crashed, so I want to do my mahcine sec2 as primary.
I have two separate computers to the broker a headquarters and a District Office
Use failure of quick start on Data Guard Broker, broker headquarters machine I have configured pri and dry but in sector office broker not able congifured pri and S2 and the machine.
can be done several primary database configuration with data bases on hold?
Has anyone done this before, or has a perform a recovery after loss of place...
need help or suggestion
thanx
No.... It is not possible. When you use the DG broker, the first thing you can do in the DGMGRL utility is to deliver CONFIGURATION to CREATE. You can see on the doc of this command that you define here the PRIMARY DATABASE.
The command to add a DATABASE to the broker, adds a new database pending. You cannot add an another primary.
The broker configuration is explicitly for a primary and all standby databases is supported. If you have an another primary, you create a separate DG broker configuration.
See you soon,.
Brian -
How to configure Integration Broker Quick Setup 'Domain' section?
People,
Hello. I just started to configure Integration Broker to use the Web Service. In PeopleTool-> Quick Integration Broker Configuration page, I type Gateway URL and ping Bridge, it runs successfully.
But we have to type in the name of the computer in the section 'Domain', 'localhost' and the path to the Application Server. I click anywhere in this section but no place can be typed in values. Any folk that understand how to set "Integration Broker Configuration quick page Section area?
Thank you.If you publish/subscribe servers configured on your application server domain, then it automatically fills the field page. If you have 2 running of pub/sub domains you can choose that one activates and the other can be inactive.
After your domain status and URL of gateway, u might want to goto advanced gateway properties page and write the name of your application server and the port of Jolt on which it will run. u need a PSIB (PeopleSoft Integration Broker) account with the password. It is also used on your local node authentication type.
Please update the request if you need assistance. Thank you!
-
configuration of the broker executing the primary instance on pfile
Hello
I have a primary production on the RAC 1 node and node 2. Node 1 race on pfile and spfile 2 operation node. We are not able to switch the node 1 to spfile until the next maintenance period.
I have the Dataguard on non-RAC and ASM.
Now, even with the node Configuration the configuration of the Broker / 1 running on pfile, can I go ahead.
For the moment because I have node on pfile 1, I did not put the broker configuration and I only put the DataGuard
ALTER database recover managed standby database disconnect;
and not in real time with current logfile, and disconnector
LOG_ARCHIVE_DEST_2 = "service = afcp1 ARCH ASYNC NOAFFIRM valid_for = (online_logfile, primary_role)'"
My question is with node 1 of pfile, can I still go ahead and set up the configuration of broker as well as make real-time
alter database recover managed standby database current logfile disconnect;
and...
LOG_ARCHIVE_DEST_2 = "service = afcp1 LGWR ASYNC NOAFFIRM valid_for = (online_logfile, primary_role)'"
Can someone help me understand.
Thanks in advance.You cannot configure the Data Guard Broker until all RAC instances use the same SPFILE. And the broker configuration files should be visible through the RAC as well. (You cannot have copies the files to the broker for all RAC). So until you get them all on the SPFILE, you need to configure Data Guard using SQLPlus according to the manual. You have to just be careful and make sure that Data Guard settings are exactly the same on both primary RAC nodes.
Larry
-
addition of relief in dataguard broker database fails
When adding of Eve in dataguard broker database, I get the following error
DGMGRL > add database as uat login is uat maintained as physical;
Error: ORA-16698: parameter LOG_ARCHIVE_DEST_n defined for the object to add
Failed.
DGMGRL > output
I deleted the log_archive_dest_2 parameter in the primary database and null value
SQL > sho parameter log_archive_dest_1;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
DEST = VALID_FOR (ALL_LOGFILES, A).
LL_ROLES) DB_UNIQUE_NAME = prod
SQL > sho parameter log_archive_dest_2;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
LOG_ARCHIVE_DEST_2 string
log_archive_dest_20 string
Can someone help me please
vmkumar wrote:
When adding of Eve in dataguard broker database, I get the following error
DGMGRL > add database as uat login is uat maintained as physical;
Error: ORA-16698: parameter LOG_ARCHIVE_DEST_n defined for the object to add
Failed.
DGMGRL > output
I deleted the log_archive_dest_2 parameter in the primary database and null value
SQL > sho parameter log_archive_dest_1;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
DEST = VALID_FOR (ALL_LOGFILES, A).
LL_ROLES) DB_UNIQUE_NAME = prod
SQL > sho parameter log_archive_dest_2;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
LOG_ARCHIVE_DEST_2 string
log_archive_dest_20 string
Can someone help me please
What you have shown here is the log_archive_dest_2 of the primary database. You must clear the log_archive_dest_2 of the standby database too.
The error is speaking on the parameter log_archive_dest_2 of the database pending. 12 c, then the broker configuration, you must clear the log_archive_dest_2 (destinations archive remote) on the primary and standby databases. DG broker would take care of her.
On autonomy in standby:
SQL > alter system set log_archive_dest_2 = ";
And then try to add the standby database to the broker configuration.
HTH
-Jonathan Rolland
-
Suppose that
I have SERVICE_NAME = pdt03
DB_UNIQUE_NAME = pdto3
Net_service_name = TO_PDTDB03
> > On primary
DGMGRL > create < DG-Config-Name > database configuration is ... connect identifier is ... ?
> > Waiting
DGMGRL > add data ... as an identifier connection is ... maintained like physics;
What would be the appropriate value for both cases?
DB version: 11.2.0.1
> On primary
DGMGRL > create configuration
database is ... connect identifier is ... ? It should be the primary db_unique_name and its connection string (the NET alias name).
In your case, it would be like:
DGMGRL > create configuration
as primary database is "pdb3" connect identifier is to_pdtdb03. > Pending
DGMGRL > add data ... as an identifier of connection is ... continued as the physical;
What would be the appropriate value for both cases?
In the same way on the day before, it's Eve db_unique_name and the Net alias name.
DGMGRL > add the '
' database as an identifier of connection is continued as the physical; You can check the Data Guard Broker Configuration | Shivananda Rao
HTH
-Jonathan Rolland
-
ORA - 16698:LOG_ARCHIVE_DEST_n when you configure dataguard
Hello
Im trying to configure a Dataguard under oracle 12 c
DB01 is primary, DB02 is standby
On DB01
ALTER system set log_archive_dest_1 =' LOCATION = / DATA01/DB/DB01/flash/archiv/VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = DB01';
ALTER system set log_archive_dest_2 is 'SERVICE = DB02 ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = DB02';.
On DB02
Set log_archive_dest_1 =' LOCATION = / DATA01/DB/DB02/flash/archiv/VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = DB02'
Set log_archive_dest_2 = 'SERVICE = DGN01 ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = DGN01'
I have issue_
Create the "DG" configuration as database primary is "DB01" connect identifier is DB01;
ORA - 16698:LOG_ARCHIVE_DEST_n parameter defined for the object to add
I discovered that the destination must not be into siege mode.
Notes on the Oracle:
To clear the LOG_ARCHIVE_DEST_n parameter, use the ALTER SYSTEM SET LOG_ARCHIVE_DEST_n =""
However, when configuring physical Standby I read:
This destination transmits redo data to the remote physical expectations
Can someone give me a hand
Christian
Log_archive_dest_n manual management (and other DG Associates init parameters) and using Data Guard Broker to manage automatically these settings is not the right way (it may cause inconsistency between the spfile and broker configuration files).
You must clear the log_archive_dest_n parameters defined with the attribute of SERVICE and without NOREGISTER attribute, and then try to create the broker configuration (it will automatically set the log_archive_dest_n when you add a database to the configuration).When you use data guard broker always make your changes through DGMGRL for consistency purposes.
Kind regards
Ivica Arsov
-
Configuration of 8.52 PeopleTools and ITS
Hi all
This is a new installation of HIS with the Peopletools 8.52 and HCM 9.1 demo database. With RDBMS Oracle 11.2.0.3.0 (database unicode).
I downloaded the software delivery and installed a complete installation by using the reference guide.
http://docs.Oracle.com/CD/E26530_01/PSFT/Acrobat/PeopleTools_8.52_Installation_Oracle.PDF
Configuration of the integration between PeopleSoft PeopleTools and Oracle SES
After completing all the steps in the chapter, he failed the audit when executing the peopletools > part search > administration > diagnosis
It fails in the deployment phase.
Undeploying. Any previous run of data cleaning
Cancel the deployment complete
---------------------------------------------------------------------------------------------
Deployment of the search definition
Caught exception when adding of peoplesoft source ITS failed to connect. Error with IdentityPlugin.validateUser:
oracle.search.sdk.common.PluginException: oracle.j2ee.ws.saaj.ContentTypeException: not a valid SOAP Content-Type: text/plain; Charset = UTF-8
at oracle.search.plugin.security.identity.psft.PsftIdentityPlugin.validateUser(PsftIdentityPlugin.java:334)
at oracle.search.query.internal.AuthnTask.run(AuthnTask.java:136)
(262 129)
I saw an article in support 1478247.1 and checked the password are the same in Peoplesoft and the ESS. But still see the error.
E ITS: get 'Exception detected while PeopleSoft adding Source ITS Login Failed. (262 129) "during the trial round trip [ID 1478247.1]
Also, I created a SR with Oracle support, because it is not in Production, it may take a few days to address. If someone had similar and solved problems, please answer. Thanls.Right after the validation, I realized that the problem was due to a problem with the appointment of the URL
1. on the side of his, identity management settings for configuring endpoint must be
http://PeopleSoftWebServer:port/PSIGW/PeopleSoft * Service * ListeningConnector2. on the Integration broker--> Configuration--> is the url for gateways
http://PeopleSoftWebServer:port/PSIGW/PeopleSoftListeningConnector3. on the Integration broker--> Configuration-->--> target locations Setup Service Configuration, the URL must be the same as 1
http://PeopleSoftWebServer:port/PSIGW/PeopleSoft * Service * ListeningConnectorThe URL for 1 and 3 has the word Service in.
This solves the problem for me. I have updated the case oracle so to reflect this. I hope this will solve your problem as well.
-
Standby configuration primary Oracle 11.2.0.1.0
Hi all
I have a Setup primary and physical the previous day. I'm planning a permutation between primary and standby. Both my primary and standby is now in phase and I took a few steps, what is mentioned below: -.
Primary: -.
SQL > select max(sequence#) from v$ log_history;
MAX(SEQUENCE#)
--------------
146
Standby time: -.
SQL > select max(sequence#) from v$ log_history;
MAX(SEQUENCE#)
--------------
146
My switchover_status of the primary database shows 'to the rescue', but my switchover_status watch watch "unauthorized." Please suggest in that case I can go for a failover. I'm waiting for all your contributions.
Kind regards
ArijtHello
This is the real situation. First pass at the Stand By and Stand By unauthorized.A few steps to make the transition to digital:
-If YOU do not THE BROKER CONFIGURED:
VALIDATE PRIMARY AND STANDBY
SQL > select db_unique_name, open_mode, database_role, v database name $;
VALIDATE THE LGWR APPLY (ON ALL THE NŒUDS IN THE CASE OF CARS)
SQL > SELECT client_process, process, sequence #, status from v$ managed_standby;
VALIDATE THE SEQUENCE OF LOGS (IT DOES NOT NECESSARILY IMPLY THAT YOUR DG IS OK)
Select thread #, max(sequence#) of the newspaper of v$
Group thread #;VALIDATE THE ALERT. JOURNAL
Check if the last SEQ # applies very well.
PREPARE DATABASE BACKUP
SQL > alter recover managed standby database disconnect log file using current;
SQL > select db_unique_name, open_mode, database_role, v database name $;
KEEP ONLY ONE INSTANCE OF PRIMARY (BEST PRACTICE)
It is not mandatory, but I usually keep a single NŒUD RUNING on PRIMARY and a NŒUD ON STANDBY (CASE of THE CARS)MAKING THE SWITCH TO TEACHING ELEMENTARY SCHOOL (PRIMARY-> STANDBY)
SQL > ALTER DATABASE COMMIT TO SWITCH STANDBY MODE PHYSICS WITH THE STOP OF THE SESSION;
VALIDATE THE ALERT. LOG (must display the following message on the PRIMARY ALERT)
ARCH: Noswitch of archiving the thread 1, 329 sequence
ARCH: End-of-Redo archive thread 1 sequence 329 branch
ARCH: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2VALIDATE THE MOVE TO STANDBY STATUS (SHOULD BE IN ELEMENTARY SCHOOL)
SQL > SELECT switchover_status from v$ database;
SWITCHOVER_STATUS
--------------------
AT THE ELEMENTARY LEVELVALIDATE THE TRANSITION TO THE STATUS OF PRIMARY EDUCATION (SHOULD BE NECESSARY RECOVERY)
SQL > SELECT switchover_status from v$ database;
SWITCHOVER_STATUS
--------------------
RECOVERY NEEDEDENGAGE THE STANDBY TO PRIMARY
SQL > ALTER DATABASE COMMIT TO THE MOVE TO THE PRIMARY WITH THE STOP OF THE SESSION;
OPEN THE DAY BEFORE GOT R & W
SQL > ALTER DATABASE OPEN;
Database altered.
PREPARE THE PRIMARIES TO GET THE ROLE OF EVE
SQL > SHUTDOWN IMMEDIATE;
ORA-01092: ORACLE instance is complete. Disconnection forced
SQL >
SQL > conn virtue sysdba
Connect to an instance is idle.
SQL >
SQL > STARTUP MOUNT;
ORACLE instance started.Total System Global Area 1046224896 bytes
Bytes of size 1348796 fixed
444599108 variable size bytes
595591168 of database buffers bytes
Redo buffers 4685824 bytes
Mounted database.
SQL >
SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT LOG FILE USING CURRENT;Database altered.
VALIDATE IF PRIMARY IS OK (APPLICATION LOG)
SQL > select process, status, client_process, sequence #.
v $ managed_standby;STATUS OF PROCESS CLIENT_P SEQUENCE #.
--------- ------------ -------- ----------
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
MRP0 APPLYING_LOG N / 335
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE UNKNOWN 0
RFS IDLE LGWR 335# #THE END #.
-IF YOU HAVE CONFIGURED BROKER: (MUCH EASIER)
REMEMBER, IF THE CONFIGURATION IS OK FOR TEACHING PRIMARY SCHOOL
There are a lot of configuration here, if you need to configure it, I recommend to read the official Documentation of the DG.DGMGRL > see THE db DATABASE
Database - ormtp1
Role: PRIMARY
State of destination: TRANSPORT-WE
Occurrence (s):
DB1
DB2
db3
DB4State of the database:
SUCCESSLOG SWITCH ON PRIMARY(IT IS NOT NECESSARY, ITs just a BEST PRATICE)
SQL > alter system switch logfile;
Modified system.
CHECK THE NEWSPAPER OF SEQ # IN TWO DATABASES (PRIMARY / SECONDARY)
SQL > select thread #, max(sequence#) from v$ log group thread #;
THREAD # MAX(SEQUENCE#)
---------- --------------
1 166
2 130
3 36
4 41SQL > select thread #, max(sequence#) from v$ log group thread #;
THREAD # MAX(SEQUENCE#)
---------- --------------
1 166
2 130
3 36
4 41TAIL ON ALERT. NEWSPAPER (JUST FOR ERROR CHECKING)
dgmgrl sys/oracle@db
DGMGRL > TRANSITION to dbd;
Continue to pass, please wait...
New primary database 'dbd' opens...
The operation requires the judgment of the instance of the 'db1' on database 'db '.
Instance closing 'db1 '...
ORACLE instance stops.
The operation requires the start the instance of the 'db1' on database 'db '.
Start the instance of the 'db1 '...
ORACLE instance started.
Mounted database.
Successful passage, new principal is 'dbd. '
DGMGRL >DGMGRL > show configuration
Configuration - dgcfg
Protection mode: MaxPerformance
Databases:
DBD - primary
DB - Physical standby databaseFast-Start Failover: DISABLED
The configuration status:
SUCCESSVALIDATE THE ROLE OF EVE
SQL > select database_role from database v$.
DATABASE_ROLE
----------------
PRIMARYVALIDATE THE ROLE FOR TEACHING PRIMARY SCHOOL
SQL > select database_role from database v$.
DATABASE_ROLE
----------------
PHYSICAL STANDBYVALIDATE THE STATUS OF THE APPLICATION OF JOURNAL NEWS (PRIMARY PREREQUISITE) PENDING
SQL > SELECT client_process, process, thread #, sequence #, status from v$ managed_standby;
CLIENT_P PROCESS THREAD # SEQUENCE # STATUS
-------- --------- ---------- ---------- ------------
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 1 175 CLOSING
ARCH ARCH 2 136 CLOSING
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 0 0 CONNECTED
ARCH ARCH 0 0 CONNECTED
MRP0 N/A APPLYING_LOG 2 137CLIENT_P PROCESS THREAD # SEQUENCE # STATUS
-------- --------- ---------- ---------- ------------
ARCH RFS 0 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLE
RFS 0 UNKNOWN 0 IDLECLIENT_P PROCESS THREAD # SEQUENCE # STATUS
-------- --------- ---------- ---------- ------------
LGWR RFS 1 176 IDLE
RFS 0 UNKNOWN 0 IDLE
LGWR RFS 2 137 IDLE##THE END #.
Just to remind: to THE RESCUE of the ROLES, you just need to do the reverse procedure.
As I said above, there are a lot of steps, you must configure the DG and the BROKER, however, the DIGITAL switchover process is basically that I describe above.
It may be useful
Victor
-
DataGuard problems, bad to the log_archive_dest_2 port configuration
Hello! Thank you all in advance for your help and sorry for my English, I will try to explain as best as possible.
We have a dataguard.
It has two headphones, the ports are 1534 and 1544, but... someone changed their 1535 once there is and now I had to re-set up everything again.
The thing is log_archive_dest_2 at the elementary level is wrong, because it points to instead of 1534-1535. I tried to edit init.ora and restart the instance but it always points to 1535 again.
I don't know if this setting depends on the other, or there is a hidden configuration, I don't see
**********
Primary
**********
-----------------------------------------------------------------------------------------------------------------------------------------
tnsnames.ora
LICITARP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1544))(HOST = server01g))
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server01))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = LICITARP)
)
)
LICITARR =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = server02g. XXXXXX.es) (PORT = 1544))
(ADDRESS = (PROTOCOL = TCP) (HOST = server02. XXXXXX.es) (PORT = 1534))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = LICITARR. XXXXXX.es)
)
)
LICITARP. XXXXXX.es =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
)
(CONNECT_DATA =
(SID = LICITARP)
(SERVER = DEDICATED)
)
)
LICITARPG. XXXXXX.es =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
)
(CONNECT_DATA =
(SID = LICITARP)
(SERVER = DEDICATED)
)
)
LICITARR. XXXXXX.es =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = server02. XXXXXX.es) (PORT = 1534))
)
(CONNECT_DATA =
(SID = LICITARR)
(SERVER = DEDICATED)
)
)
L_LICITARPG =
(ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
L_LICITARP =
(ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
-----------------------------------------------------------------------------------------------------------------------------------------
Listener.ora
SID_LIST_L_LICITARPG =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = LICITARP. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARP)
)
)
L_LICITARP =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
)
)
L_LICITARPG =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
)
)
SID_LIST_L_LICITARP =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARP. XXXXXX.es)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARP. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARR. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARR)
)
)
-----------------------------------------------------------------------------------------------------------------------------------------
parameters
My ora init settings:
LICITARP.log_archive_dest_1 ='location = "USE_DB_RECOVERY_FILE_DEST" ',' valid_for = (ALL_LOGFILES, ALL_ROLES)'"
LICITARP.log_archive_dest_2 ='service = "LICITARR.xxxxxx.es ', delay LGWR SYNC AFFIRM = OPTIONAL compression 0 = DISABLE max_failure = 0 max_connections = 1 reopen = 300 db_unique_name ="LICITARR"net_timeout = 30 valid_for = (online_logfile, primary_role)'" "
I start the database and when I show the parameters, log_dest_2 points to 1535, a bad port.
SQL > show settings dest
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
audit_file_dest string/opt/oracle/admin/LICITARP/adu
MP
/ opt/oracle/diag/rdbms/licitar string background_dump_dest
p/LICITARP/trace
core_dump_dest string/opt/oracle/diag/rdbms/licitar
p/LICITARP/cdump
db_create_file_dest chain
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
db_create_online_log_dest_5 string
db_recovery_file_dest string/opt/oracle/oradata/flash_reco
very_area
whole large db_recovery_file_dest_size 100G
diagnostic_dest string/opt/oracle
Log_archive_dest chain
location of string Log_archive_dest_1 = 'USE_DB_RECOVERY_FILE. '
Dest", valid_for is (ALL_LOGFIL
ES, ALL_ROLES)
LOG_ARCHIVE_DEST_10 string
service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
_LIST = (ADDRESS = (PROTOCOL = tcp
() (HOST = server02)(¡¡¡PORT=1535!!!)))
(CONNECT_DATA = (SERVICE_NAME = LI
CITARR. XXXXXX.es)(SERVER=DE)
DIQUE))) ', LGWR SYNC DISPLAY.
Delay of RM = 0 OPTIONAL compressio
n = DISABLE max_failure = 0 max_co
nnections = 1 reopen = 300 db_un
ique_name = "LICITARR" net_timeo
UT = 30 valid_for = (online_logfi
the, primary_role)
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string ENABLE
allow the chain of log_archive_dest_state_10
LOG_ARCHIVE_DEST_STATE_2 string ENABLE
log_archive_dest_state_3 string ENABLE
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
allow the chain of log_archive_dest_state_4
allow the chain of log_archive_dest_state_5
allow the chain of log_archive_dest_state_6
allow the chain of log_archive_dest_state_7
allow the chain of log_archive_dest_state_8
allow the chain of log_archive_dest_state_9
log_archive_duplex_dest string
log_archive_min_succeed_dest integer 1
standby_archive_dest channel? / dbs/arch
user_dump_dest string/opt/oracle/diag/rdbms/licitar
p/LICITARP/trace
SQL > show fal settings
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
string fal_client (DESCRIPTION = (ADDRESS_LIST =)
Address = (Protocol = TCP) (Host = FL
o5ora01) (port = 1534))) (CONNECT_
DATA = (SERVICE_NAME = LICITARP. XX
XXXXXX.es) SERVER = DEDICATED))
string fal_server (DESCRIPTION = (ADDRESS_LIST =)
Address = (Protocol = TCP) (Host = f
lo5ora02) (port = 1534))) (CONNECT
DATA = (SERVICENAME = LICITARR.) X
XXXXX.es) (SERVER = DEDICATED)
)
**********
Standby
**********
-----------------------------------------------------------------------------------------------------------------------------------------
tnsnames.ora
LICITARR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = LICITARR)
)
)
LICITARR
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
)
(CONNECT_DATA =
(SID = LICITARR)
(SERVER = DEDICATED)
)
)
L_LICITARR =
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
LICITARR. XXXXXX.ES =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
)
(CONNECT_DATA =
(SID = LICITARR)
(SERVER = DEDICATED)
)
)
-----------------------------------------------------------------------------------------------------------------------------------------
Listener.ora
SID_LIST_L_LICITARRG =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARPG. XXXXXX.es)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARR_dgmgrl. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARRG. XXXXXX.es)
(SID_NAME = LICITARR)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARPG_dgb. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARPG_DGB. XXXXXX.es)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARRG_dgb. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARRG_DGB. XXXXXX.es)
(SID_NAME = LICITARR)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARP. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARR. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARR)
)
)
SID_LIST_L_LICITARR =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARPG. XXXXXX.es)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARR_dgmgrl. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARRG. XXXXXX.es)
(SID_NAME = LICITARR)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARP_dgb. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARP_DGB. XXXXXX.es)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARR_dgb. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SERVICE_NAME = LICITARR_DGB. XXXXXX.es)
(SID_NAME = LICITARR)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARP. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARP)
)
(SID_DESC =
(GLOBAL_DBNAME = LICITARR. XXXXXX.es)
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARR)
)
)
L_LICITARR =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
)
)
L_LICITARRG =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1544))(HOST = server02g.intranet.XXXXXX.es))
)
)
LISTENER_LICITARR =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
)
SID_LIST_LISTENER_LICITARR =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = / opt/oracle/product/db111)
(SID_NAME = LICITARR)
)
)
-----------------------------------------------------------------------------------------------------------------------------------------
parameters
SQL > show settings dest
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
audit_file_dest string/opt/oracle/admin/LICITARR/adu
MP.
/ opt/oracle/diag/rdbms/licitar string background_dump_dest
r/LICITARR/trace
core_dump_dest string/opt/oracle/diag/rdbms/licitar
r/LICITARR/cdump
db_create_file_dest chain
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
db_create_online_log_dest_5 string
db_recovery_file_dest string/opt/oracle/oradata/flash_reco
very_area
whole large db_recovery_file_dest_size 100G
diagnostic_dest string/opt/oracle
Log_archive_dest chain
Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
DEST OPTION REOPEN = 300
LOG_ARCHIVE_DEST_10 string
service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS
_LIST = (ADDRESS = (PROTOCOL = tcp
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
() (HOST = server02)(PORT=1534)))
(CONNECT_DATA = (SERVICE_NAME = LI
CITARR. XXXXXX.es)(SERVER=DE)
DIQUE))) ', LGWR SYNC DISPLAY.
Delay of RM = 0 OPTIONAL compressio
n = DISABLE max_failure = 0 max_co
nnections = 1 reopen = 300 db_un
ique_name = "LICITARR" net_timeo
UT = 30 valid_for = (online_logfi
the, primary_role)
log_archive_dest_3 string
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
allow the chain of log_archive_dest_state_1
allow the chain of log_archive_dest_state_10
LOG_ARCHIVE_DEST_STATE_2 string ENABLE
log_archive_dest_state_3 string ENABLE
allow the chain of log_archive_dest_state_4
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
allow the chain of log_archive_dest_state_5
allow the chain of log_archive_dest_state_6
allow the chain of log_archive_dest_state_7
allow the chain of log_archive_dest_state_8
allow the chain of log_archive_dest_state_9
log_archive_duplex_dest string
log_archive_min_succeed_dest integer 1
standby_archive_dest channel? / dbs/arch
user_dump_dest string/opt/oracle/diag/rdbms/licitar
r/LICITARR/trace
------------------------------------------------------------------------------------------------
If I tried that I managed to enter sqlplus in both nodes
[oracle@server01 admin] $ sqlplus "sys/YYYYYYY @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server02)(PORT=1534)) (CONNECT_DATA = (SERVICE_NAME = LICITARR.» "((XXXXX.es)(SERVER=DEDICATED) (CID = (PROGRAM = oracle) (HOST = server02)(USER=oracle))) as sysdba.
SQL > select status from v$ instance;
STATUS
------------
MOUNTED
[oracle@server01 admin] $ sqlplus "sys/YYYYYYY @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server01)(PORT=1534)) (CONNECT_DATA = (SERVICE_NAME = LICITARP.» "((XXXXX.es)(SERVER=DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle))) as sysdba.
SQL > select status from v$ instance;
STATUS
------------
OPEN
I always get this message, where PORT = 1535 is incorrect, and the correct port is 1534:
Message
--------------------------------------------------------------------------------
R.XXXXX.es) (SERVER = DEDICATED)))'
LGWR: Impossible to archive log 2 thread 1 sequence 162530 (12514)
ARCH: Starting to check in thread 1 sequence 162529 (13127536-13127548)
ARCH: Completed check-in thread 1 sequence 162529 (13127536-13127548)
Logging of 12514 errors received on the eve
"LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
(S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
R.XXXXX.es) (SERVER = DEDICATED)))'
LGWR: Impossible to archive log 3 thread 1 sequence 162531 (12514)
Message
--------------------------------------------------------------------------------
ARCH: Starting to check in thread 1 sequence 162530 (13127548-13127555)
ARCH: Completed check-in thread 1 sequence 162530 (13127548-13127555)
Logging of 12514 errors received on the eve
"LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
(S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
R.XXXXX.es) (SERVER = DEDICATED)))'
LGWR: Failure to archive journal 1-wire 1 sequence 162532 (12514)
ARCH: Starting to check in thread 1 sequence 162531 (13127555-13127565)
ARCH: Completed check-in thread 1 sequence 162531 (13127555-13127565)
Logging of 12514 errors received on the eve
Message
--------------------------------------------------------------------------------
"LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
(S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
R.XXXXX.es) (SERVER = DEDICATED)))'
LGWR: Impossible to archive log 2 thread 1 sequence 162533 (12514)
ARCH: Starting to check in thread 1 sequence 162532 (13127565-13127570)
ARCH: Completed check-in thread 1 sequence 162532 (13127565-13127570)
Logging of 12514 errors received on the eve
"LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
(S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
R.XXXXX.es) (SERVER = DEDICATED)))'
Message
--------------------------------------------------------------------------------
LGWR: Impossible to archive log 3 thread 1 sequence 162534 (12514)
ARCH: Starting to check in thread 1 sequence 162533 (13127570-13127575)
ARCH: Completed check-in thread 1 sequence 162533 (13127570-13127575)
Logging of 12514 errors received on the eve
"LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
(S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
R.XXXXX.es) (SERVER = DEDICATED)))'
LGWR: Failure to archive journal 1-wire 1 sequence 162535 (12514)
ARCH: Starting to check in thread 1 sequence 162534 (13127575-13127582)
Message
--------------------------------------------------------------------------------
ARCH: Completed check-in thread 1 sequence 162534 (13127575-13127582)
Logging of 12514 errors received on the eve
256 selected lines.
Those for alert and new PORT = 1535 when he is wrong, since the correct port is 1534:
***********************************************************************
Fatal OR connect 12514 error, connect to:
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=server02) (PORT = 1535)) (CONNECT_DATA = (SERVICE_NAME = LICITARR_DGB. XXXXX.es)(INSTANCE_NAME=LICITARR) (SERVER = DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle)))
VERSION INFORMATION:
AMT for Linux: Version 11.1.0.7.0 - Production
Protocol TCP/IP NT to Linux adapter: 11.1.0.7.0 - Production Version
Time: November 10, 2011 18:56:42
Tracing not lit.
AMT error struct:
NS main err in code: 12564
AMT-12564: TNS:connection refused
NS secondary err code: 0
NT main err in code: 0
NT secondary err code: 0
NT OS err code: 0
***********************************************************************
Fatal OR connect 12514 error, connect to:
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=server02) (PORT = 1535)) (CONNECT_DATA = (SERVICE_NAME = LICITARR_DGB. XXXXX.es)(INSTANCE_NAME=LICITARR) (SERVER = DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle)))
VERSION INFORMATION:
AMT for Linux: Version 11.1.0.7.0 - Production
Protocol TCP/IP NT to Linux adapter: 11.1.0.7.0 - Production Version
Time: November 10, 2011 18:56:42
Tracing not lit.
AMT error struct:
NS main err in code: 12564
AMT-12564: TNS:connection refused
NS secondary err code: 0
NT main err in code: 0
NT secondary err code: 0
NT OS err code: 0
I have recreated the password file in the primary and copy it to the secondary, after that I restarted both cases, but nothingNo sense to me. Do you have a rebuild on my system and was not able to reproduce.
At this point, I would like to grep for the problem (change of wider path if necessary)
grep 1535 -R /opt/oracle/*
I hate when it makes no sense. There must be somewhere.
Best regards
mseberg
Subsequently
I was thinking about it more. If you have a data broker, they can change the database settings. Any change of this?
I see this in your settings file that supports this theory
*.dg_broker_start=TRUE
Any set of values in Data Guard Broker wins the spfile parameter. So no matter what you the SPFILE and PFILE broker file overwrites.
How to remove safely a Data Guard Broker Configuration [261336.1 ID]
Or modify the 'StaticConnectIdentifier' proposal the data broker. See doc Oracle E17023-04
"6 scenarios using the DGMGRL command-line Interface"
Example of
DGMGRL> edit instance dg112i2 on database dg112i_prm set PROPERTY StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.11.225)(PORT=1555))(CONNECT_DATA=(SERVICE_NAME=DG112I_PRM_DGMGRL.au.oracle.com)(INSTANCE_NAME=dg112i1)(SERVER=DEDICATED)))';
Published by: mseberg on November 11, 2011 13:53
See data physical custody shall 11.2 primary RAC RAC standby using a second network [1349977.1 ID]
-
Roll forward standby with RMAN incremental backup when used DG broker
Hello
I'm about to use the process defined in the note: steps to roll forward a database ensures the RMAN incremental backup using during primaries and Eve are in the file [836986.1 ID] ASM system. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Did someone played this process when you use the broker.
The broker he manages properly?
Does it matter if the broker is upwards or downwards during the physical recovery of standby or replacement of control file?
Should the broker configuration be re-created?
Thank you.user11993454 wrote:
HelloI'm about to use the process defined in the note: steps to roll forward a database ensures the RMAN incremental backup using during primaries and Eve are in the file [836986.1 ID] ASM system. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Did someone played this process when you use the broker.
The broker he manages properly?
Does it matter if the broker is upwards or downwards during the physical recovery of standby or replacement of control file?
Should the broker configuration be re-created?Thank you.
(1) disable the broker
(2) perform the Roll forard SNA.
(3) select the broker
Maybe you are looking for
-
dv8000 w / base extension xb2000, Win 7 RC1 and no noise
I have a HP dv8000 CTO notebook and use a HP xb2000 notebook expansion base. With a complete new installation of Windows 7 RC1, I had significant problems to sound to work. I was finally able to get the sound dv8000 base to work, but have not been a
-
Satellite A660 - battery discharge per day in shutdown/Hibernate implementation
I presented my Satellite A660 for troubleshooting, after that months of testing a battery discharged 5% / day in hibernation (4 + % / closing day). When the battery is removed from the laptop, there is no noticeable effluent. The discharge when the b
-
Ink Jet 4650: setting date
New printer - date and time are incorrect in the display screen. How to fix?
-
Do I need a standard or extended license?
If I use images to make premade book covers, is considered a model, which would require an extended license? My premade covers are exclusive, which means that I sell them only to an end user.
-
Parameters DiskIOPS limit for all the virtual machines in a Cluster
I was wondering if there is a simple script to change all the disks attached to the VM is in inventory if powered by power to limit the IOPS / s to 500 for example?