asm upgrade on linux/unix - wordpress.com · 2010. 12. 18. · asm on linux in order to upgrade css...

17
® ASM Upgrade on Linux/Unix Author: Esteban Bernal Automatic Storage Management Industry's first and only database file system March 2009

Upload: others

Post on 23-Oct-2020

38 views

Category:

Documents


0 download

TRANSCRIPT

  • ®

    ASM Upgrade on Linux/Unix

    Author: Esteban Bernal

    Automatic Storage Management

    Industry's first and only database file systemMarch 2009

  • Author: Esteban Bernal 2

    ®

    ASM Upgrade On LINUXASM Upgrade On LINUX

    The ASM upgrade steps described in this document can be used for the next upgrade paths:

    a) ASM upgrade from 10.1.0.X release to 10.2.0.X release.

    b) ASM upgrade from 10.1.0.X release to 11.1.0.X release.

    c) ASM upgrade from 10.1.0.X release to 11.2.0.X release.

    d) ASM upgrade from 10.2.0.X release to 11.1.0.X release.

    e) ASM upgrade from 10.2.0.X release to 11.2.0.X release.

    f) ASM upgrade from 11.1.0.X release to 11.2.0.X release.

  • Author: Esteban Bernal 3

    ®

    ASM ON LINUXASM ON LINUX

    In order to upgrade CSS & ASM instance to 10.2 or 11g release the next steps needs to be accomplished:

    1) Install the Oracle Server 10.2 or 11g.

    2) Shutdown all the database instances that are using ASM as storage option.

    3) Shutdown the ASM instance.

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 4

    ®

    ASM ON LINUXASM ON LINUX

    4) Oracle cluster Synchronization Services (CSS) needs to be upgraded as follow:

    Connect as root user and execute:

    $ORACLE_HOME/bin/localconfig reset

    Where: $ORACLE_HOME is your new ASM Oracle Home.

    5) Startup the ASM instance (connected as Oracle OS user) as usual (using the old ASM Oracle Home e.g. 10.1.0.5).

    6) From another graphical session, set the environment variables(ORACLE_HOME, PATH, etc.) pointing to your new ASM Oracle Home (e.g. 11.1.0.6).

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 5

    ®

    ASM ON LINUXASM ON LINUX

    7) Execute the DBUA from the new 10.2 or 11g ASM Oracle Home:

    $ORACLE_HOME/bin/dbua

    Where: $ORACLE_HOME is the new ASM Oracle Home

    8) DBUA will show 2 options:

    =)> upgrade a database

    =)> upgrade ASM instance.

    9) Select [upgrade ASM instance] option. The DBUA will upgrade your ASM instance to the latest release automatically.

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 6

    ®

    ASM ON LINUXASM ON LINUX

    10) Finally, please startup the databases that are using ASM as storage option.

    Note: The databases will not be affected with the ASM upgrade. The databases will remain in the original release since they do not share the same Oracle Home.

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 7

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 8

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 9

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 10

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 11

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 12

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 13

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 14

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 15

    ®

    ASM ON LINUXASM ON LINUX

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 16

    ®

    ASM ON LINUXASM ON LINUX

    References:

    Note.736121.1Note.736121.1 How To Upgrade ASM from 10.2 to 11.1 (single Instance How To Upgrade ASM from 10.2 to 11.1 (single Instance configuration / Nonconfiguration / Non--RAC)?RAC)?

    Note.736127.1Note.736127.1 How To Upgrade ASM from 10.2 to 11.1 (RAC)?How To Upgrade ASM from 10.2 to 11.1 (RAC)?

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)

  • Author: Esteban Bernal 17

    ®

    ASM ON LINUXASM ON LINUX

    QuestionsQuestions

    Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to Upgrading CSS & ASM Instance to

    10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non10.2 or to 11g (non--------RAC)RAC)RAC)RAC)RAC)RAC)RAC)RAC)