Oracle-11G-RAC及负载均衡搭建手册_第1页
Oracle-11G-RAC及负载均衡搭建手册_第2页
Oracle-11G-RAC及负载均衡搭建手册_第3页
Oracle-11G-RAC及负载均衡搭建手册_第4页
Oracle-11G-RAC及负载均衡搭建手册_第5页
已阅读5页,还剩45页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Oracle 11G R2 RAC安装手册一、 基础知识1. RAC是什么RAC,全称real application clusters,译为“实时应用集群”,是Oracle新版数据库中采用的一项新技术,是高可用性的一种,也是Oracle数据库支持网格计算环境的核心技术。2. RAC的优缺点l 优点Oracle RAC支持Oracle9i、10g、11g版本,可以支持24 x 7 有效的数据库应用系统,在低成本服务器上构建高可用性数据库系统,并且自由部署应用,无需修改代码。在Oracle RAC环境下,Oracle集成提供了集群软件和存储管理软件,为用户降低了应用成本。当应用规模需要扩充时,用

2、户可以按需扩展系统,以保证系统的性能。(1) 多节点负载均衡; (2) 提供高可用:故障容错和无缝切换功能,将硬件和软件错误造成的影响最小化; (3) 通过并行执行技术提高事务响应时间-通常用于数据分析系统; (4) 通过横向扩展提高每秒交易数和连接数-通常对于联机事务系统; (5) 节约硬件成本,可以用多个廉价PC服务器代替昂贵的小型机或大型机,同时节约相应维护成本; (6) 可扩展性好,可以方便添加删除节点,扩展硬件资源。l 缺点(1) 相对单机,管理更复杂,要求更高; (2) 可能会增加软件成本3. Oracle RAC原理在一个应用环境当中,所有的服务器使用和管理同一个数据库,目的是为

3、了分散每一台服务器的工作量,硬件上至少需要两台以上的服务器,而且还需要一个共享存储设备。同时所有服务器上的OS都应该是同一类OS,根据负载均衡的配置策略,当一个客户端发送请求到某一台服务的listener后,这台服务器根据我们的负载均衡策略,会把请求发送给本机的RAC组件处理也可能会发送给另外一台服务器的RAC组件处理,处理完请求后,RAC会通过集群软件来访问共享存储设备.逻辑结构上看:l 每一个参加集群的节点有一个独立的instance,这些instance访问同一个数据库。l 每一个节点的linstance都有自己的SGA。l 每一个节点的linstance都有自己的background

4、process。l 每一个节点的linstance都有自己的redo logs。l 每一个节点的instance都有自己的undo表空间。l 所有节点都共享一份datafiles和controlfiles。三类Resource:l VIP - 虚拟IP地址(Virtual IP) l OCR - Oracle Cluster Registry(集群注册文件),记录每个节点的相关信息l Voting Disk,仲裁机制用于仲裁多个节点向共享节点同时写的行为,这样做是为了避免发生冲突。二、 RAC环境设计1. 服务器配置操作系统主机名内存网卡Redhat Enterprise Linux 5.4r

5、ac12Geth0(Public)eth1(Prive)Redhat Enterprise Linux 5.4rac22Geth0(Public)eth1(Prive)2. 用户组规划GroupNameGroupID说明HOSToinstall 501Oracle清单和软件所有者rac1,rac2asmadmin 504Oracle自动存储管理组rac1,rac2asmdba506ASM数据库管理员组rac1,rac2asmopen507ASM操作员组rac1,rac2dba502数据库管理员rac1,rac23. 用户规划UserIDUserNameGroup说明HOST

6、口令501gridoinstalldbaasmadminasmdbaasmoperOracle Cluster用户rac1rac2grid123502oracleoinstalldbaasmdbaOracle数据库管理员rac1rac2oracle1234. IP规划主机名公用IP私有IP虚拟IPrac1172.16.1.21110.10.10.211172.16.1.111rac2172.16.1.21210.10.10.212172.16.1.112ScanIP172.16.1.1005. 存储规划存储组件Block DeviceASMlib NameSizeOCR/dev/sdbOCR_

7、VOL11G/dev/sdcOCR_VOL21G/dev/sddOCR_VOL31G数据文件/dev/sdeDATA_VOL110G文件备份/dev/sdfBACK_VOL15G三、 Oracle RAC搭建1. 配置共享存储(ASM依赖)l 方法一:vmware workstation 9虚拟共享存储(1) 在VM安装目录VMware Workstation下执行命令:#vmware-vdiskmanager.exe -c -s 1GB -a lsilogic -t 2 D:racDiskdb01.vmdk#vmware-vdiskmanager.exe -c -s 1GB -a lsilo

