Deploy for source environments

This article describes the actions that are required to complete the installation of the source environment.

Important

Azure Site Recovery on Azure Stack Hub requires Azure Stack Hub to be a supported version (at least 1.2301.2.58).

Prerequisites

As an Azure Stack Hub operator, download the ASR appliance on AzureStack Hub VM image and the respective Azure Site Recovery – extensions in the Azure Stack Hub Marketplace Management.

Note

To protect a Linux-based Virtual Machine, you must download both of the following:

  • The general extension. In Marketplace Management, the extension is named Azure Site Recovery - extension for Linux.
  • The extension specific to the OS you are trying to protect (for example, an Ubuntu 20.04 virtual machine requires the Azure Site Recovery - extension for Linux UBUNTU2004 extension).

The reason you need these extensions is that during the initial configuration, the general extension is used to configure and determine the correct specific extension, and once configured, the specific one is used.

For a disconnected or partially connected scenario, download the packages to your local machine then import them into your Azure Stack Hub Marketplace:

  1. Follow the instructions in Download Marketplace items: disconnected or partially connected scenario. Download and run the Marketplace Syndication tool, which enables you to download resource provider packages.
  2. After the Azure Marketplace Items syndication tool window opens, find and select the name of the resource provider to download the required packages to your local machine.
  3. Once the download finishes, import the packages to your Azure Stack Hub instance and publish to the Marketplace.

For a connected scenario, download the items from Azure Marketplace directly to the Azure Stack Hub Marketplace:

  1. Sign in to the Azure Stack Hub administrator portal.

  2. Select Marketplace Management.

  3. Select Marketplace Items.

  4. Select + Add from Azure.

  5. Search for "Azure Site Recovery" using the search bar.

    Screenshot of portal add from Azure page.

  6. The ASR appliance on AzureStack Hub is the VM that you must download. Based on the type of VMs you want to protect, select and download the respective Virtual Machine Extensions for each of the VM types to be protected.

  7. Once the downloads are complete, you are ready to deploy and configure the appliance.

Installation

In the source environment, in the Azure Stack Hub user subscription, you must now deploy the ASR appliance on AzureStack Hub. This is a VM that appears in the Azure Stack Hub Marketplace. Following the template, it creates a VM that has the following properties:

  • Size: standard DS4 v2 (8 vcpus, 28 GiB memory). This means that by default, the VM can have 32 data disks attached. This is important when doing a "failback" operation; for example, when having more than 31 disks from protected VMs generates an error (in which case the appliance VM must have its size increased). By default, the Site Recovery appliance itself consumes one disk, and each data disk from a protected VM must be attached.
  • Uses a 610 Gib disk.
  • Uses a storage account. Appliance boot diagnostics data is stored here.
  • After the deployment of the VM completes, sign in through RDP on that VM. This launches a set of PowerShell scripts that install all the requirements for the Site Recovery appliance and prepares the VM to be configured.

To start this process, open the Microsoft Azure Appliance Configuration Manager from the desktop of the Site Recovery appliance on Azure Stack Hub. Follow the wizard while using all the data from the vault connection properties, and the appliance is then configured.

Note

During the configuration of the appliance, you must provide a user (or SPN) which the appliance then uses for discovery. This user (or SPN) must have owner rights on these subscriptions, both to discover resources as well as delegate rights as needed. The Site Recovery Vault discovers all the VMs this user (or SPN) has access to, within the respective tenant.

Screenshot of portal showing appliance configuration.

Next steps