Virtualization (iv): prerequisites for vsphere High Availability-shared storage Establishment

Source: Internet
Author: User

Virtualization (1): Introduction to virtualization and Vmware products

Virtualization (II): virtualization and use of VMware Workstation Products

Virtualization (III): installation and use of vsphere suite

Virtualization (iv): prerequisites for vsphere High Availability-shared storage Establishment

Virtualization (5): vsphere high-availability cluster and fault tolerance

Zookeeper

Vsphere advanced features such as Ha, DRS, and FT all require a shared storage environment, that is, multiple esxi hosts are connected to one shared storage at the same time, so that when creating a virtual machine, you can specify to save the Virtual Disk on shared storage, so that the virtual machine can "float" between hosts ".

Common Storage types include Das, NAS, San, iSCSI, and FC. Because independent storage is relatively expensive, I will use Microsoft's iSCSI software target to install it on Windows 2008 server (WIN server 2012 already comes with it ).

: Http://www.microsoft.com/en-us/download/details.aspx? Id = 19867


Of course, you can also use the free open-source openfiler. We have already mentioned http://blog.csdn.net/chaofanwei/article/details/37054451.



1. Install iSCSI softwaretarget

The installation is very simple and I will not go into details. The basic reason is to continue the next step.


2. Create an iSCSI target and storage

After iSCSI softwaretarget is installed, there is a shortcut in the Start Menu, as shown in (here I have created two targets and pointed them to one device at the same time ).

2.1 create a storage

Right-click "device" and choose new virtual disk.


Select the storage location of the virtual disk. Remember to end with. vhd.

Enter the Virtual Disk size.

Enter the Virtual Disk description, which can be empty. skip this step and click Next.
The target that can be accessed, because it is not yet created. skip this step and click Next.



2.2 create an iSCSI target and associate it with storage


Right-click "iSCSI target" and select create iSCSI target.


Enter the iSCSI target name and the description is controllable.
Select the iqn identifier to verify the client identity. You can use an IP address, DNS, or iSCSI access identifier. Click Finish.
Right-click the newly created iSCSI target, select "add existing virtual disk for iSCSI target", and select the corresponding virtual disk.



3. Associate the iSCSI target with vsphere


Use the vsphere client to log on to the vcenter server.
Select a host-> Configuration-> storage adapter, add a new iSCSI storage adapter, and then edit it.


Configure the iSCSI initiator name and target IP address.







Add Storage


Select Disk/LNU type


Then select the storage just now and you will be able to complete it.

Effect


Finally, install another host to configure shared storage. The effect is as follows.





Zookeeper

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.