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
496ef483
Commit
496ef483
authored
5 years ago
by
Hiro
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation on how to retire a host - WIP
parent
7f8c37ee
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/retire-a-host.mdwn
+15
-8
15 additions, 8 deletions
tsa/howto/retire-a-host.mdwn
with
15 additions
and
8 deletions
tsa/howto/retire-a-host.mdwn
+
15
−
8
View file @
496ef483
...
...
@@ -2,15 +2,22 @@
1. long before (weeks or months) the machine is decomissioned, make
sure users are aware it will go away and of its replacement services
2. if applicable, stop the VM: `virsh shutdown $host`, or at least
stop the primary service on the machine
3. if applicable, undefine the VM: `virsh undefine $host`
2. if applicable, stop the VM:
* If the VM is on a KVM host: `virsh shutdown $host`, or at least stop the
primary service on the machine
* If the machine is on ganeti: gnt-instance remove $host
3. On KVM hosts, undefine the VM: `virsh undefine $host`
4. wipe host data, possibly with a delay:
* if applicable, remove the LVM logical volumes or virtual disk
files:
echo 'lvremove -y vgname/lvname' | at now + 7 days
* On KVM hosts, remove the LVM logical volumes or virtual disk files:
`lvs` will list the logical volumes on the machine
`echo 'lvremove -y vgname/lvname' | at now + 7 days`
* for a normal machine or a machine we do not own the parent host
for, wipe the disks using the method described below
...
...
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