You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeff Moe b4a723c17c
AO migrate notes
6 years ago
..
README.md AO migrate notes 6 years ago

README.md

General notes on migrating from Elastichosts to Proxmox.

One way to do this:

Create Proxmox KVM and add any large disks needed (e.g. if the server has a 100G /srv).

rsync large directories (e.g. /srv, /opt, /home, /var) from Elastichosts server to Fork Sand server.

Set new Elastichosts API key.

Download main / image from Elastichosts to sf-001 server (or other node). Just do this if the partition is 10G or less.

export EHURI=https://api.lax-p.elastichosts.com export EHAUTH=NUMB3RS:PASS

This copies the image from Elastichosts to Fork Sand:

./elastichosts-download.sh DISK-ID somename.img

Then add that image to the Proxmox cluster (moves from local disk to Ceph):

qm importdisk [vm ID to attach to] [disk image from Elastichosts] [Ceph pool name] qm importdisk 999 /home/jebba/somename.img krbd

Then in the Proxmox web GUI attach the disk

mount it in temporary system.

fsck.ext4 /dev/vdb1

mount /dev/vdb1 /mnt

chroot /mnt

Set new IP address.

vim network/interfaces

Power off

Set new disk image as boot image, and boot.

Check all ok.