標籤:oracle
Solaris 10(x86)構建Oracle 11gR2 RAC之--配置系統內容(2)
系統內容:
作業系統:Solaris 10(x86-64)
Cluster: Oracle GRID 11.2.0
Oracle: Oracle 11.2.0.1.0
:RAC 系統架構
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;" />
對於Oracle 11G構建RAC首先需要構建GI(Grid Infrastructure)的架構
三、安裝相關軟體和補丁包(所有node)
1、檢查軟體包:
[[email protected]:/]# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs 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、安裝軟體:
掛載Solaris 10系統安裝盤
[[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、檢查安裝結果:
[[email protected]:/]# pkginfo -i SUNWi1cs SUNWi15cssystem SUNWi15cs X11 ISO8859-15 Codeset Supportsystem SUNWi1cs X11 ISO8859-1 Codeset Support
4、系統補丁需求:
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/F8/wKiom1TCFKSjbFsCAALhrw1PVt4408.jpg" title="s22.png" alt="wKiom1TCFKSjbFsCAALhrw1PVt4408.jpg" />
四、建立主機間信任關係(所有node)
在Solaris 10通過RSH系列工具,可以建立主機間的信任關係。
[[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啟動相關的服務:[[email protected]:/]# svcadm enable svc:/network/login:rlogin[[email protected]:/]# svcadm enable svc:/network/rexec:default[[email protected]:/]# svcadm enable svc:/network/shell:default驗證:[[email protected]:/export/home/oracle]$ rsh node2 dateFri Jan 23 11:11:24 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]$
五、配置時間同步(所有node)
對於Oracle 11gR2中,可以採用Oracle Cluster Time Synchronization daemon (ctssd) 服務,來進行時間的同步,不需要採用系統的NTP服務進行同步,需要關閉系統的NTP服務。
[[email protected]:/]# svcs -a |grep ntpdisabled 9:38:42 svc:/network/ntp:defaultdisabled 9:38:43 svc:/network/ntp4:default
----預設已經被關閉
本文出自 “天涯客的blog” 部落格,請務必保留此出處http://tiany.blog.51cto.com/513694/1607506
Solaris 10(x86)構建Oracle 11gR2 RAC之--配置系統內容(2)