Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Experience the 4 of vSphere 6-assign iS to VMware ESXi

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Experience vSphere 6 2-allocate iSCSI storage space for VMware ESXi

5 allocate iSCSI storage space for VMware ESXi

Return to the host of Windows Server 2008 R2, open the "iSCSITarget" program, create the iSCSI target, and assign it two disks. The assignment destination can be the IP address of the VMware ESXi or the MAC address, as shown in this example, the MAC address of the ESXi Nic.

(1) right-click in "iSCSI Target" and select "create iSCSI Target", as shown in figure 5-1.

Figure 5-1 create an iSCSI target

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

Figure 5-2 sets the target name

(3) in the iSCSI initiator Identifier dialog box, click the Advanced button, as shown in figure 5-3.

Figure 5-3 Advanced

(4) Click the add button in the Advanced Identifier dialog box, as shown in figure 5-4.

Figure 5-4 add

(5) in the "add / Edit Identifier" 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 figure 5-5.

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 pop-up dialog box, display the MAC address, as shown in figure 5-6.

Figure 5-6 shows the MAC address

(7) for two ESXi hosts with 4 NICs each, a total of 8 MAC addresses should be added to the list, as shown in figure 5-7.

Figure 5-7 add the MAC address of the network card

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

Figure 5-8 create a virtual disk

(9) Save the virtual disk in a folder on disk D, such as the VHD-iSCSI folder, as shown in figure 5-9.

Figure 5-9 sets the virtual disk save location

(10) the first disk file added is named esxi6.vhd, as shown in figure 5-10.

Figure 5-10 Virtual disk file

(11) set the first virtual disk size to 1024000 (that is, 1TB), as shown in figure 5-11. It should be noted that the disk size will be allocated immediately, if you do not have such a large disk space, please set a smaller disk space, later to do Windows 2003 fault tolerance, the minimum need only 2GB. So you can allocate a disk of dozens of GB.

Figure 5-11 sets the virtual disk size

(12) A virtual disk is then created for the ESXi server, and the second virtual disk is 200GB in this example. After allocation, it is shown in figure 5-12.

Figure 5-12 allocates two disks for ESXi

6 create a data center, cluster, and add hosts to the cluster

Next, log in to vCenter Server using vSphere Web Client, create a data center, cluster, and add virtualized hosts to the cluster, the main steps are as follows.

(1) Log in to vSphere Web Client and select hosts and clusters, as shown in figure 6-1.

Figure 6-1 hosts and clusters

(2) Click create data Center, as shown in figure 6-2.

Figure 6-2 create a data center

(3) in the pop-up "New data Center" dialog box, set the name of the new data center, and select the default value of Datacenter here, as shown in figure 6-3.

Figure 6-3 sets the data center name

(4) return to vSphere Web Client and click create Cluster, as shown in figure 6-4.

Figure 6-4 create a cluster

(5) in the "New Cluster" dialog box, set the name of the cluster, here set the name to HA (of course, you can set a different name according to your actual needs), select "Open" DRS, "Open" vSphere HA, as shown in figure 6-5.

Figure 6-5 create a new cluster

(6) in the "EVC" advance, select "Intel Haswell Generation", which supports CPU of intel Core i7 4790K, as shown in figure 6-6. When you actually use it, please choose according to your host. If you are not sure how to choose, you can choose the highest item here (the current item is the highest item).

Figure 6-6 EVC option

(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 select "add hosts" on the right, which will add the subsequent hosts directly to the cluster. If you don't know the EVC options for your ESXi host, you can select the data center on the left and click "add Host" on the right, which will add the ESXi host to the data center. After you add the host to the data center, you can see the EVC option for ESXi in the summary of the host, so that you can return to the Cluster configuration dialog box based on the EVC option detected by the system, and move the host to the cluster after changing the EVC option. As shown in figure 6-7, this is the selection page for adding hosts.

Figure 6-7 adding hosts

(8) in the add Host dialog box, enter the IP address or hostname of the host to be added, usually the IP address. Add the ESXi host of 192.168.80.11 here, as shown in figure 6-8.

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

(9) enter the user name root and password of the ESXi host in connection Settings, as shown in figure 6-9.

Figure 6-9 enter the ESXi administrator account and password

(10) in the assign license dialog box, select a license for the added VMware ESXi host. If you have not added a license before, click "+" to add it, as shown in figure 6-10.

Figure 6-10 add license

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

Figure 6-11 Editing license name

(12) return to the assign license dialog box and select the new license to add, as shown in figure 6-12.

Figure 6-12 assign licenses

(13) in the Lock Mode dialog box, select disabled, as shown in figure 6-13.

Figure 6-13 locking mode

(14) in the "ready to complete" dialog box, click the finish button, as shown in figure 6-14.

Figure 6-14 the addition is complete

Other ESXi hosts are then added to the data center, which are not covered.

Go back to vSphere Web Client, select a host on the left, and in the Summary → configuration on the right, you can see the EVC mode supported by the current host, as shown in figure 6-15. In the EVC mode supported by the ESXi host, the first line of the list is the mode supported by the previous lower-end CPU, and the last line is the mode supported by the newer CPU (that is, the higher the CPU model is required later). Please write down the pattern of the last line. If there are different CPU in the current data center, if you want to put these hosts in a cluster, you need to use the lowest CPU support as the baseline.

Figure 6-15 notes the EVC pattern

If you choose the wrong mode when setting up the cluster, you can modify the cluster configuration, select the appropriate EVC mode, and move the added hosts to the cluster, as shown in figure 6-16.

Figure 6-16 Select a mobile host

Select the data center → cluster name in the "Move To" dialog box, as shown in figure 6-17, and select HA (cluster name) here.

Figure 6-17 Select the target cluster

In the HA- move hosts into this cluster dialog box, select place all virtual machines for this host in the root resource pool of the cluster, as shown in figure 6-18.

Figure 6-18 move hosts into the cluster

After that, another host is moved to the cluster, and these same operations are no longer described.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report