VMware vCenter Converter physical machine migration

1. Install VMware vCenter Converter

1. Download

Official website: Converter official website
Baidu cloud link: https://pan.baidu.com/s/1WD5Ec6fU7_SJAV90VUeetw
Extraction code: 58hr

2. Installation

Double-click the msi file to install and continue to the next step

3. Error resolution

After the installation is complete, a client will be displayed on the desktop.
Insert picture description here
Double-clicking the client has no response for a long time, and finally the error "vCenter Converter 6.2 could not start service" is reported. This is because the Converter needs to be connected to the Internet for the first time after installation. If there is no public network, it cannot be started. It is ok to start after setting up the network connection.

2. Migrate windows physical server

1. Start

Open the client, click Convert machine in the upper left corner
Insert picture description here

2. Fill in source related information

Fill in the relevant information in the Source System. To perform physical machine migration, select the Powered on option, and select Remote Windows machine for windows physical server migration. Then fill in the IP and account secrets of the physical server to be migrated
Insert picture description here

3. The source host cannot be connected

There
may be an error when clicking next here.
Error 1
: Unable to contact the specified host '10.200.9.123'. The host might not be available on the network, there might be a network configuration problem, or the managerment services on this host are not responding.
Insert picture description here
Ping each other or Telnet is all connected at once, indicating that the network is connected.
Insert picture description here
It may be that the port of the source host is not open. I found a lot of information to open all the ports 901-903/tcp, 901-903/UDP, and 443/tcp mentioned, but it still failed because of the two. The servers are all on the intranet, so the firewall is temporarily turned off, and then the client is installed and then turned on.

4. Install agent

After closing the firewall and connecting again, it will not report the connection failure error, and will prompt to install the client.
Insert picture description here

5, agent installation error resolution

Choose the first one and click yes, the agent installation will take a while, and wait patiently
. An error may be reported here: Unable to connect to the network share '10.200.9.123\ADMIN$'.
Insert picture description here
First check if there is admin on the source host Sharing permissions for

net share 

Insert picture description here
I have it here, if not, you can use the following command to open

net share ADMIN$

After turning on the test, mine still doesn't work. So choose to install the agent manually.
Copy the VMware-Converter-Agent.exe program under the VMware vCenter Converter installation path to the source host and install it.
Insert picture description here
After the installation is complete, check whether the following programs are started in the task manager
Insert picture description here

Or see if port 9089 is listening. If it is, it means the agent is installed successfully.

netstat -ano|findstr 9089

Insert picture description here

6. Fill in the target host information

After the agent installation is complete, enter the interface for filling in the Destination host information.
Insert picture description here
Here is to put the migrated vmdk file under the local network address\WIN-QLUM6F3R525\kvm-iso. The stored address must be a network address. The method of creating a network address is as follows:

  • New folder vmdk
  • Right-click the folder and select Share -> Specific User -> Select __VMware_Conv_SA__

Insert picture description here

  • Right-click the file to copy the link

Insert picture description here

  • Just paste it on the path.

Insert picture description here

7. Options

Enter Options and perform migration according to your requirements (the error is reported here because my destination host disk is not enough)
Insert picture description here

8. Finish

Continue to the next step until it is completed, you can see the backup information in the taskbar.
I have completed the backup here

Insert picture description here

Three, install ESXi

You need to install ESXi as the destination before migrating a Linux physical server.
Install using a virtual machine.
1.1 Download ESXi image
Download
link Baidu cloud link: https://pan.baidu.com/s/1PbtYxSECT3Uf-cq9Rjf4WQ
Extraction code: 9cw3
1.2 Open VMware Workstation
Insert picture description here

1.3 Click File -> New -> Next -> Next -> Default Options Next -> Select VMware ESX (X) -> Next
Insert picture description here
1.4 Naming + Change Installation Path -> Next
Insert picture description here
1.5 Select Configuration Information Memory and CPU According to Just fill out your own needs. Network connection select bridge -> next step
Insert picture description here
1.6 default options next step -> default options next step -> create a new virtual disk -> set the disk size to 200GB -> next step
Insert picture description here
1.7 name the disk -> next step -> select custom Hardware -> Select the downloaded iso image -> Close -> Finish
Insert picture description here1.8 Click to open this virtual machine
Insert picture description here1.9 Enter the installation interface -> Click continue
Insert picture description here1.10 Select the installation place to continue
Insert picture description here1.11 Select the keyboard layout to continue
Insert picture description here1.12 Set the root password and continue
Insert picture description here1.13 to enter the installation interface –> After the installation is complete, restart to enter the following interface
Insert picture description here1.14 and press F2 to set it –> enter the root user password
Insert picture description here1.15 to enter the configuration interface
Insert picture description here1.16 and select Configure Managment Network to configure the network. Configure static IPV4 address
Insert picture description here
1.17 Use Troubleshooting Options to configure ssh and shell
Insert picture description here1.18 At this point, the installation is complete.
You can enter the set IP in the browser for web configuration. I will not configure it, I installed ESXi mainly for the migration of Linux physical servers

Fourth, migrate linux physical server

To migrate a Linux physical server, you need to configure VMware vCenter Server first.
The installation steps are as follows:

1. Start

Click Convert machine in the upper left corner to enter the migration interface
Insert picture description here

2. Fill in source related information

Fill in the relevant information in the Source System. To perform physical machine migration, select the Powered on option, and select Remote linux machine for linux physical server migration. Then fill in the IP and account secrets of the physical server that needs to be migrated. If it is connected by a private key, select the private key and select the private key file.
Insert picture description here

3. Fill in the relevant information of the target host

Click next in Source System to enter the Destination System page.
Fill in the relevant information of the target host. The IP of the target host is the IP of the previously installed ESXi host, and the account secret is also the account secret of the ESXi host.
Insert picture description here

4. Naming

Fill in the converted name of the Linux server and put it in the corresponding virtual machine list. Because I did not create a virtual machine, there is no inventory. Just click Next.

Insert picture description here

5. Choose the target location

Because there is only one EXSi, the default is fine, just click Next
Insert picture description here

6. Options
Select the information to be migrated, click next
Insert picture description here

7、 summary

Enter the following interface to view the migration information.
Helper VM network configuration must be configured. Whether it will report an error during the migration process.
Insert picture description hereDeselect ipv6
Insert picture description here

After confirming that it is correct, click
Insert picture description hereFinish
to start the migration 8. End, you can see that the server is being migrated
Insert picture description here

8. Start the migrated Linux virtual machine on ESXi

After the migration is complete, click on the homepage of VMware workstation, select to connect to the remote server,
Insert picture description hereenter the corresponding connection information,
Insert picture description hereenter the following interface,
Insert picture description hereselect the virtual machine, right-click and select open, enter the homepage of the virtual machine, and start it. Migration complete
Insert picture description here

Fourth, import the windows vmdk file to the virtual machine

1. Open VMware Workstations
Insert picture description here

2. Click File -> Select Open -> Enter the directory where the vmdk file is located.
Insert picture description here
3. Select the vmx file and click Open, select the imported virtual machine, and click to open the virtual machine.
Insert picture description here4. The virtual machine is successfully migrated
Insert picture description here

Guess you like

Origin blog.csdn.net/xiguashixiaoyu/article/details/112859314