VMware vSphere 5/6 Creating shared disks

Source: Internet
Author: User

Build Today RAC Environment, where you want the shared disk of the RAC to use the storage device's disk space, create a shared disk in the RAC under the VMware vsphere5 , avoid forgetting later, make a simple record, Hope to everyone will also have a certain help;



The following is the relevant creation steps, excerpt down for everyone to learn.

To create one 20GB datastore for a virtual machine
1. In the VSphere Client, select a virtual machine.
2. Right-click the name of the virtual machine and select Edit Settings to display the virtual Machine Properties pane.
3. Click add to display the Add Hardware Wizard.
4. The ADD Hardware Wizard select Hard Disk for the Device Type, and click Next.
5. In the disk section of the Select a Disk page, Select Create a new virtual Disk. Set the disk size to 20GB, select the clustering features such as Fault tolerance check box, and select CRS1 to SP Ecify a datastore. Also, for VSphere 5, with the Disk Provisioning section select Thick provision Eager zeroed. Click Next.
6. On the Compatibility Mode page, click Next.
7. On the Advanced Options page, in the Virtual Device Node section, select SCSI (1:0). In the Mode section, select Independent. Click Next.
8. On the Ready to complete page, click Finish.
9. Click OK.


To create a second 20GB datastore for the virtual machine
1. Select the virtual machine, that is selected in the preceding step 1.
2. Repeat steps 2 through 6 in the preceding procedure to create one 20GB datastore.
3. On the Advanced Options page, in the Virtual Device Node section, select SCSI (1:0). In the Mode section, select Independent. Click Next.
4. Repeat Steps 8 and 9 of the preceding procedure to create one 20GB datastore.



shared disks used by VMware VSphere 5/6


1. Create a shared disk

Select a virtual machine to participate in the shared disk, edit the virtual machine configuration, select Add New Hardware "hard disk", create a new virtual disk;

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/47/wKiom1j01fWyTTh1AADBr3J6DxY057.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/47/wKiom1j01fbimJLEAAC-JEIdA08333.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/45/wKioL1j01faCfrG2AADTe1T38l4344.jpg "/>


Knowledge Point Supplement:

1, thick provision delay 0 (zeroed thick)

Creates a virtual disk in the default thick format. Allocate the required space for the virtual disk during the creation process. Any data that is persisted on the physical device is not erased on creation, but it is zeroed as needed when the first write operation is performed from the virtual machine.

Simple is to allocate the space of the specified size immediately, the data in the space is not emptied, and then emptied as needed.


2, thick provision 0 (eager zeroed thick)

Create thick disks that support clustering features, such as Faulttolerance. Allocate the required space for the virtual disk when it is created. In contrast to the flat format, the data retained on the physical device is zeroed during the creation process. It may take longer to create a disk of this format than to create another type of disk .

Simply put, allocate the space of the specified size immediately and empty all the data in that space.


3. Thin provisioning (thin)

Use thin provisioning format. Initially, a thinly provisioned disk uses only the data storage space that the disk originally needed. If you later need more space for a thin disk, it can grow to the maximum capacity allocated for it.

The simplest is to specify the maximum space for the disk file to grow, and to check whether the limit is exceeded when it needs to grow.



disk provisioning, select thick provisioning 0; Location Select our storage device fc-200g, put our shared disk on the storage; (Of course, you can also choose to store it in the same directory as the virtual machine)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/45/wKioL1j01faRDnp6AADLrfrBWlk349.jpg "/>

The Next "virtual Device Node" is to remember to select a standalone SCSI Device node, if the original local use of scsi (0:0), then you can now choose scsi (1:0), anyway, the number before the colon is not the same as the local SCSI device, (in order to avoid the impact of the snapshot on the virtual machine) , Suggest "mode" select "Persistent" method)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/47/wKiom1j01fbArQFrAADcsfMWT7M920.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/45/wKioL1j01ffC9Ns5AABxKIpeLrE995.jpg "/>



2, Modify the new SCSI Controller bus sharing method

when this is done, go back to the virtual machine device interface and you'll see that in addition to the new hard drive, there's a "new SCSI controller, after selecting the device, in the "SCSI Bus sharing" section behind the configuration item, select "Virtual" mode:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/91/47/wKiom1j01few_T2iAADS9hnm5Fo563.jpg "/>

Next, click on the "Confirm" button in the bottom right corner to complete the shared disk configuration for this virtual machine.



3. Add a second virtual Machine connection shared disk

On the second virtual machine that participates in accessing the shared disk, also edit add new device "hard disk", but select "Use existing Vdisk":

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/47/wKiom1j01ffyeEnGAAC8ePJbjpQ721.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/45/wKioL1j01ffxvo82AAC97x-mHwg170.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/47/wKiom1j01figTsSQAADV_6WtFY8873.jpg "/>

Browse to the shared disk created above and select the shared disk that you just created on the store

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/45/wKioL1j01fixLjGSAABnaaNr3V8394.jpg "/>

The Virtual Device node section, like the first one, selects a separate SCSI node:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/91/47/wKiom1j01fjzv--QAADX_QwGb7w905.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/91/45/wKioL1j01fnwr3YyAABvBD2J5rA948.jpg "/>

go back to the "Virtual machine Properties" interface and modify the "new The SCSI controller parameter is "virtual" mode:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/91/45/wKioL1j01fnC7WfcAADXALXxFww049.jpg "/>

At this point, the configuration for both virtual machine shares to access the same disk has been completed. The verification method is simple and starts two virtual machines without warning or error, which means that the shared disk is created correctly.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/47/wKiom1j01fmxIL00AAAnSUxUxwM515.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/47/wKiom1j01fngdD8uAAAq1yz5tW0336.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/45/wKioL1j01fny_5zoAABprjfOnLM122.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/47/wKiom1j01frC8xlNAACZVjbPQYk300.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/91/45/wKioL1j01fqS3nmLAACSIBegA0w366.jpg "/>


Special attention:

If you create a shared disk above, the selection is not a thick provisioning zero, and the Virtual Device Node section is the same as the local write disk ( SCSI 0:0), the following error message will appear:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/91/47/wKiom1j01fqz7PB3AAEIzsTUGrA813.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/91/45/wKioL1j01fugOfFCAADTbFIUHkk391.jpg "/>


Seian.g

◇ This article in itpub : http://blog.itpub.net/31015730/

51CTO : http://seiang.blog.51cto.com/ There is a sync update on

◇ This article itpub Address: http://blog.itpub.net/31015730/viewspace-2137448/

◇ This article 51CTO Address: http://seiang.blog.51cto.com/10819863/1916835

This article is from the "Seiang Road" blog, make sure to keep this source http://seiang.blog.51cto.com/10819863/1916835

VMware vSphere 5/6 Creating shared disks

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.