DG Broker issue
Hi Team,
Recently I configure data guard and data broker. Data Guard is working fine.
When I am switching primary database to another standby , I am getting below error.
DGMGRL> switchover to dg1;
Performing switchover NOW, please wait...
New primary database "dg1" is opening...
Operation requires shutdown of instance "dg2" on database "dg2"
Shutting down instance "dg2"...
ORACLE instance shut down.
Operation requires startup of instance "dg2" on database "dg2"
Starting instance "dg2"...
ORA-24327: need explicit attach before authenticating a user
I am using same password for password file.
Listener file in dg1:
[oracle@inatechrac1 admin]$ cat listener.ora
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.50.10.32)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=dg1.blr.com)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0)
(SID_NAME=dg1))
(SID_DESC=
(SID_NAME=dg1)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0)
(GLOBAL_DBNAME=dg1_DGMGRL.blr.com)
(PROGRAM=extproc)))
ADR_BASE_LISTENER = /u01/app/oracle
Listener file in dg2:
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.50.10.33)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=dg2.blr.com)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0)
(SID_NAME=dg2))
(SID_DESC=
(SID_NAME=dg2)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0)
(GLOBAL_DBNAME=dg2_DGMGRL.blr.com)
(PROGRAM=extproc)))
ADR_BASE_LISTENER = /u01/app/oracle
Please help me on this issue
Edited by: 994982 on Mar 20, 2013 1:46 AM
Hello;
I would check the tnsnames.ora on the Standby that's about to become the new Primary.
Based on the information you provided I'm thinking you cannot connect from the Standby site to the Primary and thus the switchover fails and throws this error.
If that checks out make sure the firewall rules for both server line up.
Best Regards
mseberg
Similar Messages
-
Hello Gurus,
We are having strage issue with Integration Broker. When we include proxy server settings in Integration Broker properties file we are unable to ping certain nodes but when we remove Proxy server details we are able to ping nodes. We are on 8.49.08 tools.
I would really appreciate if some one could reply on this issue.
ThanksThe authorization comments above are good, but they assume that the target site requires authentication. Are you able to connect to the target URL from your browser without typing a username and password? If so, then you don't need to add the authorization header.
If you can't ping, then you have a connectivity issue. Log into your app server, open a shell prompt and type telnet <servername> <port> where <servername> is the name of your web server and <port> is the HTTP port your server is listening on (80 if no port specified in the URL). If you need a proxy server, then you can test connectivity by setting your app server's web browser proxy server to the same one listed in integrationGateway.properties and then test the URL from the app server's web browser (if it is a linux or other command line/headless app server, then try export http_proxy=http://your.proxy.server and then wget http://the.url.that/is/failing.
Turning up the log fence in integrationGateway.properties may provide additional information as well. When set to 5, you will get information in your errorLog.html and msgLog.html file.
For hands on help, you can open a case with Oracle Support. -
hi all,
am getting the following errors from the broker
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys/Fes7Evu6@emrep
Connected.
DGMGRL> switchover to offsite_emrep;
Performing switchover NOW, please wait...
Operation requires shutdown of instance "emrep" on database "office_emrep"
Shutting down instance "emrep"...
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
Operation requires shutdown of instance "emrep" on database "offsite_emrep"
Shutting down instance "emrep"...
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "emrep" on database "office_emrep"
Starting instance "emrep"...
Unable to connect to database
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Failed.
You are no longer connected to ORACLE
Please connect again.
Unable to start instance "emrep"
You must start instance "emrep" manually
Operation requires startup of instance "emrep" on database "offsite_emrep"
You must start instance "emrep" manually
Switchover succeeded, new primary is "offsite_emrep"
DGMGRL>
If I disable the broker and carry out the switchover from the database evrything works as it should. Can anyone point me in the right direction to resolve this issue.
rgds
Alanhi,
so if my listener file is
# listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db10g/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db10g)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = emrep.domain.net)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db10g)
(SID_NAME = emrep)
(SID_DESC =
(GLOBAL_DBNAME = emrepdg.domain.net)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db10g)
(SID_NAME = emrep)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = griddg.domain.net)(PORT = 1521))
what needs to be added to it? I have reivewd the doc and think something like
(SID_DESC =
(GLOBAL_DBNAME =offsite_emrep_DGMGRL.emrepdg.domain.net)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db10g)
(SID_NAME = emrep)
(SERVICE_NAME=emrepdg)
This I have tried but it still doesn't work.
regards
Alan -
I'm new to open MQ and I'm having issues connecting to the broker. I'm having issues connecting to the broker using the admin console. I use the same login user name and password when connecting to the console. The error I get is "Error encountered while authenticating to the broker. Please verify that your username and password is correct and/or make sure that authentication controls have been setup correctly on the broker.". I running this on a windows xp. I'm positive the user name and password is correct and I know this is a configuration file. How do I make the broker aware that the user is correct.
To get the broker to use LDAP server you have to edit the $IMQ_VARHOME/instances/imqbroker/props/config.proeprties file and specify the setting for your LDAP domain.
Have a look at the URL below
http://docs.sun.com/app/docs/doc/819-4467/6n6k98bp2?l=en&a=view#indexterm-488
it may give some ideas as how to set it up.
The default admin user/password combination for the broker is admin/admin. You can change it with the imqusermgr command.
Tom -
RD Session broker issue; Cannot connect to one of the host servers through RDC
Hello,
I am testing a RD session broker role.
So I have 4 VMs: lest call them VM1, VM2 VM3 and VM4
VM1 is the DC and all other 3 VMs are under VM1.
VM2 is the Session broker server.
VM3 and VM4 are the host servers which are in a farm called Farm1.
Now I have done everything pretty much right. VM2, VM3 and VM4 all are listed in the Session broker computer local group (which is on VM2 since it is the session broker server)
Then I also have VM3 and VM4 setup in regards to their Remote desktop session host configuration.
RD Connection broker is VM2 and Farm name is Farm1.
everything sounds good right?
Okay.. So then I also have added those "New host (A or AAAA)" for VM3 and VM4 in the DNS on VM1 (which is DC).
Both VM3 and VM4 are set to 100 in "Relative weight of this server in the farm".
Now I am trying to do MSTSC from VM2 to farm1.domain.net. First user goes to VM3 just fine. But when I try to do MSTSC again with the second user, it tells me this:
The remote computer hat you are trying to connect is redirecting you to the remote computer.
Remote Desktop Connection cannot verify that the two remote computers belong to the same farm.
This can occur if there is another computer on your network with the same name as the computer your are trying to connect to.
I have read 10 pages of google search about this and still have no clue what to do. I have tried flushing DNS cache on VM1. Time and date is exactly the same on all 4 VMs.
I also read the following thread but could not understand the answer that he has given there.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/40be1eda-f752-4b64-bb47-dbe2156218f9/remoteapp-cannot-verify-computers-belong-to-the-same-server-farm?forum=winserverTS
Please help me on this.
Thanks,Okay, so I found the issue and was able to solve the problem.
Here is how to do this and I wonder why most of the online guides to do this whole thing don't talk about it!
Go to Start --> Administrative tools --> Remote desktop services --> RemoteApp Manager
Now a new window will open and in the window there's a box which says "Overview".
The first option will say " RD Session Host Server Setting; Clients will be redirected to: computer.domain.com"
That's where you need to make a change. If you'd open that, it will tell you that "If the RD session Host Server is in a farm, enter the DNS name of the farm".
So now make that "Server name" look like this: farm.domain.com or whatever your farm's DNS name is.
Do this on all the host servers and yeah then you might need to refresh the DNS settings on the DC.
It should start working then :) -
Hi All Gurus,
I'm getting Problem in configuring Oracle Data Guard Broker 10g as follows:
Installed Oracle 10g Cleint on a Different Machine as Primary & Standby.
TNSNAMES.ora Entry is as follows:PRIMARY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.29.3.135)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Primary)
PRIMARY_DGMGRL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.29.3.135)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = Primary)
STANDBY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.29.3.137)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Standby)
STANDBY_DGMGRL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.29.3.137)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = STANDBY)
Tnsping Utility is Working Well. Now I'm trying to Enable Fast Start Failover using DGMGRL on 3rd Machine, The Configuration of Primary is as follows:DGMGRL> SHOW DATABASE VERBOSE 'PRIMARY';
Database
Name: PRIMARY
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
primary
Properties:
InitialConnectIdentifier = 'PRIMARY'
LogXptMode = 'SYNC'
Standby Database:
DGMGRL> SHOW DATABASE VERBOSE 'STANDBY';
Database
Name: STANDBY
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: ONLINE
Instance(s):
standby
Properties:
InitialConnectIdentifier = 'STANDBY'
LogXptMode = 'ARCH'
MY Primary Database is Running in Max Performance Mode. and I also tried to change the Standby LogXptMode from ARCH to SYNC, but it is giving me following Error:
DGMGRL> EDIT DATABASE 'STANDBY' SET PROPERTY LOGXPTMODE='SYNC';
Error: ORA-16789: missing standby redo logs
Failed.
Please tell me how can I change LogXptMode from ARCH to SYNC? please help me. Thanks
Regards,
ImranThanks for reply man. I have completed all of the Steps for Observer (Broker) on 3rd Machine. Thanks a lot
These were the Steps after creating Standby Logs:
DGMGRL> EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY;
Operation requires shutdown of instance "primary" on database "PRIMARY"
Shutting down instance "primary"...
Database closed.
Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "primary" on database "PRIMARY"
Starting instance "primary"...
ORACLE instance started.
Database mounted.
DGMGRL> EDIT DATABASE 'STANDBY' SET PROPERTY LOGXPTMODE='SYNC';
Property "logxptmode" updated
SQL> alter system set undo_retention=3600 scope=both;
System altered.
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 3600
undo_tablespace string UNDOTBS1
After doing the required methods, I enabled Fast-Start Failover;
DGMGRL> ENABLE FAST_START FAILOVER;
Enabled.
But When I run the following Command:
DGMGRL> START OBSERVER;
Observer started
I disconnected the Session and Login again, then it show me following Configuration:
DGMGRL> SHOW CONFIGURATION VERBOSE
Configuration
Name: DGCONFIG1
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: ENABLED
Databases:
PRIMARY - Primary database
STANDBY - Physical standby database
- Fast-Start Failover target
Fast-Start Failover
Threshold: 30 seconds
Observer: Node5
Current status for "DGCONFIG1":
SUCCESS
Kindly tell me that is it working or I have to do more. Thanks
Regards,
Imran -
hi all,
i am using dbconnectionbroker from the site http://www.javaexchange.com/
it works very fine but i have one issue i want to connect db with 2 different users.
how in this class i can keep 2 different users connection or connection with 2 different DB.
can any one guide me???
thx lot
thxif some did above mention solution with different method or different connection can also share his idea.
i need this help very much.
thx -
Adobe Reader X - Service Broker issue
Hi,
I have created my service broker to run my plugin for Adobe Reader X but just when I click on of the button of my toolbar, it says 'Class not registered' error and then I have to kill the instance of Adobe Reader X. Please provide any pointer or help to resolve this error. Also, I have the latest SDK (for X version), is there any sample available to create service broker? Kindly provide some reference as we are not able to proceed further anymore.
We have already checked the web pages to get to know that we need to create 'Service Broker' but nowhere we found any sample for this.Irosenth,
Can you please let us know if there is any sample in the SDK files that we can use? -
CPO 3.0 AMQP Broker Issue
I am trying to create an AMQP Broker target in CPO 3.0. I am getting an error "None of the specified end points were reachable". I have RabbitMQ installed on the local host and I am able to exchange messages using Java clients and the default virtual host. Anyone has suggestions as to what could be the potential problem here. See the attached snapshot.
Thanks
AyazBesides what David pointed out, please double check the port and credentials you used to connect to RabbitMQ. RabbitMQ doesn't report authentication error as it should. All the connection errors will be shown as "None of the specified end points were reachable".
Thanks,
James -
Hi all,
resolved, listener entries where missing
rgds
Alan
Message was edited by:
alanmHi all,
resolved, listener entries where missing
rgds
Alan
Message was edited by:
alanm -
Laptop fan runs all the time, broker runtime cpu usage after Windows 10 final upgrade
ENVY 17t-J100 Leap Motion, 16 GB RAM, i7, SSD primary, HDD secondary drives. Avast antivirus free. Windows Firewall. The laptop had Windows 8.1 and everything was great. I did the Windows 10 Home free upgrade on Day 1. Everything seemed fine. Fingerprinter reader and everything works. Great. But then I noticed that the fan was always running and the left side of the metal casing gets hot. In task manager heat map sorted by CPU usage, Broker Runtime is at the top. Not much ram, about 10 MB. But the CPU usage is always 20% and higher. Doesn't seem like much. But it makes the fan run all the time and the laptop heats up with it running all the time. Anyone else seen this? General internet searching shows this has been an issue with Broker Runtime since Windows 8 and not unique to any brand of computer. But it wasn't like this when I was using WIndows 8.1 One forum said it was the P2P Windows update feature and my laptop was sharing updates. So I disabled that and rebooted. No change. Now I see some people saying it is the Live Tiles features in the Start Menu. But I had live tiles with the WIndows 8 menu and no issues. The only way to disable Live Tiles globally is to edit the registry, and I shouldn't have to do that for this. And I like Live Tiles. So not sure that really is the issue either.
hockeycanuckjc wrote:
Have all Windows Updates on Windows 10 been applied since installing it? I know there are people weary to update Windows 10 since there have been a few news reports with some people having the infinite reboot loop after installing a particular update For me, yes. All updates applied and automatic updates enabled. This Runtime Broker issue has been there since the upgrade and all updates to this point. -
Remote Desktop cannot verify that this server belongs to the same server farm
Hello Team,
I am running Windows Server 2012 in my environment. I have 2 RDS Servers which are configured for load balancing. RDP to these hosts works just fine. But when i connect to any published remoteapplication , it gives me an error
Remote Desktop cannot verify that this server belongs to the same server farm.
What am i missing here, kindly suggest.
Binu Kumar Small Business Server SupportHi Binu,
Do you have any progress?
If not, please make sure that the RD web access URL is configured as the farm name on each Remote Desktop Session Host server.
Here are some related threads below for you:
TS Web with TS Farm on W2K8 servers
https://social.technet.microsoft.com/Forums/windowsserver/en-US/09715e58-6e52-4c39-b445-4aa8fbc31cb0/ts-web-with-ts-farm-on-w2k8-servers?forum=winserverTS
RD Session broker issue; Cannot connect to one of the host servers through RDC
https://social.technet.microsoft.com/Forums/sharepoint/en-US/b9c15a01-a9cb-4793-8758-acd2e60ae7a5/rd-session-broker-issue-cannot-connect-to-one-of-the-host-servers-through-rdc?forum=winserverTS
RemoteApp - Cannot verify computers belong to the same server farm
https://social.technet.microsoft.com/forums/windowsserver/en-US/40be1eda-f752-4b64-bb47-dbe2156218f9/remoteapp-cannot-verify-computers-belong-to-the-same-server-farm
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
DG broker Switchover issue, ORA-16535: CRS is prevent execution of a broker
I am having setup of 2 node 10.2.0.4.0 RAC setup on ASM with Single Instance Physical standby on File System (OS: REHL 5.4). I configured DG Broker without any major issues. Getting all output of 'show configuration' and all DG related logs are clear. Archives are getting transferred from both Primary nodes.
DGMGRL> show configuration
Configuration
Name: dg_rac
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
livestdby - Primary database
livedg - Physical standby database
Current status for "dg_rac":
SUCCESS
Now I am getting error Error: ORA-16535: CRS is preventing execution of a broker operation.
DGMGRL> switchover to livedg;
Performing switchover NOW, please wait...
Error: ORA-16535: CRS is preventing execution of a broker operation
Oracle Says
Cause
A broker operation was underway that required CRS to stop managing the instances of this database, but CRS management could not be stopped on behalf of the broker"s request on
at least some of the instances, so the broker operation was canceled.
Action
Suspend CRS management of this database using SRVCTL STOP DATABASE -D <name> -O NONE. Then reissue the broker request.
But this command is not working as it's given to stop the database.
One more thing, it's nowhere said to stop CRS while performing Switchover / Switchback using DG Broker. When we do Switchover / Switchback we keep open only one of the Primary database.
Anybody knows regarding this error???? or is there any solution for this ???? (is it bug ???)
is there any documentation / link available to switchover of RAC database using dgmgrl (DG Broker)
Any help would be appreciated.
regards,
manishHello;
I would check the tnsnames.ora on the Standby that's about to become the new Primary.
Based on the information you provided I'm thinking you cannot connect from the Standby site to the Primary and thus the switchover fails and throws this error.
If that checks out make sure the firewall rules for both server line up.
Best Regards
mseberg -
Integration Broker Application Messages Issue
Hi Gurus,
We are having an issue with the Integration Broker Application Messages.
Here's the issue, when we run Dynrole it process Application Messages. All messages go to Done status, but checking the instance, the Footer comes first, where the header should comes first. This issue happens from time to time, we only run 8 application messages at a time (header and footer included). BTW, failover is enabled on our server.
We are trying to find a solution on this, please help us.
Thanks,
RedHi,
Did it resolved? If yes, please share here if possible.
Cheers,
Elvis. -
RDS 2012 R2 Connection broker in HA mode SQL mirroring issue
Hi,
I have an issue where our two brokers will not connect to the failover database when the database fails over.
Our setup:
Database - 2 x SQL 2012 Standard with the RDCB database mirrored in high safety with automatic failover mode.
Brokers/Web gateways - 2 x server duel role servers in different subnets. They're configured in HA mode
I won't include the session hosts as it's out of scope for this issue.
So the RD database connection string has been set to:
DatabaseConnectionString : DRIVER=SQL Server Native Client 11.0;SERVER=server2\instance2,5555;Failover_Partner=server1\instance1,5555;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RDCB
So when this was first set, the DB was failed over and it worked. It was then failed back to the correct principal but now when failed over to the Failover_Partner it will not connect.
I've confirmed the SQL permissions and custom port aren't an issue.
Has anyone else experienced this issue?
Stephen TurnerHi Stephen,
Thank you for posting in Windows Server Forum.
Did you receive any specific error\Event ID for your issue?
Apart it seems there is some misconfiguration issue for failover cluster. If connections are empty, that means broker servers are not connecting to the mirror server database, most common problem is database security in mirror server. So check all brokers have
full access to the mirror database and mirror database saved folder.
For more information to recheck the steps you can go through following articles.
Window server 2012 | Remote Desktop Connection Broker high available with SQL Server Mirror
https://asithadesilva.wordpress.com/tag/remote-desktop-connection-broker-high-availability-with-sql-mirror/
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support
Maybe you are looking for
-
I updated my iPhone 4S to the iOS6 and now my music in the cloud will not show up
I updated my iPhone 4S with the OS6 and now my music will now show up on my phone. I have abotu 11000 songs in the cloud. I can see them on my computer- they are all still there- but they don't show up on my phone at all. PLEASE HELP ME!! I am panic
-
Could these (MacBook Pro) keyboard/trackpad problems be Leopard related?
My (MacBook Pro's) keyboard and trackpad stop working every couple of minutes. And then suddenly comes back. The capslock key and it's LED is also not responding anymore when it happens. Could this be a software thing? I'm about to send this MacBook
-
Looking for a "desktop search" app
I am using kde, and I am searching for a desktop search app that uses a database and searches within common filetypes. I've tried a couple so far, and haven't found what I'm looking for: kerry/beagle:WAAAY too much bloat; creates ~2gigs of logs per
-
Attachments with no Extensions
We have a requirement that any emails to a specific domain with certain attachments will be required to be blocked. The problem is, most of these attachments have no file extension. Anyone have a creative way to include this into an attachment rule?
-
Giving access to 'Authentication' tab in CMC
Hi, We have a user admin role in BO project which has access to only Users and groups section in CMC. We need to give access to Authentication tab in CMC for this group. The reason behind this is - we have a user role imported from SAP BW to BO. When