8、gic -t 2 D:racDiskdb02.vmdk#vmware-vdiskmanager.exe -c -s 1GB -a lsilogic -t 2 D:racDiskdb03.vmdk#vmware-vdiskmanager.exe -c -s 10GB -a lsilogic -t 2 D:racDiskdb04.vmdk#vmware-vdiskmanager.exe -c -s 5GB -a lsilogic -t 2 D:racDiskdb05.vmdk(2) 修改rac1和rac2下的.vmx文件,在最后一行添加如下内容:diskLib.dataCacheMaxSize=0

9、 diskLib.dataCacheMaxReadAheadSize=0diskLib.dataCacheMinReadAheadSize=0diskLib.dataCachePageSize=4096diskLib.maxUnsyncedWrites = "0"disk.locking = "FALSE"scsi1.sharedBus = "virtual" scsi1.present = "TRUE"scsi1.virtualDev = "lsilogic"scsi1:0.mode = &q

10、uot;independent-persistent"scsi1:0.deviceType = "disk"scsi1:0.present = "TRUE"scsi1:0.fileName = "D:racDiskdb01.vmdk"scsi1:1.mode = "independent-persistent"scsi1:1.deviceType = "disk"scsi1:1.present = "TRUE"scsi1:1.fileName = "D:r

11、acDiskdb02.vmdk" scsi1:2.mode = "independent-persistent"scsi1:2.deviceType = "disk"scsi1:2.present = "TRUE"scsi1:2.fileName = "D:racDiskdb03.vmdk" scsi1:3.mode = "independent-persistent"scsi1:3.deviceType = "disk"scsi1:3.present = &quo

12、t;TRUE"scsi1:3.fileName = "D:racDiskdb04.vmdk"scsi1:4.mode = "independent-persistent"scsi1:4.deviceType = "disk"scsi1:4.present = "TRUE"scsi1:4.fileName = "D:racDiskdb05.vmdk"(3) 重新打开虚拟机,并启动。(4) 磁盘分区,在rac1执行#fdisk /dev/sdbDevice contains neither

13、 a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w

14、(rite)Command (m for help): pDisk /dev/sdb: 1048 MB, 1048576000 bytes 64 heads, 32 sectors/track, 1000 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System Command (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1

15、First cylinder (1-1000, default 1):Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-1000, default 1000): Using default value 1000Command (m for help): wThe partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks.#fdisk /dev/sdc 重复上面操作#fdisk /dev

16、/sdd 重复上面操作#fdisk /dev/sde 重复上面操作#fdisk /dev/sdf 重复上面操作l 方法二:Linux mount挂载(待解决)2. 安装依赖包#yum install -y expect* iscsi* binutils* compat-libstdc+* expat* elfutils-libelf* gcc* glibc* ksh* libgcc*#yum install -y pdksh* libgomp* compat-db* libXp* libaio* cpp* setarch* sysstat* libstdc+* make-3*#yum inst

17、all -y unixODBC#yum install -y unixODBC-devel3. 查看依赖包安装状况#rpm -q -qf '%NAME-%VERSION-%RELEASE(%ARCH)n' binutils elfutils-libelf elfutils-libelf expat gcc gcc-c+ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc+ libstdc+-devel make pdksh sysstat unixODBC uni

18、xODBC-devel执行结果binutils-2.17.50.0.6-26.el5(x86_64)elfutils-libelf-0.137-3.el5(x86_64)elfutils-libelf-0.137-3.el5(i386)elfutils-libelf-0.137-3.el5(x86_64)elfutils-libelf-0.137-3.el5(i386)expat-1.95.8-11.el5_8(x86_64)expat-1.95.8-11.el5_8(i386)gcc-4.1.2-54.el5(x86_64)gcc-c+-4.1.2-54.el5(x86_64)glibc-2

19、.5-118.el5_10.2(i686)glibc-2.5-118.el5_10.2(x86_64)glibc-common-2.5-118.el5_10.2(x86_64)glibc-devel-2.5-118.el5_10.2(x86_64)glibc-devel-2.5-118.el5_10.2(i386)glibc-headers-2.5-118.el5_10.2(x86_64)ksh-20100621-18.el5(x86_64)libaio-0.3.106-5(x86_64)libaio-0.3.106-5(i386)libaio-devel-0.3.106-5(i386)lib

