Can we do a rolling upgrade?
I have a 9.0.4.0.99 production system that cannot accept much downtime and I want to move it (and all it's content to a new 10.1.2.0.0 system. Does anyone know what the best way to achieve this is?
It seems clear that it's not possible to export / import between different versions, but there must be a way to achieve the same result, surely?
Many thanks
Rob
Hi
There are two approaches to minimising downtime.
1. Clone the production system. Freeze production. Upgrade clone. Switch upgraded clone to be production. This process is not officially documented in a single location.
2. Break up the upgrade and perform it as a phased sequence of steps over multiple maintenance windows. This has the advantage that downtime at any one point is minimized. Some of the steps can also be done in parallel. Building a new mid tier does not affect the production tier.
Each of these approaches has its own advantages and disadvantages.
But my general advice on minimising downtime is to test/practice the upgrade and create scripts to automate any manual steps. If you know the upgrade sequence inside out you will minimise the chance of any unexpected problems creeping into the production run.
Regards
Similar Messages
-
Is it possible to delay a rolling upgrade after a single domain is updated?
Hello,
I am working on new Azure services for my group. For various reasons, we have decided that a Staging / VIP-Swap deployment is not useful for our group and will be going with a rolling upgrade. What I am interested in, is knowing if there is a way to
"pause" a rolling upgrade after the first update domain until it is released to complete. Or, for a set time ( 30 minutes, etc ), to allow us the opportunity to essentially have a A-B deployment of our webrole, to observe behavior while receiving
production traffic before the release has completely deployed.
Thanks for your help
Jeffhello Jeff,
Currently, base on my experience, delay a rolling upgrade or "pause" a rolling upgrade after the first update domain until it is released to complete, it may be difficult. I suggest you could can submit a feature suggestion on
http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting. I suggest you could get more detail about upgrade domain and fault domain (http://blog.toddysm.com/2010/04/upgrade-domains-and-fault-domains-in-windows-azure.html).
Best Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Rolling upgrade in MAA database with 2 node RAC on each site
All,
I have 2 node rac on SITE A, and it has Physical Standby database on SITE B it also 2 node RAC. Currently it is on 10.2.0.4 on AIX systems. We have mission crictical application runing and we can't aford the downtime of 5 to 6 hr to upgrade our CRS,ASM,DB oracle homes to 11G or even 10.2.0.5. I read rolling upgrade document on metalink and also documnet as well, and come up with following sequence.
SITE A==Primary Site, SITE B == Standby database
1) Shutdown DB on SITE B
2) Take the OS Level Backup of Binaries only on SITE B (Both node), I think this is just a Precautionary Measure
3) Start the DB on SITE B Still Physical Standby database let it synch with primary Site SITE A
4) Convert SITE B to Logical standby database
5) let it run for some time and be the two site SYNCH
6) now stop archivelog shipping to STANDBY SITE SITE B
7) Shutdown SITE B and apply the patch/upgrade binaries (CRS/ASM/DB)
8) Start and upgrade the DB on SITE B
9) Start the logical standby apply (SQL APPLY) and let it catch up with SITE A
10) Now Switchover to logical standby database on SITE B and ask application to connect to SITE B
11) Make sure the archivelogs are moving from SITE B to SITE A and SQL Apply is runing.
12) Now Stop archive log flow from SITE B to SITE A
13) Stop the database/ASM/CRS on SITE A
14) upgrade the SITE A binaries (CRS/ASM/DB)
15) Start and upgrade the DB on SITE A
16) Start the logical standby apply (SQL APPLY) and let it catch up with SITE B
17) Now Switchover Back to SITE A and let the application connect to SITE A
At this point by SITE B is a Logical Standby database
I think these summaries the steps involved in rolling upgrade, but I can't understand how I can go back to my MAA with physical standby database mode?
Does anyone has done this? Can anyone give me some tips or comments on my steps??
Help me if you can... thanks in advance.Hi,
Is it you want to know the OS/Kernel side setting? You must comply with the following kernel requirements to install the clusterware.
http://docs.oracle.com/cd/B28359_01/install.111/b28259/pre_hpux.htm#BABJHCJI
Thanks. -
Oracle physru rolling upgrade problem
Hi, I'm having a problem with the Oracle Physru script provided from MOS note # 949322 I was hoping I could get some help with.
My system contains of two Oracle 11.1.0.7.0, one primary and one physical standby.
The hosts are two Oracle Solaris 10 Sparc x64 machines.
My goal is to update from 11.1.0.7.0 to 11.1.0.7.8 using the script that is provided, however I'm bumping into problems at the step where the script is checking the Apply lag on the logical standby (function "get_apply_lag"). The lag seems to increase, and to be that indicates a problem with the redo apply process. However, when I query the DBA_LOGSTDBY_EVENTS View i get the following:
SQL> SELECT EVENT_TIME, STATUS, EVENT FROM DBA_LOGSTDBY_EVENTS ORDER BY EVENT_TIMESTAMP, COMMIT_SCN;
EVENT_TIME STATUS EVENT
20-SEP-11 16:02:12 ORA-16111: log mining and apply setting up
20-SEP-11 16:02:12 Apply LWM 848622, HWM 848622, SCN 848622
Showing the output from Primary archive dest 2:
SQL> show parameter log_archive_dest_2;
NAME TYPE VALUE
log_archive_dest_2 string service="test08db2", LGWR ASYNC NOAFFIRM delay=0 OPTIONAL compression=DISABLE max_failure=0 max_connections=1 reopen=300 db_unique_name="db_test08db2" net_timeout=30 valid_for=(online_logfile,primary_role)
SQL> select from v$LOGSTDBY_STATS;*
NAME VALUE
logminer session id 1
number of preparers 1
number of appliers 11
server processes in use 15
maximum SGA for LCR cache (MB) 50
maximum events recorded 2000000000
preserve commit order TRUE
transaction consistency FULL
record skipped errors Y
record skipped DDLs Y
record applied DDLs N
NAME VALUE
record unsupported operations Y
realtime apply Y
apply delay (minutes) 0
coordinator state IDLE
coordinator startup time 20-SEP-11 16:02:11
coordinator uptime (seconds) 727
txns received from logminer 62
txns assigned to apply 29
txns applied 29
txns discarded during restart 33
large txns waiting to be assigned 0
NAME VALUE
rolled back txns mined 4
DDL txns mined 2
CTAS txns mined 0
bytes of redo mined 8195884
bytes paged out 0
pageout time (seconds) 0
bytes checkpointed 709802
checkpoint time (seconds) 0
system idle time (seconds) 479
standby redo logs mined 0
archived logs mined 4
NAME VALUE
gap fetched logs mined 2
standby redo log reuse detected 0
logfile open failures 0
current logfile wait (seconds) 0
total logfile wait (seconds) 0
thread enable mined 0
thread disable mined 0
distinct txns in queue 0
41 rows selected.
SQL> select type, high_scn, status, pid from v$logstdby order by type;
TYPE HIGH_SCN STATUS PID
ANALYZER 850320 ORA-16116: no work available 20702
APPLIER 848808 ORA-16116: no work available 20719
APPLIER 850320 ORA-16116: no work available 20731
APPLIER 850204 ORA-16116: no work available 20727
APPLIER 848895 ORA-16116: no work available 20725
APPLIER 848665 ORA-16116: no work available 20705
APPLIER 848677 ORA-16116: no work available 20709
APPLIER 848728 ORA-16116: no work available 20713
APPLIER 848740 ORA-16116: no work available 20715
APPLIER 848796 ORA-16116: no work available 20717
APPLIER 848842 ORA-16116: no work available 20721
TYPE HIGH_SCN STATUS PID
APPLIER 848854 ORA-16116: no work available 20723
BUILDER 850320 ORA-16116: no work available 20221
COORDINATOR 850326 ORA-16116: no work available 20119
PREPARER 850318 ORA-16116: no work available 20223
READER 850326 ORA-16116: no work available 20217
16 rows selected.
Physru Script Output:_
### Initialize script to either start over or resume execution
Sep 20 14:35:41 2011 [0-1] Identifying rdbms software version
Sep 20 14:35:41 2011 [0-1] database nobilldb is at version 11.1.0.7.0
Sep 20 14:35:42 2011 [0-1] database nobilldb is at version 11.1.0.7.0
Sep 20 14:35:44 2011 [0-1] verifying flashback database is enabled at db_test08db1 and db_test08db2
Sep 20 14:35:44 2011 [0-1] verifying available flashback restore points
Sep 20 14:35:45 2011 [0-1] verifying DG Broker is disabled
Sep 20 14:35:46 2011 [0-1] looking up prior execution history
Sep 20 14:35:46 2011 [0-1] purging script execution state from database db_test08db1
Sep 20 14:35:46 2011 [0-1] purging script execution state from database db_test08db2
Sep 20 14:35:47 2011 [0-1] starting new execution of script
### Stage 1: Backup user environment in case rolling upgrade is aborted
Sep 20 14:35:47 2011 [1-1] stopping media recovery on db_test08db2
Sep 20 14:35:48 2011 [1-1] creating restore point PRUP_0000_0001 on database db_test08db2
Sep 20 14:35:49 2011 [1-1] backing up current control file on db_test08db2
Sep 20 14:35:50 2011 [1-1] created backup control file /opt/oracle/product/11.1.0.7/dbs/PRUP_0001_db_test08db2_f.f
Sep 20 14:35:50 2011 [1-1] creating restore point PRUP_0000_0001 on database db_test08db1
Sep 20 14:35:51 2011 [1-1] backing up current control file on db_test08db1
Sep 20 14:35:52 2011 [1-1] created backup control file /opt/oracle/product/11.1.0.7/dbs/PRUP_0001_db_test08db1_f.f
NOTE: Restore point PRUP_0000_0001 and backup control file PRUP_0001_db_test08db2_f.f
can be used to restore db_test08db2 back to its original state as a
physical standby, in case the rolling upgrade operation needs to be aborted
prior to the first switchover done in Stage 4.
### Stage 2: Create transient logical standby from existing physical standby
Sep 20 14:35:53 2011 [2-1] verifying RAC is disabled at db_test08db2
Sep 20 14:35:53 2011 [2-1] verifying database roles
Sep 20 14:35:54 2011 [2-1] verifying physical standby is mounted
Sep 20 14:35:54 2011 [2-1] verifying database protection mode
Sep 20 14:35:55 2011 [2-1] verifying transient logical standby datatype support
Sep 20 14:36:00 2011 [2-2] starting media recovery on db_test08db2
Sep 20 14:36:11 2011 [2-2] confirming media recovery is running
Sep 20 14:36:12 2011 [2-2] waiting for v$dataguard_stats view to initialize
Sep 20 14:36:13 2011 [2-2] waiting for apply lag on db_test08db2 to fall below 30 seconds
Sep 20 14:36:13 2011 [2-2] apply lag is now less than 30 seconds
Sep 20 14:36:14 2011 [2-2] stopping media recovery on db_test08db2
Sep 20 14:36:15 2011 [2-2] executing dbms_logstdby.build on database db_test08db1
Sep 20 14:36:27 2011 [2-2] converting physical standby into transient logical standby
Sep 20 14:36:52 2011 [2-3] opening database db_test08db2
Sep 20 14:37:28 2011 [2-4] configuring transient logical standby parameters for rolling upgrade
Sep 20 14:37:29 2011 [2-4] starting logical standby on database db_test08db2
Sep 20 14:37:37 2011 [2-4] waiting until logminer dictionary has fully loaded
Sep 20 14:37:58 2011 [2-4] dictionary load 17% complete
Sep 20 14:38:09 2011 [2-4] dictionary load 32% complete
Sep 20 14:38:19 2011 [2-4] dictionary load 43% complete
Sep 20 14:38:30 2011 [2-4] dictionary load 59% complete
Sep 20 14:38:40 2011 [2-4] dictionary load 62% complete
Sep 20 14:38:50 2011 [2-4] dictionary load 70% complete
Sep 20 14:39:01 2011 [2-4] dictionary load 72% complete
Sep 20 14:39:11 2011 [2-4] dictionary load 75% complete
Sep 20 14:40:54 2011 [2-4] dictionary load is complete
Sep 20 14:41:00 2011 [2-4] waiting for v$dataguard_stats view to initialize
Sep 20 14:41:01 2011 [2-4] waiting for apply lag on db_test08db2 to fall below 30 seconds
Sep 20 14:42:02 2011 [2-4] current apply lag: 316
Sep 20 14:42:32 2011 [2-4] current apply lag: 316
Sep 20 14:43:03 2011 [2-4] current apply lag: 376
Sep 20 14:43:33 2011 [2-4] current apply lag: 376
Sep 20 14:44:03 2011 [2-4] current apply lag: 437
Sep 20 14:44:34 2011 [2-4] current apply lag: 437
Sep 20 14:45:04 2011 [2-4] current apply lag: 497
Sep 20 14:45:35 2011 [2-4] current apply lag: 497
Sep 20 14:46:05 2011 [2-4] current apply lag: 558
Sep 20 14:46:36 2011 [2-4] current apply lag: 558
Sep 20 14:47:06 2011 [2-4] current apply lag: 618
I would appreciate any help I could get, I'm stuck =/
Regards,http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-upgrades-made-easy-131972.pdf
-
Rolling upgrade from 11.1.0.6 to 11.1.0.7
Hello -
I am testing the "rolling upgrade" from 11.1.0.6. to 11.1.0.7. I have a two node cluster on Linux. Is there a way to upgrade either the ASM software or the dbms software without causing downtime to the entire cluster? I can upgrade the clusterware in a true rolling fashion. However, when I attempt to upgrade the ASM location, it ends up taking down the other node. Same for the rdbms software - The other instance ends up going down when I start the patching on one instance - from the remove operations being performed. Has anyone successfully patched an entire stack (without downtime)?
Thanks in advance for any insights!Yes, I am following those instructions. The ASM instructions caused the other node to be inaccessible. But, when I did the rdbms upgrade, then node B was also inaccessible during that time. I will go through more iterations of this testing, but so far, I have not been able to develop a proof of concept for a true rolling upgrade from 11.1.0.6 to 11.1.0.7. If anyone has been able to do this, please let me know the procedures that were followed.
Thanks,
Mike -
Hi all
I'm performing rolling upgrade of cpu patch at rac environment
I open a connection to the database (using service) and it connects to the first node. Then I shutdown the first node to perform an upgrade and check the connection, but it doesn't switch to the second node automatically, but returns TNS error. What about if it's a production database and there're a lot of online scripts running on that node?
However, I tried it again and it automatically switched wihout any error. What can be reason?
thanks
JohnAgreed... use the -local option and do each node individually.
11gR2? If you have TNS issues, it is indicative of an improperly configured local/remote_listener or SCAN on one or more nodes. Sometimes when additional nodes are added, these parameters may not necessarily be correct. -
Hi all,
How to know if my Oracle home is shared to install the patcher 10.2.0.3 to 10.2.0.4 in rolling upgrade for Oracle Clusterware?
Which refers to the shared homes, only CRS Home or Oracle Home and CRS Home?
I have 3 nodes on RAC.
SO: Solaris Operating System (SPARC 64-Bit)
RDBMS: Oracle 10g R2
AminA shared Oracle home is one where a single Oracle Home is accessed via shared storage from multiple nodes. Contrast this with the case needed for rolling upgrade, where there would be a separate Oracle Home installed on each node in the RAC.
The CRS_HOME and ORACLE_HOME should be different in any event (they can be under the same Oracle Base).
Does that help? -
Rolling upgrade from 11.2.0.2 to 11.2.0.3
Windows 2008. 2 node RAC
I attempted a rolling upgrade from 11.2.0.2 to 11.2.0.3 in a dev environment in prep to do my prod. I hit all kinds of issues and when googling I found there was a known issue with rolling upgrades between these versions and there was a patch I was meant to have applied before starting the rolling upgrade. I rolled back to 11.2.0.2 but for the life of me, I cant find reference to that patch now.
anyone know what it is?
/still looking/Hello,
Please refer below document
Things to Consider Before Upgrading to 11.2.0.3 Grid Infrastructure/ASM (Doc ID 1363369.1)
You can check the section related to 11.2.0.2.
It is better to check complete document carefully before attempting the upgrade.
Regards,
Vijay -
Java.io.StreamCorruptedException after rolling upgrade
Hi,
After removing a first class citizen Class file A in Version2 and performing a rolling upgrade from Version1 to Version2 of our software we find an entry for Class A in replicated cache of Version2. Once we try to read / remove / or overwrite it with null we get a "java.io.StreamCorruptedException".
Is there a way to get rid of these kind of entries in the cache after rolling upgrade is performed or even prevent Class A to be added into the cache during de-serialization?
ThanksI'm not quite sure what you mean yet. Are you talking about the server code or the client code? And, can you be a little more specific on where the problem is? I'm sorry, it's just that I've spent quite a while on the code and I haven't found the problem yet. Thanks again.
-
How can I remove the iPhoto upgrade to my iMac OSX 10.2.8? Can the upgrade return my library?
With respect, we'll need rather more detail than that.
In general, you can only roll back an upgrade to a library with a back up. No back up, no roll back.
Regards
TD -
Hi,
I would like to upgrade our Oracle database from release 9i to oracle 10g.
Anybody have used "SQL Apply Rolling Upgrade" with a SAP application to upgrade the database ?
Thank's in advanced
FrancescHi Cristian,
well you can do / try that, but it is not supported in a SAP environment.
SQL Apply means Logical Standby database and this is explicitly not supported in a SAP environment - for more details please check SAPnote #105047 (sub point 14 - Oracle Data Guard).
However from a technical point of view it is possible as none of these restrictions usually apply a SAP environment ( Data Type and DDL Support on a Logical Standby Database ).
Regards
Stefan -
Hi All,
can you please explain abt rolling upgrades in rac env
suppose i am having rac setup on 10.2.0.1 if i want to apply patch set 10.2.0.4 is it required downtime
As per the readme of 10.2.0.4
1)Stop every thing on node 1 and apply patch set
2)stop every thing on node 2 and apply patch set
3)stop the database and run the catupgrd.sql script.
My question is for running catupgrd script i have to bring down the db so what the meaning of rolling upgrade??
And in this type of sece which type of upgrade is best one rolling or non-rolling.
KK
Edited by: user12061936 on May 20, 2010 2:35 PMHi HTH
Thank you for clearing my doubts regarding Rolling upgrades and i have gone though the link and i have noticed the following steps
For Standalone system
1) Install Oracle 10g to a separate Oracle Home on the same server
2) Create a 10g database with only the base tablespaces: SYSTEM, SYSAUX, UNDO, and TEMP
3) On the 9i database, put all your tablespaces into read only mode (write downtime begins)
4) Perform a transportable tablespace export of all non-system tablespaces (as a sysdba user)
5) Shut down the 9i database (true downtime begins)
6) Start up the 10g database
7) Perform a transportable tablespace import into the 10g database (end true downtime)
8) Make all your tablespaces read/write (end write downtime)
The above steps is going to work only for 9i to 10g or can we use it to any version to version.
BY using TTS is it suggestable method to do the upgrade??
KK
Edited by: user12061936 on May 21, 2010 11:41 AM -
Rolling upgrade with Data Guard
I'm interesting if this table of possible upgrade from documentation (http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/preup.htm#i1007814) is true, if I have a plan to do rolling upgrade with Data Guard?
I thinking no, that table does not appear to have Rolling Upgrade Information.
If I read the document correctly you can only this with a logical standby database in Data Guard.
Larry Carpenter's book has some information on this in Chapter 11.
There is also a separate Data Guard section here where you might find more information.
Data Guard
Best Regards
mseberg -
Memory modules can we use for RAM upgrade of HP Pavilion dv5-1198de??
What memory modules can we use for RAM upgrade of HP Pavilion dv5-1198de??
Max RAM? Vista? Windows 7?I can't find a dv5-1198de but I did find a dv5-1198er which should be similiar. It states up to 8 gb of ram. HERE
I would try www.Crucial.com for suggested memory ,you can use their Scanner Tool to let it detect what you have and what you can upgrade/replace with.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll, but a transparent "album" screen is over it and I cannot click on the photos to see it... can any one please help ???
Known bug. Quit the Camera App, double-tap the home key and delete Camera from the recent apps bar. Fire it up again, should be good.
Maybe you are looking for
-
Is there a way to create a thumbnail for QuickTime videos on a PC? (Windows XP) All the the videos currently have the same QuickTime logo as their thumbnail.
-
What cords do I need to hook up my mac book pro to a Toshiba 32 T.V.
I'm trying to find out if anyone can help me with finding out what accessories I might need to hook up my mac to my toshiba 32 T.V. I could probably use a little guidence when it comes to istallation as well.
-
No pictures in the gallery N86 after failed Ovi Sh...
Tried to install Share Online, but failed. After this I can't view any pictures in the gallery, only white squares. Have discovered that Share was preinstalled. What should I do? Restore original setting will create much work, as I have RoadSync emai
-
Partition Error - target disk too small
On my 3.1Ghz iMac running OSX 10.8.5 I'm trying to Partition my Hard drive so I can setup a second boot. Currently my Macintosh HD has 404.07GB USED and 707.75 AVAILABLE. I'm trying to add a partition that is about 350GB. But when I do so, it gives
-
ORA-01882: timezone region not found in NetBeans 7.0.1
Please how do I solve ORA-01882: timezone region not found in Netbeans 7.0.1 ?