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
f3963a4f
Verified
Commit
f3963a4f
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
forgot some chiwui stuff
parent
56227ef4
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
tsa/howto/ganeti.mdwn
+9
-7
9 additions, 7 deletions
tsa/howto/ganeti.mdwn
with
9 additions
and
7 deletions
tsa/howto/ganeti.mdwn
+
9
−
7
View file @
f3963a4f
...
...
@@ -281,17 +281,19 @@ Import procedure:
5. on the SPARE NODE, create and initialize a logical volume with the predetermined size:
lvcreate -L 20GiB -n chiwui-root vg_ganeti
qemu-img convert /srv/$INSTANCE-root -O raw /dev/vg_ganeti/chiwui-root
lvcreate -L 4GiB -n chiwui-swap vg_ganeti
mkswap --uuid $SWAP_UUID /dev/vg_ganeti/chiwui-swap
lvcreate -L 20GiB -n $INSTANCE-root vg_ganeti
qemu-img convert /srv/$INSTANCE-root -O raw /dev/vg_ganeti/$INSTANCE-root
lvcreate -L 4GiB -n $INSTANCE-swap vg_ganeti
mkswap --uuid $SWAP_UUID /dev/vg_ganeti/$INSTANCE-swap
TODO: the above assumes only two disk devices, which is usually incorrect.
6. on the MASTER NODE, create the instance, adopting the LV:
gnt-instance add -t plain \
-n fsn-node-03 \
--disk 0:adopt=
chiwui
-root \
--disk 1:adopt=
chiwui
-swap \
--disk 0:adopt=
$INSTANCE
-root \
--disk 1:adopt=
$INSTANCE
-swap \
--backend-parameters memory=2g,vcpus=2 \
--net 0:ip=pool,network=gnt-fsn \
--no-name-check \
...
...
@@ -345,7 +347,7 @@ Import procedure:
on the Ganeti node:
qemu-img convert /srv/$INSTANCE-root -O raw /dev/vg_ganeti/
chiwui
-root
qemu-img convert /srv/$INSTANCE-root -O raw /dev/vg_ganeti/
$INSTANCE
-root
13. switch to DRBD, still on the Ganeti MASTER NODE:
...
...
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