Installing Standalone Sentry on Microsoft Azure

NOTE: The following instructions are specific to an installation using Microsoft Azure Cloud Shell bash commands. If you are working from a Mac, Linux, or Windows machine see the Microsoft Azure documentation for creating a VM Instance from a VHD using Azure CLI.
IMPORTANT: The .vhd filenames are examples. For the correct .vhd filename for this release, see the Standalone Sentry release notes for this release.

Before you begin 

1. See Before you begin Standalone Sentry installation on Microsoft Azure.
2. Modify the json parameter file:
a. Change the value of "adminPassword".
b. Change the value of "storageAccountName". You will use this value in the installation steps.

Example: daredevil78

c. Change the value of "vhdName". You will use this value in the installation steps.

Example: sentryblobV920.vhd

3. For installation using Cloud Shell, upload the template file and parameters file as described in:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy-cli#deploy-template-from-cloud-shell

Procedure 

 

Task

Enter Azure CLI command

1.  

Create resource group

az group create -n ResourceGroupName -l Location

Example:

az group create -n "daredevil" -l "westus"

2.  

Create storage account

az storage account create --resource-group ResourceGroupName --location Location --sku Standard_LRS --kind Storage --name StorageAccountName

Example:

az storage account create --resource-group daredevil --location "westus" --sku Standard_LRS --kind Storage --name daredevil78

3.  

Create container inside storage account

az storage container create -n copiedvhds --account-name StorageAccountName

Example:

az storage container create —n copiedvhds --account-name daredevil78

4.  

Copy vhd to copied vhds folder

az storage blob copy start -u URI location of VHD -c copiedvhds -b VHD name --account-name StorageAccountName

Example:

az storage blob copy start -u "https://mobileironsentry.blob.core.windows.net/mobileironsentrycontainer/sentry-mobileiron-9.2.0-17.vhd" -c copiedvhds -b sentryblobV920.vhd --account-name daredevil78

5.  

Vhd copy status

az storage blob show --container copiedvhds --name VHD name --account-name StorageAccountName

Example:

az storage blob show --container copiedvhds --name sentryblobV920.vhd --account-name daredevil78

IMPORTANT: Proceed to the next step only if the status is success.
6.  

Installing the vhd

az group deployment create --name dd1srikanth --resource-group ResourceGroupName --template-file clouddrive/templates/deploymentFile.json --parameters clouddrive/templates/parameterfile.json

Example

az group deployment create --resource-group daredevil --template-file clouddrive/templates/singleInstanceVMv2_d.json --parameters clouddrive/templates/singleInstanceVM.parametersV2d.json

Next steps 

Go to Setting the initial configuration of Standalone Sentry installed on Microsoft Azure.