S
S
Sergey2014-07-09 12:24:41
linux
Sergey, 2014-07-09 12:24:41

How to migrate a hardware Linux server to Xen 6.2?

There is an iron server with Asterisk on board. You need to move it to a virtualization environment running Xen Server 6.2.
What tools can be used to make a Linux server image and deploy it to Xen?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Cheremisin, 2014-07-09
@Amatist

You can make an image with a simple tar or cp
utility , I do it this way, only not for XEN, but for KVM, but the technologies are similar (probably) ...

mkdir /root/archive
tar --one-file-system --exclude /root/archive -czf /root/archive/my-image.tgz /

1) create a directory
2) start copying the root FS to a file in the directory, exclude this directory from copying
C deploy the resulting image where we want, for example, to a mounted FS in /mnt:
Do not forget to do grub-install after deploying to the target image and monitor the UUID in /boot/grub/grub.cfg and /etc/fstab files on it!

A
Alexey Yamschikov, 2014-07-11
@mobilesfinks

I think it will be easier like this: -
raise the server on a virtual machine,
- install an asterisk and throw configs from the iron server
- upload mysql

S
Sergey, 2014-07-09
@Amatist

That is, install a virtual server, and restore from the image on it?
How to deal with the Mysql database that accepts call logs? Will she feel bad after recovery?

N
Nikolai Savelyev, 2014-07-10
@nikweter

The easiest way to use Clonzilla is to stupidly copy the entire disk, and deploy it in a virtual machine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question