Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions doc/how-to/member_shutdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ This guide provides instructions to safely shut down a MicroCloud cluster member
(howto-member-shutdown-instances)=
## Stop or live-migrate all instances on the cluster member

To shut down a machine that is a MicroCloud cluster member, first ensure that it is not hosting any running LXD instances.
To shut down a machine that is a MicroCloud cluster member, first ensure that it is not hosting any running LXD instances. Check to make sure that no project has any running instances on the target cluster member:

You can stop all instances on a cluster member using the command:
```bash
lxc ls --all-projects
```

Explicitly shutting down LXD will shut down all instances running on that cluster member:

```bash
lxc stop --all
sudo snap stop lxd
```

Alternatively, for instances that can be {ref}`live-migrated <lxd:live-migration>`, you can migrate them to another cluster member without stopping them. See: {ref}`lxd:howto-instances-migrate` for more information.
Expand Down
Loading