Skip to content

Commit

Permalink
Reboot a compute node (#264)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt committed Dec 21, 2023
1 parent 9853fc5 commit b05ad89
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/guides/operations-guide/openstack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,35 @@ sidebar_position: 60

# OpenStack

## Reboot a compute node

1. Live migrate all instances running on the compute node
with the help of the [OpenStack Resource Manager](./day2-operations/resource-manager#live-migration)

2. Ensure that no more instances are running on the compute node

```
ps ax | grep qemu
```

3. Reboot the compute node

```
osism apply reboot -l NODE -e ireallymeanit=yes
```

4. Re-enable the compute service

```
openstack --os-cloud admin compute service set --enable --disable-reason "" NODE nova-compute
```

5. Check compute service

```
openstack --os-cloud admin compute service list --host NODE --service nova-compute
```

## Add a new compute node

```
Expand Down

0 comments on commit b05ad89

Please sign in to comment.