Install Oracle Grid Infrastructure 12.1.0.1++ on Fedora 17 – 20


In my previous post i’vh described how to set up the Oracle 12c Database Software to get working on Fedora 17 up to 20. Today i’m going to to show how to setup a RAC Cluster (12.1.0.1) on Fedora 17++ (I’vh testet on Fedora 20). My enviroment: 2x VirtualBox, Fedora 20 x86_64, with 4 CPUs, 4092 MB RAM, 50GB local, 10GB shared disks, 2x NIC Paravirtualized

1. Prerequirements

First start follow the Oracle Database 12c Quick Installation Guide to setup the base for the Grid Infrastructure (see here)
During the setup of the inital stuff you should mention something like that:

Loaded plugins: langpacks, refresh-packagekit
No package libcap1 available.
Error: Nothing to do

This problem doesn’t matter, because there is a newer working version:

[root@fed01 ~]# yum list libcap
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
libcap.x86_64                                             2.22-7.fc20                                             @anaconda
Available Packages
libcap.i686                                               2.22-7.fc20                                             fedora

To avoid an exception like this:

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /opt/oracle/12.1.0.1/grid/crs/install/crsconfig_params
/opt/oracle/12.1.0.1/grid/bin/crsctl query crs releaseversion ... failed rc=127 with message:
 /opt/oracle/12.1.0.1/grid/bin/crsctl.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory 

Failed to create keys in the OLR, rc = 127, Message:
  /opt/oracle/12.1.0.1/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory 

2014/02/28 00:13:19 CLSRSC-188: Failed to create keys in Oracle Local Registry

Died at /opt/oracle/12.1.0.1/grid/crs/install/crsutils.pm line 6479.
The command '/opt/oracle/12.1.0.1/grid/perl/bin/perl -I/opt/oracle/12.1.0.1/grid/perl/lib -I/opt/oracle/12.1.0.1/grid/crs/install /opt/oracle/12.1.0.1/grid/crs/install/rootcrs.pl ' execution failed

… you have to relink the existing library …

[root@fed01 install]# cd /usr/lib64/
[root@fed01 lib64]# ln -s /usr/lib64/libcap.so.2 /usr/lib64/libcap.so.1

Futher i’vh disabled the firewall to avoid network problems during my tests

systemctl disable firewalld.service

2. Unpack and install the software

There will be nothing special. During linking process you will get the following error:

fedora20_12c_rac

To workaround this errors please follow my previous post. (see here)

You should be able to complete the installation up to the root.sh successfully.

3. root.sh

If you are going to execute the root.sh right now, you will get the following problem:

[root@fed01 lib64]# /opt/oracle/12.1.0.1/grid/root.sh 
Performing root user operation for Oracle 12c 

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/oracle/12.1.0.1/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:  
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /opt/oracle/12.1.0.1/grid/crs/install/crsconfig_params
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
2014/02/28 00:16:34 CLSRSC-330: Adding Clusterware entries to file '/etc/inittab'

2014/02/28 00:18:40 CLSRSC-214: Failed to start 'ohasd'

Failed to start the Clusterware. Last 20 lines of the alert log follow: 
2014-02-28 00:13:19.635: 
[client(8796)]CRS-2101:The OLR was formatted using version 4.
2014-02-28 00:15:11.647: 
[client(9189)]CRS-2101:The OLR was formatted using version 4.

CRS-4133: Oracle High Availability Services has been stopped.
2014/02/28 00:31:53 CLSRSC-117: Failed to start Oracle Clusterware stack

Died at /opt/oracle/12.1.0.1/grid/crs/install/crsutils.pm line 8813.
The command '/opt/oracle/12.1.0.1/grid/perl/bin/perl -I/opt/oracle/12.1.0.1/grid/perl/lib -I/opt/oracle/12.1.0.1/grid/crs/install /opt/oracle/12.1.0.1/grid/crs/install/rootcrs.pl ' execution failed

Oracle’s Grid Infrastructure starts with the intitialization script:

[root@fed01 lib64]# cat /etc/inittab
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -sf /lib/systemd/system/.target /etc/systemd/system/default.target
#
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1

Fedora doesn’t use the old style and switched to systemd, therefore you have to setup the daemon with the new enviroment. Here my implementation

[root@fed01 lib64]# cat /etc/systemd/system/ohasd.service 
[Unit]
Description=ohasd daemon

[Service]
ExecStart=/etc/init.d/init.ohasd run >/dev/null 2>&1

Reload the dameon unit to inform systemd about my changes

systemctl daemon-reload

Now enable and start the daemon

systemctl enable ohasd.service
systemctl start ohasd.service

