Solaris (x86) Build Oracle 11GR2 RAC-Configure the System environment (2)
System environment:
Operating system: Solaris ten (X86-64)
Cluster:oracle GRID 11.2.0
Oracle:oracle 11.2.0.1.0
:rac System schema
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/F5/wKioL1TCBmLDm03UAAIfxyj414U232.jpg "title=" Rac.jpg "alt=" wkiol1tcbmldm03uaaifxyj414u232.jpg "width=" 650 "style=" padding:0px;margin:0px;vertical-align:top; Border:none; "/>
Building a RAC for Oracle 11G first requires building a GI (Grid Infrastructure) Architecture
Third, install the relevant software and patch pack (all node)
1. Check the package:
[[Email protected]:/]# pkginfo-i sunwarc sunwbtool sunwhea sunwlibm Sunwlibms sunwsprot sunwtoo SUNWi1of SUNWi1cs SUNWi15 CS Sunwxwfnt
system sunwarc lint libraries (usr) system SUNWbtool CCS tools bundled with SunOSsystem SUNWhea SunOS Header Filessystem SUNWi1of ISO-8859-1 (Latin-1) Optional Fontssystem SUNWlibm Math & Microtasking Library Headers & Lint Files (USR) system sunwlibms math & Microtasking Libraries (USR) System sunwsprot solaris Bundled toolssystem SUNWtoo Programming toolssystem sunwxwfnt x window system platform Required fontserror: information for "Sunwi1cs" was not foundERROR: information for " Sunwi15cs " was not found
2. Install the SOFTWARE:
Mount the Solaris 10 system installation Disk
[[email protected]:/]# ls /cdromcdrom0 sol_10_910_x86[[email protected]:/cdrom/sol_10_910_x86/solaris_10/product]# pkgadd /cdrom /sol_10_910_x86/solaris_10/product sunwi1cspkgadd: error: no packages were found in </var/spool/pkg>[[email protected]:/cdrom/sol_10_910_x86/Solaris_10/Product]# pkgadd -d /cdrom/sol_10_910_x86/solaris_10/product sunwi1csprocessing package instance <sunwi1cs> from </cdrom/sol_10_910_x86/solaris_10/product>x11 Iso8859-1 codeset support (i386) 2.0,REV=2004.10.17.15.04Copyright 2004 Sun Microsystems, inc. all rights reserved. Use is subject to license terms. Using </> as the package base directory.## processing package information.## Processing system information. 8 package pathnames are already properly installed.## verifying package dependencies.## verifying disk space requirements.## checking for conflicts with packages already installed.## checking for setuid/setgid programs. this package contains scripts which will be executed with Super-userpermission during the process of installing this package. Do you want to continue with the installation of <sunwi1cs> [y,n,?] yInstalling X11 ISO8859-1 Codeset Support as <SUNWi1cs>## Installing part 1 of 1.232 blocksinstallation of <sunwi1cs> was successful. [[Email protected]:/cdrom/sol_10_910_x86/solaris_10/product]# pkgadd -d /cdrom/sol_10_910_x86/solaris_10/product Sunwi15csprocessing package instance <sunwi15cs> from </cdrom/sol_10_910_x86 /solaris_10/product>x11 iso8859-15 codeset support (i386) 2.0,rev= 2004.10.17.15.04copyright 2004 sun microsystems, inc. all rights Reserved. Use is subject to license terms. Using </> as the package base directory.## processing package information.## Processing system information. 6 package Pathnames are already properly installed.## verifying package dependencies. ## verifying disk space requirements.## checking for conflicts with packages already installed.## checking for setuid/setgid programs. this package contains scripts which will be executed with Super-userpermission during the process of installing this package. Do you want to continue with the installation of <sunwi15cs > [y,n,?] yInstalling X11 ISO8859-15 Codeset Support as <SUNWi15cs>## installing part 1 of 1.1460 blocksinstallation of <sunwi15cs> Was successful. [[email protected]:/cdrom/sol_10_910_x86/solaris_10/product]#
3, check the installation results:
[[Email protected]:/]# pkginfo-i sunwi1cs sunwi15cssystem sunwi15cs X11 iso8859-15 codeset supportsystem SUNWi1 CS X11 iso8859-1 codeset support
4. System Patch Requirements:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/58/F8/wKiom1TCFKSjbFsCAALhrw1PVt4408.jpg "title=" S22.png "alt=" Wkiom1tcfksjbfscaalhrw1pvt4408.jpg "/>
Iv. establishing a trust relationship between hosts (all node)
in Solaris 10 through the RSH series tool, you can establish a trust relationship between hosts.
[[email protected]:/]# cat /etc/hosts.equiv node1 oraclenode1 rootnode1-vip rootnode1-vip oraclenode1-priv rootnode1-priv oraclenode1 gridnode1-vip gridnode1-priv gridnode2 rootnode2 oraclenode2-vip rootnode2-vip oraclenode2-priv rootnode2-priv oraclenode2 gridnode2-vip gridnode2-priv grid[[email protected]:/export/home/oracle]$ cat .rhosts node1 rootnode1 oraclenode1-vip rootnode1-vip oraclenode1-priv rootnode1-priv oraclenode1 gridnode1-vip gridnode1-priv gridnode2 rootnode2 oraclenode2-vip rootnode2-vip oraclenode2-priv rootnode2-priv oraclenode2 gridnode2-vip gridnode2-priv grid[[email protected]:/ export/home/grid]$ cat .rhosts node1 rootnode1 oraclenode1-vip rootnode1-vip oraclenode1-priv rootnode1-priv oraclenode1 gridnode1-vip gridnode1-priv gridnode2 rootnode2 oraclenode2-vip rootnode2-vip oraclenode2-priv rootnode2-priv oraclenode2 gridnode2-vip gridnode2-priv grid Start related services: [[email protected]:/]# svcadm enable svc:/network/login:rlogin[[email protected]:/]# Svcadm enable svc:/network/rexec:default[[email protected]:/]# svcadm enable svc :/network/shell:default Verification:[[email protected]:/export/home/oracle]$ rsh node2 datefri Jan 23 11:11:24&nBsp Cst 2015[[email protected]:/export/home/oracle]$ rsh node2-priv datefri jan 23 11:11:27 CST 2015[[email protected]:/export/home/oracle]$ su - gridpassword: oracle corporation sunos 5.10 generic patch january 2005[[email protected]:/export/ home/grid]$ rsh node2 datefri jan 23 11:11:39 cst 2015[[email Protected]:/export/home/grid]$ rsh node2-priv datefri jan 23 11:11:42 cst 2015[[email protected]:/export/home/grid]$
V. Configure time synchronization (all node)
for Oracle 11GR2, you can use the Oracle Cluster Time Synchronization daemon (CTSSD) service to synchronize times without the need to synchronize with the system's NTP service. The NTP service for the system needs to be shut down.
[Email protected]:/]# svcs-a |grep ntpdisabled 9:38:42 svc:/network/ntp:defaultdisabled 9:38:43 svc:/netwo Rk/ntp4:default
----is already turned off by default
This article is from the "Tianya blog," Please make sure to keep this source http://tiany.blog.51cto.com/513694/1607506
Solaris (x86) Build Oracle 11GR2 RAC-Configure the System environment (2)