Administrator Guide
Parameter Name Description
AzureRegion The region in which the Azure backup vault must be created, for example West US. For a list of regions, see http://
azure.microsoft.com/regions/.
StorageType The storage type to use for the backup vault. Permitted values are:
• Geo Redundant
• Locally Redundant
For more information, see https://azure.microsoft.com/documentation/articles/storage-redundancy/.
Passphrase An alpha-numeric string of at least 16 characters that is used as an encryption key.
NOTE: You must store this key somewhere. You will need it if you ever have to rebuild the DPM server.
5 Open a Windows PowerShell session, and then run the following script. First, replace the variable values.
cd "C:\Program Files\Microsoft Cloud Solutions\DeployDriver\BackupDeployDriver"
$DomainUsername = <
username
>
$DomainPassword = <
password
>
$DomainCredential = New-Object System.Management.Automation.PSCredential ("$DomainUsername",
(ConvertTo-SecureString -String $DomainPassword -AsPlainText -Force))
$AzureRegion = "<
AzureRegion
>"
$Passphrase = <
Passphrase
>
$StorageType = "<
StorageType
>"
.\BackupAzureOnboarding.ps1 -DomainCredential $DomainCredential - -AzureRegion $AzureRegion -
Passphrase $Passphrase -StorageType $StorageType
6 When prompted for Azure credentials, enter those, and click Continue.
7 After this script completes, log o the Console VM, and then log back on using an account that is a member of the <
Prex
>-Ops-
Admins group.
NOTE
: If you receive an error, see Troubleshooting "Set-DPMCloudSubscriptionSetting” or “Start-
DPMCloudRegistration” errors.
8 Open the Windows Azure Pack management portal for administrators, and run the Protect-ManagementComponents runbook. This
enables online protection for all the management VMs and databases.
9 When you are done, disable the local Administrator account on the Console VM. At a command prompt, run the following command:
net user administrator /active:no
Troubleshooting "Set-DPMCloudSubscriptionSetting” or “Start-
DPMCloudRegistration” errors
You may receive either of the following error messages when you run the BackupDeployDriver.ps1 script:
• Set-DPMCloudSubscriptionSetting : The current operation failed due to an internal service
error [0x38276]. Please retry the operation after sometime. (ID: 100066)
• Start-DPMCloudRegistration : The service encountered an internal error.
(ID: 130043)
Retry the operation after some time. If the issue persists, contact
Microsoft Support.
At Configure-BackupToAzure:1027 char:1027
62
Operations