20、aio-devel-0.3.106-5(x86_64)libgcc-4.1.2-54.el5(x86_64)libgcc-4.1.2-54.el5(i386)libstdc+-4.1.2-54.el5(x86_64)libstdc+-4.1.2-54.el5(i386)libstdc+-devel-4.1.2-54.el5(x86_64)libstdc+-devel-4.1.2-54.el5(i386)make-3.81-3.el5(x86_64)pdksh-5.2.14-37.el5_8.1(x86_64)sysstat-7.0.2-12.el5(x86_64)unixODBC-2.2.11

21、-10.el5(i386)unixODBC-2.2.11-10.el5(x86_64)unixODBC-devel-2.2.11-10.el5(x86_64)unixODBC-devel-2.2.11-10.el5(i386)4. 网络配置(1) 修改rac1和rac2的network#vi /etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=rac1 #此处为主机名GATEWAY=172.16.1.254#vi /etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=no

22、HOSTNAME=rac2GATEWAY=172.16.1.254(2) 修改rac1和rac2的hosts#vi /etc/hosts#eth0-Public IP#172.16.1.211 rac1172.16.1.212 rac2#eth1PRIVATE IP#10.10.10.211 rac1-priv10.10.10.212 rac2-priv#VIP#172.16.1.111 rac1-vip172.16.1.112 rac2-vip#SCAN#172.16.1.100 rac-cluster-scan(3) 重启rac1和rac2网络服务#service network rest

23、art(4) 配置虚拟IP#ifconfig eth0:0 172.16.1.111 netmask 255.255.0.0 up#ifconfig eth0:0 172.16.1.112 netmask 255.255.0.0 up*注:虚拟IP在重启网络服务会被卸载,需要重新设置。5. 配置NTPD服务NTPD服务为Grid的检查项,提供时间同步服务。(1) 修改NTPD参数文件(rac1,rac2)#vi /etc/sysconfig/ntpdSYNC_HWCLOCK=yesOPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"(2)

24、 修改rac1的ntpd.conf文件,删除原有内容录入以下内容#cp /etc/ntp.conf /etc/ntp.conf.bak#vi /etc/ntp.confrestrict 0.0.0.0 mask 0.0.0.0 nomodifyserver127.127.1.0fudge127.127.1.0 stratum 10restrict 127.127.1.0driftfile /var/lib/ntp/driftbroadcastdelay 0.008authenticate nokeys /etc/ntp/keys(3) 清空rac1的ntpservers原有内容#cp /etc

25、/ntp/ntpservers /etc/ntp/ntpservers.bak#vi /etc/ntp/ntpservers(4) 编辑rac1的step-tickers,添加一行#cp /etc/ntp/step-tickers /etc/ntp/step-tickers.bak#vi /etc/ntp/step-tickers127.127.1.0(5) 修改rac2的ntpd.conf文件,删除原有内容录入以下内容#cp /etc/ntp.conf /etc/ntp.conf.bak#vi /etc/ntp.confrestrict 0.0.0.0 mask 0.0.0.0 nomodi

26、fyserver127.127.1.0server172.16.1.211fudge127.127.1.0 stratum 10driftfile /var/lib/ntp/driftbroadcastdelay 0.008authenticate nokeys /etc/ntp/keys(6) 清空rac2的ntpservers原有内容#cp /etc/ntp/ntpservers /etc/ntp/ntpservers.bak#vi /etc/ntp/ntpservers(7) 编辑rac2的step-tickers,添加一行#cp /etc/ntp/step-tickers /etc/n

27、tp/step-tickers.bak#vi /etc/ntp/step-tickers172.16.1.211#rac1的ip地址(8) rac1节点重启NTPD服务#service ntpd restart(9) rac2节点停止NTPD服务,rac1重启NTPD服务后5、6分钟再执行#service ntpd stop#ntpdate rac1#service ntpd start(10) NTPD启用自动加载(rac1,rac2)#chkconfig ntpd on6. 关闭服务关闭rac1和rac2无用的sendmail和cups服务,加快开机速度。#chkconfig sendma

28、il off#chkconfig cups off7. 用户、用户组(1) 创建用户和用户组#groupadd -g 501 oinstall#groupadd -g 502 dba#groupadd -g 504 asmadmin#groupadd -g 506 asmdba#groupadd -g 507 asmoper#useradd -u 501 -g oinstall -G dba,asmadmin,asmdba,asmoper grid#useradd -u 502 -g oinstall -G dba,asmdba oracle#id oracle#id grid(2) 修改用户

