VMware EXSi5.5 adding virtual shared disks

Source: Internet
Author: User

Implement a virtual hard disk, simultaneously mounted on two virtual machines, all files are visible, note that both sides can not modify the same file at the same time.

  Operation Steps

1, create the first virtual machine A, the disk provisioning "thick provisioning 0" when adding hard disk (the storage space will be allocated according to the size of the provision, and formatted, add a little time).

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/F2/wKiom1cylCDj_w1JAAEClLUBPis218.png "title=" 1.png " alt= "Wkiom1cylcdj_w1jaaecllubpis218.png"/>


2, add a second hard disk, the virtual device contact is selected under another SCSI controller (sharing settings on the controller, to protect the system installation disk, select another SCSI controller).

Disk provisioning "thick provisioning 0" when adding a hard disk, the mode selected "independent", "persistent" (in order to protect the hard disk partition table, data and other modifications saved, the other machine can see the changes directly).

Set the newly added SCSI controller to allow SCSI bus sharing, select "virtual" or "physical".

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7F/F0/wKioL1cylWXRTTEZAAEA2emTNmI829.png "title=" 2.png " alt= "Wkiol1cylwxrttezaaea2emtnmi829.png"/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/F2/wKiom1cylIeTFLlhAADpjP4p8K4257.png "title=" 3.png " alt= "Wkiom1cylietfllhaadpjp4p8k4257.png"/>


3, create a second virtual machine B, the disk provisioning "thick provisioning 0" when adding a hard disk.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/F0/wKioL1cylY-Q-eQ5AAEAAul6kpQ221.png "title=" 4.png " alt= "Wkiol1cyly-q-eq5aaeaaul6kpq221.png"/>


4. When adding a second hard drive, select the existing virtual hard disk, point to virtual machine A's hard disk 2 file, and the virtual device contact is selected under another SCSI controller.

Hard drive Mode Select "Standalone", "persistent".

Set the newly added SCSI controller to allow SCSI bus sharing, select "virtual" or "physical".

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/F0/wKioL1cylbuBXwpmAAD7HrU9gHw060.png "title=" 5.png " alt= "Wkiol1cylbubxwpmaad7hru9ghw060.png"/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/F2/wKiom1cylN2DTXoVAADqmWLoEcw344.png "title=" 6.png " alt= "Wkiom1cyln2dtxovaadqmwloecw344.png"/>


5, virtual machine A and virtual machine B are turned on separately, if set up correctly, both virtual machines can boot. Partition the hard disk in one of the virtual machines, create PV, VG, LV, format, mount (or you can not use LVM, direct partition Mount). In another virtual machine, you can see the created LV that can be mounted directly and see the files on the disk.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/F0/wKioL1cyldfwoc2cAAFG7vLHZpw483.png "title=" 7.png " alt= "Wkiol1cyldfwoc2caafg7vlhzpw483.png"/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/F0/wKioL1cyldjwX99WAAE1J3jcTt4137.png "title=" 8.png " alt= "Wkiol1cyldjwx99waae1j3jctt4137.png"/>



This article is from the "Technology Change Life" blog, please be sure to keep this source http://flyinbed.blog.51cto.com/2820918/1772074

VMware EXSi5.5 adding virtual 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.