<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


Review - Opsgility Lab: Implementing Azure Site Recovery – Azure to Azure

MSDN subscriptions are now called Visual Studio Subscriptions. One of the benefits you get with the annual Visual Studio Subscriptions is access to the Opsgility Azure training website. With the free Visual Studio Dev Essentials program, you get access for a shorter duration. I found their course catalog impressive. I especially found their Labs feature interesting and finished one today -

Lab: Implementing Azure Site Recovery – Azure to Azure
In this lab, you will configure Azure Site Recovery to protect a sample n-tier application by configuring replication from the source Azure region to a target Azure region. Once the initial replication has completed and the application is protected, you will perform a test fail over and validate application functionality. Finally, you will accomplish the cleanup of the test failover resources.

A lab is no fun if it goes smoothly. I encountered the following error after I chose South India as the location for deploying the sample application through an ARM template -

az group deployment create --name "CloudShop" --resource-group "CloudShopRG" 
--template-uri 
"https://raw.githubusercontent.com/opsgility/lab-support-public/master/cloud-shop-single-web-server/CloudShopRG.json" 
Deployment failed. 
{ "error": 

 "code": "SkuNotAvailable", 
 "message": "The requested size for resource '/subscriptions/zzz/resourceGroups/CloudShopRG/providers
/Microsoft.Compute/virtualMachines/SQLVM-1' is currently not available in location 'southindia' for subscription 'zzz'. Please try another size or deploy to a different location. See https://aka.ms/azureskunotavailable for details." 
 } 
}


It turned out that the specific VM SKU referenced in template isn't available in the Azure South India data center. I wonder if there is a way to check for availability of services in a chosen Azure location prior to running the script  & preempt execution errors.

This Lab provided good guidance & I'll be going back to try out more.

Labels:

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment