Skip to content

Commit b05ad89

Browse files
authored
Reboot a compute node (#264)
Signed-off-by: Christian Berendt <berendt@osism.tech>
1 parent 9853fc5 commit b05ad89

File tree

1 file changed

+29
-0
lines changed
  • docs/guides/operations-guide/openstack

1 file changed

+29
-0
lines changed

docs/guides/operations-guide/openstack/index.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ sidebar_position: 60
55

66
# OpenStack
77

8+
## Reboot a compute node
9+
10+
1. Live migrate all instances running on the compute node
11+
with the help of the [OpenStack Resource Manager](./day2-operations/resource-manager#live-migration)
12+
13+
2. Ensure that no more instances are running on the compute node
14+
15+
```
16+
ps ax | grep qemu
17+
```
18+
19+
3. Reboot the compute node
20+
21+
```
22+
osism apply reboot -l NODE -e ireallymeanit=yes
23+
```
24+
25+
4. Re-enable the compute service
26+
27+
```
28+
openstack --os-cloud admin compute service set --enable --disable-reason "" NODE nova-compute
29+
```
30+
31+
5. Check compute service
32+
33+
```
34+
openstack --os-cloud admin compute service list --host NODE --service nova-compute
35+
```
36+
837
## Add a new compute node
938

1039
```

0 commit comments

Comments
 (0)