Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
ff88340e
Verified
Commit
ff88340e
authored
2 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
expand on export procedure, not working (tpo/tpa/team#40897)
parent
c31b3608
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/ganeti.md
+7
-3
7 additions, 3 deletions
howto/ganeti.md
with
7 additions
and
3 deletions
howto/ganeti.md
+
7
−
3
View file @
ff88340e
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment