11 g rac 安裝 11.1步
十一. 建立 ASM 磁碟組
建立ASM磁碟組很簡單,一般先安裝好oracleasm相關包,在10g 中用dbca 的時候建立,而11g則需要先安裝好oracleasm相關包,然後安裝oracle grid控制項,再使用asmca來建立ASM 磁碟組.如下圖示操作.
Apply patch
停止相關程式(在兩個node執行)
wmrac01$crs_stop -all
CRS-2500: Cannot stop resource 'ora.gsd' as it is not running
CRS-2500: Cannot stop resource 'ora.oc4j' as it is not running
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'wmrac01'
Attempting to stop `ora.ons` on member `wmrac01`
Attempting to stop `ora.LISTENER.lsnr` on member `wmrac01`
Attempting to stop `ora.LISTENER.lsnr` on member `wmrac02`
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'wmrac02'
Attempting to stop `ora.ons` on member `wmrac02`
Attempting to stop `ora.eons` on member `wmrac01`
Attempting to stop `ora.DATA.dg` on member `wmrac01`
Attempting to stop `ora.INDX.dg` on member `wmrac01`
Attempting to stop `ora.registry.acfs` on member `wmrac01`
Attempting to stop `ora.eons` on member `wmrac02`
Attempting to stop `ora.DATA.dg` on member `wmrac02`
Attempting to stop `ora.INDX.dg` on member `wmrac02`
Attempting to stop `ora.registry.acfs` on member `wmrac02`
Stop of `ora.LISTENER.lsnr` on member `wmrac02` succeeded.
Stop of `ora.LISTENER.lsnr` on member `wmrac01` succeeded.
Stop of `ora.ons` on member `wmrac01` succeeded.
Attempting to stop `ora.LISTENER_SCAN1.lsnr` on member `wmrac01`
Attempting to stop `ora.wmrac01.vip` on member `wmrac01`
Stop of `ora.ons` on member `wmrac02` succeeded.
Attempting to stop `ora.wmrac02.vip` on member `wmrac02`
Stop of `ora.wmrac01.vip` on member `wmrac01` succeeded.
Stop of `ora.registry.acfs` on member `wmrac01` succeeded.
Stop of `ora.registry.acfs` on member `wmrac02` succeeded.
Stop of `ora.wmrac02.vip` on member `wmrac02` succeeded.
Attempting to stop `ora.net1.network` on member `wmrac02`
Stop of `ora.net1.network` on member `wmrac02` succeeded.
Stop of `ora.LISTENER_SCAN1.lsnr` on member `wmrac01` succeeded.
Attempting to stop `ora.scan1.vip` on member `wmrac01`
Stop of `ora.scan1.vip` on member `wmrac01` succeeded.
Attempting to stop `ora.net1.network` on member `wmrac01`
Stop of `ora.net1.network` on member `wmrac01` succeeded.
Stop of `ora.eons` on member `wmrac02` succeeded.
Stop of `ora.eons` on member `wmrac01` succeeded.
Stop of `ora.DATA.dg` on member `wmrac02` succeeded.
Stop of `ora.DATA.dg` on member `wmrac01` succeeded.
Stop of `ora.INDX.dg` on member `wmrac02` succeeded.
Attempting to stop `ora.asm` on member `wmrac02`
Stop of `ora.INDX.dg` on member `wmrac01` succeeded.
Attempting to stop `ora.asm` on member `wmrac01`
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac01'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'wmrac01' failed
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac02'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'wmrac02' failed
CRS-0216: Could not stop resource 'ora.asm wmrac01 1'.
CRS-0216: Could not stop resource 'ora.asm wmrac02 1'.
CRS-0216: Could not stop resource 'ora.gsd'.
CRS-0216: Could not stop resource 'ora.gsd wmrac01 1'.
CRS-0216: Could not stop resource 'ora.gsd wmrac02 1'.
CRS-0216: Could not stop resource 'ora.oc4j'.
wmrac01$su
Password:
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$crsctl stop cluster
CRS-2673: Attempting to stop 'ora.crsd' on 'wmrac01'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wmrac01'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac01'
CRS-2677: Stop of 'ora.asm' on 'wmrac01' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wmrac01' has completed
CRS-2677: Stop of 'ora.crsd' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.ctssd' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.evmd' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac01'
CRS-2677: Stop of 'ora.cssdmonitor' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.asm' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wmrac01'
CRS-2677: Stop of 'ora.cssd' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wmrac01'
CRS-2677: Stop of 'ora.diskmon' on 'wmrac01' succeeded
wmrac02$su
Password:
wmrac02$crsctl stop cluster
CRS-2673: Attempting to stop 'ora.crsd' on 'wmrac02'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wmrac02'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac02'
CRS-2677: Stop of 'ora.asm' on 'wmrac02' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wmrac02' has completed
CRS-2677: Stop of 'ora.crsd' on 'wmrac02' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'wmrac02'
CRS-2673: Attempting to stop 'ora.ctssd' on 'wmrac02'
CRS-2673: Attempting to stop 'ora.evmd' on 'wmrac02'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac02'
CRS-2677: Stop of 'ora.cssdmonitor' on 'wmrac02' succeeded
CRS-2677: Stop of 'ora.evmd' on 'wmrac02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'wmrac02' succeeded
CRS-2677: Stop of 'ora.asm' on 'wmrac02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wmrac02'
CRS-2677: Stop of 'ora.cssd' on 'wmrac02' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wmrac02'
CRS-2677: Stop of 'ora.diskmon' on 'wmrac02' succeeded
wmrac02$whoami
root
wmrac02$exit
exit
升級OPatch
wmrac01$cd $ORACLE_HOME
wmrac01$su
Password:
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$tar zcvf OPatch_`date +Y%m%d`.tar.gz OPatch
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$exit
exit
wmrac01$cd /u01/packages/
wmrac01$ll
total 3365912
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 database
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 grid
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 kernel
-rwxrwxr-x 1 grid oinstall 1239269270 Jan 24 09:05 linux.x64_11gR2_database_1of2.zip
-rwxrwxr-x 1 grid oinstall 1111416131 Jan 24 09:06 linux.x64_11gR2_database_2of2.zip
-rwxrwxr-x 1 grid oinstall 1052897657 Jan 24 09:09 linux.x64_11gR2_grid.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 oracleasm
-rwxrwxr-x 1 grid oinstall 27513939 Jan 24 09:06 p6880880_x86_64.zip
-rwxrwxr-x 1 grid oinstall 65656 Jan 24 09:06 p8730312_x86_64.zip
-rwxrwxr-x 1 grid oinstall 12064953 Jan 24 09:06 p9352237_x86_64.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 09:04 Redhat5.3
wmrac01$unzip p6880880_x86_64.zip -d $ORACLE_HOME
Archive: p6880880_x86_64.zip
extracting: /u01/product/grid/11.2.0/OPatch/ocm/ocm.zip
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/osdt_jce.jar
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/osdt_core3.jar
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/emocmclnt-14.jar
replace /u01/product/grid/11.2.0/OPatch/ocm/lib/emocmutl.jar? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/emocmutl.jar
inflating: /u01/product/grid/11.2.0/OPatch/ocm/bin/emocmrsp
inflating: /u01/product/grid/11.2.0/OPatch/ocm/ocm_platforms.txt
creating: /u01/product/grid/11.2.0/OPatch/crs/
creating: /u01/product/grid/11.2.0/OPatch/crs/log/
extracting: /u01/product/grid/11.2.0/OPatch/crs/log/dummy
inflating: /u01/product/grid/11.2.0/OPatch/crs/patch112.pl
inflating: /u01/product/grid/11.2.0/OPatch/crs/crsdelete.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/crspatch.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/s_crsconfig_defs
inflating: /u01/product/grid/11.2.0/OPatch/crs/crsconfig_lib.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/oracss.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/auto_patch.pl
inflating: /u01/product/grid/11.2.0/OPatch/crs/s_crsconfig_lib.pm
inflating: /u01/product/grid/11.2.0/OPatch/opatch
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/opatch/runtime_prereq.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/opatch/opatch_prereq.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/opatch/rulemap.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/prerequisite.properties
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/oui/knowledgesrc.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatch.ini
inflating: /u01/product/grid/11.2.0/OPatch/emdpatch.pl
inflating: /u01/product/grid/11.2.0/OPatch/opatch.pl
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchprereq.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchactions.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchutil.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchfmw.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchext.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatch.jar
creating: /u01/product/grid/11.2.0/OPatch/fmw/
inflating: /u01/product/grid/11.2.0/OPatch/fmw/application.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/main_driver.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/prereq.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/start_stop.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/node_manager.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/init_def.py
inflating: /u01/product/grid/11.2.0/OPatch/opatch.bat
inflating: /u01/product/grid/11.2.0/OPatch/docs/Prereq_Users_Guide.txt
inflating: /u01/product/grid/11.2.0/OPatch/docs/FAQ
inflating: /u01/product/grid/11.2.0/OPatch/docs/Users_Guide.txt
inflating: /u01/product/grid/11.2.0/OPatch/README.txt
wmrac01$cd $ORACLE_HOME
wmrac01$cd OPatch
wmrac01$./opatch version
Invoking OPatch 11.2.0.1.3
OPatch Version: 11.2.0.1.3
OPatch succeeded.
wmrac01$cd /u01/packages/
wmrac01$ll
total 3365912
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 database
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 grid
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 kernel
-rwxrwxr-x 1 grid oinstall 1239269270 Jan 24 09:05 linux.x64_11gR2_database_1of2.zip
-rwxrwxr-x 1 grid oinstall 1111416131 Jan 24 09:06 linux.x64_11gR2_database_2of2.zip
-rwxrwxr-x 1 grid oinstall 1052897657 Jan 24 09:09 linux.x64_11gR2_grid.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 oracleasm
-rwxrwxr-x 1 grid oinstall 27513939 Jan 24 09:06 p6880880_x86_64.zip
-rwxrwxr-x 1 grid oinstall 65656 Jan 24 09:06 p8730312_x86_64.zip
-rwxrwxr-x 1 grid oinstall 12064953 Jan 24 09:06 p9352237_x86_64.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 09:04 Redhat5.3
wmrac01$unzip p9352237_x86_64.zip
wmrac01$su
Password:
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$$ORACLE_HOME/crs/install/roothas.pl -unlock
2011-03-01 08:29:43: Checking for super user privileges
2011-03-01 08:29:43: User has super user privileges
2011-03-01 08:29:43: Parsing the host name
Using configuration parameter file: /u01/product/grid/11.2.0/crs/install/crsconfig_params
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'wmrac01'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'wmrac01'
CRS-2677: Stop of 'ora.gpnpd' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'wmrac01'
CRS-2677: Stop of 'ora.mdnsd' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'wmrac01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'wmrac01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully unlock /u01/product/grid/11.2.0
wmrac01$whoami
root
wmrac01$exit
exit
wmrac01$whoami
grid
建立ASM磁碟組很簡單,一般先安裝好oracleasm相關包,在10g 中用dbca 的時候建立,而11g則需要先安裝好oracleasm相關包,然後安裝oracle grid控制項,再使用asmca來建立ASM 磁碟組.如下圖示操作.
Apply patch
停止相關程式(在兩個node執行)
wmrac01$crs_stop -all
CRS-2500: Cannot stop resource 'ora.gsd' as it is not running
CRS-2500: Cannot stop resource 'ora.oc4j' as it is not running
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'wmrac01'
Attempting to stop `ora.ons` on member `wmrac01`
Attempting to stop `ora.LISTENER.lsnr` on member `wmrac01`
Attempting to stop `ora.LISTENER.lsnr` on member `wmrac02`
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'wmrac02'
Attempting to stop `ora.ons` on member `wmrac02`
Attempting to stop `ora.eons` on member `wmrac01`
Attempting to stop `ora.DATA.dg` on member `wmrac01`
Attempting to stop `ora.INDX.dg` on member `wmrac01`
Attempting to stop `ora.registry.acfs` on member `wmrac01`
Attempting to stop `ora.eons` on member `wmrac02`
Attempting to stop `ora.DATA.dg` on member `wmrac02`
Attempting to stop `ora.INDX.dg` on member `wmrac02`
Attempting to stop `ora.registry.acfs` on member `wmrac02`
Stop of `ora.LISTENER.lsnr` on member `wmrac02` succeeded.
Stop of `ora.LISTENER.lsnr` on member `wmrac01` succeeded.
Stop of `ora.ons` on member `wmrac01` succeeded.
Attempting to stop `ora.LISTENER_SCAN1.lsnr` on member `wmrac01`
Attempting to stop `ora.wmrac01.vip` on member `wmrac01`
Stop of `ora.ons` on member `wmrac02` succeeded.
Attempting to stop `ora.wmrac02.vip` on member `wmrac02`
Stop of `ora.wmrac01.vip` on member `wmrac01` succeeded.
Stop of `ora.registry.acfs` on member `wmrac01` succeeded.
Stop of `ora.registry.acfs` on member `wmrac02` succeeded.
Stop of `ora.wmrac02.vip` on member `wmrac02` succeeded.
Attempting to stop `ora.net1.network` on member `wmrac02`
Stop of `ora.net1.network` on member `wmrac02` succeeded.
Stop of `ora.LISTENER_SCAN1.lsnr` on member `wmrac01` succeeded.
Attempting to stop `ora.scan1.vip` on member `wmrac01`
Stop of `ora.scan1.vip` on member `wmrac01` succeeded.
Attempting to stop `ora.net1.network` on member `wmrac01`
Stop of `ora.net1.network` on member `wmrac01` succeeded.
Stop of `ora.eons` on member `wmrac02` succeeded.
Stop of `ora.eons` on member `wmrac01` succeeded.
Stop of `ora.DATA.dg` on member `wmrac02` succeeded.
Stop of `ora.DATA.dg` on member `wmrac01` succeeded.
Stop of `ora.INDX.dg` on member `wmrac02` succeeded.
Attempting to stop `ora.asm` on member `wmrac02`
Stop of `ora.INDX.dg` on member `wmrac01` succeeded.
Attempting to stop `ora.asm` on member `wmrac01`
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac01'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'wmrac01' failed
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac02'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'wmrac02' failed
CRS-0216: Could not stop resource 'ora.asm wmrac01 1'.
CRS-0216: Could not stop resource 'ora.asm wmrac02 1'.
CRS-0216: Could not stop resource 'ora.gsd'.
CRS-0216: Could not stop resource 'ora.gsd wmrac01 1'.
CRS-0216: Could not stop resource 'ora.gsd wmrac02 1'.
CRS-0216: Could not stop resource 'ora.oc4j'.
wmrac01$su
Password:
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$crsctl stop cluster
CRS-2673: Attempting to stop 'ora.crsd' on 'wmrac01'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wmrac01'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac01'
CRS-2677: Stop of 'ora.asm' on 'wmrac01' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wmrac01' has completed
CRS-2677: Stop of 'ora.crsd' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.ctssd' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.evmd' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac01'
CRS-2677: Stop of 'ora.cssdmonitor' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.asm' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wmrac01'
CRS-2677: Stop of 'ora.cssd' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wmrac01'
CRS-2677: Stop of 'ora.diskmon' on 'wmrac01' succeeded
wmrac02$su
Password:
wmrac02$crsctl stop cluster
CRS-2673: Attempting to stop 'ora.crsd' on 'wmrac02'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'wmrac02'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac02'
CRS-2677: Stop of 'ora.asm' on 'wmrac02' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'wmrac02' has completed
CRS-2677: Stop of 'ora.crsd' on 'wmrac02' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'wmrac02'
CRS-2673: Attempting to stop 'ora.ctssd' on 'wmrac02'
CRS-2673: Attempting to stop 'ora.evmd' on 'wmrac02'
CRS-2673: Attempting to stop 'ora.asm' on 'wmrac02'
CRS-2677: Stop of 'ora.cssdmonitor' on 'wmrac02' succeeded
CRS-2677: Stop of 'ora.evmd' on 'wmrac02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'wmrac02' succeeded
CRS-2677: Stop of 'ora.asm' on 'wmrac02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'wmrac02'
CRS-2677: Stop of 'ora.cssd' on 'wmrac02' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'wmrac02'
CRS-2677: Stop of 'ora.diskmon' on 'wmrac02' succeeded
wmrac02$whoami
root
wmrac02$exit
exit
升級OPatch
wmrac01$cd $ORACLE_HOME
wmrac01$su
Password:
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$tar zcvf OPatch_`date +Y%m%d`.tar.gz OPatch
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$exit
exit
wmrac01$cd /u01/packages/
wmrac01$ll
total 3365912
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 database
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 grid
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 kernel
-rwxrwxr-x 1 grid oinstall 1239269270 Jan 24 09:05 linux.x64_11gR2_database_1of2.zip
-rwxrwxr-x 1 grid oinstall 1111416131 Jan 24 09:06 linux.x64_11gR2_database_2of2.zip
-rwxrwxr-x 1 grid oinstall 1052897657 Jan 24 09:09 linux.x64_11gR2_grid.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 oracleasm
-rwxrwxr-x 1 grid oinstall 27513939 Jan 24 09:06 p6880880_x86_64.zip
-rwxrwxr-x 1 grid oinstall 65656 Jan 24 09:06 p8730312_x86_64.zip
-rwxrwxr-x 1 grid oinstall 12064953 Jan 24 09:06 p9352237_x86_64.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 09:04 Redhat5.3
wmrac01$unzip p6880880_x86_64.zip -d $ORACLE_HOME
Archive: p6880880_x86_64.zip
extracting: /u01/product/grid/11.2.0/OPatch/ocm/ocm.zip
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/osdt_jce.jar
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/osdt_core3.jar
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/emocmclnt-14.jar
replace /u01/product/grid/11.2.0/OPatch/ocm/lib/emocmutl.jar? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: /u01/product/grid/11.2.0/OPatch/ocm/lib/emocmutl.jar
inflating: /u01/product/grid/11.2.0/OPatch/ocm/bin/emocmrsp
inflating: /u01/product/grid/11.2.0/OPatch/ocm/ocm_platforms.txt
creating: /u01/product/grid/11.2.0/OPatch/crs/
creating: /u01/product/grid/11.2.0/OPatch/crs/log/
extracting: /u01/product/grid/11.2.0/OPatch/crs/log/dummy
inflating: /u01/product/grid/11.2.0/OPatch/crs/patch112.pl
inflating: /u01/product/grid/11.2.0/OPatch/crs/crsdelete.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/crspatch.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/s_crsconfig_defs
inflating: /u01/product/grid/11.2.0/OPatch/crs/crsconfig_lib.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/oracss.pm
inflating: /u01/product/grid/11.2.0/OPatch/crs/auto_patch.pl
inflating: /u01/product/grid/11.2.0/OPatch/crs/s_crsconfig_lib.pm
inflating: /u01/product/grid/11.2.0/OPatch/opatch
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/opatch/runtime_prereq.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/opatch/opatch_prereq.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/opatch/rulemap.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/prerequisite.properties
inflating: /u01/product/grid/11.2.0/OPatch/opatchprereqs/oui/knowledgesrc.xml
inflating: /u01/product/grid/11.2.0/OPatch/opatch.ini
inflating: /u01/product/grid/11.2.0/OPatch/emdpatch.pl
inflating: /u01/product/grid/11.2.0/OPatch/opatch.pl
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchprereq.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchactions.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchutil.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchfmw.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatchext.jar
inflating: /u01/product/grid/11.2.0/OPatch/jlib/opatch.jar
creating: /u01/product/grid/11.2.0/OPatch/fmw/
inflating: /u01/product/grid/11.2.0/OPatch/fmw/application.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/main_driver.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/prereq.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/start_stop.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/node_manager.py
inflating: /u01/product/grid/11.2.0/OPatch/fmw/init_def.py
inflating: /u01/product/grid/11.2.0/OPatch/opatch.bat
inflating: /u01/product/grid/11.2.0/OPatch/docs/Prereq_Users_Guide.txt
inflating: /u01/product/grid/11.2.0/OPatch/docs/FAQ
inflating: /u01/product/grid/11.2.0/OPatch/docs/Users_Guide.txt
inflating: /u01/product/grid/11.2.0/OPatch/README.txt
wmrac01$cd $ORACLE_HOME
wmrac01$cd OPatch
wmrac01$./opatch version
Invoking OPatch 11.2.0.1.3
OPatch Version: 11.2.0.1.3
OPatch succeeded.
wmrac01$cd /u01/packages/
wmrac01$ll
total 3365912
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 database
drwxrwxr-x 8 grid oinstall 4096 Aug 21 2009 grid
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 kernel
-rwxrwxr-x 1 grid oinstall 1239269270 Jan 24 09:05 linux.x64_11gR2_database_1of2.zip
-rwxrwxr-x 1 grid oinstall 1111416131 Jan 24 09:06 linux.x64_11gR2_database_2of2.zip
-rwxrwxr-x 1 grid oinstall 1052897657 Jan 24 09:09 linux.x64_11gR2_grid.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 10:05 oracleasm
-rwxrwxr-x 1 grid oinstall 27513939 Jan 24 09:06 p6880880_x86_64.zip
-rwxrwxr-x 1 grid oinstall 65656 Jan 24 09:06 p8730312_x86_64.zip
-rwxrwxr-x 1 grid oinstall 12064953 Jan 24 09:06 p9352237_x86_64.zip
drwxrwxr-x 2 grid oinstall 4096 Jan 24 09:04 Redhat5.3
wmrac01$unzip p9352237_x86_64.zip
wmrac01$su
Password:
wmrac01$id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
wmrac01$$ORACLE_HOME/crs/install/roothas.pl -unlock
2011-03-01 08:29:43: Checking for super user privileges
2011-03-01 08:29:43: User has super user privileges
2011-03-01 08:29:43: Parsing the host name
Using configuration parameter file: /u01/product/grid/11.2.0/crs/install/crsconfig_params
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'wmrac01'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'wmrac01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'wmrac01'
CRS-2677: Stop of 'ora.gpnpd' on 'wmrac01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'wmrac01'
CRS-2677: Stop of 'ora.mdnsd' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'wmrac01' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'wmrac01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'wmrac01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully unlock /u01/product/grid/11.2.0
wmrac01$whoami
root
wmrac01$exit
exit
wmrac01$whoami
grid
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25850100/viewspace-704187/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11 g rac 安裝 11.2步
- 11 g rac 安裝 1步
- 11 g rac 安裝 2步
- 11 g rac 安裝 3步
- 11 g rac 安裝 4步
- 11 g rac 安裝 9步
- 11 g rac 安裝 10步
- 11 g rac 安裝 12步
- 11 g rac 安裝 7,8步
- 11 g rac 安裝 5,6步
- AIX 安裝 11g RACAI
- RedHat 安裝11g racRedhat
- 安裝Oracle RAC 11gOracle
- rhel5+oracle11.1g安裝後錯誤Oracle
- oracle11g 解除安裝racOracle
- 11G RAC NFS安裝文件NFS
- 11g rac 安裝 INS 41112
- SUSE 11.1 安裝ORACLE 11.2.0.3 ASM非RAC雙機過程紀要OracleASM
- redhat 6.4 安裝oracle11g RAC 安裝RDACRedhatOracle
- rhel7 安裝11g rac
- 11g rac安裝過程感悟
- oracle11g rac安裝過程Oracle
- 手工刪除解除安裝oracle 11g rac的具體步驟(方法)Oracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- linux安裝11g rac總結Linux
- oracle 11g rac 靜默解除安裝Oracle
- Oracle11g R2 RAC安裝Oracle
- oracle 11g R2安裝RACOracle
- AIX 6.1 Oracle11g 11.2.0.4 RAC 安裝心得AIOracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- 完全解除安裝oracle11g步驟Oracle
- redhat 5.4 安裝oracle11g 步驟RedhatOracle
- 完全解除安裝oracle11g步驟 .Oracle
- HPUX11.31+RAC11G資料庫安裝UX資料庫
- Oraccle 11G R2 RAC解除安裝
- oracle之 安裝 11G RAC 報 NTP failedOracleAI
- Oracle 11g RAC One node 安裝與配置Oracle
- MAC+Vmware Fusion安裝Oracle11g RACMacOracle