IT猫扑网:您身边最放心的安全下载站! 最新更新| 软件分类| 专题汇总| 手机版

您当前所在位置:IT猫扑网 > 数据库 > Oracle > 安装Oracle RAC使用NFS作为共享存储

安装Oracle RAC使用NFS作为共享存储

时间:2015-06-28 00:00 来源:IT猫扑网|http://www.itmop.com/ 作者:网管联盟 我要评论(0)

  1.The /etc/hosts file must contain the following information.

  127.0.0.1 localhost.localdomain   localhost

  # Public

  192.168.2.101   rac1.localdomain  rac1

  192.168.2.102   rac2.localdomain  rac2

  #Private

  192.168.0.101   rac1-priv.localdomain   rac1-priv

  192.168.0.102   rac2-priv.localdomain   rac2-priv

  #Virtual

  192.168.2.111   rac1-vip.localdomain    rac1-vip

  192.168.2.112   rac2-vip.localdomain    rac2-vip

  #NAS

  192.168.2.101   nas1.localdomain  nas1

  2.create shared disks

  First we need to set up some NFS shares. In this case we will do this on the RAC1 node, but you can do the on a NAS or a third server if you have one available. On the RAC1 node create the following directories.

  mkdir /share1

  mkdir /share2Add the following lines to the /etc/exports file.

  /share1      *(rw,sync,no_wdelay,insecure_locks,no_root_squash)

  /share2      *(rw,sync,no_wdelay,insecure_locks,no_root_squash)Run the following command to export the NFS shares.

  chkconfig nfs on

  service nfs restartOn both RAC1 and RAC2 create some mount points to mount the NFS shares to.

  mkdir /u01

  mkdir /u02Add the following lines to the &/etc/fstab& file. The mount options are suggestions from Kevin Closson.

  nas1:/share1  /u01  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0

  nas1:/share2  /u02  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0Mount the NFS shares on both servers.

  mount /u01

  mount /u02Create the shared CRS Configuration and Voting Disk files.

  touch /u01/crs_configuration

  touch /u01/voting_diskCreate the directories in which the Oracle software will be installed.

  mkdir -p /u01/crs/oracle/product/10.2.0/crs

  mkdir -p /u01/app/oracle/product/10.2.0/db_1

  mkdir -p /u01/oradata

  chown -R oracle:oinstall /u01 /u02

关键词标签:Oracle RAC,NFS,共享存

相关阅读 误删Oracle数据库实例的控制文件 为UNIX服务器设置Oracle全文检索 Oracle数据库如何查找删除重复的SQL语句 Oracle导入导出数据库的语法 oracle数据库安装预环境一键处理脚本 oracle常用DBA命令

文章评论
发表评论

热门文章 利用Oracle分区表来减少磁盘I/O冲突 利用Oracle分区表来减少磁盘I/O冲突 Oracle数据库优化之数据库磁盘I/O Oracle数据库优化之数据库磁盘I/O 讲解Oracle复制技术的分布式系统同步应用 讲解Oracle复制技术的分布式系统同步应用 刷新Oracle缓存 刷新Oracle缓存 oracle 8080与TOMCAT默认端口冲突 oracle 8080与TOMCAT默认端口冲突 DATAGUARD的日志应用服务 DATAGUARD的日志应用服务

相关下载

人气排行 oracle中使用SQL语句修改字段类型-oracle修改SQL语句案例 Oracle中使用alter table来增加,删除,修改列的语法 ORACLE SQL 判断字符串是否为数字的语句 ORACLE和SQL语法区别归纳(1) oracle grant 授权语句 ORACLE修改IP地址后如何能够使用 如何加速Oracle大批量数据处理 Oracle删除表的几种方法 Oracle 10g创建表空间和用户并指定权限 Oracle连接数太多报错-ORA-12516错误 Oracle字符串截取 连接Oracle数据库的Hibernate配置文件