Monday, October 17, 2011

Upgrade CRS to 11.2.0.1 Grid Infrastructre. / Upgrade clusterware to Grid Infrastructure

As we all know that, In 11gR2 CRS and ASM has been consolidate in one binaries and named as GRID Infrastructure.
In-place upgrade is not supported in 11gR2.
Upgrade to GRID can be done in two methods.
1) CRS and ASM separate Upgrade.
2) CRS and ASM in together in single Installation.
Its recommended to Upgrade both together.
1. RUN CLUVFY
RACN1:/u00/grid-> ./runcluvfy.sh stage -pre crsinst -n racn1,racn2 -fixup -ve>
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "RACN1"
Destination Node Reachable?
------------------------------------ ------------------------
racn1 yes
racn2 yes
Result: Node reachability check passed from node "RACN1"
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
racn2 passed
racn1 passed
Result: User equivalence check passed for user "oracle"
Checking node connectivity...
Checking hosts config file...
Node Name Status Comment
------------ ------------------------ ------------------------
racn2 passed
racn1 passed
Verification of the hosts config file successful
Interface information for node "racn2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.133.152 192.168.133.0 0.0.0.0 192.168.133.1 00:0C:29:BA:2F:B6 1500
eth0 192.168.133.156 192.168.133.0 0.0.0.0 192.168.133.1 00:0C:29:BA:2F:B6 1500
eth1 192.168.131.78 192.168.131.0 0.0.0.0 192.168.133.1 00:0C:29:BA:2F:C0 1500
virbr0 192.168.122.1 192.168.122.0 0.0.0.0 192.168.133.1 00:00:00:00:00:00 1500
Interface information for node "racn1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.133.151 192.168.133.0 0.0.0.0 192.168.133.1 00:0C:29:71:48:34 1500
eth0 192.168.133.155 192.168.133.0 0.0.0.0 192.168.133.1 00:0C:29:71:48:34 1500
eth1 192.168.131.76 192.168.131.0 0.0.0.0 192.168.133.1 00:0C:29:71:48:3E 1500
virbr0 192.168.122.1 192.168.122.0 0.0.0.0 192.168.133.1 00:00:00:00:00:00 1500
Check: Node connectivity of subnet "192.168.133.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
racn2:eth0 racn2:eth0 yes
racn2:eth0 racn1:eth0 yes
racn2:eth0 racn1:eth0 yes
racn2:eth0 racn1:eth0 yes
racn2:eth0 racn1:eth0 yes
racn1:eth0 racn1:eth0 yes
Result: Node connectivity passed for subnet "192.168.133.0" with node(s) racn2,racn1
Check: TCP connectivity of subnet "192.168.133.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
RACN1:192.168.133.151 racn2:192.168.133.152 passed
RACN1:192.168.133.151 racn2:192.168.133.156 passed
RACN1:192.168.133.151 racn1:192.168.133.155 passed
Result: TCP connectivity check failed for subnet "192.168.133.0"
Check: Node connectivity of subnet "192.168.131.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
racn2:eth1 racn1:eth1 yes
Result: Node connectivity passed for subnet "192.168.131.0" with node(s) racn2,racn1
Check: TCP connectivity of subnet "192.168.131.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
RACN1:192.168.133.151 racn2:192.168.131.78 passed
RACN1:192.168.133.151 racn1:192.168.131.76 passed
Result: TCP connectivity check passed for subnet "192.168.131.0"
Check: Node connectivity of subnet "192.168.122.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
racn2:virbr0 racn1:virbr0 yes
Result: Node connectivity passed for subnet "192.168.122.0" with node(s) racn2,racn1
Check: TCP connectivity of subnet "192.168.122.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
RACN1:192.168.133.151 racn2:192.168.122.1 passed
RACN1:192.168.133.151 racn1:192.168.122.1 passed
Result: TCP connectivity check passed for subnet "192.168.122.0"
Interfaces found on subnet "192.168.133.0" that are likely candidates for VIP are:
racn2 eth0:192.168.133.152 eth0:192.168.133.156
racn1 eth0:192.168.133.151 eth0:192.168.133.155
Interfaces found on subnet "192.168.131.0" that are likely candidates for a private interconnect are:
racn2 eth1:192.168.131.78
racn1 eth1:192.168.131.76
Interfaces found on subnet "192.168.122.0" that are likely candidates for a private interconnect are:
racn2 virbr0:192.168.122.1
racn1 virbr0:192.168.122.1
Result: Node connectivity check passed
Check: Total memory
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 947.4MB (970140.0KB) 1.5GB (1572864.0KB) failed
racn1 947.4MB (970140.0KB) 1.5GB (1572864.0KB) failed
Result: Total memory check failed
Check: Available memory
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 557.55MB (570932.0KB) 50MB (51200.0KB) passed
racn1 485.21MB (496860.0KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
Result: Swap space check failed
Check: Free disk space for "racn2:/tmp"
Path Node Name Mount point Available Required Comment
---------------- ------------ ------------ ------------ ------------ ------------
/tmp racn2 / 12.39GB 1GB passed
Result: Free disk space check passed for "racn2:/tmp"
Check: Free disk space for "racn1:/tmp"
Path Node Name Mount point Available Required Comment
---------------- ------------ ------------ ------------ ------------ ------------
/tmp racn1 / 11.31GB 1GB passed
Result: Free disk space check passed for "racn1:/tmp"
Check: User existence for "oracle"
Node Name Status Comment
------------ ------------------------ ------------------------
racn2 exists passed
racn1 exists passed
Result: User existence check passed for "oracle"
Check: Group existence for "oinstall"
Node Name Status Comment
------------ ------------------------ ------------------------
racn2 exists passed
racn1 exists passed
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
------------ ------------------------ ------------------------
racn2 exists passed
racn1 exists passed
Result: Group existence check passed for "dba"
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
---------------- ------------ ------------ ------------ ------------ ------------
racn2 yes yes yes yes passed
racn1 yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed
Check: Membership of user "oracle" in group "dba"
Node Name User Exists Group Exists User in Group Comment
---------------- ------------ ------------ ------------ ----------------
racn2 yes yes yes passed
racn1 yes yes yes passed
Result: Membership check for user "oracle" in group "dba" passed
Check: Run level
Node Name run level Required Comment
------------ ------------------------ ------------------------ ----------
racn2 5 3,5 passed
racn1 5 3,5 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Comment
---------------- ------------ ------------ ------------ ----------------
racn2 hard 65536 65536 passed
racn1 hard 65536 65536 passed
Result: Hard limits check passed for "maximum open file descriptors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Comment
---------------- ------------ ------------ ------------ ----------------
racn2 soft 1024 1024 passed
racn1 soft 1024 1024 passed
Result: Soft limits check passed for "maximum open file descriptors"
Check: Hard limits for "maximum user processes"
Node Name Type Available Required Comment
---------------- ------------ ------------ ------------ ----------------
racn2 hard 16384 16384 passed
racn1 hard 16384 16384 passed
Result: Hard limits check passed for "maximum user processes"
Check: Soft limits for "maximum user processes"
Node Name Type Available Required Comment
---------------- ------------ ------------ ------------ ----------------
racn2 soft 2047 2047 passed
racn1 soft 2047 2047 passed
Result: Soft limits check passed for "maximum user processes"
Check: System architecture
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 i686 x86 passed
racn1 i686 x86 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 2.6.18-164.el5PAE 2.6.18 passed
racn1 2.6.18-164.el5PAE 2.6.18 passed
Result: Kernel version check passed
Check: Kernel parameter for "semmsl"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 250 250 passed
racn1 250 250 passed
Result: Kernel parameter check passed for "semmsl"
Check: Kernel parameter for "semmns"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 32000 32000 passed
racn1 32000 32000 passed
Result: Kernel parameter check passed for "semmns"
Check: Kernel parameter for "semopm"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 100 100 passed
racn1 100 100 passed
Result: Kernel parameter check passed for "semopm"
Check: Kernel parameter for "semmni"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 128 128 passed
racn1 128 128 passed
Result: Kernel parameter check passed for "semmni"
Check: Kernel parameter for "shmmax"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 4294967295 536870912 passed
racn1 4294967295 536870912 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 4096 4096 passed
racn1 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmall"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 1073741824 2097152 passed
racn1 1073741824 2097152 passed
Result: Kernel parameter check passed for "shmall"
Check: Kernel parameter for "file-max"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 6553600 6815744 failed
racn1 6553600 6815744 failed
Result: Kernel parameter check failed for "file-max"
Check: Kernel parameter for "ip_local_port_range"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 between 1024 & 65000 between 9000 & 65500 failed (ignorable)
racn1 between 1024 & 65000 between 9000 & 65500 failed (ignorable)
Result: Kernel parameter check passed for "ip_local_port_range"
Check: Kernel parameter for "rmem_default"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 4194304 262144 passed
racn1 4194304 262144 passed
Result: Kernel parameter check passed for "rmem_default"
Check: Kernel parameter for "rmem_max"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 4194304 4194304 passed
racn1 4194304 4194304 passed
Result: Kernel parameter check passed for "rmem_max"
Check: Kernel parameter for "wmem_default"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 262144 262144 passed
racn1 262144 262144 passed
Result: Kernel parameter check passed for "wmem_default"
Check: Kernel parameter for "wmem_max"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 262144 1048576 failed
racn1 262144 1048576 failed
Result: Kernel parameter check failed for "wmem_max"
Check: Kernel parameter for "aio-max-nr"
Node Name Configured Required Comment
------------ ------------------------ ------------------------ ----------
racn2 3145728 1048576 passed
racn1 3145728 1048576 passed
Result: Kernel parameter check passed for "aio-max-nr"
Check: Package existence for "make-3.81"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 make-3.81-3.el5 make-3.81 passed
racn1 make-3.81-3.el5 make-3.81 passed
Result: Package existence check passed for "make-3.81"
Check: Package existence for "binutils-2.17.50.0.6"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 binutils-2.17.50.0.6-12.el5 binutils-2.17.50.0.6 passed
racn1 binutils-2.17.50.0.6-12.el5 binutils-2.17.50.0.6 passed
Result: Package existence check passed for "binutils-2.17.50.0.6"
Check: Package existence for "gcc-4.1.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 gcc-4.1.2-46.el5 gcc-4.1.2 passed
racn1 gcc-4.1.2-46.el5 gcc-4.1.2 passed
Result: Package existence check passed for "gcc-4.1.2"
Check: Package existence for "gcc-c++-4.1.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 gcc-c++-4.1.2-46.el5 gcc-c++-4.1.2 passed
racn1 gcc-c++-4.1.2-46.el5 gcc-c++-4.1.2 passed
Result: Package existence check passed for "gcc-c++-4.1.2"
Check: Package existence for "libgomp-4.1.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 libgomp-4.4.0-6.el5 libgomp-4.1.2 passed
racn1 libgomp-4.4.0-6.el5 libgomp-4.1.2 passed
Result: Package existence check passed for "libgomp-4.1.2"
Check: Package existence for "libaio-0.3.106"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 libaio-0.3.106-3.2 libaio-0.3.106 passed
racn1 libaio-0.3.106-3.2 libaio-0.3.106 passed
Result: Package existence check passed for "libaio-0.3.106"
Check: Package existence for "glibc-2.5-24"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 glibc-2.5-42 glibc-2.5-24 passed
racn1 glibc-2.5-42 glibc-2.5-24 passed
Result: Package existence check passed for "glibc-2.5-24"
Check: Package existence for "compat-libstdc++-33-3.2.3"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3 passed
racn1 compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3 passed
Result: Package existence check passed for "compat-libstdc++-33-3.2.3"
Check: Package existence for "elfutils-libelf-0.125"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 elfutils-libelf-0.137-3.el5 elfutils-libelf-0.125 passed
racn1 elfutils-libelf-0.137-3.el5 elfutils-libelf-0.125 passed
Result: Package existence check passed for "elfutils-libelf-0.125"
Check: Package existence for "elfutils-libelf-devel-0.125"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed
racn1 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed
Result: Package existence check passed for "elfutils-libelf-devel-0.125"
Check: Package existence for "glibc-common-2.5"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 glibc-common-2.5-42 glibc-common-2.5 passed
racn1 glibc-common-2.5-42 glibc-common-2.5 passed
Result: Package existence check passed for "glibc-common-2.5"
Check: Package existence for "glibc-devel-2.5"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 glibc-devel-2.5-42 glibc-devel-2.5 passed
racn1 glibc-devel-2.5-42 glibc-devel-2.5 passed
Result: Package existence check passed for "glibc-devel-2.5"
Check: Package existence for "glibc-headers-2.5"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 glibc-headers-2.5-42 glibc-headers-2.5 passed
racn1 glibc-headers-2.5-42 glibc-headers-2.5 passed
Result: Package existence check passed for "glibc-headers-2.5"
Check: Package existence for "libaio-devel-0.3.106"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 libaio-devel-0.3.106-3.2 libaio-devel-0.3.106 passed
racn1 libaio-devel-0.3.106-3.2 libaio-devel-0.3.106 passed
Result: Package existence check passed for "libaio-devel-0.3.106"
Check: Package existence for "libgcc-4.1.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 libgcc-4.1.2-46.el5 libgcc-4.1.2 passed
racn1 libgcc-4.1.2-46.el5 libgcc-4.1.2 passed
Result: Package existence check passed for "libgcc-4.1.2"
Check: Package existence for "libstdc++-4.1.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 libstdc++-4.1.2-46.el5 libstdc++-4.1.2 passed
racn1 libstdc++-4.1.2-46.el5 libstdc++-4.1.2 passed
Result: Package existence check passed for "libstdc++-4.1.2"
Check: Package existence for "libstdc++-devel-4.1.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 libstdc++-devel-4.1.2-46.el5 libstdc++-devel-4.1.2 passed
racn1 libstdc++-devel-4.1.2-46.el5 libstdc++-devel-4.1.2 passed
Result: Package existence check passed for "libstdc++-devel-4.1.2"
Check: Package existence for "sysstat-7.0.2"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed
racn1 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed
Result: Package existence check passed for "sysstat-7.0.2"
Check: Package existence for "unixODBC-2.2.11"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 unixODBC-2.2.11-7.1 unixODBC-2.2.11 passed
racn1 unixODBC-2.2.11-7.1 unixODBC-2.2.11 passed
Result: Package existence check passed for "unixODBC-2.2.11"
Check: Package existence for "unixODBC-devel-2.2.11"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 unixODBC-devel-2.2.11-7.1 unixODBC-devel-2.2.11 passed
racn1 unixODBC-devel-2.2.11-7.1 unixODBC-devel-2.2.11 passed
Result: Package existence check passed for "unixODBC-devel-2.2.11"
Check: Package existence for "ksh-20060214"
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 ksh-20080202-14.el5 ksh-20060214 passed
racn1 ksh-20080202-14.el5 ksh-20060214 passed
Result: Package existence check passed for "ksh-20060214"
Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed
Check: Current group ID
Result: Current group ID check passed
Checking Core file name pattern consistency...
Core file name pattern consistency check passed.
Checking to make sure user "oracle" is not in "root" group
Node Name Status Comment
------------ ------------------------ ------------------------
racn2 does not exist passed
racn1 does not exist passed
Result: User "oracle" is not part of "root" group. Check passed
Check default user file creation mask
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
racn2 0022 0022 passed
racn1 0022 0022 passed
Result: Default user file creation mask check passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
The NTP configuration file "/etc/ntp.conf" is available on all nodes
NTP Configuration file check passed
Checking daemon liveness...
Check: Liveness for "ntpd"
Node Name Running?
------------------------------------ ------------------------
racn2 no
racn1 no
Result: Liveness check failed for "ntpd"
PRVF-5415 : Check to see if NTP daemon is running failed
Result: Clock synchronization check using Network Time Protocol(NTP) failed
Fixup information has been generated for following node(s):
racn1,racn2
Please run the following script on each node as "root" user to execute the fixups:
'/tmp/CVU_11.2.0.1.0_oracle/runfixup.sh'
Pre-check for cluster services setup was unsuccessful on all the nodes.
2. FIX KERNAL PARAMETER ERRORS FROM GENERATED SCRIPT (if any) on BOTH NODES.
[root@RACN1 CVU_11.2.0.1.0_oracle]# ./runfixup.sh
Response file being used is :./fixup.response
Enable file being used is :./fixup.enable
Log file location: ./orarun.log
Setting Kernel Parameters...
fs.file-max = 6553600
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.wmem_max = 262144
net.core.wmem_max=262144
./orarun.sh: line 728: [: 262144net.core.wmem_max: integer expression expected
The value for wmem_max in response file is not greater than value for wmem_max in /etc/sysctl.conf file. Hence not changing it.
net.core.wmem_max = 1048576
[root@RACN2 CVU_11.2.0.1.0_oracle]# ./runfixup.sh
Response file being used is :./fixup.response
Enable file being used is :./fixup.enable
Log file location: ./orarun.log
Setting Kernel Parameters...
fs.file-max = 6553600
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.wmem_max = 262144
net.core.wmem_max=262144
./orarun.sh: line 728: [: 262144net.core.wmem_max: integer expression expected
The value for wmem_max in response file is not greater than value for wmem_max in /etc/sysctl.conf file. Hence not changing it.
net.core.wmem_max = 1048576
.3. NTP ERROR FIXED
Move /etc/ntp.conf
[root@RACN1 ~]# mv /etc/ntp.conf /etc/ntp.conf.old
[root@RACN2 ~]# mv /etc/ntp.conf /etc/ntp.conf.old
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes
Result: Clock synchronization check using Network Time Protocol(NTP) passed
CONFIGURE SCAN IP
SET ASM ROLLING PARAMETER
asmca_rolling_upgrade=true
Oracle strongly recommends that you configure the SCAN either on DNS or GNS, with a maximum of three IPs in a round-robin fashion


4. Configure DNS files or /etc/hosts
Editing needed in DNS, since I m not using DNS I will edit my /etc/hosts and Add a new IP.
5. Create GRID_HOME and set environment
export GRID_HOME=/u01/app/grid
To Upgrade ASM alone with GRID , we need to export below parameter.
export asmca_rolling_upgrade=true
CRS don’t need to shutdown as its Rolling Upgrade.
While Running rootupgrade.sh after installation .it will shutdown old (11.1.0.7) and start new CRS (11.2.0.1).
RACN1:/home/oracle-> crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE racn1
ora....N1.lsnr application ONLINE ONLINE racn1
ora.racn1.gsd application ONLINE ONLINE racn1
ora.racn1.ons application ONLINE ONLINE racn1
ora.racn1.vip application ONLINE ONLINE racn1
ora....SM2.asm application ONLINE ONLINE racn2
ora....N2.lsnr application ONLINE ONLINE racn2
ora.racn2.gsd application ONLINE ONLINE racn2
ora.racn2.ons application ONLINE ONLINE racn2
ora.racn2.vip application ONLINE ONLINE racn2
6.Run Installer of Grid Infrastructure setup and select to upgrade Grid Infrastructure.
7. It will detect if its Running on ASM.


8. Node selection / Choose if you want to upgrade ASM along with CRS.

9.enter SCAN detail .


8. 10.Enter ASM pwd.

10. Select OS group for ASM.

11. Enter Installation Location Detail. ($GRID_HOME)



12.Installation in progress.


13.Run the Rootupgrade.sh on both node.



[root@RACN1 grid]# ./rootupgrade.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/grid
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]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
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.
2011-10-12 21:04:39: Parsing the host name
2011-10-12 21:04:39: Checking for super user privileges
2011-10-12 21:04:39: User has super user privileges
Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params
Creating trace directory
Cluster Synchronization Services appears healthy
Event Manager appears healthy
Cluster Ready Services appears healthy
Shutting down Oracle Cluster Ready Services (CRS):
Oct 12 21:05:11.420 | INF | daemon shutting down
Stopping resources.
This could take several minutes.
Successfully stopped Oracle Clusterware resources
Stopping Cluster Synchronization Services.
Shutting down the Cluster Synchronization Services daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation 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
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.mdnsd' on 'racn1'
CRS-2676: Start of 'ora.mdnsd' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'racn1'
CRS-2676: Start of 'ora.gipcd' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racn1'
CRS-2676: Start of 'ora.gpnpd' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racn1'
CRS-2676: Start of 'ora.cssdmonitor' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racn1'
CRS-2672: Attempting to start 'ora.diskmon' on 'racn1'
CRS-2676: Start of 'ora.diskmon' on 'racn1' succeeded
CRS-2676: Start of 'ora.cssd' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'racn1'
CRS-2676: Start of 'ora.ctssd' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'racn1'
CRS-2676: Start of 'ora.crsd' on 'racn1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'racn1'
CRS-2676: Start of 'ora.evmd' on 'racn1' succeeded
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
racn1 2011/10/12 21:11:27 /u01/app/grid/cdata/racn1/backup_20111012_211127.olr
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 1139 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 1022 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
[root@RACN1 grid]#

14. Now ASM will get upgrade.



15. validate all resources.

Validate All Resources are ONLINE with all new command.
./crsctl stat res -t
GSD will be OFFLINE by default in 11R2.
If any 9i database is cluster then GSD must be ONLINE.
To start GSD as ROOT.
./srvctl enable nodeapps -g
./srvctl start nodeapps

No comments:

Post a Comment