Check how it’s work?

[root@fed01 ~]# ps -ef | grep oha                                                                                                                     
root     13069     1  0 00:56 ?        00:00:00 /bin/sh /etc/init.d/init.ohasd run >/dev/null 2>&1

Now re execute the root.sh script and it should finalize successfully:

...
CRS-6016: Resource auto-start has completed for server fed01
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.

Preparing packages...
cvuqdisk-1.0.9-1.x86_64
2014/02/28 01:13:27 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

Here the cluster (first node) output:

[root@fed01 system]# crsctl stat res -t 
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       fed01                    STABLE
ora.DATA.dg
               ONLINE  ONLINE       fed01                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       fed01                    STABLE
ora.net1.network
               ONLINE  ONLINE       fed01                    STABLE
ora.ons
               ONLINE  ONLINE       fed01                    STABLE
ora.proxy_advm
               ONLINE  OFFLINE      fed01                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       fed01                    STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       fed01                    STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       fed01                    STABLE
ora.MGMTLSNR
      1        OFFLINE OFFLINE                               STABLE
ora.asm
      1        ONLINE  ONLINE       fed01                    STABLE
      2        OFFLINE OFFLINE                               STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.cvu
      1        ONLINE  ONLINE       fed01                    STABLE
ora.fed01.vip
      1        ONLINE  ONLINE       fed01                    STABLE
ora.oc4j
      1        ONLINE  ONLINE       fed01                    STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       fed01                    STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       fed01                    STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       fed01                    STABLE
--------------------------------------------------------------------------------

4. Redo on all other nodes and complete setup

To complete your cluster setup redo all step above.

For completion the output from the second node (root.sh):

