Passage of the roles - ensures primary school
Hi all
We have a requirement in our environment to switch mode on primary eve. This is to stop the machine from primary database since it is now more than 350 days.
I have a few crossing the reg of doubts.
We have two servers
1 Server1-Prim - main database hosts with SID - LPBT
LISTENER - WITH SID-LPBT ON 1521 PORT WITH HOST = 80.0.1.187
TNSNAMES with entries for the two services LPBT and STBYLPBT
2 Server2-Stby - secondary database hosts with SID - STBYLPBT
LISTENER - WITH SID-STBYLPBT ON PORT 1521 WITH HOST = 80.0.0.240
TNSNAMES with entries for the two services LPBT and STBYLPBT
Our is a physical standby and passage procedure below of the manually using SQL commands instead of dataguard
Digital allows a primary and standby to switch roles without data loss.
No need to recreate the old primary school. Conducted for a scheduled maintenance.
Steps to follow:
1. check if primary can be switched to sleep mode
SQL > select switchover_status from database v$.
If returns the value "TO_STANDBY", its good to pass the primary role of Eve.
2 convert primary to standby
SQL > alter database validation to the transition to physical standby mode;
If the value is "ACTIVE SESSIONS" in step 1, then
SQL > alter database validation to the transition to physical standby with the stop of the session;
3. stop and restart the old primary as before
SQL > shutdown immediate;
SQL > startup nomount;
At this point, we now have two databases, such as the day before.
4. on the basis of data target standby, check status of the digital switchover. If the value is "TO_PRIMARY" then
SQL > alter database validation at the grade crossing;
If the value is "ACTIVE SESSIONS", then add "WITH the STOP of the SESSION" to above the command.
5. stop and restart the new primary database
SQL > shutdown immediate; start-up;
6. start back on new database (former primary) pending
SQL > alter database mount standby
SQL > alter recover managed standby database disconnect log file using current;
----------------------------------------------------------------------------------------------------------------------------------------
My question is after the transition to digital, if we connect as 'conn sys@lpbt as sysdba' since sqlplus window from another pc, how the request will go to the new primary database server (80.0.0.240) since tnsnames only will point to the old principal server (80.0.1.187).
can you please explain how it works, or should we add a few more entries to the listener or files tnsnames.
Please notify
We have three databases and we use the db_links inside these three db for transactions
so can we not use as main stbylpbt, as db_links does refer to db_link-host - lpbt solve in tnsnames who will fail.
Yes, you are right. You have to re-create these links db to point to your new primary database ("old Standby") using guests as "STBYLPBT".
As mentioned previously, you must redirect all your applications and users to point to the new primary database by making use of the "STBYLPBT" entry TNS.
in this case, after the success, if we need to change db_names (vice_versa) and listeners as was before
You don't have to do anything with regard to the 'db_name' or with the listener. Db_name remains the same on the primary and implementing standby.
I don't understand the reason for you to change the listener. 1 listener on the server must be able to accept connections.
80.0.0.240 is your host before and there is a listener on this. After a failover, it becomes your primary database. You would try to connect to the new primary database with input TNS "STBYLPBT." It reminds the host '80.0.0.240' which is your new primary database. Hope this clears.
STBYLPBT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 80.0.0.240)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = stbylpbt)
)
)
-Shivananda
Tags: Database
Similar Questions
-
Transition from primary role of sleep or standby to primary school
Dear all,
We have a primary database on Oracle 10 G R2 + eve of the same DB. Including maps, satellite etc. and large volume, crash of the primary database if we move from the role of standby mode database ensures primary school.
Can we do read/write operations?
and when the primary database is up can we turn on the roles and make the original primary database as primary and Standby Database ensures again?
and how we can change ensures ReadOnly database a database read/write primary and change again to a database of the day before?
Kind regards
Zeineb farhatCertainly...
-
Pending passage of the primary database to database
Hi Experts,
There is a database of oracle 10 g on a windows server and the database pending 1 * 0 g on another windows server *. The archivelogs in the primary database are generated on a network drive and they are applied on a regular basis of the primary database to the standby database, but now the primary database server broke down. If someone can tell me how to failover the database ensures the primary. I followed these steps but still Iam unable to move forward
on the standby server:
1 rman target sys/oracle@standby catalog rman/rman@catalog
2 recover database;
3 output
4 sqlplus sys/oracle@standby as sysdba
5 change the recovery of database managed standby database disconnect from the session;
6 alter database recover managed standby database finish;
7 change the database for validation at the grade crossing;
All records of the primary database in the backup catalog are applied with success, until no 6 but not 7 would give me an error indicating that the required media recovery. Can someone help me?
Thanks in advance...HI srp.
As u mentioned above you are primary database server crashed.
Now, you want to switch to mode ensures primary school.
Use the following commands to go to primary school
1 startup nomount
2. change the mounting base pending;
3. recover standby database managed disconnect from the session.
4 recover managed standby database finish skip standby logfile;
5 change the database for validation at the grade crossing;
6. immediate cessation
7. startingOtherwise, you need to activate the standby database using the command sequence
SQL > recover managed database finish pending;
SQL > alter database activate standby database;
SQL > stop & start.Kind regards
Praful K -
The DB DB_UNIQUE_NAME primary
DB version: 11.2.0.3
Platform: RHEL 5.8
Watch type: physical standby
All DBs primaries in our shop have its DB_UNIQUE_NAME set as same as DB_NAME.
As
-In the primary
SQL > select name, db_unique_name from v$ database;
NAME DB_UNIQUE_NAME
--------- ------------------------------
GCLRPMS GCLRPMS
As you can see in the below article written by Bhavin Hingu, where he named level DB_UNIQUE_NAME primary school with the difference that DB_NAME.
http://www.OracleDBA.org/11gR2/Dr/11gR2_dataguard_RAC_to_RAC.html
DB_NAME = BLABLA
DB_UNIQUE_NAME = USA
Is - this recommended? Do you think that it is good for the role reversals?
If you want more information PackT has a new book of Data Guard - 'Data Guard 11 GR 2 directors' chapter 11 has a ton of information on DB_UNIQUE_NAME and best practices.
The other thing to consider with DB_UNIQUE_NAME is how it might affect RMAN. Keep things simple, I say.
Best regards
mseberg
-
Used computers for primary school in South Africa
I visited the PRIMARY SCHOOL of NOMPONDO in Kwa Zulu Natal, South Africa. They need 40-50 computers for the computer lab they are building for children. It seems as if many companies use Dell computers as a service now and their old computers are returned to Dell. Dell has a program/person I can contact to bet used computers for these children? Must be able to run Windows 7. Thank you!
I read that it was to recover and recycle plastic and metal. You could try emailing the goodwill and check with them. This is the US site, but it's a place to watch.
http://www.goodwill.org/
-
What is the role of BIS blackberry server blackBerry smart phones?
What is the role of BIS blackberry server?
I need the answer in detail?
Thanks in advance
Chloe wrote:
See BIS blackberry internet service... It's just like an ISP = Internet service provider...
Hello
In fact, not quite "like." An ISP provides a primary internet connectivity to a computer/network, with often other services (e-mail, web and other accommodation). Latest BBs can, with no BIS-level service and with WiFi only, accessing the Internet fine for browsing the web and some other services. In addition, many can, with just a generic data plan, access the same things via the data network of the carrier. But certainly not BB exclusive services (e.g., BBM, email, BB Protect, etc.) works not at all... all the exclusive services of BB require subscription to a package of adequate data of the mobile operator.
There are many different levels of BIS plans... There are hundreds of carriers in the world, some with dozens of different BB data plans available. Some provide email and social networks only, but not web browsing. Others provide web and internet, but not the social networks. And there are quite a large number of variations in the light of all the exclusive services of BB. But, in all cases, they are provided by BRI... then BIS itself is the overall framework of the exclusive services BB, with plans of carriers of data allowing the various combinations of these different services available... all depends on what the user subscribes to with their mobile service provider.
Hope that helps!
-
Hi all
DataGuard digital switchover is Getting failed with the below error:
DGMGRL > passage to the "dry";
Continue to pass, please wait...
Error: ORA-16664: impossible to receive the result of a database
Failed.
Impossible to failover, primary database is always "PRIM".
Note:it comes to node unique database with physical styandby.
=====================================================
In alert log file provides, I am getting below the error during the failover operation:
Fatal OR connect 12514 error, connect to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1.localdomain)(PORT=1524)))(CONNECT_DATA=(SERVICE_NAME=PRIM_DGB)(INSTANCE_NAME=PRIM)(CID=(PROGRAM=oracle)(HOST=rac2.localdomain)(USER=oracle)))
Please suggest to solve this problem.
Thank you.
Problem is fixed - value StaticConnectIdentifier checked to a database of primary and standby in dgmgrl ==> primary port and standby was wrong wrt to the listening port value.
Step 1 > error ORA-16664 and ora-12514
==> check StaticConnectIdentifier value for a primary database and a standby in dgmgrl ==> primary port and standby had value default IE 1521
Primary:
SEE THE VERBOSE "PRIM" DATABASE
StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac1.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = PRIM_DGMGRL) (INSTANCE_NAME = PRIM)(SERVER=DEDICATED)))'
Standby time:
SEE THE DETAILED "DRY" DATABASE
StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac2.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = SEC_DGMGRL)(INSTANCE_NAME=SEC) (SERVER = DEDICATED)
Step 2 > listening port for the primary and standby is 1524 and 1525, so change these manually.
Primary:
SQL > show parameter local_listener
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
LOCAL_LISTENER chain
SQL > alter system set local_listener ='(ADRESSE = (PROTOCOL = TCP) (HOST = rac1.localdomain) (PORT = 1524))
Standby time:
ALTER system set local_listener = '(ADDRESS = (PROTOCOL = TCP) (HOST = rac2.localdomain) (PORT = 1525))';
#edit database 'PRIM' set the property StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac1.localdomain) (PORT = 1524)) (CONNECT_DATA = (SERVICE_NAME = PRIM_DGMGRL) (INSTANCE_NAME = PRIM)(SERVER=DEDICATED)))'
#edit database 'DRY' set the property StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac2.localdomain) (PORT = 1525)) (CONNECT_DATA = (SERVICE_NAME = SEC_DGMGRL)(INSTANCE_NAME=SEC) (SERVER = DEDICATED)))'
-
Hi all
I tried provide access to filter the group in both SSP and thru Maxl command but still get the error below. Any experience of this problem? If Yes, please let me know how you solved this problem.
ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.
Thanks in advance!
Krishna
Read the support document that I posted the link, prior to changes for openldap ensure you that it is saved.
-
After a passage to the we modify the tnsnames address list or y at - it another option using TAF
We have work on Oracle running on Oracle Linux 6.7 11.2.0.3. We have the only non rac primary and secondary instance unique instance no cars. We have installation Application transparent failure (TAF) that works very well, we have created service, the triggers for changes of role and configuring the listener. We have after tns
TAFTEST =
(DESCRIPTION =
(ADDRESS_LIST =
(FAILOVER = ON)
(LOAD_BALANCE = OFF)
(ADDRESS = (PROTOCOL = TCP)(HOST = taf.one.us) (PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = taf.two.us) (PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TAFTESTSERVICE)
)
)
TAF - one is the main stream. everything is good. We do a failover and TAF does its job. Select continue, sessions already open before the work of swtichover very well subsequently without errors.
However, no meeting again fails with ORA-01033: ORACLE initialization or shutdown in progress since the taf-one-us is now not the day before the main. If I manually modify the AMT so that taf - two.us is first then it works fine as it is now the main.
We tried (LOAD_BALANCE = ON) 1/2, but by the time we get the same error since it randomly chooses the standby address.
is this what we can add to the entrance of the AMT so that if the address of the 1st operation fails, it takes the second. understanding is that it is the default behavior, but it doesn't work like that. We do something wrong? We followed the code in
I think I found the cause and solution.
After some research (for example https://docs.oracle.com/cd/B28359_01/server.111/b28294/role_management.htm), I found that there was an additional trigger. Failovers undergo a transition of role. Therefore, a relaxation on the role changes to start and stop the service as needed.
The following trigger
create trigger WHENROLECHANGE after DB_ROLE_CHANGE ON DATABASE
declare
v_role varchar (30);
Start
Select database_role in the v_role of the v database $;
If v_role = "PRIMARY" then
DBMS_SERVICE. START_SERVICE ('drrpt');
on the other
DBMS_SERVICE. STOP_SERVICE ('drrpt');
end if;
end;
/now makes the configuration of the work. Selects existing continues to work to pick up where they were on the other server, existing connections continue to meet, and new connections go to the correct server without getting an error. When we make him switch to return chooses to continue to work and new connections to connect to the appropriate server.
Note that this is usually done for logical standby, but we need for physical too checksection 8.2.1 perform a failover of a physical database from the previous day
Step 4 Verify that the goal of the digital switchover is ready to be switched to the primary role.
Step 5 place yourself in the role of physical standby database target the main role.
Run the following SQL statement on the basis of Eve physical target:
SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WITH SESSION SHUTDOWN;
6. open the new primary database.
SQL> ALTER DATABASE OPEN;
Step 7 Start repeat if applied on the new information physical standby database.
Note that there no restart of the previous day, triggering of start on not be triggered. had he been restarted while this would have worked, since it was not we need the additional trigger for the role to change.
Thank you all for your efforts and work.
-
Competitor not starting not not to DR after passage in the
Hello
We have successfully configured recovery disaster for 11i ebs on windows environment.
Redo log shipping and applying normally and its working fine.
After the passage of the primary on the eve, we synchronized with the new primary database application services.
But while watching the concurrent managers, we are facing questions.
In the concurrent Manager log as its display error
Could not contact Service Manager FNDSM_ORACLEAP_HRDR. The TNS alias could not be located, the listening on ORACLEAP process could not be contacted or the listener cannot generate the process from the Service Manager.
Could not contact Service Manager FNDSM_ORACLEAP_HRDR. The TNS alias could not be located, the listening on ORACLEDB process could not be contacted or the listener cannot generate the process from the Service Manager.
We have made the steps below but make even persistent.
(1) connect apps/primaryapps
(2) exec FND_CONC_CLONE. SETUP_CLEAN;
(3) validation;
(4) run cmclean.sql
(5) run on nodes DB, CM & WEB autoconfig.
(6) run @%FND_TOP%\patch\115\sql\afdcm037.sql sccripts also.
(7) we have correct host entries in the system hosts file.
Kindly help me to solve this problem.
Thanks and greetings
Villi Kumar
Hello
The problem is solved now concurrent Manager is up and running after the digital switchover.
Solution:
After the passage of the database:
------------------------------------------
Complete the Configuration of database:
----------------------------------------
connect the apps/primaryapps
SQL > exec fnd_net_services.remove_system ('HRDR');
SQL > commit;
SQL > exec fnd_conc_clone.setup_clean;
run the automatic configuration on db
lsnrctl stop STHRDR
lsnrctl start STHRDR
Synchronization of the application:
-------------------------------
disable the listener applcaiton both on the odes before running the automatic configuration.
Run the autoconfiguration on cm node service
Run the autoconfig on the node of the Web
Check the node values using query below:
----------------------------------------------------
Select nodeName in fnd_nodes;
Select CONCURRENT_QUEUE_NAME from FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM'; ---> to the result of the query, for me web node hostname only came so I ran script below.
@%FND_TOP%\patch\115\sql\afdcm037.sql ---> this script updates the table with the details of the cm node
now, it seems very well.
Select CONCURRENT_QUEUE_NAME in the FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM ';
Then restart all servers.
Now start the database and applications.
Problem will solve itself.
Concerning
Villi Kumar
-
Assign the copy of the instance to the various participants in the role of different
I got some info about the forum given by Dan to use split and join
Have a question Dan if you can clarify please
Responsible for M1 assigns tasks analyst a1
then I call split so that the Manager M1 and A1 analyst sees same task which is nothing else than my jsp page in struts.
How do we know that both Manager and analyst are done with task so that they reach the join return?Hello
Once a the Split activity in your example, the Manager and the analyst reached work item instance each would have a copy of the work item in their Inbox because the Split has a transition to activity in the role of Manager and another passage to an activity in the role of the analyst.
Once the analyst has completed its work, the copy of the work item flows to join activity and executes the logic in the join. Similarly, when the Manager has completed its work, their copy of the work item flows to join activity and implements its logic. Given that the engine keeps track of when all the copies reached the join activity, once the second copy ends the execution of logic in the join, the original work item instance let the join activity and continues downstream in the process.
All this is done automatically by the engine when running.
Dan
-
Wheel rotation during the passage of the apps
Hello
I frequently meet the spinning wheel during the passage of the apps. For example an app can do one, but open window have not been used for a while and then when I click on the window to use it I get the wheel spinning for a few seconds.
I am running Yosemite 10.10.5 on a MacPro Mid 2010) with 16 GB of ram and 12 GB available on the 300 GB SSD drive. I just realized that maybe space on the boot drive may be the cause, so I'll empty now and update if there is no change.
Also, my SSD is a 500 GB Samsung SSD 840 EVO media and I think that the TRIM is not enabled? I read that TRIM was not based with SSDS of third party on my machine and was picking up information contradictory as to the time it was a problem or not. The lack of TRIM could be the cause of the spinning wheel?
Duane
You ran a 'cleaning', 'optimize' or 'speed up' apps on your Mac? Have you installed an antivirus software?
The 12 GB of free space must be sufficient and not to be the cause of the problem. Don't let him get any small however.
-
Question about the roles... color coding.
I have my film blocked in compound clips. I noticed a number of my compound clips is colored blue, instead of the usual gray. I'm sure it's on the roles I have attributed in the compound... clips but can not quite understand what it is... WHY compound clips themselves are blue light?
I was wondering if anyone has a useful quick thought?
Ben
YYou have the role selected in the roles of the index of the timeline panel.
-
Mac Pro is not displayed after the passage of the screens
OK, so this is a strange problem but it's very annoying (at least for me). I just bought a LG Ultrawide 29 "display and connected via a HDMI cable to my Mac Pro (Home machine) and a second HDMI cable to my Macbook Pro (desktop computer). The Mac pro / Macbook pro good work with the big screen, HOWEVER, when I use my Mac pro and select the tilt of the screen to switch to the HDMI 2 connection, it works and rocking on my Macbook pro. But when I try to switch it back to HDMI 1 (Mac Pro), it comes back with a black screen and says no signal. Even if I plug the HDMI cable it does not work. I set the timer to 3 hours sleep, doesn't always help. I know he's not missing sleep because itunes can be played when I spend and still playing music throughout and continued when I try to switch back. The only way I could get is long, press the button on my Mac Pro and restart.
The only reasonable difference that I know is that the Macbook pro is running Yosemites, while my Mac Pro running Beta El Capitan. I have a feeling, this is probably the cause, but I just wanted to know if someone has solved this problem somehow.
Thank you
Hello Hemlock70,
Thank you for using communities of Apple Support.
I understand that your external screen remains completely black, with a message no signal, during the passage of the views. For assistance with this problem, please go through the steps in the link provided below.
Get help with graphical problems on external displays connected to your Mac.
Take care.
-
Server 2008 - adding the role of print server to access the tools of PrintBRM?
HelloI have Windows Server 2008 with about 50 + printers currently installed. This server is configured to use Terminal Server services.
I want to access the PrintBRM tool to export this configuration for the additional Terminal servers, but I don't have the active print server role.If I add the role of server printer so I can use PrintBRM, will this affect my configuration current impression? I will start adding printers through print management?I appreciate the help!Figured it out.
Another server in 2008 with the role of print server already installed can remotely back up and restore a Server 2008 configuration of the printer using printbrm.Backup:%windir%\System32\Spool\Tools\PrintBRM s------nom_ordinateur_source b f filename.printerExportRestoration:%windir%\System32\Spool\Tools\PrintBRM s-nom_ordinateur_destination - r f filename.printerExportHelp:%windir%\System32\Spool\Tools\PrintBRM /?
Maybe you are looking for
-
My apple music does not appear on my iTunes on my computer
Im having trouble with the music on my phone from my apple and itunes on my computer. Im trying to connect all my songs to music on my apple phone with itunes on my computer windows 10, but I can't seem to make it appear on my computer. can someone h
-
Full screen is black when you use windows media player series Equium
Hello. When I watch TV on the windows media player so I have the problem. If I go to full screen, it's all black screen but I can hear sounds.Watch DVD is OK. I have my laptop for 4 months, but everything was ok.This problem started 2 days ago maybe
-
AirPort Extreme, gigabit Ethernet switch and covering my house
I have an AirPort Extreme 802.11n to Time Capsule wireless router. I have an old House. It was built in 1852 and microwave ovens have a hard time penetrating through some walls. Recently, I made some changes in the House and I wired things for Gigabi
-
Error "No products affected by this software update are installed on this computer"
Original title: can't get .net Framework install... The message "No products affected by this software update are installed on this computer." I'm running XP x 64... This is a clean install. I tried to start an application and he wrong on the .net F
-
Backup to restore the World Edition on Storm blackBerry Smartphones
Currently have World Edition and I am considering a storm but do not want to lose the emails I sent and received via a server I don't have access to. Can I restore the backup of the global edition on the storm so I have access to old emails?