# Configure Host as Image Library

You need to configure at least one host with the image library role so that your PMO cloud can use that host to store and serve your VM images to create new virtual machines from.

As part of this process, you need to specify the location (the directory path) to store image content on the host. The default path is `/var/opt/pf9/imagelibrary/data`.

You can configure multiple hosts as image library hosts in PMO. We recommend doing this for a production environment to create a **highly available image catalog**.

{% hint style="info" %}
**IMPORTANT**

When you have multiple image library hosts, the image storage path on all image library hosts must be the same.
{% endhint %}

To configure image library settings for a host, follow the steps given below.

```
1. Log in to Clarity.

2. Click Infrastructure in the left panel.

3. Click the Hosts tab.

4. Select a host and click Configure Host seen above the list of hosts.
```

<figure><img src="/files/KJgMHhPZqIj2PVjWvRiC" alt=""><figcaption></figcaption></figure>

```
5. Click the Image Library tab.

6. Select the Yes check box for Make host an Image Library.

7. Specify the directory path to store the image content.

8. Select the IP address (access point) for Image Library access.

9. Select the Yes check box if you want to make the host a public Glance endpoint.

10. Click Update Image Library details.
```

The host is ready to be used as a Glance image library.


---

# 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://docs.platform9.com/managed-openstack/5.8/infrastructure/host-management/infrastructure-configure-host-as-image-library.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.
