Experience vsphere 6 of 2-allocate iSCSI storage space for VMware ESXi

Source: Internet
Author: User
Tags intel core i7

Experience vsphere 6 of 2-allocate iSCSI storage space for VMware ESXi

5 allocating iSCSI storage space for VMware ESXi

Return to the Windows Server R2 host, open the Iscsitarget program, create an iSCSI target, and assign two disks to it. The allocation target can be either the IP address of the VMware ESXi or the MAC address, as an example of the MAC address of the ESXi network card in this example.

(1) in iSCSI target, right-click to select "Create iSCSI Target", as shown in 5-1.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/67/wKiom1TR3EnTwHOAAAFmCnM1rcU578.jpg "/>

Figure 5-1 Creating an iSCSI target

(2) Set the target name to "VMware ESXi6", as shown in 5-2.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/64/wKioL1TR3TWA2JTMAAD3uD-klWo556.jpg "/>

Figure 5-2 Setting the target name

(3) in the iSCSI Initiator Identifiers dialog box, click the Advanced button, as shown in 5-3.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/67/wKiom1TR3EyiUi45AAF0fX_Z4IE632.jpg "/>

Figure 5-3 Advanced

(4) In the Advanced Identifiers dialog box, click the Add button, as shown in 5-4.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/64/wKioL1TR3TigT3slAADnF8HclQM995.jpg "/>

Figure 5-4 Adding

(5) In the Add/Edit Identifiers dialog box, select MAC address in the identifier Type drop-down list and add the MAC address of the VMware ESXi server NIC to the value, as shown in 5-5.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/67/wKiom1TR3E_zOHF_AADtSeI6Xmc384.jpg "/>

Figure 5-5 MAC Address

(6) If you want to view the MAC address of the network card, you can select each network card, click the "Advanced" button, in the popup dialog box, display the MAC address, 5-6 shows.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/64/wKioL1TR3T3SnMKtAAEzmYig1Uo601.jpg "/>

Figure 5-6 Displaying the MAC address

(7) For two ESXi hosts, 4 network cards per host, a total of 8 MAC addresses, to be added to the list, 5-7 is shown.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/67/wKiom1TR3Fbgr-94AAIoKgN0ey8103.jpg "/>

Figure 5-7 Adding the MAC address of the NIC

(8) After adding the target, create a virtual disk to the iSCSI target, as shown in 5-8.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/64/wKioL1TR3UTDwlBqAAGkc1SQ7w8109.jpg "/>

Figure 5-8 Creating a virtual disk

(9) Save the virtual disk in a folder in the D drive, for example, in the Vhd-iscsi folder, as shown in 5-9.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/64/wKioL1TR3UbB0PBwAADw7P8DqyM358.jpg "/>

Figure 5-9 Setting the virtual disk save location

(10) The first disk file name added is shown in esxi6.vhd,5-10.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/67/wKiom1TR3F2id4QiAAFExOgc8aI012.jpg "/>

Figure 5-10 Virtual Disk File

(11) Set the first virtual disk size to 1024000 (that is, 1TB), as shown in 5-11. Note that the disk size will be allocated immediately, if you do not have such a large disk space, please set a small disk space, after the article to do Windows 2003 fault tolerance, the minimum is only 2GB. So you can assign a dozens of GB disk.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/64/wKioL1TR3UqwntFbAAEDM-lVtL4141.jpg "/>

Figure 5-11 Setting the virtual disk size

(12) Then create a virtual disk for the ESXi server, and a 2nd virtual disk in this example is 200GB. The allocation is shown after 5-12.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/67/wKiom1TR3GGDcLzoAADUrXlBRYw749.jpg "/>

Figure 5-12 Allocating two disks for ESXi

6 Creating a datacenter, clustering, and adding hosts to a cluster

Next, use vsphere Web client to sign in to Vcenter Server, create a datacenter, cluster, and add a virtualization host to the cluster, the main steps are as follows.

(1) Log in to the vsphere Web Client and select "Hosts and Clusters", as shown in 6-1.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/64/wKioL1TR3U6in_hdAAFop9S83k0740.jpg "/>

Figure 6-1 Hosts and clusters

(2) Click "Create Data Center", as shown in 6-2.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/67/wKiom1TR3GahOxGKAAEaYHMj_yc150.jpg "/>

Figure 6-2 Creating a data center

(3) in the New Data Center dialog box that pops up, set the name of the new data center, as shown in the default value datacenter,6-3.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/64/wKioL1TR3VPxRrc5AAEI738jph8513.jpg "/>

Figure 6-3 Setting the data center name

(4) Return to the vsphere Web Client, click "Create Cluster", as shown in 6-4.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/67/wKiom1TR3Gvx2XrHAAFvFoAw7cI384.jpg "/>

Figure 6-4 Creating a cluster

