ITPub博客

首页 > 数据库 > Oracle > 在windows2003上安装Oracle 10.2.0.1 RAC,使用ISCSI盘阵

在windows2003上安装Oracle 10.2.0.1 RAC,使用ISCSI盘阵

原创 Oracle 作者:ogam 时间:2009-09-30 11:58:35 0 删除 编辑

  这两天做了个实验,在windows2003上安装Oracle 10.2.0.1 RAC,使用盘阵是用ISCSI模拟的。
  配置过程大致如下:

1、配HOSTS文件

127.0.0.1 localhost

192.168.0.247 rac2
192.168.0.249 rac2-vip
10.10.10.247 rac2-priv

192.168.0.246 rac1
192.168.0.248 rac1-vip
10.10.10.246 rac1-priv  

[@more@]

  2、设置公网IP、私网IP,重命名网卡;并调整网卡顺序,公网在前

  3、修改注册表

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters
新建DWORD值-->DisableDHCPMediaSense=1

  4、设置交换分区最大值为内存的2倍

  5、添加ISCSI共享磁盘,创建OCR、VOTE、ASM三个裸盘

这步有个最关键的问题,安装之前需要执行下面的操作,否则在配置网络助手时会下面报错:

PROT-1: 无法初始化 ocrconfig
Step 1: checking status of CRS cluster
Step 2: creating directories (D:oracleproduct10.2.0crs)
Step 3: configuring OCR repository
ocr upgrade failed with (-1)

解决方法如下:

in windows is the Automount option is enabled?
Please use the diskpart utility to find the mount status
if not please enable the automount option andreboot the server

具体命令:

CMD-->DISKPART-->automount enable

  6、设置本地磁盘共享

其实,在2003中默认的盘区都是共享的,我在这里又把oracle文件夹共享了。

在RAC1上:
C:Documents and SettingsAdministrator>net use rac2d$

C:Documents and SettingsAdministrator>net use

  7、安装clusterware

D:clusterwarecluvfy>D:clusterwarecluvfyruncluvfy.bat stage -pre crsinst -n rac1,rac2 -verbose

在执行配置助手时,在VIP项报错,这时执行VIPCA(在哪个节点运行都行),然后继续就行了,不用管错误。

  8、安装software
  9、NETCA
  10、DBCA

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16712909/viewspace-1027525/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-08-31

  • 博文量
    11
  • 访问量
    37264