# Exclude Set of Hypervisors While Migrating Instances Without Shared Storage

## Problem

Admin user would like to exclude a set of hypervisors to avoid migration of instances to noncompliant hosts.

## Environment

* Platform9 Managed OpenStack- All Versions

## Procedure

1. Login to the Clarity UI.
2. Open the 'Infrastructure' tab.
3. Select the hosts you don't want the instances to be migrated to.
4. Put those hosts in Maintenance Mode using the switch button shown in the image below.

<figure><img src="/files/RUvkaxC7OQ8O8m1CRvt6" alt="Screen_Shot_2019-07-31_at_6.48.53_PM.png"><figcaption><p>Screen_Shot_2019-07-31_at_6.48.53_PM.png</p></figcaption></figure>

**Note:** Hosts in Maintenance Mode will have its ***nova-compute*** service disabled. This will not allow any new instances to get spawned on the hosts. Existing instances will not get disrupted by this process.

## Additional Information

* [Further instructions and pointers about Maintenance Mode](https://support.platform9.com/hc/en-us/articles/360011568533-Enable-Maintenance-Mode-for-Authorized-Host)
* [Live Migration](https://docs.platform9.com/support/live-migration-with-platform9-managed-openstack/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platform9.com/kb/pmo/how-to/exclude-set-of-hypervisors-while-migrating-instances-without-sh.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
