P2v migration linux server under xenserver

  
 

In the era of virtualization and cloud computing and the container, we migrated all the applications run by physical servers to virtualize private clouds with xen. At this time, there will be a problem of physical server migration to the virtual server. Migrating windows to xencover can be done, but Linux, many people on the network did not say. Here I briefly introduce the migration process:

1. Use clonezilla live cd to start the physical server

2. Use the network method to hang on nas

3. Use dd to hard disk block Lead to nas

4. Start vm!

Click to map:



Step 1 use “clonezilla Live CD”Step 2 boot using Clonezilla Live CDStep 3 Choose language in Clonezilla liveStep 4 Keyboard selection in clonezilla liveStep 5 Enter clonezilla or shell command (choose shell command)Step 6 Choose option “2″Step 7 You’ll get “$” promptStep 8 $ sudo bashStep 9 # ifconfig eth0 XXX.XXX.XXX .XXXStep 10 # passwd (change root passwd)Step 11 # /etc/init.d/ssh restartStep 12 Create new VM with HDD/CPU/MEMStep 13 Boot VM with Clonezilla Live CDStep 14 Follow above 11 stepStep 15 # dd if=/Dev/sda

Copyright © Windows knowledge All Rights Reserved