> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/hi-gio-user-guide-vn/hi-gio-draas/kich-ban-failover/failover/buoc-5-di-chuyen-cac-may-ao-tu-site-hi-gio-cloud-ve-on-premises..md).

# Bước 5: Di chuyển các máy ảo từ site HI GIO Cloud về On-Premises.

## <mark style="color:green;">**Tổng quan**</mark> <a href="#overview" id="overview"></a>

Sau khi VM được replicate thành công từ Cloud về On-Prem, bạn có thể di chuyển VM APP1 và DB1 từ cloud HI GIO trở lại on-premises.

## <mark style="color:green;">Quy trình</mark> <a href="#id-2.-guidance" id="id-2.-guidance"></a>

{% stepper %}
{% step %}
**Bước 1:** Đăng nhập vào HI GIO portal.
{% endstep %}

{% step %}
**Bước 2:** Mở rộng **More** > Nhấn vào **Availability ()**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/tVdGxZKbvD1zQkIiKml5/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 3:** Nhấn vào **Outgoing Replications** > Tích chọn checkbox cho **vAPP1** > Mở rộng **ALL ACTIONS** > Nhấn vào **Migrate**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/W8v68VIZCp6F9pitU3b0/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4:** Cấu hình **Migrate Settings**. Giữ nguyên mặc định và nhấn **NEXT**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/DhCKFZNjnR6JL5q6Jpc7/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 5:** Xem lại cấu hình Migration và nhấn **FINISH**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/vWoGUdhqcyDd06b8u3do/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 6:** **Kết quả mong đợi:**

1. Quá trình di chuyển đang diễn ra.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/rNoPi7WZ4J3vHRZ11yex/image.png" alt=""><figcaption></figcaption></figure>

2. Di chuyển tới on-premises is Completed thành công. **Đảm bảo rằng:**

**- Recovery state = Failed-Back**

**- Replication type = On-Premise Protection**

**- Overall health = Green**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/UHrPv3cU7pC97glMKOQQ/image.png" alt=""><figcaption></figcaption></figure>

3. **Xác nhận VMs đã di chuyển trở lại** **On-premises.**

Các VM **APP1-xxxx** và **DB-xxxx** đã xuất hiện trong inventory của vCenter.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/e7aOsC9bl69WJWk8fvLp/image.png" alt=""><figcaption></figcaption></figure>

4. Đăng nhập vào **APP1** và **DB1** bằng tài khoản local > **thay đổi địa chỉ IP để phù hợp với site on-premises** (trong trường hợp này, chỉ cần thay đổi **default gateway** thành **.1**) và kiểm tra ứng dụng.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/LjoCY4pNhdntuN5Z9Odq/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.higiocloud.vn/hi-gio-user-guide-vn/hi-gio-draas/kich-ban-failover/failover/buoc-5-di-chuyen-cac-may-ao-tu-site-hi-gio-cloud-ve-on-premises..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 `automate deployments from our CI pipeline` 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.