29、密码#passwd oracle#passwd grid8. 文件夹及权限#mkdir -p /u01/app/grid/#mkdir -p /u01/app/11.2.0/grid/product/db_1#mkdir -p /u01/app/oraInventory#chown -R grid:oinstall /u01/app#mkdir -p /u01/app/oracle/product/11.2.0/db_1#chown -R oracle:oinstall /u01/app/oracle#chmod -R 775 /u019. 修改系统参数(1) 修改rac1和rac2的limi

30、ts.conf#vi /etc/security/limits.conf#ORACLE SETTINGgrid soft nproc 2047grid hard nproc 16384grid soft nofile 1024grid hard nofile 65536oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536(2) 修改rac1和rac2的/etc/pam.d/login#vi /etc/pam.d/login#ORACLE SETTINGsessio

31、n required pam_limits.so(3) 修改rac1和rac2的/etc/sysctl.conf#vi /etc/sysctl.conf#ORACLE SETTINGfs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 26

32、2144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586(4) 执行命令(rac1、rac2)#sysctl -p(5) 修改rac1和rac2的profile,在末尾添加#vi /etc/profileif $USER = "oracle" | $USER = "grid" ; thenif $SHELL = "/bin/ksh" ; thenulimit -p 16384ulimit -n 65536elseul

33、imit -u 16384 -n 65536fiumask 022 fi(6) 执行命令(rac1、rac2)#source /etc/profile(7) 修改rac1和rac2的/etc/csh.login#vi /etc/csh.loginif ( $USER = "oracle" | $USER = "grid" ) thenlimit maxproc 16384limit descriptors 65536endifEOFCSH(8) 修改grid用户的环境变量#su - grid$cd /home/grid/$vi .bash_profile

34、TMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_SID=+ASM1; export ORACLE_SIDORACLE_BASE=/u01/app/grid; export ORACLE_BASEORACLE_HOME=/u01/app/11.2.0/grid/product/db_1; export ORACLE_HOMENLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS" export NLS_DATE_FORMATTHREADS_FLAG=native; export THREADS_F

35、LAGPATH=$ORACLE_HOME/bin:$PATH; export PATHTHREADS_FLAG=native; export THREADS_FLAGPATH=$ORACLE_HOME/bin:$PATH; export PATHif $USER = "oracle" | $USER = "grid" ; thenif $SHELL = "/bin/ksh" ; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fi umask 022fi#su

36、 - grid$cd /home/grid/$vi .bash_profileTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_SID=+ASM2; export ORACLE_SIDORACLE_BASE=/u01/app/grid; export ORACLE_BASEORACLE_HOME=/u01/app/11.2.0/grid/product/db_1; export ORACLE_HOMENLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS" export NLS_DATE_FORM

37、ATTHREADS_FLAG=native; export THREADS_FLAGPATH=$ORACLE_HOME/bin:$PATH; export PATHTHREADS_FLAG=native; export THREADS_FLAGPATH=$ORACLE_HOME/bin:$PATH; export PATHif $USER = "oracle" | $USER = "grid" ; thenif $SHELL = "/bin/ksh" ; thenulimit -p 16384ulimit -n 65536elseul

38、imit -u 16384 -n 65536fi umask 022fi(9) 执行命令(rac1、rac2)$source .bash_profile(10) 修改oracle用户的环境变量#su - oracle$cd /home/oracle/$vi .bash_profile# Oracle Settings oracleTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_BASE=/u01/app/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/11.2.0/d

39、b_1; export ORACLE_HOMEORACLE_SID=orcl1; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbm

40、s/jlib; export CLASSPATHNLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS" export NLS_DATE_FORMATNLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANGif $USER = "oracle" | $USER = "grid" ; thenif $SHELL = "/bin/ksh" ; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n

41、 65536fiumask 022fi#su - grid$cd /home/grid/$vi .bash_profile# Oracle Settings oracleTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_BASE=/u01/app/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOMEORACLE_SID=orcl2; export ORACLE_SIDORACLE_TERM=xterm; expo

42、rt ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATHNLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS" export

43、NLS_DATE_FORMATNLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANGif $USER = "oracle" | $USER = "grid" ; thenif $SHELL = "/bin/ksh" ; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fiumask 022fi(11) 执行命令(rac1、rac2)$source .bash_profile10. 配置用户等效性(1) 使用Orac

44、le用户,在所有节点执行#su - oracle$ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/oracle/.ssh/id_rsa): Created directory '/home/oracle/.ssh'.Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved i

