免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1811 | 回复: 0
打印 上一主题 下一主题

Install ORACLE 10G RAC on one PC with windows platform [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-29 10:31 |只看该作者 |倒序浏览
Install  oracle 10g (10.1.0) RAC on one machine
1.hardware spec:
HP ML110 G3 server
Configure spec:
CPU:  Intel 3.0G
MEMORY: 4G
OS: Windows 2003 standard version
HDD: Maxtor 160G SATA
Software: VM 5.5
2. architecture
                                 windows 2003 standard version
                                                      

                                                 VM 5.5
                                Windows2003----Windows2003
                                                 Shared disks
                                                 5.0G
                                                 12G
                                                 12G
                                                 12G
                                                 12G
                                                 ASM
Note: all disks locate at VM station are allocated now include the OS partition. Setup one OS, then copy it to other folder, then added it to the VM.
          Add disk to VM with 5.0,12,12,12,12, five disks, and then config the VM configure files: like:
[#
# ----------------------------------------------------------------
# SHARED DISK SECTION - (BEGIN)
# ----------------------------------------------------------------
# -  The goal in meeting the hardware requirements is to have a
#    shared storage for the two nodes. The way to achieve this in
#    VMware is the creation of a NEW SCSI BUS. It has to be of
#    type "virtual" and we must have the disk.locking = "false"
#    option.
# -  Just dataCacheMaxSize = "0" should be sufficient with the
#    diskLib.* parameters, although I include all parameters for
#    documentation purposes.
# -  maxUnsyncedWrites should matter for sparse disks only, and
#    I certainly do not recommend using sparse disks for
#    clustering.
# -  dataCacheMaxSize=0 should disable cache size completely, so
#    other three dataCache options should do nothing (no harm,
#    but nothing good either).
# ----------------------------------------------------------------
#

diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

disk.locking = "false"

# ----------------------------------------------------------------
#   Create one HBA
# ----------------------------------------------------------------

scsi1.present = "TRUE"
scsi1.sharedBus = "virtual"
scsi1.virtualDev = "lsilogic"

# ----------------------------------------------------------------
#   Create virtual SCSI disks on single HBA
# ----------------------------------------------------------------

scsi1:0.present = "TRUE"
scsi1:0.fileName = "M:\My Virtual Machines\Workstation 5.0\vmlinux1\Disk1.vmdk"
scsi1:0.redo = ""
scsi1:0.mode = "independent-persistent"
scsi1:0.deviceType = "disk"

scsi1:1.present = "TRUE"
scsi1:1.fileName = "M:\My Virtual Machines\Workstation 5.0\vmlinux1\Disk2.vmdk"
scsi1:1.redo = ""
scsi1:1.mode = "independent-persistent"
scsi1:1.deviceType = "disk"

scsi1:2.present = "TRUE"
scsi1:2.fileName = "M:\My Virtual Machines\Workstation 5.0\vmlinux1\Disk3.vmdk"
scsi1:2.redo = ""
scsi1:2.mode = "independent-persistent"
scsi1:2.deviceType = "disk"

scsi1:3.present = "TRUE"
scsi1:3.fileName = "M:\My Virtual Machines\Workstation 5.0\vmlinux1\Disk4.vmdk"
scsi1:3.redo = ""
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "disk"
scsi1:4.present = "TRUE"
scsi1:4.fileName = "M:\My Virtual Machines\Workstation 5.0\vmlinux1\Disk5.vmdk"
scsi1:4.redo = ""
scsi1:4.mode = "independent-persistent"
scsi1:4.deviceType = "disk"

#
# ----------------------------------------------------------------
# SHARED DISK SECTION - (END)
# ----------------------------------------------------------------
#]
And you should noted that :
1.        delete it from the installed VM machine OS, check the configure files : *.vmx
2.         add the configure above into the config files.
3.        When you rerun the VM machine ,will show a error messages, and you should see the disk that you add in the VM machine are all show at the bottom of the status bar.
3. Prepare the OS to support the RAC.
First: if you OS isn’t on a network with DNS, then you should configure the HOST file manually, The hosts files under the c:\windows\system32\drivers\etc\hosts and added all the hosts setting to you files:
10.6.213.210        rac1
10.6.213.211        rac2
10.6.213.212        rac
10.6.213.213        viprac1
10.6.213.214        viprac2
192.168.1.1        irac1
192.168.1.2        irac2
Note: racX is the public interface of the system, vipracX is visual interface of the system, iracX is private interface of the system.
And you should check the ping with all the OS, should ping success except the vipracX.
4. Important one is prepare the vote disk and CRS disk, and one should be more than 20M, and the other should be more than 100M, and these disk should choose the extension type and then create logical disk without format and not assign the diver letter to it.
5.  Configure the automount at these nodes that should share the disks. Under the cmd line run the command: diskpart—automount enable, after do this ,should restart these nodes to check the share disks is run well and not be assign the disk letter to it.  
6. Install CRS software, fellow the step by the guide.
    a.Cluster setting: cluster name :  public node and private node:
example:
            cluster name:  CRS
            public node: rac1 rac2
            private node: irac1 irac2
     b. setting the interface type:
            10.6.213.0  be public
            192.168.1.X be private
     c. choose not format the disk.
     d. choose the 100M to OCR disk
         choose the 20M to vote disk.
     e. continue install will be OK.
7. Install the Oracle 10G with RAC.
      a. prepare the ASM disk.
          Run the command under the $crs_home\bin\asmtoolg,
          Add the disk to it to create a asm disk group.
      b. Run the 10G install
      c. choose the install type: install to two nodes.
      d. choose database file storage option:  choose ASM
      e.  choose the autobackup and recovery, then choose the ASM option.
      f.  then continue the install .
      g.  setup the VIP configure , choose the  rac1—viprac1 rac2—viprac2.
      h, then should be all ok.
Learning RAC management will be continue…………


Write by innashi
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP