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 "Node not found" error during installation.
[[email protected]/] #cd/home/oracle/p6718715_10203_aix64-5l/
Once the patch is unpacked, only the "root.sh" can be executed 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/e tc/ora_save_16-03-15.17:51:20....copying new kernel extension to/etc...../rootpre.sh[295]: test:argument expectedloading the kernel extension from/etc Oracle kernel extension Loader for AIX Copyright (c) 1998,1999 Oracl E Corporation Kernel Extension/etc/pw-syscall.64bit_kernel already loaded unloading it unconfigured the Kernel Extensio N successfully Unloaded the kernel extension successfully successfully loaded/etc/pw-syscall.64bit_kernel with kmid:0x50 e5d000 successfully configured/etc/pw-syscall.64bit_kernel with kmid:0x50e5d000the kernel extension was successfuly loa Ded. /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 test:
[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 "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 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 passed result:membership check for the user "Oracle" in Group "Oinstall" [as P Rimary] 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" Interfa Ce 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:e N0 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 to install can
3) Configuration node
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/>
4) Configure OCR and Vote Disk
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/>
5) Installation
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/>
6) Execute script
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/>
You can pass the DD before executing the script. Clean up OCR and vote disk:
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) Implement VIPCA configuration CRS resources[[email protected]/] #cd/u01/crs_1/bin
[Email protected] BIN]#./VIPCA
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/>
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)