Build oracle11g RAC 64 cluster environment based on CentOS and VMWARESTATION10:2. Build environment-2.3 Configure shared disks

Source: Internet
Author: User

2.3. Configure the shared disk 2.3.1. Create a shared disk

Enter the WMware Workstation 10.0 installation directory in CMD:

1. Create a disk that stores the Oracle Clusterware file (Oracle Cluster Registry and voting disk):

Vmware-vdiskmanager.exe-c-S 4gb-a lsilogic-t 2 "E:\SoftwareInstall\vmware\SharedDiskASM" \SHAREDISKOCR.VMDK

2. Create a disk that stores Oracle shared data files:

Vmware-vdiskmanager.exe-c-S 20gb-a lsilogic-t 2 "E:\SoftwareInstall\vmware\SharedDiskASM" \SHAREDISKDATA01.VMDK

Vmware-vdiskmanager.exe-c-S 20gb-a lsilogic-t 2 "E:\SoftwareInstall\vmware\SharedDiskASM" \SHAREDISKDATA02.VMDK

Vmware-vdiskmanager.exe-c-S 5gb-a lsilogic-t 2 "E:\SoftwareInstall\vmware\SharedDiskASM" \SHAREDISKFLASH.VMDK

2.3.2. Editing a virtual machine configuration file

turn off two virtual machines and open the virtual machine name with Notepad. WMX, to the pseudo-machine directory such as E:\SOFTWAREINSTALL\VMWARE\LINUXRAC1, directly edit the *.vmx file, plus the following statement (all pseudo-machine nodes):

Scsi1:1.devicetype = "Disk"

Scsi1:1.present = "TRUE"

Scsi1:1.filename = "E:\SOFTWAREINSTALL\VMWARE\SHAREDDISKASM\SHAREDISKOCR.VMDK"

Scsi1:1.mode = "Independent-persistent"

Scsi1:1.redo = ""

Scsi1:2.devicetype = "Disk"

Scsi1:2.present = "TRUE"

Scsi1:2.filename = "E:\SOFTWAREINSTALL\VMWARE\SHAREDDISKASM\SHAREDISKDATA01.VMDK"

Scsi1:2.mode = "Independent-persistent"

Scsi1:2.redo = ""

Scsi1:3.devicetype = "Disk"

Scsi1:3.present = "TRUE"

Scsi1:3.filename = "E:\SOFTWAREINSTALL\VMWARE\SHAREDDISKASM\SHAREDISKDATA02.VMDK"

Scsi1:3.mode = "Independent-persistent"

Scsi1:3.redo = ""

Scsi1:4.devicetype = "Disk"

Scsi1:4.present = "TRUE"

Scsi1:4.filename = "E:\SOFTWAREINSTALL\VMWARE\SHAREDDISKASM\SHAREDISKFLASH.VMDK"

Scsi1:4.mode = "Independent-persistent"

Scsi1:4.redo = ""

Scsi1.pcislotnumber = "37"

Usb:0.present = "TRUE"

Usb:0.devicetype = "HID"

Usb:0.port = "0"

Usb:0.parent = "-1"

Note: Each line in this file cannot be duplicated, otherwise it will be an error, and do not change the encoding format of the file.

(If the hint needs to be stored in a different encoding format, such as Unicode, there is a problem with the format of the copy, which needs to be written manually).

Finally turn on the virtual machine program (note, be sure to restart the VMware Interface Program) to view each node virtual machine

Devices section, you should be able to see the disk mount when the individual virtual machines are not turned on. Then boot

Confirm again. If you do not see the disk information when it is not turned on, there is a problem with the syntax for writing the VMX file.

can be written manually (rather than copied).

of course, you can also pass VMWare graphical interface to create disk, note shared disk selection SCSI 1 and not 0 can. I am here to use the graphical interface, in short, whether it is a graphical interface or command creation, and finally added to the virtual machine in each of the disk properties should be as shown,

Note When selecting a disk, you need to Select SCSI 1:1,SCSI 1:2 , I have four shared disks here, which in turn is SCSI 1:1,SCSI 1:2 , SCSI 1:3,SCSI 1:4

Build oracle11g RAC 64 cluster environment based on CentOS and VMWARESTATION10:2. Build environment-2.3 Configure shared disks

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.