当前位置:网站首页>VMware virtualization cluster

VMware virtualization cluster

2022-07-06 08:19:00 Rain emperor night tears

VMware Virtualized clusters

Speaking of virtualization , Probably for the vast majority of people, it is the virtual machine software running on local computers and hot in recent years docker , But that's not all , In some specific scenarios, we still have to use the traditional virtualization technology of local management , The best in this is still vmware 了 .

In line with the principle of learning what you use , When you start searching for information, you often see such two software :vmware ESXi and vCenter Server , At the beginning, I was very confused about both , I don't know which is which , Until the overall deployment and implementation are completed , Only then gradually formed the concept :

  • vmware ESXi: Virtualization software , Similar to that in personal computers vmware workstation
  • vCenter Server: centralized management ESXi Software for

that , Why use ? And when to use vCenter Server Well ? At present, my management scale is 6 platform Dell R740, Each station Intel Xeon Silver 4210R CPU @ 2.40GHz x 2,256G Memory ,2x8T Of RAID1. At present, based on months of operation experience , If your virtualization host exceeds 2 platform , And there are at least 5-10 A virtualization system , It is best to use this software to simplify the work , At the same time, if you need to constantly create new virtual machines , And you need to copy images between multiple servers , Then be sure to use . Of course , Use comes at a cost , Deploying the software requires at least 15G Above memory .

Installation and configuration

About installation

The installation itself has nothing to repeat , There are too many materials on the Internet to introduce how to install both , Just pay attention to the order . I first deployed one in my actual environment ESXi , Installed Windows10 Virtual machine , And then put vCenter Server Mirror image iso Mount it in , Directly installed as an independent virtualization management terminal . In some articles , Say you must have one Windows The server , I don't know why .

Synchronization time

Whether it's vCenter still ESXi , Are strongly recommended NTP Service time synchronization . For specific virtual machines , Check... In the settings Synchronize client time with host time This configuration is usually in the VMware Tools part .

USB Support for

Our actual application scenario , Need to virtualize hundreds usb equipment , But some in virtual machines “ Special software ” These devices are not recognized , It needs to be in the corresponding virtual machine Advanced options in , Add the following configuration parameters :

hypervisor.cpuid.v0=FALSE

Auto start

The virtual machine starts automatically with the host , Need to be in ESXi First configure the host to enable automatic startup , Then configure the virtual machine that allows automatic startup . The former is usually configured in the automatic startup of host management .

Lock mode

For safety reasons , Can be in vCenter Each set is configured in ESXi The locking mode of is Enable , Indicates that only vCenter And local console to access virtual machines , It is not allowed to pass through ui Access to .

However, this configuration , At once, right vCenter The host machine almost overturned when it was shut down and equipped . Because by default ,ESXi Automatic startup of virtual machines is not supported , Therefore, shutdown will lead to vCenter Not activated , So that all ESXi Be locked , Unable to login management . Fortunately, at that time, I had a mind , Temporary general location ESXi The lock mode of is temporarily set to disable .

Reference material

原网站

版权声明
本文为[Rain emperor night tears]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060817420353.html