# Prerequisites

Ensure following prerequisites are met ONLY in the specific stamp identified to install the Resource Provider UI. Rest of the stamps are connected to and installation of RP is not required.

## ADMIN PORTAL

1. Start download / ensure following necessary marketplace images are already present

&#x20;      Go to **Marketplace Management** -> **Marketplace Items**

&#x20;          1\) Windows 2016 Datacenter&#x20;

&#x20;               \[Eg: Windows Server 2016 Datacenter - Pay as you use]

&#x20;          2\) SQL Server 2017&#x20;

&#x20;               \[Eg: SQL Server 2017 Standard on Windows Server 2016]

&#x20;      If they are not already present, refer [Download Marketplace items to Azure Stack Hub](https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-download-azure-marketplace-item?view=azs-2002\&pivots=state-connected) to initiate    download.&#x20;

For a disconnected / partially connected scenario, refer the above link to use the Marketplace syndication tool to download Marketplace items and later transfer your downloads to your disconnected Azure Stack Hub installation.  &#x20;

2\. Create a new plan and an offer / identify existing offer that will be used to create a tenant subscription

Go to **Plans** -> Identify / Create a new plan with the following services enabled with default quotas

![](https://3532473591-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6voWNOkQYKxJnx1zI4%2F-M6vvFY8bCUhOOLlOhbK%2F-M6vwgVZeKwMtmMZiZgA%2Fimage.png?alt=media\&token=45eeaaa4-b29a-4b75-afcc-8bd7cf16d724)

To create a new plan, refer [Create a plan in Azure Stack Hub](https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-create-plan?view=azs-2002)

Go to **Offers** -> Identify / Create a new offer associating with the above plan in **Base Plans** -> Make it **Public** (or) **Private** based on operator's choice and use

To create a new offer, refer [Create an offer in Azure Stack Hub](https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-create-offer?view=azs-2002)

## TENANT PORTAL

1. Go to **Subscriptions** -> Create a tenant subscription / identify an existing tenant subscription created using the offer above in ADMIN PORTAL section

&#x20;       To create a new tenant subscription, refer [Create subscriptions to offers in Azure Stack Hub](https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-subscribe-plan-provision-vm?view=azs-2002)       &#x20;

&#x20;   2\. Select the **Tenant subscription -> Resource Providers -> Register** all the following providers

![](https://3532473591-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6voWNOkQYKxJnx1zI4%2F-M6vvFY8bCUhOOLlOhbK%2F-M6vybtc125oPDj3848A%2Fimage.png?alt=media\&token=96f57cfd-70b7-49f1-ad02-155d818ad284)

3\. Identify / create a SQL Server VM to host the databases necessary for the API components needed for this RP. The server can be present either inside or outside of Azure Stack reachable from the Resource Provider VM created during deployment.

To create a new SQL Server VM, refer [Create SQL Server VM in tenant subscription](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/master/installation/prerequisites/create-sql-server-vm-in-tenant-subscription)

## HOST VM

On **multi-node integrated systems**, the host must be a system that can access admin and tenant endpoints.

On **ASDK**, sign in to the physical host.&#x20;

#### CERTIFICATES

* Azure stack certification authority certificate file (AzureStackCertificationAuthority.cer)
  * Refer [AzureStack Certification Authority certificate](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/master/installation/prerequisites/get-azurestackcertificationauthority.cer) to retrieve this certificate. You will need PEP endpoint credentials to run this script.  &#x20;
* Certificate (\*.pfx)

  * For **integrated systems** (i.e. multi-node), a .pfx certificate is required. Refer to [MSM PKI Certificate Requirements](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/master/installation/prerequisites/msm-pki-certificate-requirements) for more details.
    * Place the file in **Cert** folder inside the install location (c:\CloudAssert\VConnectMSM). Unblock the .pfx file. Select the file, Right click -> Properties -> Unblock.
  * For **ASDK**, certificate is generated as a part of the deployment. Password for the .pfx certificate should not contain the following characters: ^ \` \~ & % \*

**POWERSHELL & TOOLS**     &#x20;

* Install [Powershell AzureRM module for Azure Stack Hub](https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-powershell-install?view=azs-2002) (choose version based on the guidance below)
  * Ensure that Azure Stack PowerShell version 1.8.0 is available for Azure stack version 1910 and Azure Stack PowerShell version 1.8.1 for Azure stack version 2002.
  * Ensure there is **ONE** version of PowerShell installed to avoid errors during installation
