# Step 3F - Full failover vAPP1 (VM - APP1 & VM - DB1) from on-premise site to HI GIO

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

If the protected site (on-premises) is **unavailable**. In the HI GIO cloud, you can perform a workload disaster recovery operation (full failover)

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Log on to the HI GIO portal.
{% endstep %}

{% step %}
**Step 2:** Expand **More** > Click on **Availability ()**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FdNkK9nJ8INON9uXZKgD0%2Fimage.png?alt=media&#x26;token=47d8552a-1ee1-42be-a290-d345873f56f3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 3:** Click on **Incoming Replications >** Check the checkbox for VM **APP1** > Expand **ALL ACTIONS** > Click on **Failover**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FLDpWPxu2kL0vYhdXJmxq%2Fimage.png?alt=media&#x26;token=6aa299b6-039a-4454-845f-875eb89db1dd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** Configure Recovery Settings for Failover

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

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

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

Click **NEXT**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F99t040i9lqj0eXD99eds%2Fimage.png?alt=media&#x26;token=95425c37-d566-4864-91af-9bff5053f46a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 5:** Configure Recovery Instance for Failover

Click **SELECT LATEST FOR EVERY VM** > **NEXT**

&#x20;

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FpUqxjBSZV5MdCfUn8vIb%2Fimage.png?alt=media&#x26;token=7aa050a7-962c-4473-b022-4d4d9f1203b3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 6:** Review and **FINISH**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FiSYnmuv9LZSMwhcSq06o%2Fimage.png?alt=media&#x26;token=4e6e7f38-876a-4559-81ce-63cdb3d317cd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 7:** Expectation result:

1. Failover in Progress: In the Detailed Status, you will notice Failover **in Progress with %** progress.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FEzfB1kCuzHoAndTXEItV%2Fimage.png?alt=media&#x26;token=ee154a29-d65b-40a6-be53-d1475552f89d" alt=""><figcaption></figcaption></figure>

2. Failover successfully: This process will take a couple of minutes. Please be patient.

After the failover task finishes, the failed over workload runs in the HI GIO cloud.

**Confirm that all VMs in vAPP1:**

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

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

**- Overall health = Green**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fi6VF3a2TwDx843hVFI1u%2Fimage.png?alt=media&#x26;token=34a98ebf-70c6-4ffa-8b7e-88a45d44f3c0" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## <mark style="color:orange;">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>

In this scenario, on-premise has issues: network, hardware host, and storage… that make it not available.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure.1" id="procedure.1"></a>

{% stepper %}
{% step %}
**Step 1:** Log on to the HI GIO portal: *select vAPP1* > **Virtual machines**.
{% endstep %}

{% step %}
**Step 2:** Confirm that 02 VMs, APP1 & DB1, were migrated to HI GIO and are running.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FOmPWJLIthMwyMsYqydKF%2Fimage.png?alt=media&#x26;token=71fe0e91-cf0e-4dc1-be9c-64f3059da235" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 3:** Change default gateway for APP1 & DB1 (on-prem network is problem)

Logon **APP1 & DB1** by admin local > change default gateway and validate that **APP1 & DB1** can be reachable.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FxWDbJoaATfiSqp1K2M83%2Fimage.png?alt=media&#x26;token=278f928f-26df-4533-b551-6185011f60d0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FOEgd256Oo4IcE2afWzvY%2Fimage.png?alt=media&#x26;token=cc905760-b05e-4f7e-9e01-522d1ec14d5c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** Point domain name to APP1 (public DNS record if needed).
{% endstep %}

{% step %}
**Step 5:** Access to APP1 via the internet (in my case, I used a public IP).

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FDbx69g42chRp5NsWJENy%2Fimage.png?alt=media&#x26;token=b61de404-7aa2-4470-abb4-b7b705204ce3" 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-draas/failover-scenario/failover/step-3f-full-failover-vapp1-vm-app1-and-vm-db1-from-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.
