Sunteți pe pagina 1din 6

Alternative Way To Upgrade An ASM Standalone Configuration From Release 11.2.0.

<#> to
release 12.1.0.<#>. (Doc ID 1964405.1)

In this Document

Goal
Solution
  Community Discussions
References

APPLIES TO:

Oracle Database ­ Enterprise Edition ­ Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.
Currency Check on 15­Aug­2013

GOAL

The present document will provide the steps to perform an alternative way to upgrade an ASM Standalone configuration from
release 11.2.0.<#> to release 12.1.0.<#>.

Note: Only use the next procedure when the conventional/standard upgrade procedure fails or is not
working, the conventional method steps are documented in detail in every README patchset.

SOLUTION

1) First of all, please shutdown the current database & ASM instances.

2) You need to install the New 12.1.0.<#> Patchset Grid Infrastructure Standalone  "Software Only" first (on a separated
Oracle Home/directory AKA "out of place").

3) Then configure the CSS & OHAS services as root user:

# $<Old Grid Infrastructure Oracle Home>/crs/install/roothas.pl ­deconfig ­force

# $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/crs/install/roothas.sh

Or

# $<Old Grid Infrastructure Oracle Home>/crs/install/roothas.pl ­deconfig ­force

# $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/crs/install/roothas.pl 

Note: On Solaris configurations the following script needs to be executed as well:
# <12c Grid Infrastructure>/perl/bin/perl ­I <12c Grid Infrastructure>/perl/lib ­I <12c
Grid Infrastructure>/crs/install <12c Grid Infrastructure>/crs/install/roothas.pl

4) Please perform the next steps as oracle or grid OS user (Grid Infrastructure OS owner):

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl modify resource
"ora.cssd" ­attr "AUTO_START=1" ­unsupported

Note:  On  release  &  onwards  11.2.0.3 (non­Exadata), "ora.diskmon"  is  not  required  anymore  since  this  is  an  Exadata
related process responsible for the I/O fencing.

5) Restart the OHAS stack as grid or oracle OS user:

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl stop has

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl start has

6) Check the CSS & OHAS state as grid or oracle OS user:

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl check has

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl check css

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/ crsctl stat resource

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl stat res ­t

Note: If the CSS & OHAS service did NOT start, then you will need to reboot the Linux box and check them again.

7) Remove the Old listener running under the old Grid Infrastructure Oracle Home, thru the NETCA GUI (from the old Grid
Infrastructure Oracle Home).

8) Recreate the default listener (LISTENER) using port 1521, thru the NETCA GUI located on the new Grid Infrastructure
Oracle Home.

9) Please create the init+ASM.ora file on the $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/dbs directory with the next
parameters:
asm_diskgroups= <list of diskgroups>

asm_diskstring= 'ORCL:*' or '/dev/oracleasm/disks/*' 

instance_type='asm'

large_pool_size=12M

10) Add the ASM instance as grid or oracle user or the Grid Infrastructure installation owner and execute:

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/srvctl add asm

11) Enable ASM instance Auto Start as follow:

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl modify resource
"ora.asm" ­attr "AUTO_START=1" ­unsupported

12) Make sure the disks are discovered by kfod:

Example:

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/kfod asm_diskstring='ORCL:*'
disks=all

Or

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/kfod
asm_diskstring='/dev/oracleasm/disks/*' disks=all

13) If so, then startup the ASM instance as follow:

$> export ORACLE_SID=+ASM

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/sqlplus "/as sysasm"

SQL> startup pfile=init+ASM.ora ­­#init file from point #9

SQL> show parameter asm

14) Validate that the original diskgroup(s) were mounted:
SQL> select name, state from v$asm_diskgroup;

15) Create a new ASM instance spfile:

SQL> create spfile from pfile;

16) Add the new ASM spfile and listener to the new ASM instance resource:

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/srvctl modify asm  ­p <ASM
spfile full path>

$> $<New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/srvctl modify asm  ­l LISTENER

17 Finally validate the OHAS (autostart) services start as follow:

$><New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl stop has

$><New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl start has

$><New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl stat res

$><New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl stat res ­t

18) Check the new HAS version as well as follow:

$><New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl query has releaseversion
$><New 12.1.0.<#> Grid Infrastructure Oracle Home>/bin/crsctl query has
softwareversion

19) If you need to add additional OHAS/Restart/SIHA resources (e.g. database instances), then please follow the steps
described in the next note:

=)> Reconfiguring & Recreating The 11gR2 Restart/OHAS/SIHA Stack Configuration (Standalone).
Document 1422517.1
Community Discussions

Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this
subject. (Window is the live community not a screenshot)

Click here to open in main browser window

Storage Management (ASM ACFS DNFS ODM) (MOSC)
in Oracle Database (MOSC) 

Overview Content People Subspaces

SPACES YOU FOLLOW ASK STORAGE MANAGEMENT (ASM ACFS DNFS ODM) (MOSC)

Spaces Type your question

Find Space

Type to begin your search

Storage Management News & Announcements Alerts

Oracle 12c is now Available!
Oracle Database 12c (Overview)
12c Software is Available
12c Documents
Oracle Magazine: SPARC microprocessors, SPARC T5 and SPARC M5.
Archive Issues
Technical Articles
Communities
Storage Search Assistant [ID 1552419.2]

REFERENCES

NOTE:1422517.1 ­ Reconfiguring & Recreating The 11gR2/12cR1 Restart/OHAS/SIHA Stack Configuration (Standalone) / How
to Reconfigure Oracle Restart
NOTE:1422415.1 ­ Alternative Way To Upgrade An ASM RAC Configuration From Release 10.2 Or 11.1 To Release 11.2.
Didn't find what you are looking for?

S-ar putea să vă placă și