> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/generic/frequently-asked-questions/get-bundle-from-disconnected-host.md).

# Get Support Bundle from Disconnected Host

## Problem

There is a need to gather a Support Bundle from a Host which is not connected to the Management Plane & unable to retrieve bundles via pf9-hostagent or sidekick.

## Environment

* Platform9 Managed Kubernetes - All Versions

## Procedure

Need to run the two commands(datagather and upload) below from the host:

### 1. Generate a support bundle

The commands below will generate the bundle, saved as */tmp/pf9-support.tgz*.

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

Starting PMK 5.10.2 and above versions, the generated support bundle will be gpg encrypted. `/tmp/pf9-support.<GPG>.gpg`
{% endhint %}

* python v3.6 and 3.9

{% tabs %}
{% tab title="Bash" %}

```bash
# sudo -u pf9 LD_LIBRARY_PATH="/opt/pf9/python/pf9-lib:${LD_LIBRARY_PATH}" PYTHONPATH="/opt/pf9/python/lib/python3.9:${PYTHONPATH}" /opt/pf9/hostagent/bin/python /opt/pf9/hostagent/lib/python3.9/site-packages/datagatherer/datagatherer.py

# sudo -u pf9 LD_LIBRARY_PATH="/opt/pf9/python/pf9-lib:${LD_LIBRARY_PATH}" PYTHONPATH="/opt/pf9/python/lib/python3.6:${PYTHONPATH}" /opt/pf9/hostagent/bin/python /opt/pf9/hostagent/lib/python3.6/site-packages/datagatherer/datagatherer.py
```

{% endtab %}
{% endtabs %}

### 2. Upload the support bundle

Please reach out to Platform9 [support team](https://support.platform9.com) for further instruction on how to upload the support bundle.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/generic/frequently-asked-questions/get-bundle-from-disconnected-host.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