(5) In the New Cluster dialog box, set the name of the cluster, where the name is HA (you can, of course, set a different name depending on the actual need), and select Open DRS, open VSphere ha,6-5, as shown.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/64/wKioL1TR3VqhetpwAAJJgPdm0vI074.jpg "/>

Figure 6-5 Creating a new cluster

(6) in "EVC" in advance, select "Intel Haswell Generation", which supports Intel Core i7 4790K cpu,6-6 shown. When you actually use, please choose according to your host. If you don't know how to choose, you can choose the highest one here (the current item is the highest item).

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/67/wKiom1TR3HSDJVsWAAJSOx1kHCY899.jpg "/>

Figure 6-6 eVC Options

(7) Return to the Vsphere Web Client interface and add the host. If your EVC option is correct in the previous step, select the cluster on the left and add host on the right to add the host that you added later to the cluster directly. If you don't know the EVC option for your ESXi host, you can select the data center on the left and click Add Host on the right to add the ESXi host to the datacenter. When a host is added to the datacenter, the EVC option for ESXi is visible in the summary for the host, so that it can be moved to the cluster, depending on the EVC option detected by the system, and then back to the Clustered Configuration dialog box, after changing the EVC option. As shown in 6-7, this is the Select page for the Add host.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/64/wKioL1TR3WGynBH0AAFwWT2u-ME426.jpg "/>

Figure 6-7 Adding a host

(8) In the Add Host dialog box, enter the IP address or host name of the host you want to add, typically the IP address. First, add the 192.168.80.11 ESXi host, as shown in 6-8.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/67/wKiom1TR3HmQHmt9AAEPiQs4VlY240.jpg "/>

Figure 6-8 Enter the IP address of the host to be added

(9) In connection settings, enter the username root and password for the ESXi host, as shown in 6-9.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/64/wKioL1TR3WXwiSCNAAEHo-a7cRg901.jpg "/>

Figure 6-9 Entering the ESXi Administrator account and password

(10) In the Assign License dialog box, select the license for the added VMware ESXi host. If you have not previously added a license, click "+" to add, as shown in 6-10.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/67/wKiom1TR3H2BNpq4AAFkYwEZyVM055.jpg "/>

Figure 6-10 Adding a license

(11) In the New License dialog box, enter the license, and add a name for the license, as shown in 6-11.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/64/wKioL1TR3WqyDtd1AAEtj3aIJRc324.jpg "/>

Figure 6-11 Edit license Name

(12) Return to the Assign License dialog box and select the new license that you added, as shown in 6-12.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/59/67/wKiom1TR3IGg_G3vAAF43zIn-MI995.jpg "/>

Figure 6-12 Assigning licenses

(13) in the "Lock mode" dialog box, select "Disabled", as shown in 6-13.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/64/wKioL1TR3W6ADNyUAAE_2mqe5AE656.jpg "/>

Figure 6-13 Lock mode

(14) In the upcoming Completion dialog box, click the Finish button, 6-14.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/59/67/wKiom1TR3IbQlv1kAAEkpZZighk371.jpg "/>

Figure 6-14 Adding complete

Additional ESXi hosts are then added to the data center, which are not described.

Return to the vsphere Web Client, select a host on the left, and in summary → configuration on the right, you can see the EVC mode supported by the current host, as shown in 6-15. In the EVC mode supported by the ESXi host, the first row of the list is the mode supported by the previous lower-end CPU, and the last line is the newer CPU-supported mode (i.e., the higher the CPU model is required later). Make a note of the last line pattern. If there are different CPUs in the current datacenter, if you want to place these hosts in a cluster, you need to benchmark with the lowest CPU support.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/64/wKioL1TR3XTiBNg1AAGygCpUY0I907.jpg "/>

Figure 6-15 Note the EVC mode

If you are setting up a cluster, EVC chooses the wrong mode, at which point you can modify the cluster configuration, select the appropriate EVC mode, and then move the added host to the cluster, as shown in 6-16.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/64/wKioL1TR3XeSD0niAAG1F9DtaFQ630.jpg "/>

Figure 6-16 Selecting a mobile host

In the Move to dialog box, select data center → cluster Name, as shown in 6-17, where Ha (the name of the cluster) is selected.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/67/wKiom1TR3I_zHAkaAAEP-1U3E1o725.jpg "/>

Figure 6-17 Selecting a target cluster

In the ha-the host into this cluster dialog box, select Place all virtual machines of this host in the cluster's root resource pool, as shown in 6-18.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/67/wKiom1TR3JGgf2HhAAFmdaF5Iv4734.jpg "/>

Figure 6-18 Moving a host into a cluster

Then move the other host to the cluster, and these same operations are no longer described.

This article is from the "Wang Chunhai blog" blog, make sure to keep this source http://wangchunhai.blog.51cto.com/225186/1611532

Experience vsphere 6 of 2-allocate iSCSI storage space for VMware ESXi

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.