AO migrate notes

master
Jeff Moe 6 years ago
parent e6f0c0b5dc
commit b4a723c17c

@ -0,0 +1,43 @@
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.
Loading…
Cancel
Save