Oracle Study-aix6.1 Building Oracle 10GR2 RAC (4)
I. Installation of CRS patches
before installing CRS, you need to install patch p6718715_10203_aix64-5l, or you will see a "node not found" error during installation.
[[email protected]/] #cd/home/oracle/p6718715_10203_aix64-5l/
Once the patch is unpacked, simply run "root.sh" as Root:
[Email protected] p6718715_10203_aix64-5l]#./rootpre.sh
./rootpre.sh output would be logged in/tmp/rootpre.out_16-03-15.17:51:20saving the original files in/etc/ora_save_16-03- 15.17:51:20....copying new kernel extension to/etc...../rootpre.sh[295]: test:argument expectedloading the kernel exten Sion 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 Kern El Extension successfully successfully loaded/etc/pw-syscall.64bit_kernel with kmid:0x50e5d000 successfully configured /etc/pw-syscall.64bit_kernel with kmid:0x50e5d000the kernel extension was successfuly loaded. /ROOTPRE.SH[360]: test:argument expectedchecking If group services should be configured .... Please confirm your Oracle UserID was a member of the Group:hagsuserconfiguring HACMP Group services socket for possible u Se by Oracle.
ii. installation of CRS
Install as Oracle:
Pre-installation detection:
[email protected] cluvfy]$./runcluvfy.sh
Usage:cluvfy [-help]cluvfy stage {-list |-help}cluvfy stage {-pre|-post} <stage-name> <stage-specific option s> [-verbose]cluvfy comp {-list |-help}cluvfy Comp <component-name> <component-specific Options> [-verbose]
[Email protected] 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 "aix2 03 ". 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 aix203 exists 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 passed aix203 Yes Yes Yes Yes passed result:membership check forUser "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.16 8.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 Connec Ted? ----------------------------------------------------------------------------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:e N2 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.204aix203 En0 : 192.168.8.203Suitable interfaces for the private interconnect on subnet "10.10.10.0": aix204 en2:10.10.10.204aix203 En2 : 10.10.10.203error:could not find a suitable set of interfaces for VIPs.Result:Node connectivity check failed. Checking system requirements for ' CRS '... No checks registered for the this product. Pre-Check for Cluster Services setup is unsuccessful on all the nodes.
Installation:
1) Specify the installation path
2) Check the installation environment
warning prompt: For AIX 6100-09,oracle 10GR2 not supported, ignore, continue installation can
3) Configuration node
4) Configure OCR and Vote Disk
5) Installation
6) Run script
before running the script, you can clean up OCR and vote disk via DD:
Node1:
[[email protected]/] #dd if=/dev/zero of=/dev/rrac_ocr bs=8192 count=2560
2560+0 Records in
2560+0 Records out
[[email protected]/] #dd if=/dev/zero of=/dev/rrac_vote bs=8192 count=2560
2560+0 Records in
2560+0 Records out
[email protected]/]#/u01/crs_1/root.sh
Warning:directory '/u01 ' isn't owned by rootchecking to see if the Oracle CRS stack is already configuredchecking to see if Any 9i GSD are upsetting the permissions on OCR backup directorysetting up NS directoriesoracle Cluster Registry Configurat Ion upgraded Successfullywarning:directory '/U01 ' is no owned by rootsuccessfully accumulated necessary OCR keys. Using ports:css=49895 crs=49896 evmc=49898 and Evmr=49897.node <nodenumber>: <nodename> <private Interconnect name> Node2:
[[email protected]/] #dd if=/dev/zero of=/dev/rrac_vote bs=8192 count=2560
2560+0 Records in
2560+0 Records out
[[email protected]/] #dd if=/dev/zero of=/dev/rrac_ocr bs=8192 count=2560
2560+0 Records in
2560+0 Records out
[email protected]/]#/u01/crs_1/root.sh
Warning:directory '/u01 ' isn't owned by rootchecking to see if the Oracle CRS stack is already configuredchecking to see if Any 9i GSD are up/etc/oracle does not exist. Creating it now. Setting the permissions on OCR backup directorysetting up NS directoriesoracle Cluster Registry Configuration upgraded SUC Cessfullywarning:directory '/u01 ' isn't owned by rootclscfg:existing configuration version 3 Detected.clscfg:version 3 is 10G Release 2.Successfully accumulated necessary OCR keys. Using ports:css=49895 crs=49896 evmc=49898 and Evmr=49897.node <nodenumber>: <nodename> <private Interconnect name>
7) Run VIPCA to configure CRS resources[[email protected]/] #cd/u01/crs_1/bin
[Email protected] BIN]#./VIPCA
Third, view CRS services and Resources
<strong>[[email protected]/] #crsctl check crs</strong>css appears Healthycrs appears HealthyEVM Appears healthy<strong>[[email protected]/] #crs_stat-t</strong>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<strong>[[email protected] Bi N] #crsctl Check crs</strong>css appears Healthycrs appears HEALTHYEVM appears healthy<strong>[[email Protected] bin] #crs_stat-t</strong>name Type Target State Host------------------ ------------------------------------------ORA.AIX203.GSD Application Online online aix203 ora.aix203.ons application online online aix2 ORA.AIX203.VIP application Online Online aix203 ora.aix204.gsd application online online AI x204 ora.aix204.ons application Online online aix204 ora.aix204.vip application online Online aix204
----This, the CRS installation configuration is successful!
------not finished, to be continued!
Oracle Study-aix6.1 Building Oracle 10GR2 RAC (4)