Proposed Pull Request Change

title description services author ms.service ms.topic ms.date ms.author ms.custom
Tutorial on provision Azure Data Box Gateway in Hyper-V | Microsoft Docs Second tutorial to deploy Azure Data Box Gateway involves provisioning a virtual device in Hyper-V. databox stevenmatthew azure-data-box-gateway tutorial 05/26/2021 shaas sfi-image-nochange
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Tutorial on provision Azure Data Box Gateway in Hyper-V | Microsoft Docs description: Second tutorial to deploy Azure Data Box Gateway involves provisioning a virtual device in Hyper-V. services: databox author: stevenmatthew ms.service: azure-data-box-gateway ms.topic: tutorial ms.date: 05/26/2021 ms.author: shaas ms.custom: sfi-image-nochange #Customer intent: As an IT admin, I need to understand how to provision a virtual device for Data Box Gateway in Hyper-V so I can use it to transfer data to Azure. # Customer intent: As an IT admin, I want to provision a virtual Data Box Gateway device in Hyper-V, so that I can enable data transfer to Azure effectively. --- # Tutorial: Provision Azure Data Box Gateway in Hyper-V ## Overview This tutorial describes how to provision a Data Box Gateway on a host system running Hyper-V on Windows Server 2016, Windows Server 2012 R2, or Windows Server 2012. You need administrator privileges to provision and configure a virtual device. The provisioning and initial setup can take around 10 minutes to complete. In this tutorial, you learn how to: > [!div class="checklist"] > > * Ensure host meets minimum device requirements > * Provision a virtual device in hypervisor > * Start the virtual device and get the IP address If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) before you begin. ## Prerequisites The prerequisites to provision a virtual device on a host system running Hyper-V on Windows Server 2016 or Windows Server 2012 R2, are as follows. ### For the Data Box Gateway resource Before you begin, make sure that: * You have completed all the steps in [Prepare the portal for Data Box Gateway](data-box-gateway-deploy-prep.md). * You have downloaded the virtual device image for Hyper-V from the Azure portal as described in [Prepare the portal for Data Box Gateway](data-box-gateway-deploy-prep.md). > [!IMPORTANT] > The software running on the Data Box Gateway may only be used with the Data Box Gateway resource. ### For the Data Box Gateway virtual device Before you deploy a device, make sure that: * You have access to a host system running Hyper-V on Windows Server 2012 R2 or later that can be used to a provision a device. * The host system is able to dedicate the following resources to provision your virtual device: * A minimum of 4 cores. * At least 8 GB of RAM. We strongly recommend at least 16 GB of RAM. * One network interface. * A 250 -GB OS disk. * A 2-TB virtual disk for data. ### For the network in the datacenter Before you begin: * Review the networking requirements to deploy a Data Box Gateway and configure the datacenter network as per the requirements. For more information, see [Data Box Gateway networking requirements](data-box-gateway-system-requirements.md#networking-port-requirements). * Make sure that the minimum Internet bandwidth is 20 Mbps to allow for optimal working of the device. ## Check the host system To create a virtual device, you need: * The Hyper-V role installed on Windows Server 2016, Windows Server 2012 R2, or Windows Server 2012. * Microsoft Hyper-V Manager on a Microsoft Windows client connected to the host. * Make sure that the underlying hardware (host system) on which you are creating the virtual device is able to dedicate the following resources to your virtual device: * A minimum of 4 virtual processors. * At least 8 GB of RAM. We strongly recommend at least 16 GB of RAM. * One network interface connected to the network capable of routing traffic to Internet. * A 250-GB OS disk. * A 2-TB virtual disk for system data. ## BitLocker Considerations * We recommend that you enable BitLocker on your Data Box Gateway virtual machine. By default, BitLocker is not enabled. For more information, see: * [Encryption support settings in Hyper-V Manager](/windows-server/virtualization/hyper-v/learn-more/generation-2-virtual-machine-security-settings-for-hyper-v#encryption-support-settings-in-hyper-v-manager) * [BitLocker support in a virtual machine](https://kb.vmware.com/s/article/2036142) ## Provision a virtual device in hypervisor Perform the following steps to provision a device in your hypervisor. 1. On your Windows Server host, copy the virtual device image to a local drive. You downloaded this VHDX image through the Azure portal. Make a note of the location where you copied the image as you are using this image later in the procedure. 2. Open **Server Manager**. In the top-right corner, click **Tools** and select **Hyper-V Manager**. ![Select Hyper-V Manager in Server Manager](./media/data-box-gateway-deploy-provision-hyperv/image1.png) 3. In **Hyper-V Manager**, in the scope pane, right-click your system node to open the context menu, and then click **New** > **Virtual Machine**. ![Create new virtual machine in Hyper-V Manager](./media/data-box-gateway-deploy-provision-hyperv/image2.png) 4. On the **Before you begin** page of the New Virtual Machine Wizard, click **Next**. 5. On the **Specify name and location** page, provide a **Name** for your virtual device. Click **Next**. ![Specify name and location page](./media/data-box-gateway-deploy-provision-hyperv/image3.png) 6. On the **Specify generation** page, choose **Generation 2** for the .vhdx device image type, and then click **Next**. ![Specify generation page](./media/data-box-gateway-deploy-provision-hyperv/image4.png) 7. On the **Assign memory** page, specify a **Startup memory** of at least **8192 MB**, don't enable dynamic memory, and then click **Next**. ![Assign memory page](./media/data-box-gateway-deploy-provision-hyperv/image5.png) 8. On the **Configure networking** page, specify the virtual switch that is connected to the Internet and then click **Next**. ![Configure networking page](./media/data-box-gateway-deploy-provision-hyperv/image6.png) 9. On the **Connect virtual hard disk** page, choose **Use an existing virtual hard disk**, specify the location of the virtual device image, and then click **Next**. ![Connect virtual hard disk page](./media/data-box-gateway-deploy-provision-hyperv/image7.png) 10. Review the **Summary** and then click **Finish** to create the virtual machine. ![Completing the New Virtual Machine wizard page](./media/data-box-gateway-deploy-provision-hyperv/image8.png) 11. To meet the minimum requirements, you need four virtual processors. To add four virtual processors, select your host system in the **Hyper-V Manager** window. In the right-pane under the list of **Virtual Machines**, locate the virtual machine you just created. Select and right-click the machine name and select **Settings**. ![Virtual machine settings](./media/data-box-gateway-deploy-provision-hyperv/image9.png) 12. On the **Settings** page, in the left-pane, click **Processor**. In the right-pane, set **number of virtual processors** to 4 (or more). Click **Apply**. ![Set number of virtual processors on Settings page](./media/data-box-gateway-deploy-provision-hyperv/image10.png) 13. To meet the minimum requirements, you also need to add a 2-TB virtual data disk. In the **Settings** page: 1. In the left pane, select **SCSI Controller**. 2. In the right pane, select **Hard Drive,** and click **Add**. ![Add hard drive on Settings page](./media/data-box-gateway-deploy-provision-hyperv/image11.png) 14. On the **Hard drive** page, select the **Virtual hard disk** option and click **New**. The **New Virtual Hard Disk Wizard** starts. ![New Virtual Hard Disk Wizard](./media/data-box-gateway-deploy-provision-hyperv/image12.png) 15. On the **Before you begin** page of the New Virtual Hard Disk Wizard, click **Next**. 16. On the **Choose Disk Format page**, accept the default option of **VHDX** format. Click **Next**. 17. On the **Choose Disk Type page**, set virtual hard disk type as **Dynamically expanding** (recommended). **Fixed size** disk would work but you may need to wait a long time. We recommend that you do not use the **Differencing** option. Click **Next**. ![Choose Disk Type page](./media/data-box-gateway-deploy-provision-hyperv/image13.png) 18. On the **Specify Name and Location** page, provide a **name** and **location** (you can browse to one) for the data disk. Click **Next**. ![Specify Name and Location page](./media/data-box-gateway-deploy-provision-hyperv/image14.png) 19. On the **Configure Disk** page, select the **Create a new blank virtual hard disk** option, and specify the size as **2 TB** (or more). While 2 TB is the minimum requirement, you can always provision a larger disk. Note that you cannot shrink the disk once it's provisioned. Attempting to shrink the disk results in a loss of all the local data on the device. Expansion of data disk is not supported. Click **Next**. ![Configure Disk page](./media/data-box-gateway-deploy-provision-hyperv/image15.png) 20. On the **Summary** page, review the details of your virtual data disk and if satisfied, click **Finish** to create the disk. The wizard closes and a virtual hard disk is added to your machine. ![Completing the New Virtual Hard Disk Wizard page](./media/data-box-gateway-deploy-provision-hyperv/image16.png) 21. Return to the **Settings** page. Click **OK** to close the **Settings** page and return to Hyper-V Manager window. ![Settings page](./media/data-box-gateway-deploy-provision-hyperv/image17.png) Your virtual machine is now fully configured. > [!NOTE] > You can't provision a new Data Box Gateway by copying your configured VHD. Each new Data Box Gateway virtual device must be provisioned from a virtual device image for Hyper-V that is downloaded from the Azure portal. ## Start the virtual device and get the IP Perform the following steps to start your virtual device and connect to it. #### To start the virtual device 1. Start the virtual device. ![Start virtual device](./media/data-box-gateway-deploy-provision-hyperv/image18.png) 2. After the device is running, select the device, right click, and select **Connect**. 3. You may have to wait 10-15 minutes for the device to be ready. A status message is displayed on the console to indicate the progress. After the device is ready, go to **Action**. Press `Ctrl + Alt + Delete` to sign in to the virtual device. The default user is *EdgeUser* and the default password is *Password1*. ![Sign in to the virtual device](./media/data-box-gateway-deploy-provision-hyperv/image21.png) 4. Steps 5-7 only apply when booting up in a non-DHCP environment. If you are in a DHCP environment, then skip these steps. If you booted up your device in non-DHCP environment, you will see a message to the effect. 5. To configure the network, use the `Get-HcsIpAddress` command to list the network interfaces enabled on your virtual device. If your device has a single network interface enabled, the default name assigned to this interface is `Ethernet`. 6. Use the `Set-HcsIpAddress` cmdlet to configure the network. See the following example: `Set-HcsIpAddress –Name Ethernet –IpAddress 10.161.22.90 –Netmask 255.255.255.0 –Gateway 10.161.22.1` 7. After the initial setup is complete and the device has booted up, you will see the device banner text. Make a note of the IP address and the URL displayed in the banner text to manage the device. Use this IP address to connect to the web UI of your virtual device and complete the local setup and activation. ![Virtual device banner with IP address and connection URL](./media/data-box-gateway-deploy-provision-hyperv/image23.png) If your device does not meet the minimum configuration requirements, you see an error in the banner text. Modify the device configuration so that the machine has adequate resources to meet the minimum requirements. You can then restart and connect to the device. Refer to the minimum configuration requirements in [Check the host system meets minimum virtual device requirements](#check-the-host-system). If you face any other error during the initial configuration using the local web UI, refer to the following workflows: * [Run diagnostic tests to troubleshoot web UI setup](data-box-gateway-troubleshoot.md#run-diagnostics). * [Generate log package and view log files](data-box-gateway-troubleshoot.md#collect-support-package). ## Next steps In this tutorial, you learned about Data Box Gateway topics such as: > [!div class="checklist"] > * Ensure host meets minimum device requirements > * Provision a virtual device in hypervisor > * Start the virtual device and get the IP address Advance to the next tutorial to learn how to connect, set up, and activate your virtual device. > [!div class="nextstepaction"] > [Connect and set up your Data Box Gateway](./data-box-gateway-deploy-connect-setup-activate.md)
Success! Branch created successfully. Create Pull Request on GitHub
Error: