11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 9 ■ STORAGE MANAGEMENT 367If you are upgrading a non-RAC ASM instance, you will be required to reconfigure the<strong>Oracle</strong> CSS using the new ORACLE_HOME. You can do this by executing the localconfig commandfrom the <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g ASM ORACLE_HOME before upgrading ASM:cd $ORACLE_HOME/bin[root@rac103 bin]# ./localconfig resetSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.Configuration for local CSS has been initializedStale CSS daemon is running... killing it nowCleaning up Network socket directoriesSetting up Network socket directoriesAdding to inittabStartup will be queued to init within 30 seconds.Checking the status of new <strong>Oracle</strong> init process...Expecting the CRS daemons to be up within 600 seconds.Cluster Synchronization Services is active on these nodes.rac103Cluster Synchronization Services is active on all the nodes.<strong>Oracle</strong> CSS service is installed and running under init(1M)Once the CSS configuration is complete, you need to change your ORACLE_HOME to the new<strong>Oracle</strong> version <strong>11</strong>.1 ORACLE_HOME and start the ASM instance. When everything is up and running,grant the new sysasm role to the administrative account user (sys), as shown here:SQL> grant sysasm to sys;If you have obsolete initialization parameters, you can address them now. To get a listingof all the obsolete initialization parameters, please refer to the ASM alert log file.Upgrading Using DBUAYou can also perform the ASM upgrade to <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g using DBUA. Since <strong>Oracle</strong> <strong>Database</strong>10g, <strong>Oracle</strong> development invested an enormous amount of hours on the upgrade utilitiesto deliver ease-of-upgrade processes. Similar to providing a simplified upgrade process in <strong>Oracle</strong><strong>Database</strong> 10g, DBUA can be used to upgrade the ASM instance from <strong>Oracle</strong> <strong>Database</strong> 10g to<strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g. The DBUA utility performs numerous activities during the upgrade process.First, the password file is copied from the <strong>Oracle</strong> 10.x ORACLE_HOME to the <strong>Oracle</strong> <strong>11</strong>.1 ORACLE_HOME. Second, the oratab file is updated, and when the upgrade is complete, sys is granted thesysasm role. During the upgrade process, it will convert the init$ORACLE_SID.ora file to an spfile. Inaddition, the spfile will be relocated to the ASM instance if it was not there before the upgradeprocess. To initiate the upgrade process, change the directory to the new $ORACLE_HOME/bindirectory, and launch DBUA:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!