[root@fed02 lib64]# /opt/oracle/12.1.0.1/grid/root.sh 
Performing root user operation for Oracle 12c 

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/oracle/12.1.0.1/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /opt/oracle/12.1.0.1/grid/crs/install/crsconfig_params

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'fed02'                                                                                                                                                                                                                                
CRS-2673: Attempting to stop 'ora.crsd' on 'fed02'                                                                                                                                                                                                                                                                           
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'fed02'                                                                                                                                                                                                                                           
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'fed02'                                                                                                                                                                                                                                                                        
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'fed02'                                                                                                                                                                                                                                                            
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'fed02'                                                                                                                                                                                                                                                            
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'fed02'                                                                                                                                                                                                                                                            
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'fed02' succeeded                                                                                                                                                                                                                                                             
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'fed02'                                                                                                                                                                                                                                                                      
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'fed02' succeeded                                                                                                                                                                                                                                                             
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'fed02'                                                                                                                                                                                                                                                                      
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'fed02' succeeded                                                                                                                                                                                                                                                             
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'fed02'                                                                                                                                                                                                                                                                      
CRS-2677: Stop of 'ora.scan1.vip' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'fed01'
CRS-2677: Stop of 'ora.scan3.vip' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'fed01'
CRS-2677: Stop of 'ora.scan2.vip' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.scan2.vip' on 'fed01'
CRS-2676: Start of 'ora.scan1.vip' on 'fed01' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'fed01'
CRS-2676: Start of 'ora.scan3.vip' on 'fed01' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'fed01'
CRS-2676: Start of 'ora.scan2.vip' on 'fed01' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'fed01'
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'fed01' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'fed01' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'fed01' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'fed02'
CRS-2677: Stop of 'ora.asm' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'fed02'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'fed02'
CRS-2677: Stop of 'ora.ons' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'fed02'
CRS-2677: Stop of 'ora.net1.network' on 'fed02' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'fed02' has completed
CRS-2677: Stop of 'ora.crsd' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.evmd' on 'fed02'
CRS-2673: Attempting to stop 'ora.storage' on 'fed02'
CRS-2673: Attempting to stop 'ora.crf' on 'fed02'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'fed02'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'fed02'
CRS-2677: Stop of 'ora.storage' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'fed02'
CRS-2677: Stop of 'ora.crf' on 'fed02' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'fed02' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'fed02' succeeded
CRS-2677: Stop of 'ora.evmd' on 'fed02' succeeded
CRS-2677: Stop of 'ora.asm' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'fed02'
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'fed02'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'fed02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'fed02'
CRS-2677: Stop of 'ora.cssd' on 'fed02' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'fed02'
CRS-2677: Stop of 'ora.gipcd' on 'fed02' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'fed02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'fed02'
CRS-2672: Attempting to start 'ora.evmd' on 'fed02'
CRS-2676: Start of 'ora.evmd' on 'fed02' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'fed02'
CRS-2676: Start of 'ora.gpnpd' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'fed02'
CRS-2676: Start of 'ora.gipcd' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'fed02'
CRS-2676: Start of 'ora.cssdmonitor' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'fed02'
CRS-2672: Attempting to start 'ora.diskmon' on 'fed02'
CRS-2676: Start of 'ora.diskmon' on 'fed02' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server 'fed02'
CRS-2676: Start of 'ora.cssd' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'fed02'
CRS-2672: Attempting to start 'ora.ctssd' on 'fed02'
CRS-2676: Start of 'ora.ctssd' on 'fed02' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'fed02'
CRS-2676: Start of 'ora.asm' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'fed02'
CRS-2676: Start of 'ora.storage' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'fed02'
CRS-2676: Start of 'ora.crf' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'fed02'
CRS-2676: Start of 'ora.crsd' on 'fed02' succeeded
CRS-6017: Processing resource auto-start for servers: fed02
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'fed02'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'fed01'
CRS-2672: Attempting to start 'ora.ons' on 'fed02'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'fed01' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'fed01'
CRS-2677: Stop of 'ora.scan1.vip' on 'fed01' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'fed02'
CRS-2676: Start of 'ora.scan1.vip' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'fed02'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'fed02'
CRS-2676: Start of 'ora.ons' on 'fed02' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'fed02' succeeded
CRS-2676: Start of 'ora.asm' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.proxy_advm' on 'fed01'
CRS-2679: Attempting to clean 'ora.proxy_advm' on 'fed02'
CRS-5017: The resource action "ora.proxy_advm start" encountered the following error: 
ORA-03113: end-of-file on communication channel
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00107:)" in "/opt/oracle/12.1.0.1/grid/log/fed01/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2681: Clean of 'ora.proxy_advm' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.proxy_advm' on 'fed02'
CRS-2674: Start of 'ora.proxy_advm' on 'fed01' failed
CRS-2679: Attempting to clean 'ora.proxy_advm' on 'fed01'
CRS-5017: The resource action "ora.proxy_advm start" encountered the following error: 
ORA-03113: end-of-file on communication channel
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00107:)" in "/opt/oracle/12.1.0.1/grid/log/fed02/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2674: Start of 'ora.proxy_advm' on 'fed02' failed
CRS-2679: Attempting to clean 'ora.proxy_advm' on 'fed02'
CRS-2681: Clean of 'ora.proxy_advm' on 'fed01' succeeded
CRS-2681: Clean of 'ora.proxy_advm' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.proxy_advm' on 'fed02'
CRS-2672: Attempting to start 'ora.DATA.dg' on 'fed02'
CRS-2672: Attempting to start 'ora.proxy_advm' on 'fed01'
CRS-2676: Start of 'ora.DATA.dg' on 'fed02' succeeded
CRS-5017: The resource action "ora.proxy_advm start" encountered the following error: 
ORA-03113: end-of-file on communication channel
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00107:)" in "/opt/oracle/12.1.0.1/grid/log/fed02/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-5017: The resource action "ora.proxy_advm start" encountered the following error: 
ORA-03113: end-of-file on communication channel
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00107:)" in "/opt/oracle/12.1.0.1/grid/log/fed01/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2674: Start of 'ora.proxy_advm' on 'fed02' failed
CRS-2679: Attempting to clean 'ora.proxy_advm' on 'fed02'
CRS-2674: Start of 'ora.proxy_advm' on 'fed01' failed
CRS-2679: Attempting to clean 'ora.proxy_advm' on 'fed01'
CRS-2681: Clean of 'ora.proxy_advm' on 'fed02' succeeded
CRS-2672: Attempting to start 'ora.proxy_advm' on 'fed02'
===== Summary of resource auto-start failures follows =====
CRS-2807: Resource 'ora.proxy_advm' failed to start automatically.
CRS-6016: Resource auto-start has completed for server fed02
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2014/02/28 01:53:02 CLSRSC-343: Successfully started Oracle clusterware stack

Preparing packages...
cvuqdisk-1.0.9-1.x86_64
2014/02/28 01:53:18 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

The final state:

--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       fed01                    STABLE
               ONLINE  ONLINE       fed02                    STABLE
ora.DATA.dg
               ONLINE  ONLINE       fed01                    STABLE
               ONLINE  ONLINE       fed02                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       fed01                    STABLE
               ONLINE  ONLINE       fed02                    STABLE
ora.net1.network
               ONLINE  ONLINE       fed01                    STABLE
               ONLINE  ONLINE       fed02                    STABLE
ora.ons
               ONLINE  ONLINE       fed01                    STABLE
               ONLINE  ONLINE       fed02                    STABLE
