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

Setting up vSphere+nfs Cluster (2)

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Part II: installation and configuration of ESXi host

Note: the content written in this article is for experimental testing only and does not involve any commercial use.

Install the ESXi host

Create a new virtual machine in VMware-workstation

Custom (advanced) configuration

→ hardware compatibility Select mware-workstation 15.x

→ installs the operating system later

Select the third VMWare ESX for the → operating system and VMWare ESXi6.x for the version

→ virtual machine name: esxi1, location: e:\ vSphere_cluster\ esxi1

Number of → processors: 2, number of cores per processor: 2

→ virtual machine memory: 4096m

→ network: select the network type for the first network card, select the first item, bridge mode

→ IO Controller Type: default quasi-Virtualization

→ disk type: SCSI

→ selects the disk, selects the first option, and creates a new disk

→ disk size: the default is 40g, select "store in a single file" below. This disk is only used to install the ESXi operating system, and the virtual machines running above will be stored in shared nfs storage or vSAN.

→ disk name: esxi1.vmdk

→ next step, complete.

Adjust the configuration of the virtual machine:

1. Check whether the virtualization engine of the processor is turned on, and make sure that the check box in front of it is checked

2. Configure the CD-ROM drive and insert the operating system installation iso of the ESXi host. Here is the version of 6.7update 3, download address.

Http://dl1.technet24.ir/Downloads/Software/VMware/vCenter/67u3/VMware-VMvisor-Installer-6.7.0.update03-14320388.x86_64.iso

3. Delete the sound card and printer

Click OK to finish creating the virtual machine.

Start the virtual machine and install the ESXi system. The specific installation process only involves selecting the installation disk and setting the root user password. I will not repeat it here.

Configure ESXi host

I. configuration management network

After the ESXi system is installed and rebooted, the following interface appears (the IP here is 0.0.0.0 because there is no dhcp server in the LAN):

Press F2 to enter the password of the root user set during installation to enter the configuration interface

Select the third item after entering

Configure its management network

Enter and choose IPv4 Configuration

According to the table in the previous section, the ipv4 test address is set to 10.8.20.251, and the subnet mask and default gateway are set according to the situation.

Press enter to save after setting up.

IPv6 is set to disable

DNS and hostname settin

Make other configurations as needed, press ESC to exit, restart the system, press Y to restart,

After rebooting, the main interface displays the IP address it manages:

Press F2 and enter the password of root to enter again. For easy management, you need to open its ssh to log in remotely.

Select Diagnostic option

Select the second item Enable SSH and prompt SSH is Enabled on the right.

Open the browser on the host (Google browser is recommended, not IE) and open the following URL

Https://10.8.20.251, will prompt "your connection is not a private connection". Press Advanced to continue to browse this URL.

If the following interface appears, the management network configuration is successful

At this point, the initialization configuration of the host of ESXi is complete.

Log in to the host management platform of ESXi to view the relevant configuration of the host.

Log in to the ESXi host management platform by entering the root user and password in the previous interface

You can check out other configurations, and we will use vcsa (vCenter) to manage esxi hosts in the future, rarely using this interface.

Third, configure the second network card

Now there is only vmnic0, the first network card.

Next, add 2 network cards for it.

First shut down the host esxi1, and then add a network card to it in VMware-workstation.

Set the properties of the network card and connect the network to the VMNet1

Add another network card to link to VMNet2

Start the ESXi host esxi1, and then log in to the management platform to see the 2 new network cards

Configure the vmnic1 network card now, and then use it as a storage network.

1. First add a standard virtual switch named vSwitch2, select vmnic1 for the uplink, and default the remaining options.

2. Add vmkernel network card

Create a new port group: Storage Network (the storage network is shown in the following figure, and the following Storage Network shall prevail)

Virtual switch Select vSwitch2

Set its ipv4 address to 192.168.10.251 subnet mask 255.255.255.0

Other configurations are not required, as shown in the following figure

Under the ping on the physical host, the ability to ping indicates that the ENI is configured successfully.

There is also a network card that is not configured now, but will be configured later using a distributed switch of vCenter.

IV. Upgrade the system

Upgrading the system is not necessary. See another blog post here for specific upgrade methods.

At this point, the first host is installed and configured.

Use the above method to create, install and configure the second virtual machine esxi2 and the third virtual machine esxi3, add three network cards and set up the ip.

Do not use cloning, otherwise you will not be able to add to the vCenter and will prompt for storage conflicts.

Welcome to my technical blog: memories in autumn

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

Servers

Wechat

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

12
Report