Rolling Upgrade of Oracle 10gR2 RAC with Physical Standby (DG)
Hi DBAs,
I want to do a rolling upgrade of Oracle 10.2.0.3 (2 node RAC+ASM) with Physical Standy Dataguard to Oracle 10.2.0.4 also applying CPU (April2009).
Please suggest the best way to perform this upgrade and patching with no downtime.
Thanks
-Samar-
Unfortunately rolling upgrade is only possible with a logical standby in place:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/upgrades.htm#CHDBJAGG
That doesn't help you at this time, but 11g has a way to do it with a physical standby. Even here you need an intermediate logical standby:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rollup.htm#CHDHCBGA
Werner
Similar Messages
-
Primary RAC with physical standby
Hi all,
i have production setup as below
2 node 10gR2 RAC on win2K3 datafiles on ASM
Oracle Standard edition
On the standby site it will be a manual standby (since SE) .
Biz doesnt want the archives to be on local NTFS partition, hence the archives are on ASM. To resfresh the standby i need to transfer the archives through RMAN (catalog database is used) but facing issues when i take archive backup and put it on standby (error says that the files are already on storage) . So i am unable to refresh .
i guess it should be done through some scripts .... but how to register archives on the standby site.
Xml interface through catxdb was also tried(where we can ftp files from asm) but it takes only one file at a time so there will be manual intervention and not effective strategy
one more question: can i mount a shared drive (archives on this location) on primary RAC and same to be mounted on standby. If this is possible then i just need to shutdown the standby and give path of archives in asm and recovery can be done ?
pls share your feedback.....
thanks
[email protected]So what I would do is this :
On the Primary :
alter system set log_archive_dest_state_2=defer;
Then stop recovery on the Standby and shutdown the database.
Startup mount and start recovery again and run you query again on that sequence.
If it finally clears enable the primary again.
alter system set log_archive_dest_state_2=enable;
If not try to register it yourself.
By chance does this show its waiting for a gap
select process, status, sequence#, block# from v$managed_standby;Best Regards
mseberg
Edited by: mseberg on Aug 23, 2011 8:38 AM -
Solaris 10 + Oracle 10gR2 RAC question
Hello everyone
Has anyone come across the case where the CRS services of Oracle cause
the public interface to get turned off and then restored at random
time intervals? To elaborate, we have a 2 node cluster database.
Solaris 10, Oracle 10gR2 RAC with patch 10.2.0.3 applied. No SUN
clustering is involved. When the cluster software is down (nodeapps,
asm, database instances all down) /var/adm/messages show nothing. When
we start nodeapps on the 2 nodes(thus initiating some form of
communication between the nodes), at random time intervals we get
"interface ce0 turned off and interface ce0 restored" in /var/adm/
messages. When we check the status of the RAC, we see that one node's
vip has been assigned to the other. This on/off behaviour of the NIC
can be eliminated only if we continuously PING it from a another
client in the network.
As a matter of fact, the RAC and the RDBMS work perfectly when we keep
pinging the 2 nodes from an other client on the network. We even
managed to run a long batch job, distributed on cluster managed
services on the 2 instances, and it completed after 9 hours without
any problems.
Does anyone have a hint on this behaviour? Is there some sort of
timeout for the network cards? Some power saving features? Googling
around I came across the new Containers feature available on Solaris
10. Is there a way that I can verify that either RAC or the RDBMS is
running in "container" mode ( since the solaris and Oracle
installation was not performed by me)? Any other ideas?
Thank you for readingIm an Oracle guy - not the SA type -
But on ours - the SA configured this cluster incorrectly. We use veritas. instead of making ipmp groups for the interfaces - he built the cluster according to veritas docs. That is - he has two publics - on difference interfaces and different privates on different interfaces. oracle can only two interfaces - no matter if its a ipmp group or a device name. one is used for private- the other is used for public - So sure the veritas cluster filesystems will survive - but the Oracle Cluster will not - nodes will reboot -
Is your system set up incorrectly as i described above? if it is - a quick test would be - turn down the other interfaces - and only leave the two interfaces you mention above up that you configured for Oracle CRS
This other sharp sa was able to go through the arp table and see duplicate IPs - and the routing was attempted via an interface that oracle doesnt see. You can not define two different interfaces public - and two different interfaces for private - -
Upgrade Oracle 10gR2 RAC to 11gR2 RAC
Hi Gurus,
I got a requirement to upgrade my existing environment from Oracle 10gR2 RAC to 11gR2 RAC. My environment details are as follows
Operating system RHEL 5.5
Cluster version 10.2.0.4
ASM version 10.2.0.4
Database version 10.2.0.4
Storage HP EVA (Multipathing)
Could any one please specify the links or documents to complete this task!
Thanks & Regards,
VenkatHI!
In my practise we have hardware to move 10g -> 11g.
We upgrade our DB's -> install Grid 11g on new server, move DB 10g, Upgrade 10g -> 11g.
You should work on this topic's:
Oracle® Database Upgrade Guide 11g Release 2 (11.2)
NEW FEATURES 11gr2
Complete Checklist for Manual Upgrades to 11gR2
Oracle Recommended Patches
Oracle Clusterware - ASM - Database Version Compatibility
How to Download and Run Oracle's Database Pre-Upgrade Utility
Best Practices to Minimize Downtime During Upgrade
Things to Consider Before Upgrading to 11.2.0.2 Grid Infrastructure
Different Upgrade Methods For Upgrading Your Database
All in you hands!!! -
Oracle 10gR2 RAC - ASM question
Hi
I have a question regarding the ASM storage. Let says I have a system here running Oracle 10gR2 RAC and would like to add a new/extend the current DATA disk group with more disk space. How do I do that? will it affect the existing data stored inside there?So to add a little more to the discussion. Let's say your storage administrator presents you a LUN and is nice enough to add a partition of say 7G. (/dev/sdo1).
Now you need to take /dev/sdo1 stamp it and alter your storage group.
For illustration purposes I shall use rac1 and rac2 as my dual instance RAC and add to the asm group ARCH.
As root on rac1
/etc/init.d/oracleasm createdisk ARCH2 /dev/sdo1
then run
/etc/init.d/oracleasm listdisks
to make sure ARCH2 shows up.
On rac2 you run
/etc/init.d/oracleasm listdisks
You don't see ARCH2 so then run
/etc/init.d/oracleasm scandisks
then
/etc/init.d/oracleasm listdisks
Now you should see ARCH2
Ok the asm stamps are in sync now.
Back to rac1
su - oracle
set ORACLE_SID to asm instance and use sqlplus
sqlplus / as sysasm
If you query V$ASM_DISK you will see your disk with a header_status of PROVISIONED
that's good ...
NOw while still in sqlplus
Let's bump up the asm_power_limit so rebalancing runs faster
alter system set asm_power_limit=5 scope=both ;
If your asm instance are sharing the same spfile you only need do this on one instance; otherwise run the command both on all asm instances.
Lastly
ALTER DISKGROUP ARCH ADD DISK 'ORCL:ARCH2' ;
Now you can query V$ASM_OPERATION and watch ASM do it's magic of rebalancing.
That's it. All done while the DB is up and running.
How does that work for you?
-JR jr -
Db_file parameter change in oracle 8i with physical standby configured
i have oracle 8i (8.1.7) with physical standby configured.
i need to change the db_file parameter value. kindly check the below steps are correct? Thanks.
1. alter database backup controlfile to trace;
2. edit the init.ora file as db_file=<new value> (after backing up the existing pfile)
3. edit the create control file statement in udump -- max datafile (and also remove the first line startup nomount)
4. shutdown immediate;
5. startup pfile ='file name';
6. in sqlplus run the create control file statement;
7. alter database backup controfl file for standby;
8. move the standby control file to standby db server
9. shutdown immediate in standby
10. copy the pfile and edit the new values
11. startup mount pfile='new pfile' (in standby)
12. recover control file <location> from rman
13. start the recovering of standby.
Thanks,
Raman.Just change the db_files value to some higher value in the init.ora file and restart the database. With this you can create more datafiles no need to create control file.
-
Does managing Oracle 10g RAC with ASM require full root access?
We currently have three entirely separate support areas, Unix, Storage and DBA. We're now considering using Oracle 10g RAC with ASM and as part of the assessment trying to work out if we can still draw similar support boundaries. I know that installing RAC and configuring ASM requires root access but will DBA continue to need root access to manage & support RAC? If so, does anyone know if the commands they need can be RBAC'd or if we just need to share root access going forwards. I've had a look at a number of docs including http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm. which is fairly informative but none of them seem to mention the requirement for root access on Solaris. I'm guessing they just assume that it's available, but that's not generally the case in our environment.
All advice / info welcome!I would have thought that the only reason you would need root access once RAC and ASM had been set up would be to add more disks to the ASM configuration. This would be needed to change the ownership on the raw LUNs or to make additions to metasets (SVM/Oban) or diskgroups (VxVM/CVM). Beyond that, I can't imagine needing root access.
I'm sure others will chime in if they can think of other reasons!
Regards,
Tim
Edited by: Tim.Read on Jun 3, 2008 2:25 AM -
Patching with physical standby document
There is this old document targeting 9i. Is there anything for 11g of a similar nature:
Applying Patch Sets / Interim Patches with Physical Standby Database in Place in Oracle 9i [ID 187242.1]You require others to search for free on your behalf?
Shame on you!
Sybrand Bakker
Senior Oracle DBA -
Crs installation problem in oracle 10g rac with NAS storage
Hi,
for my practice i am trying to install oracle 10gR2 on RHEL5-64bit OS in my laptop.
during my crs installation i have struckup with the below error while i am executing root.sh in node1.
Error:
+++++
Setting the permissions on OCR backup directory
Setting up NS directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
ocrconfig.log ;
++++++++++++
NFS file system /u01 mounted with incorrect options
[ OCROSD][4265610768]WARNING:Expected NFS mount options: wsize>=32768,rsize>=32768,hard,(noac | actimeo=0 | acregmin=0,acregmax=0,acdirmin=0,acdirmax=0
[ OCROSD][4265610768]utopen:6m'': OCR location [share/storage/ocr] configured is not a valid storage type. Rturn code [37].
As per metalink i have find that this problem is fixed with Patch:4679769
# Patch Installation Instructions:
# To apply the patch, unzip the PSE container file:
# p4679769_10201_LINUX.zip
# Set your current directory to the directory where the patch
# is located:
# % cd 4679769
# Copy the clsfmt.bin binary to the $ORACLE_HOME/bin directory where
# clsfmt is being run:
# % cp $ORACLE_HOME/bin/clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin.bak
# % cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin
# Ensure permissions on the clsfmt.bin binary are correct:
# % chmod 755 $ORACLE_HOME/bin/clsfmt.bin
3. Run the root.sh script and proceed with the installation.
**My question is still i am not install Database ..only i ma trying to install crs but in this readme .txt we need to replace the clsfmt.bin file in ORACLE_HOME/bin.**
**but i have not bin directory under in ORACLE_HOME.please clear my doupt to apply this patch...**
Regards,
MugunthAlso you clusterware installation installs to an ORACLE_HOME.
Oracle does only make a differentiation, if it has to be clear, that you got a clusterware home and a database home.
Normally if a patch is referring to $ORACLE_HOME (and the patch can be used for clusterware & database), it just means the installation directory of the oracle software installed.
Sebastian -
Oracle 10gr2 rac, ora-12545 error when configured in shared server mode
Hi i have fresh installation on two node rac on linux, with oracle 10gr2. It is running successfully, when i configure it in shared server mode and try to connect from client it gives error ora_12545:
I have referred the oracle metalink notes and configured the local_listener as well as the remote_listener,
still it is giving the error. I am able to tnsping all the entries on tnsnames.ora,
i m also able to ping the hostnames,
It connects most of the times succeessfully but some times it gives the error.
how to solve this problem,
please help meBasically this error means you misspelled the hostname or typed a wrong IP Address.
Oracle Error :: TNS-12545+
Connect failed because target host or object does not exist
Cause
The address specified is not valid, or the program being connected to does not exist.
Action
Ensure the ADDRESS parameters have been entered correctly; the most likely incorrect parameter is the node name. Ensure that the executable for the server exists (perhaps "oracle" is missing.) If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the host name to a numeric IP address and try again.
I suggest you to check the dispatcher instance parameter.
~ Madrid
http://hrivera99.blogspot.com -
Install Oracle 11G, RAC with VMWare, APPS R12, and OBIEE on one server?
Dear Experts,
I'm looking to upgrade my skills, and want to learn more of:
Oracle 11G, RAC, VMWare, APPS R12, and OBIEE
My server has two quad cores (8 CPU altogether) and 16 gigs of RAM.
Years ago, I took a shots at installing RAC on multiple servers and firewire.
One thing I remember was that after I installed RAC, I was not able to use the database unless I enabled all the RAC processes on the server. So, I was not able to just boot the database and use it in the traditional single server manner.
Which I will also want to do.
1) Does this symptom/aspect/characteristic of RAC install still exist?
2) Is it realistic to install all this software on one server?
If so, what is the order of operations for the install?
3) If I have to prioritize, I'd like to install
Oracle 11G, OBIEE, and APPS R12,
Would installing R12 and OBIEE on the same server present any conflicts or issues?
If not, what is the order of operations for the install?
11G, R12, then OBIEE?
Thanks a lot!Hi,
1) Does this symptom/aspect/characteristic of RAC install still exist?No.
2) Is it realistic to install all this software on one server?
If so, what is the order of operations for the install?For learning/traning/demonstration purpose you can Install all these software on same machine.
3) If I have to prioritize, I'd like to install
Oracle 11G, OBIEE, and APPS R12,
Would installing R12 and OBIEE on the same server present any conflicts or issues?
If not, what is the order of operations for the install?
11G, R12, then OBIEE?There will not be any conflicts. I would suggest you to select vmware or virtual box in order to configure all these sw's.
I have done such a configuration on my laptop with i7 Quad processor, 16GB RAM and 640 GB HDD.
I have Installed 2 node RAC, 2 Node ERP and all are running smoothly without any issues.
Refer:
http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
thanks,
X A H E E R -
Oracle 11gR2 RAC with Sun clsuter 3.3 clsetup not showing ASMDiskGroup RS
Hello,
I am installing Oracle 11gR2 RAC on Solaris cluster 3.3 with hardware RAID and ASM
I was able to register rac-famework-rg and crs-framework-rg.
Oracle RAC is up and running (confirmed from crs_stat -t -v)
However, while creating option 5. Automatic Storage Management (ASM) on clsetup, I was getting ERROR: ASM is either not installed or the installation is invalid!
I have created the asm-inst-rg with resource asm-inst-rs and asm-dg-rg with resources asm-dg-fra, asm-dg-data and asm-dg-crs using CLI. Please find the complete clrg and clrs status output below:
root@rac1 # clrg status
=== Cluster Resource Groups ===
Group Name Node Name Suspended Status
rac-framework-rg rac1 No Online
rac2 No Online
asm-inst-rg rac1 No Online
rac2 No Online
asm-dg-rg rac1 No Online
rac2 No Online
root@rac1 # clrs status
=== Cluster Resources ===
Resource Name Node Name State Status Message
crs_framework-rs rac1 Online Online
rac2 Online Online
rac-udlm-rs rac1 Online Online
rac2 Online Online
rac-framework-rs rac1 Online Online
rac2 Online Online
asm-inst-rs rac1 Online Online - +ASM1 is UP and ENABLED
rac2 Online Online - +ASM2 is UP and ENABLED
asm-dg-fra rac1 Online Online - Mounted: FRA
rac2 Online Online - Mounted: FRA
asm-dg-crs rac1 Online Online - Mounted: CRS
rac2 Online Online - Mounted: CRS
asm-dg-data rac1 Online Online - Mounted: DATA
rac2 Online Online - Mounted: DATA
Once I reach clsetup option 6: Resources for Oracle Real Application Clusters Database Instances, I was able to select cluster db name, oracle home, SID for both nodes, and it listed the asm-inst-rg and asm-inst-rs for selection of "Specify Oracle ASM Instance Resource".
The problem is the the next selection which is "Specify Oracle ASM Disk Group Resources" which does NOT list any asm-dg-rg or asm-dg-fra or anything, instead, it throws error "No existing disk-group resources available for selection. Run ASM subwizard create new resource(s) and come back to this panel for the selection."
Kindly guide me to create Resources for Oracle Real Application Clusters Database Instances either in CLI or clsetup
Thanks and Regards
Ushas SymonSolaris Cluster 3.3 u1 solved the issue.
The problem right now I am facing is IPMP on the public interface.
When I remove the cable on the bge0, the ip on bge0 and the SCAN IP's are plumbed to bge1 which is in sc_ipmp0, but NOT the virtual IP!!! and the listeners on both nodes go offiline!!!
any inputs on the configuration will be highly appreciated..
Thanks and Regards
Ushas Symon -
FORM NOT RESPONDING AFTER UPGRADING TO ORACLE 10GR2 DATABASE
Hi All
We are upgrading from Oracle 9i (single AIX Server) to Oracle 10gR2 on HACMP of 2 AIX 5.3 Server.
Our application is in Forms 9.0.4 deployed into iAS 10.1.2.0.2.
There is a custom Login Form that checks for UserID and Password and validate
to Authentication Table.
This form works fine in Oracle 9i but doesn't work in Oracle 10g (After
Upgrading).
On the Login Form, this happen :
After user enter UserID the forms query the DB and display UserName succesfully,
but after enter Password and press OK, it does not responding,
takes forever to complete..
Additional information :
Before : After :
Oracle 9i Oracle 10gR2
SIngle AIX Server Two AIX Server in HACMP
Charset : AL16UTF16 WE8ISO....
Given the information above, What could possibly cause this problem ?
Thank you for your help,
xtanto.xtanto,
not sure what causes the problem, but my suggestion is to check the password query.
To give you another hint: Your way of authenticating users is not hack safe. As you describe that providing a user ID will show the name first before I have to provide the password, it allows me to fish for valid user accounts. The recommended way of using login screens is to have the user enetring userid and password in teh same screen and use both information to authenticate the user in a single query.
Frank -
Oracle 10gR2 Data guard physical or logical standby server?
Hi
We are planing to implement an Oracle 10gR2 data guard standby server for DR purposes, I found out that there are two type of standby server which is logical and physical standby server. I want to know which one is preferable? in term of complexity of setup and maintenance?
regardsWell it depends on what you mean by maintenance. I found the physical standby to be very little trouble at all ; however the logical standby has restrictions on it that the physical standby does not. In essence the physical standby merely digest archive logs; where as the logical standby uses logminer like functionality to process sql statements much like Oracle streams.
Hope that helps,
-JR jr. -
Oracle SE RAC with separate datacenter
Hi all,
I'm wondering. At this moment we have oracle EE with data guard and we are thinking of getting oracle SE in stead.
I would like to have a high availability and we would like to use RAC with SE. We have 2 data centres that are about 3,5 km from each other and there is a direct fibre link between both. Can we do this with oracle SE?
we would like to use HP proliant servers, with 2 sockets and the data will be placed on a new Netapp SAN.
anyone?? I can't find any documentation about this.Hi,
>> At this moment we have oracle EE with data guard and we are thinking of getting oracle SE in stead.
It is this a Single node or RAC database ??
And what is the database version and platform??
>> I would like to have a high availability and we would like to use RAC with SE. We have 2 data centres that are about 3,5 km from each other and there is a direct fibre link between both. Can we do this with oracle SE?
With SE version you not changing the database version??
Regards,
Pradeep
Maybe you are looking for
-
My iphone 5 is not charging properly. Recently the USB cable was emitting sparks on connecting it to my laptop.This has resulted in physical damage of the wire. Is it still eligible for replacement since it is under 1 year warranty?
-
Hi, Using Pivot query i have generated Process in below format. RefNo Part Process1 Process2 Process3 1 A 20 15 15 2 B 10 10 10 3 B 5 5 5 4 c 10 9 9 5 b 20 19 19 I want to add Start time and End time for each Process. Like RefNo Part Process1 Startt
-
CPU and operating temps when rendering in FInal Cut
I had some issues in Final Cut today, and had to start a project over. I noticed render times seem to have gotten slower. I don't think it's just me, I remember my computer rendering clips much faster than it did after the crash. I also noticed the f
-
I am just getting started in Java and I have yet to get a jsp to run. I am running on a Tomcat server on NT. After trying several test applications I encounter the same error. Here is one example: Error: 500 Location: /w2web/W2Login.jsp Internal Serv
-
Hi Team/champions, I am confused in RMAN full DB backup why UNDO tablespce is included even we include the archive logs also. in Short ? why UNDO tablespace backup is required while taking RMAN backup ? Regards, Shitesh Shukla