Precautions for uploading virtual machines from workstation to vSphere (Exsi)

1. Version compatibility issues

The current version of the virtual machine is 15, and the virtualization platform is version 5.0, which is relatively old. Before migrating the virtual machine, you need to change the version to make it compatible. The specific method is as follows

Close the virtual machine that needs to be migrated in vmware, right-click [Manage] -> [Change Hardware Compatibility], and select the corresponding version. The difference between the versions lies in the hardware support. You can see the specific differences from the [Restrictions] column.

 

 

 

Go to [Next], creating a clone will ensure that the original virtual machine remains unchanged and can be used as a historical backup. If you are sure to migrate instead of copying, you can select the second item [Change this virtual machine], depending on the specific situation.

 

After the conversion is completed, right-click [Manage] -> [Upload] to the virtualization platform.

 

2. Optical drive problem

If the virtual machine to be converted is mounted with an iso image, exit the image first. Otherwise, uploading will prompt an error.

3. Network card configuration

After the upload is complete, if the LAN cannot be accessed. Check whether the MAC address of the virtual machine network card migrated to exsi is the same. In some local area networks, the mac address and ip will be bound.

 

4. Other

1. Virtual machine disk files are too fragmented

When creating a new virtual machine, the default orientation is to split the virtual machine disk into multiple files.

The advantage of this method is that a single sliced ​​disk file is small and can support some 32-bit file systems, such as FAT32.

The disadvantage is low performance. From the actual demand, we usually use NTFS, EXT4 or xfs, etc., and do not use storage media like U disk. Therefore, try to store a new virtual machine as a single file. One is to improve performance, and the other is to facilitate management.

 

2. The composition of the virtual machine

The two most basic files

One is the configuration file of the vmx virtual machine, such as the number of cpus, memory size, and disk path seen in the management interface, all of which are in this configuration file

The second is the vmdk virtual machine disk file

Other types of files will store some temporary information. For example, when the virtual machine is paused, the memory information of the virtual machine at that time will be stored in a single file.

 

Guess you like

Origin blog.csdn.net/niu91/article/details/109347160