Skip to content
Snippets Groups Projects
Verified Commit ff88340e authored by anarcat's avatar anarcat
Browse files

expand on export procedure, not working (tpo/tpa/team#40897)

parent c31b3608
No related branches found
No related tags found
No related merge requests found
......@@ -2063,10 +2063,10 @@ VMs one at a time, if only a subset of the cluster needs to be
evacuated.
1. find nodes to host the exported VM on the source cluster and the
target cluster; it needs enough disk space in `/srv/ganeti` to
target cluster; it needs enough disk space in `/var/lib/ganeti/export` to
keep a copy of a snapshot of the VM:
df -h /srv/ganeti
df -h /var/lib/ganeti/export
2. have the right kernel modules loaded, which might require a
reboot of the source node:
......@@ -2080,10 +2080,14 @@ evacuated.
gnt-backup export -n fsn-node-01.torproject.org test-01.torproject.org
WARNING: this step is currently not working if there's a second
disk (or swap device? to be confirmed, see
https://github.com/ganeti/instance-debootstrap/issues/18
4. copy the VM snapshot from the source node to node in the target
cluster:
scp /srv/ganeti/... root@chi-node-02.torproject.org:/srv/ganeti
rsync -a /var/lib/ganeti/export/test-01.torproject.org/ root@chi-node-02.torproject.org:/srv/ganeti/test-01.torproject.org/
5. on the master of the target Ganeti cluster, import the VM:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment