首页 > 代码库 > Solaris 10(x86)构建Oracle 11gR2 RAC之--配置系统环境(2)
Solaris 10(x86)构建Oracle 11gR2 RAC之--配置系统环境(2)
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 系统架构
对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构
三、安装相关软件和补丁包(所有node)
1、检查软件包:
[root@node2:/]# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
system SUNWarc Lint Libraries (usr) system SUNWbtool CCS tools bundled with SunOS system SUNWhea SunOS Header Files system SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts system SUNWlibm Math & Microtasking Library Headers & Lint Files (Usr) system SUNWlibms Math & Microtasking Libraries (Usr) system SUNWsprot Solaris Bundled tools system SUNWtoo Programming Tools system SUNWxwfnt X Window System platform required fonts ERROR: information for "SUNWi1cs" was not found ERROR: information for "SUNWi15cs" was not found
2、安装软件:
挂载Solaris 10系统安装盘
[root@node1:/]# ls /cdrom cdrom0 sol_10_910_x86 [root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]# pkgadd /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs pkgadd: ERROR: no packages were found in </var/spool/pkg> [root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]# pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs Processing 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.04 Copyright 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-user permission during the process of installing this package. Do you want to continue with the installation of <SUNWi1cs> [y,n,?] y Installing X11 ISO8859-1 Codeset Support as <SUNWi1cs> ## Installing part 1 of 1. 232 blocks Installation of <SUNWi1cs> was successful. [root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]# pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi15cs Processing 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.04 Copyright 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-user permission during the process of installing this package. Do you want to continue with the installation of <SUNWi15cs> [y,n,?] y Installing X11 ISO8859-15 Codeset Support as <SUNWi15cs> ## Installing part 1 of 1. 1460 blocks Installation of <SUNWi15cs> was successful. [root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]#
3、检查安装结果:
[root@node2:/]# pkginfo -i SUNWi1cs SUNWi15cs system SUNWi15cs X11 ISO8859-15 Codeset Support system SUNWi1cs X11 ISO8859-1 Codeset Support
4、系统补丁需求:
四、建立主机间信任关系(所有node)
在Solaris 10通过RSH系列工具,可以建立主机间的信任关系。
[root@node1:/]# cat /etc/hosts.equiv node1 oracle node1 root node1-vip root node1-vip oracle node1-priv root node1-priv oracle node1 grid node1-vip grid node1-priv grid node2 root node2 oracle node2-vip root node2-vip oracle node2-priv root node2-priv oracle node2 grid node2-vip grid node2-priv grid [oracle@node1:/export/home/oracle]$ cat .rhosts node1 root node1 oracle node1-vip root node1-vip oracle node1-priv root node1-priv oracle node1 grid node1-vip grid node1-priv grid node2 root node2 oracle node2-vip root node2-vip oracle node2-priv root node2-priv oracle node2 grid node2-vip grid node2-priv grid [grid@node1:/export/home/grid]$ cat .rhosts node1 root node1 oracle node1-vip root node1-vip oracle node1-priv root node1-priv oracle node1 grid node1-vip grid node1-priv grid node2 root node2 oracle node2-vip root node2-vip oracle node2-priv root node2-priv oracle node2 grid node2-vip grid node2-priv grid 启动相关的服务: [root@node1:/]# svcadm enable svc:/network/login:rlogin [root@node1:/]# svcadm enable svc:/network/rexec:default [root@node1:/]# svcadm enable svc:/network/shell:default 验证: [oracle@node1:/export/home/oracle]$ rsh node2 date Fri Jan 23 11:11:24 CST 2015 [oracle@node1:/export/home/oracle]$ rsh node2-priv date Fri Jan 23 11:11:27 CST 2015 [oracle@node1:/export/home/oracle]$ su - grid Password: Oracle Corporation SunOS 5.10 Generic Patch January 2005 [grid@node1:/export/home/grid]$ rsh node2 date Fri Jan 23 11:11:39 CST 2015 [grid@node1:/export/home/grid]$ rsh node2-priv date Fri Jan 23 11:11:42 CST 2015 [grid@node1:/export/home/grid]$
五、配置时间同步(所有node)
对于Oracle 11gR2中,可以采用Oracle Cluster Time Synchronization daemon (ctssd) 服务,来进行时间的同步,不需要采用系统的NTP服务进行同步,需要关闭系统的NTP服务。
[root@node1:/]# svcs -a |grep ntp disabled 9:38:42 svc:/network/ntp:default disabled 9:38:43 svc:/network/ntp4:default
----默认已经被关闭
本文出自 “天涯客的blog” 博客,请务必保留此出处http://tiany.blog.51cto.com/513694/1607506
Solaris 10(x86)构建Oracle 11gR2 RAC之--配置系统环境(2)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。