45、n /home/oracle/.ssh/id_rsa.Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.The key fingerprint is:be:8b:34:fd:c9:34:a7:2f:d2:f7:d9:30:1f:2e:48:d6 oraclerac1$ssh-keygen -t dsaGenerating public/private dsa key pair.Enter file in which to save the key (/home/oracle/.ssh/id_dsa): Enter pa

46、ssphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/oracle/.ssh/id_dsa.Your public key has been saved in /home/oracle/.ssh/id_dsa.pub.The key fingerprint is:4f:bc:4b:9a:a6:cd:1c:15:e7:67:92:94:a2:cd:50:14 oraclerac1(2) 使用Oracle用户,在节点rac1执行$cat

47、 /home/oracle/.ssh/*.pub >> /home/oracle/.ssh/authorized_keys$ssh rac2 cat /home/oracle/.ssh/*.pub >> /home/oracle/.ssh/authorized_keys $scp /home/oracle/.ssh/authorized_keys rac2:/home/oracle/.ssh/authorized_keys(3) 验证Oracle用户等效性,在所有节点执行$ssh rac2 date$ssh rac1 date$ssh rac2-vip date$ssh

48、 rac1-vip date$ssh rac2-priv date$ssh rac1-priv dates(4) 使用grid用户,在所有节点执行#su - grid$ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/grid/.ssh/id_rsa): Created directory '/home/grid/.ssh'.Enter passphrase (empty for no passphrase): Enter same

49、 passphrase again: Your identification has been saved in /home/grid/.ssh/id_rsa.Your public key has been saved in /home/grid/.ssh/id_rsa.pub.The key fingerprint is:39:1c:f5:9b:76:e1:de:20:40:e0:e8:20:77:fa:cd:97 gridrac1$ssh-keygen -t dsaGenerating public/private dsa key pair.Enter file in which to

50、save the key (/home/grid/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/grid/.ssh/id_dsa.Your public key has been saved in /home/grid/.ssh/id_dsa.pub.The key fingerprint is:08:a4:1b:87:89:fb:cd:93:3f:5d:f8:7b:f6:67:d

51、d:4c gridrac1(5) 使用grid用户,在节点rac1执行$cat /home/grid/.ssh/*.pub >> /home/grid/.ssh/authorized_keys$ssh rac2 cat /home/grid/.ssh/*.pub >> /home/grid/.ssh/authorized_keys$scp /home/grid/.ssh/authorized_keys rac2:/home/grid/.ssh/authorized_keys(6) 验证grid用户等效性,在所有节点执行$ssh rac2 date$ssh rac1 da

52、te$ssh rac2-vip date$ssh rac1-vip date$ssh rac2-priv date$ssh rac1-priv dates(7) 重启rac1、rac2#reboot11. 安装ASM(1) 检查系统及内核版本#uname aLinux rac2 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux#lsb_release aLSBVersion:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-

53、3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: RedHatEnterpriseServerDescription: Red Hat Enterprise Linux Server release 5.4 (Tikanga)Release: 5.4Codename: Tikanga(2) 下载与系统及内核版本对应的ASM下载地址:当前版本:oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64oracleasm-2.6.18-164.el5debug-2.0.5-1.el5.x86_6

54、4oracleasm-2.6.18-164.el5-debuginfo-2.0.5-1.el5.x86_64oracleasm-2.6.18-164.el5xen-2.0.5-1.el5.x86_64oracleasmlib-2.0.4-1.el5.x86_64oracleasm-support-2.1.8-1.el5.x86_64(3) 安装asm包,按顺序安装#rpm -ivh -nodeps oracleasmlib-2.0.4-1.el5.x86_64.rpm#rpm -ivh -nodeps oracleasm-support-2.1.8-1.el5.x86_64.rpm#rpm -

55、ivh -nodeps oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm#rpm -ivh -nodeps oracleasm-2.6.18-164.el5-debuginfo-2.0.5-1.el5.x86_64.rpm#rpm -ivh -nodeps oracleasm-2.6.18-164.el5debug-2.0.5-1.el5.x86_64.rpm#rpm -ivh -nodeps oracleasm-2.6.18-164.el5xen-2.0.5-1.el5.x86_64.rpm(4) 初始化asmlib,在所有节点执行#/usr/sbin/oracleasm configure -iConfiguring the Oracle ASM library driver. This will configure the on-boot properties of the Oracle ASM library driver. The following questions will determine whether the driver is loaded on boot and what permissions it will have.

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论