ora.proxy_advm
               ONLINE  OFFLINE      fed01                    STABLE
               ONLINE  OFFLINE      fed02                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       fed02                    STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       fed01                    STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       fed01                    STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE                                STABLE
ora.asm
      1        ONLINE  ONLINE       fed01                    STABLE
      2        ONLINE  ONLINE       fed02                    STABLE
ora.cvu
      1        ONLINE  ONLINE       fed01                    STABLE
ora.fed01.vip
      1        ONLINE  ONLINE       fed01                    STABLE
ora.fed02.vip
      1        ONLINE  ONLINE       fed02                    STABLE
ora.oc4j
      1        ONLINE  ONLINE       fed01                    STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       fed02                    STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       fed01                    STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       fed01                    STABLE
--------------------------------------------------------------------------------

In my next post i’m trying to enable asmlib and acfs support. I hope i’ll get it to work.

DONE & Have Fun!

Oracle Enterprise Manager Cloud Control 12.1.0.3 upgrade


The upgrade of the Enterprise Manager GridControl 10.2.0.5++ to 12.1.0.3 is not really heavy. Here a short decription. I my example I’m going to upgrade from 12.1.0.2 to 12.1.0.3:

First export EMKEY:

[oracle@cloudcontrol ~]$ /opt/oracle/middleware/oms/oms/bin/emctl config emkey -copy_to_repos
Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password : 
The EMKey has been copied to the Management Repository. This operation will cause the EMKey to become unsecure.
After the required operation has been completed, secure the EMKey by running "emctl config emkey -remove_from_repos".
[oracle@cloudcontrol ~]$

Then you have to shut down alle EM components:

[oracle@cloudcontrol ~]$ /opt/oracle/middleware/oms/oms/bin/emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down

Now unpack the downloaded ZIP archives and start runInstaller:

oms12103_1

Skip security warning
oms12103_2

Skip My Support
oms12103_3

Check pre requirements
oms12103_4

Choose EM installation to upgrade
oms12103_5

Select new middleware home (the Installation is a Out of Place upgrade)

oms12103_6

Set password for repository db connection

oms12103_7

There are some requirements for a successful upgrade:

oms12103_8

oms12103_9

Plugin upgrade summary

oms12103_10

Choose additional plug-ins

oms12103_11

You have to stop old em system now.

oms12103_12

Set new passwords

oms12103_13

Summary

oms12103_14

Progress

oms12103_15

Execute root.sh to complete setup

oms12103_16

root@cloudcontrol ~]# /opt/oracle/12.1.0.3/middleware/oms/allroot.sh 

Starting to execute allroot.sh ......... 

Starting to execute /opt/oracle/12.1.0.3/middleware/oms/root.sh ......
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/oracle/12.1.0.3/middleware/oms

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc exist
/opt/oracle/12.1.0.3/middleware/oms
Finished execution of  /opt/oracle/12.1.0.3/middleware/oms/root.sh ......

Installation summary

oms12103_17

oms12103_18

Done.

Enterprise Manager Cloud Control 12c Release 2 (12.1.0.3) is available


Today Oracle published Enterprise Manager Cloud Control 12c Release 2 (12.1.0.3).

Here the new Features:

  • Framework and Infrastructure
    • Simplified OMS Disaster Recovery
    • System Dashboard Enhancements
    • LDAP Integration Enhancements
    • Administrator Entitlement Summary Page
    • Auditing Enhancements
    • Enterprise Manager Command Line Interface With Scripting Option
  • Enterprise Monitoring and Incident Management Features
    • Flexible Editing of Administration Group Hierarchy
    • Metric Extensions Enhancements
    • All Metrics Chart Enhancements
    • Incident Manager Updates in 12.1.0.3
    • Target Down Root Cause Analysis
    • SLA Management Enhancements
  • Fusion Application Management Features
    • Oracle Fusion Applications Plug-in 12.1.0.4 Features
  • Database Management Features
    • Performance Diagnostics Enhancements
  • Middleware Management Features
    • Fusion Middleware Plug-in 12.1.0.4 Features
    • Application Replay Enhancements
  • Exadata Features
    • Exadata Plug-in 12.1.0.4
  • Siebel Features
    • Siebel Plug-in 12.1.0.3
  • Extensibility
    • Support for SQL Server 2012 (32-bit / 64-bit)
  • Cloud Management Features
    • Cloud Management Plug-in 12.1.0.6 Features
    • Virtualization Management Plug-in 12.1.0.5 Features
  • Lifecycle Management Features
    • Change Activity Planner
    • Offline Patching – Uploading Patches to the Software Library Directly from Remote Patch Repositories

Here to download