您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 数据库 > Oracle 11gR2 RAC on Linux平台的安装测试步骤【精华】
By北京中科大洋科技发展股份有限公司OracleDBA组目录第一章RedhatEnterpriseLinux5.5操作系统的安装1.1Linux操作系统安装1.2安装VmwareTool第二章配置以太网网卡绑定bond2.1在服务器RAC1上配置bond0、bond1、bond22.2在服务器RAC2上配置bond0、bond1、bond2第三章配置Xmanager3.1打开服务telnetd、vsftpd;关闭服务sendmail、smartd3.2配置Xmanager3.2.1允许根登录到Telnet3.2.2配置Xmanager第四章安装Oracle11gRAC的准备工作4.1修改主机表文件/etc/hosts4.2创建用户和组4.3配置ssh4.4修改内核参数4.5软硬件要求4.6创建Oracle软件安装目录4.7配置Openfiler4.8安装ASMlib4.9配置DNS服务器,提供scanIP4.10配置NTP协议或者CTSS第五章安装Oracle11gGRID集群软件第六章安装Oracle11gRAC数据库软件第七章创建数据库第八章数据库初步优化第九章Oracle数据库管理曾庆峰(版主)文章:331篇大洋币:1040枚时间:2011-07-27引用1.1Linux操作系统安装l操作系统分区要求146GB系统盘:[root@rac1~]#df-hFilesystemSizeUsedAvailUse%Mountedon/dev/sda8996M386M559M41%//dev/sda974G500M70G1%/opt/dev/sda77.8G148M7.3G2%/home/dev/sdb1493G198M467G1%/disk/dev/sda67.8G157M7.2G3%/tmp/dev/sda59.7G5.2G4.1G56%/usr/dev/sda39.7G336M8.9G4%/var/dev/sda1996M40M905M5%/boottmpfs1.5G01.5G0%/dev/shml安装操作系统所有的软件包曾庆峰(版主)文章:331篇大洋币:1040枚时间:2011-07-27引用第二章配置以太网网卡绑定bond2.1在服务器RAC1上配置bond0、bond1、bond2配置/etc/modprobe.conf文件,在目录/etc/sysconfig/network-scripts下创建ifcfg-bond0、ifcfg-bond1、ifcfg-bond2,并配置ifcfg-eth0~5(一炮响,哈哈哈)cat/etc/modprobe.confEOFaliasbond0bondingoptionsbond0max_bonds=2miimon=100mode=1aliasbond1bondingoptionsbond1max_bonds=2miimon=100mode=1aliasbond2bondingoptionsbond2max_bonds=2miimon=100mode=1EOFcat/etc/sysconfig/network-scripts/ifcfg-bond0EOFDEVICE=bond0BOOTPROTO=staticIPADDR=192.168.200.121NETMASK=255.255.255.0BROADCAST=192.168.200.255TYPE=EthernetONBOOT=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-bond1EOFDEVICE=bond1BOOTPROTO=staticIPADDR=192.168.100.121NETMASK=255.255.255.0BROADCAST=192.168.100.255TYPE=EthernetONBOOT=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-bond2EOFDEVICE=bond2BOOTPROTO=staticIPADDR=192.168.50.121NETMASK=255.255.255.0BROADCAST=192.168.50.255TYPE=EthernetONBOOT=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth0EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth0ONBOOT=yesMASTER=bond0SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth1EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth1ONBOOT=yesMASTER=bond0SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth2EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth2ONBOOT=yesMASTER=bond1SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth3EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth3ONBOOT=yesMASTER=bond1SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth4EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth4ONBOOT=yesMASTER=bond2SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth5EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth5ONBOOT=yesMASTER=bond2SLAVE=yesEOF2.2在服务器RAC2上配置bond0、bond1、bond2配置/etc/modprobe.conf文件,在目录/etc/sysconfig/network-scripts下创建ifcfg-bond0、ifcfg-bond1、ifcfg-bond2,并配置ifcfg-eth0~5(一炮响,哈哈哈)cat/etc/modprobe.confEOFaliasbond0bondingoptionsbond0max_bonds=2miimon=100mode=1aliasbond1bondingoptionsbond1max_bonds=2miimon=100mode=1aliasbond2bondingoptionsbond2max_bonds=2miimon=100mode=1EOFcat/etc/sysconfig/network-scripts/ifcfg-bond0EOFDEVICE=bond0BOOTPROTO=staticIPADDR=192.168.200.122NETMASK=255.255.255.0BROADCAST=192.168.200.255TYPE=EthernetONBOOT=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-bond1EOFDEVICE=bond1BOOTPROTO=staticIPADDR=192.168.100.122NETMASK=255.255.255.0BROADCAST=192.168.100.255TYPE=EthernetONBOOT=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-bond2EOFDEVICE=bond2BOOTPROTO=staticIPADDR=192.168.50.122NETMASK=255.255.255.0BROADCAST=192.168.50.255TYPE=EthernetONBOOT=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth0EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth0ONBOOT=yesMASTER=bond0SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth1EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth1ONBOOT=yesMASTER=bond0SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth2EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth2ONBOOT=yesMASTER=bond1SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth3EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth3ONBOOT=yesMASTER=bond1SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth4EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth4ONBOOT=yesMASTER=bond2SLAVE=yesEOFcat/etc/sysconfig/network-scripts/ifcfg-eth5EOFBOOTPROTO=noneTYPE=EthernetDEVICE=eth5ONBOOT=yesMASTER=bond2SLAVE=yesEOF曾庆峰(版主)文章:331篇大洋币:1040枚时间:2011-07-27引用第三章配置Xmanager3.1打开服务telnetd、vsftpd;关闭服务sendmail、smartdchkconfigvsftpdonchkconfigtelnetonchkconfigsendmailoffchkconfigsmartdoff3.2配置Xmanager3.2.1允许根登录到Telnet在详细了解如何为根登录配置RedHatLinux之前,牢记这是非常不安全的。千万不要为您的生产服务器配置这种类型的登录。要配置Telnet以实现根登录,只需编辑文件/etc/securetty并将以下内容添加到文件结尾:cat/etc/securettyEOFpts/0pts/1pts/2pts/3pts/4pts/5pts/6pts/7pts/8pts/9EOF这样将允许多达10个telnet会话以根用户连接服务器。3.2.2配置Xmanager1.改变运行级别到5打开/etc/inittab然后设置init运行级别5:id:5:initdefault:2.rhel5与rhel4不同的地方是,rhel5里没有/etc/X11/gdm/这个目录,rhel5的gdm的配置文件放在这里/usr/share/gdm/defaults.conf。需要修改的地方如下:修改/usr/share/gdm/defaults.conf文件,确保里面有以下几行并进行更改:vi/usr/share/gdm/defaults.confEnable=trueDisplaysPerHost=12Port=177[security]#Allowroottologin.Itmakessensetoturnthisoffforkioskuse,when#youwanttominimizethepossibilityofbreakin.AllowRoot=true#AllowloginasrootviaXDMCP.Thisvalu
本文标题:Oracle 11gR2 RAC on Linux平台的安装测试步骤【精华】
链接地址:https://www.777doc.com/doc-5856783 .html