Oracle Study之-AIX6.1構(gòu)建Oracle 10gR2 RAC(4)
創(chuàng)新互聯(lián)專注于虎林網(wǎng)站建設(shè)服務(wù)及定制,我們擁有豐富的企業(yè)做網(wǎng)站經(jīng)驗(yàn)。 熱誠(chéng)為您提供虎林營(yíng)銷型網(wǎng)站建設(shè),虎林網(wǎng)站制作、虎林網(wǎng)頁(yè)設(shè)計(jì)、虎林網(wǎng)站官網(wǎng)定制、微信小程序定制開發(fā)服務(wù),打造虎林網(wǎng)絡(luò)公司原創(chuàng)品牌,更為您提供虎林網(wǎng)站排名全網(wǎng)營(yíng)銷落地服務(wù)。
一、安裝CRS補(bǔ)丁
在安裝CRS之前,需要安裝補(bǔ)丁p6718715_10203_AIX64-5L,否則在安裝時(shí)會(huì)出現(xiàn)“無(wú)法發(fā)現(xiàn)node”的錯(cuò)誤。
[root@aix203 /]#cd /home/oracle/p6718715_10203_AIX64-5L/
補(bǔ)丁解壓后,只需要以root身份運(yùn)行“root.sh”即可:
[root@aix203 p6718715_10203_AIX64-5L]#./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_16-03-15.17:51:20
Saving the original files in /etc/ora_save_16-03-15.17:51:20....
Copying new kernel extension to /etc....
./rootpre.sh[295]: test: argument expected
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: 0x50e5d000
Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x50e5d000
The kernel extension was successfuly loaded.
./rootpre.sh[360]: test: argument expected
Checking if group services should be configured....
Please confirm your Oracle userid is a member of the group: hagsuser
Configuring HACMP group services socket for possible use by Oracle.
二、安裝CRS
以O(shè)racle身份安裝:
安裝前檢測(cè):
[oracle@aix203 cluvfy]$./runcluvfy.sh USAGE: cluvfy [ -help ] cluvfy stage { -list | -help } cluvfy stage {-pre|-post}[-verbose] cluvfy comp { -list | -help } cluvfy comp [-verbose] [oracle@aix203 cluvfy]$./runcluvfy.sh stage -pre crsinst -n aix203,aix204 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node "aix203" Destination Node Reachable? ------------------------------------ ------------------------ aix203 yes aix204 yes Result: Node reachability check passed from node "aix203". Checking user equivalence... Check: User equivalence for user "oracle" Node Name Comment ------------------------------------ ------------------------ aix204 passed aix203 passed Result: User equivalence check passed for user "oracle". Checking administrative privileges... Check: Existence of user "oracle" Node Name User Exists Comment ------------ ------------------------ ------------------------ aix204 yes passed aix203 yes passed Result: User existence check passed for "oracle". Check: Existence of group "oinstall" Node Name Status Group ID ------------ ------------------------ ------------------------ aix204 exists 300 aix203 exists 300 Result: Group existence check passed for "oinstall". Check: Membership of user "oracle" in group "oinstall" [as Primary] Node Name User Exists Group Exists User in Group Primary Comment ---------------- ------------ ------------ ------------ ------------ ------------ aix204 yes yes yes yes passed aix203 yes yes yes yes passed Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed. Administrative privileges check passed. Checking node connectivity... Interface information for node "aix204" Interface Name IP Address Subnet ------------------------------ ------------------------------ ---------------- en0 192.168.8.204 192.168.8.0 en2 10.10.10.204 10.10.10.0 Interface information for node "aix203" Interface Name IP Address Subnet ------------------------------ ------------------------------ ---------------- en0 192.168.8.203 192.168.8.0 en2 10.10.10.203 10.10.10.0 Check: Node connectivity of subnet "192.168.8.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- aix204:en0 aix203:en0 yes Result: Node connectivity check passed for subnet "192.168.8.0" with node(s) aix204,aix203. Check: Node connectivity of subnet "10.10.10.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- aix204:en2 aix203:en2 yes Result: Node connectivity check passed for subnet "10.10.10.0" with node(s) aix204,aix203. Suitable interfaces for the private interconnect on subnet "192.168.8.0": aix204 en0:192.168.8.204 aix203 en0:192.168.8.203 Suitable interfaces for the private interconnect on subnet "10.10.10.0": aix204 en2:10.10.10.204 aix203 en2:10.10.10.203 ERROR: Could not find a suitable set of interfaces for VIPs. Result: Node connectivity check failed. Checking system requirements for 'crs'... No checks registered for this product. Pre-check for cluster services setup was unsuccessful on all the nodes.
安裝:
1)指定安裝路徑
三、查看CRS服務(wù)及資源
[root@aix203 /]#crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[root@aix203 /]#crs_stat -t
Name Type Target State Host ------------------------------------------------------------ ora.aix203.gsd application ONLINE ONLINE aix203 ora.aix203.ons application ONLINE ONLINE aix203 ora.aix203.vip application ONLINE ONLINE aix203 ora.aix204.gsd application ONLINE ONLINE aix204 ora.aix204.ons application ONLINE ONLINE aix204 ora.aix204.vip application ONLINE ONLINE aix204
[root@aix204 bin]#crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[root@aix204 bin]#crs_stat -t
Name Type Target State Host ------------------------------------------------------------ ora.aix203.gsd application ONLINE ONLINE aix203 ora.aix203.ons application ONLINE ONLINE aix203 ora.aix203.vip application ONLINE ONLINE aix203 ora.aix204.gsd application ONLINE ONLINE aix204 ora.aix204.ons application ONLINE ONLINE aix204 ora.aix204.vip application ONLINE ONLINE aix204
---- 至此,CRS安裝配置成功 !
------未完,待續(xù) !