• 手把手一起玩RAC


    一、配置环境变量

    • 添加共享磁盘

    分别在node1和node2上添加四块磁盘,其中磁盘grid1、grid2用于安装GRIDDG,磁盘data1用于存放数据文件,磁盘flash1用于存放闪回日志信息.注意在node1上是创建新的磁盘,而在node2上是添加已经存在的磁盘.

    vmx文件配置信息参考

    .encoding = "GBK"
    config.version = "8"
    virtualHW.version = "4"
    floppy0.present = "FALSE"
    nvram = "11gnode2.nvram"
    virtualHW.productCompatibility = "hosted"
    ft.secondary0.enabled = "TRUE"
    tools.upgrade.policy = "useGlobal"
    powerType.powerOff = "soft"
    powerType.powerOn = "hard"
    powerType.suspend = "hard"
    powerType.reset = "soft"
    
    displayName = "11gnode2"
    extendedConfigFile = "11gnode2.vmxf"
    
    numvcpus = "2"
    scsi0.present = "TRUE"
    scsi0.sharedBus = "none"
    scsi0.virtualDev = "lsilogic"
    memsize = "2048"
    scsi0:0.present = "TRUE"
    scsi0:0.fileName = "11gnode2.vmdk"
    ide1:0.present = "TRUE"
    ide1:0.fileName = "D:vmOracleLinux-R6-U3-Server-x86_64-dvd.iso"
    ide1:0.deviceType = "cdrom-image"
    ethernet0.present = "TRUE"
    ethernet0.virtualDev = "e1000"
    ethernet0.features = "1"
    ethernet0.networkName = "Bridged"
    ethernet0.addressType = "generated"
    ethernet1.present = "TRUE"
    ethernet1.virtualDev = "e1000"
    ethernet1.features = "1"
    ethernet1.networkName = "HostOnly"
    ethernet1.addressType = "generated"
    chipset.onlineStandby = "FALSE"
    guestOSAltName = "Red Hat Enterprise Linux 5 (64-bit)"
    guestOS = "rhel5-64"
    uuid.location = "56 4d d3 c1 c8 a1 55 41-c5 a7 5c 05 b0 70 8f ea"
    uuid.bios = "56 4d d3 c1 c8 a1 55 41-c5 a7 5c 05 b0 70 8f ea"
    vc.uuid = "52 ac 07 b7 cb 07 ab 2f-88 e0 1b ac 74 ee 12 f9"
    snapshot.action = "keep"
    
    ethernet0.generatedAddress = "00:0c:29:70:8f:ea"
    ethernet1.generatedAddress = "00:0c:29:70:8f:f4"
    scsi0:0.redo = ""
    vmotion.checkpointFBSize = "16777216"
    ethernet0.generatedAddressOffset = "0"
    ethernet1.generatedAddressOffset = "10"
    tools.remindInstall = "TRUE"
    
    disk.locking = "FALSE"
    diskLib.dataCacheMaxSize = "0"
    diskLib.dataCacheMaxReadAheadSize = "0"
    diskLib.dataCacheMinReadAheadSize = "0"
    diskLib.dataCachePageSize = "4096"
    diskLib.maxUnsyncedWrites = "0"
    
    scsi1.present = "TRUE"
    scsi1.sharedBus = "VIRTUAL"
    scsi1.virtualDev = "lsilogic"
    
    scsi1:1.present = "TRUE"
    scsi1:1.fileName = "D:Sharedgrid1.vmdk"
    scsi1:1.writeThrough = "TRUE"
    scsi1:1.mode = "independent-persistent"
    scsi1:1.deviceType = "disk"
    scsi1:1.redo = ""
    
    scsi1:2.present = "TRUE"
    scsi1:2.fileName = "D:Sharedgrid2.vmdk"
    scsi1:2.writeThrough = "TRUE"
    scsi1:2.mode = "independent-persistent"
    scsi1:2.deviceType = "disk"
    scsi1:2.redo = ""
    
    scsi1:3.present = "TRUE"
    scsi1:3.fileName = "D:Shareddata1.vmdk"
    scsi1:3.writeThrough = "TRUE"
    scsi1:3.mode = "independent-persistent"
    scsi1:3.deviceType = "disk"
    scsi1:3.redo = ""
    
    scsi1:4.present = "TRUE"
    scsi1:4.fileName = "D:Sharedflash1.vmdk"
    scsi1:4.writeThrough = "TRUE"
    scsi1:4.mode = "independent-persistent"
    scsi1:4.deviceType = "disk"
    scsi1:4.redo = ""
    View Code

    >>使用fdisk sdb命令格式化新增加的四块磁盘;注意,只需要在node1上进行格式化即可.
    >>

  • 相关阅读:
    译码器(选择器)
    RAM搭建
    ALU运算
    Base64
    关于Singleton
    C# WinForm导出Excel
    windows phone 前台布局以及画刷Brush使用 北京
    点击控件出现下沉或者倾斜技巧。(是你的控件不在死板,) 北京
    Centos5.4+Nginx+mysql5+php5+Zend3.3.3详细安装教程(转载请注明formating编写)
    如何锻炼身体
  • 原文地址:https://www.cnblogs.com/arcer/p/3164614.html
Copyright © 2020-2023  润新知