Link to home
Start Free TrialLog in
Avatar of ggntt
ggnttFlag for Ireland

asked on

Need to get registration key for Azure Site Recovery

Hi Experts,

We have a client that we set up with Azure Site Recovery. The agent needed an update on two Servers.
When the updates for the Azure Site Recovery Unified Setup was at step three, it was looking for the Registration key for both servers. They ones we have from initial setup, are too old according to the set up.

I cannot find on the Azure Portal to download a new key.

Where normally I would find a radio button on the 'server' window to download the key (like on another customer portal, it is not there on this customer.

Is there away to download the key via PowerShell (not and expert on PS) or would the area to download it be in another part of the Azure GUI/portal.

See attached

-Thanks

GNS
ASR-unified-setup.PNG
Yes-radio-button-on-another-customer.PNG
No-radio-button-on-one-customer.PNG
Avatar of Dr. Klahn
Dr. Klahn

The agent needed an update on two Servers.

"Needed" -- to me -- means that the software was not functional without the update.  Is that the case?

If not, revert back to to the old configuration via the last full backup.  This will tide you over while investigating the possibilities.
ASKER CERTIFIED SOLUTION
Avatar of ggntt
ggntt
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ggntt

ASKER

Dear Partner,

Thanks for your patience. This is Matthew.

Based on my research, to set up the source environment, you add Hyper-V hosts to a Hyper-V site, download, and install the Azure Site Recovery Provider and the Azure Recovery Services agent, and register the Hyper-V site in the vault.
In Prepare Infrastructure, click Source.
Click +Hyper-V Site, and specify the name of the site created in the previous tutorial, ContosoHyperVSite.
Click +Hyper-V Server.
Download the vault registration key. You need this key to run Provider setup. The key is valid for five days after you generate it.


Please check if you can find the key in the area above. For more information, please check the link below:
https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-tutorial

Also, you can check the link below to using the PowerShell to deploy the configure the ASR.
https://chinnychukwudozie.com/2017/10/04/automate-the-deployment-and-configuration-of-site-recovery-for-hyper-v-to-azure-with-powershell/
Note: This is a 3rd party link, just for reference.

From the link above, we can see the following content:
#Generate and download a registration key for the new Hyper-V site
Install-ASRProvider -Vault $Vault -SiteName $SiteName -ServerFriendlyName $ServerFriendlyName -SiteIdentifier $HyperVSite.SiteIdentifier
Start-Sleep -Seconds 60
#Verify the registration completed successfully
Get-AzureRmSiteRecoveryServicesProvider -FriendlyName $ServerFriendlyName -Fabric (Get-AzureRmSiteRecoveryFabric -Name $HyperVSite.FriendlyName)

Hope the above information helps.
Best regards,
Matthew Lu
 
Microsoft Partner Support Community Technical Support Engineer
Microsoft Global Partner Services
---------------------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.