在linux虚拟机上安装10g rac注意事项

1.在虚拟机配置文件中.vmx文件 加入以下文件

disk.locking = "false"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

不加的话只能启动一个节点,作用主要是做共享存储

这下面是添加硬盘的 有几个写几个

scsi1:1.deviceType = "disk"
scsi1:2.deviceType = "disk"
scsi1:3.deviceType = "disk"
scsi1:4.deviceType = "disk"
scsi1:5.deviceType = "disk"

2.配置时间同步 要是没配好的话 会在安装拷贝文件到另外一个节点过程中 出错

同步VMware中的OS与主机OS的时间(我的windows)

1.安装vmware-tools包
2. 执行“vmware-toolbox”以显示 VMware Tools Properties 窗口。在 Options 选项卡下,选择 Time synchronization between the virtual machine and the host operating system。您应该发现 tools.syncTime = "TRUE" 参数已经追加到虚拟机配置文件 G:\Virtual Machines\Red Hat Enterprise Linux 4\rhel4.vmx 中。
3. 编辑 /boot/grub/grub.conf,并将选项“clock=pit nosmp noapic nolapic”添加到读取内核 /boot/ 的那一行。您已经将选项添加到两个内核,现在只需对特定内核进行更改。
      #boot=/dev/sda
      default=0
      timeout=5
      splashimage=(hd0,0)/boot/grub/splash.xpm.gz
      hiddenmenu
      title Enterprise (2.6.9-42.0.0.0.1.ELsmp)
              root (hd0,0)
              kernel /boot/vmlinuz-2.6.9-42.0.0.0.1.ELsmp ro
      root=LABEL=/ rhgb quiet clock=pit nosmp noapic nolapic
              initrd /boot/initrd-2.6.9-42.0.0.0.1.ELsmp.img
      title Enterprise-up (2.6.9-42.0.0.0.1.EL)
              root (hd0,0)
              kernel /boot/vmlinuz-2.6.9-42.0.0.0.1.EL ro root=LABEL=/
      rhgb quiet clock=pit nosmp noapic nolapic
              initrd /boot/initrd-2.6.9-42.0.0.0.1.EL.img

这个时间同步也可通过NTP服务器的配置完成。

3.关闭防火墙

chkconfig iptables off;



 

请使用浏览器的分享功能分享到微信等