Tuesday, September 29, 2009

Upgrade the standby dataguard ASM structure to Oracle 11gR2.: Upgrade ASM to 11gR2

Oracle 11gR2 is out for Linux, and I decided to upgrade one of my existing 11.1.0.6 database with ASM to 11.2.0.1. Direct upgrade to 11gR2 is supported from 9.2.0.8 or higher, 10.1.0.5 or higher, 10.2.0.2 or higher and 11.1.0.6 or higher. If you have a database 9.2.0.6 then first you need to upgrade to intermediate release i.e 9.2.0.8 then to 11.2.0.1.

    9.2.0.6==>9.2.0.8==>11.2.0.1
    8.1.7.0==>8.1.7.4==>10.2.0.4==>11.2.0.1

I will show a upgrade of an existing Single Instance 11.1.0.6 database with ASM, having
same ORACLE_HOME, to Oracle 11gR2 with ASM.
The Oracle environment is a Dataguard structure bases on 11.1.06 with ASM.

The new situation will be one ASM instance with 11.2 and Oracle instance 11.1.0.6
The upgrade needs to be performed in two phases:

Done       1. Upgrade the ASM instance of one of the DG’s
Pending   2. Upgrade the other ASM instance of the DG structure
Pending   3. Upgrade Oracle databases.

There are three ways to upgrade already existing ASM instance:

         - Using OUI of Grid Infrastructure
         - Using ASM Configuration Assistant
         - Manual upgrade

The recommended method to upgrade ASM instance is to use OUI of Grid Infrastructure,which I will used. From Oracle 11gR2 onwards ASM is part of Grid Infrastructure and we need to download Grid Infrastructure software first. To download the software for 11gR2 Grid Infrastructure

Start the Oracle runInstaller

./runInstaller

  1. It will automatically start with the default “Upgrade Mode”
  2. Upgrade11gR2_01
    Upgrade11gR2_02
  3. Click on Next
  4. Upgrade11gR2_03
  5. Click Yes.
    It will detect the already existing ASM instance. Shutdown the Database and ASM instance at this point.
  6. Upgrade11gR2_04
  7. Select the language and click on Next
  8. Upgrade11gR2_05
  9. Give the password for the ASMSNMP user and click on Next
    Remark: The is a security and checking on the password
    see Information Password Checking at the end of this Blog post.
  10. Upgrade11gR2_06
  11. Select the usergroups and click on Next
  12. Upgrade11gR2_07
  13. This a recommendation of oracle. I allow it and click on Yes
  14. Upgrade11gR2_08
  15. Validate or insert the Oracle base and Software location and click on Next.
  16. Upgrade11gR2_09
  17. On my system some Settings are not correct. The cause is my VMware settings
    I select the Ignore text box and click on Next. 
  18. Upgrade11gR2_10
  19. Create a response file by clicking on Save Response file button
  20. Upgrade11gR2_11
  21. Give the location and file name and click on Save and then on Finished see step 9
  22. Upgrade11gR2_12
  23. Logon as root and execute the “/u01/app/oracle/product/11.2.0/grid/rootupgrade.sh” script.
     
  24. Upgrade11gR2_13
  25. Click on OK in the X-window see step 11
  26. Upgrade11gR2_14
  27. Click on Skip button 
  28. Upgrade11gR2_15
  29. Click on Close
  30. Upgrade11gR2_16
  31. Click on Close



Information Password Checking

Upgrade11gR2_PWD_01
Oracle will check the password of the user and give a popup when the oracle validation is not conform de recommendations of Oracle.

Upgrade11gR2_PWD_02

Oracle Password Recommendations when prompted for a password.

Upgrade11gR2_PWD_03


Oracle recommends that the password you specify:

•contains at least one lowercase letter.
• contains at least one uppercase letter.
• contains at least one digit.
• is at least 8 characters in length.
• uses the database character set which can include the underscore (_), dollar ($), and pound sign (#) characters.
• if contains special characters, including beginning the password with a number or symbol, then enclose the password with double-quotation marks.
• should not be an actual word

No comments:

Post a Comment