# Bước 3F: - Full failover vAPP1 (VM - APP1 & VM - DB1) từ on-premise site to HI GIO

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

Nếu site được bảo vệ (on-premises) **không khả dụng**, bạn có thể thực hiện thao tác khôi phục thảm họa tải công việc (full failover) trên HI GIO Cloud.

## <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/OmqP1e8qbfBSVlcfE4fN" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/quREPTLD4kkC3cnTisBY" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4:** Cấu hình Recovery Settings cho Failover

**- Instances handing after recovery: Default.**

**- Power Settings: Power on recovered vApps.**

**- Network Settings: Apply preconfigured network settings on migrating.**

Nhấn **NEXT**

<figure><img src="/files/tK2drBuXkHRYr6A7ca7M" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 5:** Cấu hình Recovery Instance cho Failover

Nhấn **SELECT LATEST FOR EVERY VM** > **NEXT**

&#x20;

<figure><img src="/files/2FGSXGDd9GCNIDtkRIpj" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 6:** Xem lại và nhấn FINISH.

<figure><img src="/files/9DOZm5u23Y6EItbffW9j" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

1. Failover in Progress: Trong Detailed Status, bạn sẽ thấy **Failover in Progress** với % tiến độ

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

2. Failover successfully: Quá trình này sẽ mất một vài phút. Xin kiên nhẫn.

Sau khi hoàn thành tác vụ failover,  tải của workload sẽ chạy trên cloud HI GIO.

**Xác nhận rằng tất cả các VM trong vAPP1:**

**- Recovery State = Failed-Over.**

**- Replication Type = On-Premise Protection**

**- Overall health = Green**

<figure><img src="/files/8qzt696FQ6cdThjjAQSp" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## <mark style="color:green;">Validate - vAPP1 (VM APP1 & DB1)</mark> <a href="#validate-vapp1-vm-app1-and-db1-on-hi-gio-cloud" id="validate-vapp1-vm-app1-and-db1-on-hi-gio-cloud"></a>

Trong tình huống này, on-premise gặp sự cố: mạng, phần cứng máy chủ và lưu trữ… khiến nó không khả dụng.

## **Procedure** <a href="#procedure.1" id="procedure.1"></a>

{% stepper %}
{% step %}
**Bước 1:** Đăng nhập vào HI GIO portal: chọn vAPP1 > **Virtual machines.**
{% endstep %}

{% step %}
**Bước 2:** Xác nhận rằng 2 VM, APP1 và DB1, đã được di chuyển sang HI GIO và đang chạy.

<figure><img src="/files/lAvlKl5PPm1jLsPFyB3f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 3:** Thay đổi default gateway cho APP1 & DB1 (mạng on-prem gặp sự cố).

Đăng nhập vào APP1 & DB1 với quyền admin local > thay đổi default gateway và xác nhận rằng APP1 & DB1 có thể truy cập được.

<figure><img src="/files/2dVIZ4HARFfGUZY2MVcH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/biNKK1IjLH2DvOMtqMOg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4:** Chỉ định tên miền tới APP1 (cập nhật bản ghi DNS công cộng nếu cần).
{% endstep %}

{% step %}
**Bước 5:** Truy cập APP1 qua internet (trong trường hợp của tôi, tôi đã sử dụng một địa chỉ IP public).

<figure><img src="/files/c9BcCNr73hFGFgTUvUQM" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

<br>


---

# 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-3f-full-failover-vapp1-vm-app1-and-vm-db1-tu-on-premise-site-to-hi-gio.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.
