安裝Oracle 10.2.0.5 RAC for AIX6(四)
簡單介紹在AIX6上安裝10.2.0.5 RAC的過程。
這一篇描述補丁的安裝過程。
安裝Oracle 10.2.0.5 RAC for AIX6(一):http://yangtingkun.itpub.net/post/468/520680
安裝Oracle 10.2.0.5 RAC for AIX6(二):http://yangtingkun.itpub.net/post/468/520729
安裝Oracle 10.2.0.5 RAC for AIX6(三):http://yangtingkun.itpub.net/post/468/520795
上一篇安裝了資料庫的軟體,下面介紹補丁的安裝過程:
# /etc/init.crs stop
Shutting down Oracle Cluster Ready Services (CRS):
Apr 15 01:20:43.345 | INF | daemon shutting down
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
# ps -ef|grep ora
oracle 4522000 5701638 0 01:21:28 pts/6 0:00 /bin/sh ./runInstaller
oracle 4784190 2294188 0 00:32:32 pts/7 0:00 -ksh
oracle 5701638 6357160 0 00:05:41 pts/6 0:00 -ksh
oracle 6029528 4981112 0 23:04:37 - 1:53 sshd: oracle@pts/2,pts/3
oracle 6553750 6553984 0 22:58:35 pts/0 0:00 -ksh
root 4981112 4588000 0 23:04:28 - 0:00 sshd: oracle [priv]
oracle 6619514 9109590 0 00:32:51 pts/1 0:00 -ksh
oracle 6750712 6029528 0 23:17:24 pts/3 0:00 -ksh
oracle 6816182 6029528 0 23:04:37 pts/2 0:00 -ksh
oracle 7012660 4784190 0 00:33:32 pts/7 0:00 more rootpre.sh
root 7274796 6291674 0 01:21:38 pts/0 0:00 grep ora
關閉兩個節點上的CLUSTER,在補丁的安裝之前,仍然需要執行rootpre.sh:
# cd /home/oracle/software/database/Disk1/rootpre
# ./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_11-04-15.01:22:22
Saving the original files in /etc/ora_save_11-04-15.01:22:22....
Copying new kernel extension to /etc....
Loading the kernel extension from /etc
Oracle Kernel Extension Loader for AIX
Copyright (c) 1998,1999 Oracle Corporation
Kernel Extension /etc/pw-syscall.64bit_kernel already loaded, unloading it
Unconfigured the kernel extension successfully
Unloaded the kernel extension successfully
Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x513b5000
Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x513b5000
The kernel extension was successfuly loaded.
Configuring Asynchronous I/O....
Asynchronous I/O is not installed on this system.
You will need to install it, and either configure it yourself using
'smit aio' or rerun the Oracle root installation procedure.
Configuring POSIX Asynchronous I/O....
Posix Asynchronous I/O is not installed on this system.
You will need to install it, and either configure it yourself using
'smit aio' or rerun the Oracle root installation procedure.
Checking if group services should be configured....
Nothing to configure.
下面圖形化執行runInstaller命令,開始補丁的安裝過程,需要注意的是,首先應該對CLUSTER環境進行生效,然後對資料庫軟體升級。
# /opt/oracle/product/10.2/crs/install/root102.sh
Error : Please change the CRS_ORACLE_USER id
< CAP_PROPAGATE CAP_BYPASS_RAC_VMM CAP_NUMA_ATTACH >
by running command then 'crsctl stop crs' and 'crsctl
start crs'.
The CSS daemon, ocssd.bin, will not run in realtime without this change
Oracle strongly recommends that the CSS daemon run realtime
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /opt/oracle/product/10.2/crs
Relinking some shared libraries.
Relinking of patched files is complete.
Copying opriproc to /etc/oracle/bin for AIX
WARNING: directory '/opt/oracle/product/10.2' is not owned by root
WARNING: directory '/opt/oracle/product' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Adding daemons to inittab
Waiting for the patched CRS daemons to start.
This may take a while on some systems.
.
10205 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully deleted 1 values from OCR.
Successfully deleted 1 keys from OCR.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node
node 1: ywdb1 ywdb1-priv ywdb1
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
clscfg -upgrade completed successfully
Creating '/opt/oracle/product/10.2/crs/install/paramfile.crs' with data used
for CRS configuration
Setting CRS configuration values in
/opt/oracle/product/10.2/crs/install/paramfile.crs
節點2上的root102.sh的執行結果基本和節點1上的一致,就不重複了。
在對資料庫軟體升級之前,rootpre.sh指令碼仍然需要執行,這裡就不重複記錄了。
# /opt/oracle/product/10.2/database/root.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/product/10.2/database
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.
兩個節點分別執行root.sh後,10205補丁集安裝完成。
整個安裝的最後過程,透過dbca進行手工建庫即可,這和其他平臺的RAC安裝沒有什麼區別,就不重複描述了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-702383/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 安裝Oracle 10.2.0.5 RAC for AIX6(五)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(三)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(二)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(一)OracleAI
- aix6安裝oracle 10g rac問題AIOracle 10g
- Linux系統 Oracle 10gR2(10.2.0.5)RAC安裝LinuxOracle 10g
- oracle10.201 for aix6 安裝基本操作OracleAI
- silent安裝oracle10g 10.2.0.5 patchOracle
- oracle 10.2.0.4 rac 升級到oracle 10.2.0.5 rac步驟Oracle
- oracle rac aix 安裝OracleAI
- Oracle 12c GI/RAC Step-by-Step安裝指南(四)Oracle
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- Oracle RAC 安裝總結Oracle
- 【BUILD_ORACLE】Oracle 19c RAC搭建(四)Grid軟體安裝UIOracle
- 安裝Oracle11.2 RAC for Solaris10 sparc64(四)Oracle
- 【RAC】 RAC For W2K8R2 安裝--grid的安裝(四)
- 安裝Oracle RAC 11gOracle
- Oracle /RAC linux 安裝大全OracleLinux
- 單機安裝Oracle RAC (zt)Oracle
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(四)Oracle
- redhat 6.4 安裝oracle11g RAC 安裝RDACRedhatOracle
- 安裝Oracle 10g RAC是否需要安裝HACMPOracle 10gACM
- 安裝Oracle 10g RAC是否需要安裝HACMP?Oracle 10gACM
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- Solaris10下安裝Oracle1106RAC環境(四)Oracle
- oracle rac資料庫的安裝Oracle資料庫
- oracle11g 解除安裝racOracle
- 【原創】Oracle RAC原理和安裝Oracle
- oracle 11gr2 rac 安裝Oracle
- oracle 10g rac 解除安裝Oracle 10g
- oracle rac安裝配置注意事項Oracle
- 安裝Oracle RAC 12cR1Oracle
- veritas cfs for oracle rac安裝過程。Oracle
- 如何安全解除安裝Oracle RAC(轉)Oracle
- vgant 安裝oracle資料庫racOracle資料庫
- oracle 11gR2 RAC安裝與oracle 10gR2 rac 安裝時的不同點Oracle 10g
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- Oracle 10.2.0.5 RAC 通過emca 配置 DB ControlOracle