Despues de instalar nuestro servidor, para poder acceder a el debemos instalar el servidor SSH.
Para esto seguimos los siguientes pasos:
yum install openssh - server
chkconfig sshd on
service sshd start
Con esto el servidor queda activo.
Crear na maquina virtual KVM/QEMU y seleccionar el formato raw, qcow, o qcow2. There are administrative benefits to using file images instead of devices, such as backing up or saving image files on another server, as is the case with migrating over shared storage.
Seguir leyendo Convertir imagenes de QEMU QCOW2 a LVM →
Solo con acceso SSH:
ssh al sistema remoto y termine todos los procesos que pueda. Basically everything but the ssh server itself.
Desde su sistema local, capture una copia de una imagen del disco a su sitema local:
ssh root @ remote .example .com "dd if=/dev/sda bs=1024k" > p2v .img
Espera muchas horas. Depende del tamaño del disco duro y el ancho de banda.
Finalizara con un archivo llamado p2v.img. Montelo a una KVM virtual machine como raw disk image y fsck y encuentra errores.
Si tiene acceso al servidor
From the remote console, bring the system to single-user mode (init 1 as root, or reboot with 1 added to the boot command line).
Bring up the network manually, e.g. with the appropriate ifconfig and route commands.
P2V it to the remote hypervisor (or a storage server):
dd if = / dev / sda bs = 1024k | ssh root @ kvmhost .example .com "cat > /path/to/p2v.img"
Create a new KVM virtual machine using p2v.img as the disk, start it up and make any necessary changes.
Seguir los siguientes pasos
Listado de las maquina virtuales
virsh - c qemu : / / / system list -- all
Sacar backup de la configuracion
virsh - c qemu : / / / system dumpxml win2011 > / s3mnt / dms / backup .xml
Si el clon ya existe de deben seguir los siguientes pasos
virsh destroy win2011 - clone
virsh undefine win2011 - clone
rm win2011 - clone .img
Parar la maquina y sacar backup
virsh suspend win2011
virt - clone -- connect qemu : / / / system -- original win2011 -- name win2011 - clone -- file / home / maguilar / win2011 - clone .img -- check all = off
virsh resume win2011
En la maquina destino, definir la configuracion
Copiar el disco duro (img) de la maquina virtual al servidor destino
Iniciar la maquina
Instalar Servidor Ubuntu Server
Primero se debe actualizar el servidor
sudo apt - get update
sudo apt - get upgrade
Seguir leyendo Servidor de Virtualización →
Ir a las entradas
Documentos y manuales de UDP