# 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="/files/a3UmEZ86DANMJh5VuJTe" 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="/files/GRKqC6f5oMfNnVUu4qib" 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="/files/dj7dl1kquZmLkQSqdSE2" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/wuAiQTtRf0JgCSsg53Na" 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="/files/xk5GN9WQQjLj0xlruLyZ" 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="/files/zWOGJK0AF9nIE9UooJMr" 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="/files/Aezp2jsngPmTc0V5a3EZ" 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="/files/6OATzdVOCavYU3BhXapz" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.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>
```

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.
