Skip to main content

Azure Site Recovery (Day 30 of 31)

List of all posts from this series: http://vunvulearadu.blogspot.ro/2014/11/azure-blog-post-marathon-is-ready-to.html

Short Description 
Azure Site Recovery offer us a way to manage and control the replication and recovery actions of our machines. We have the ability to replicate our entire data center. Using this service you can replicate your datacenter on Azure, without having to reverse resources in advance.


Main Features 
Hybrid Solution
You have the ability to replicate virtual machines that are on on-premises data centers on Azure or on another hosting providers.
Custom Replication Policy
You have the full control to the policies that are used to create the replications. In this way we can manage the replications use cases.
Cross-Technologies 
Site Recovery is not adding another replication mechanism over existing one. It is only the orchestration over the existing one. Technologies like SQL Server AlwaysOn, System Center, SAN or Hyper-V can be used.
Ability to set Azure as disaster recovery site
Having a second site for disaster recovery can be extremely expensive. Using Azure as the second site for recovery purpose we can keep the cost at a low level.
Real time health monitoring
Site Recovery monitor the current health of you data centers and virtual machines. In this way you can know what the current state of your system is and what kind of actions you should trigger.
Encrypted Connection and Content
All the communication between your data centers and Azure is encrypted. In this way nobody can still the content that is send over the wire. We also have the ability to encrypted the content that is store on Azure. We will be the only one that can access it.
Recovery Orchestration
Site Recovery allow us to define different actions in a specific order. This feature allow us to recover our system in less time and in the order that we want. The recovery flow that we define run any kind of scripts and can also require human intervention at different steps of the recovery plan.
Site for on-premises or hosted on Azure
Azure Site Recovery can be used not only for on-premises sites. We can also use this for recovery plans for sites that are hosted on Microsoft Azure.

Limitations 
The only thing that could create problems is the location where meta-data are stored when we replicate on-premises content to another on-premises location. In this use case the meta-data is stored on Azure Site Recovery (on cloud). It is normal to send meta-data to this location because Site Recovery orchestrate all the actions, but people may say that we increase the risk of a failure during the recovery action because we have another node that may fail.

Applicable Use Cases 
Below you can find some use cases when I would use Azure Site Recovery.
On-premises Site
When you have a site on-premises and you need a good recovery plan you can use without any kind of problem Azure Site Recovery to replicate your content on Azure. In this if something goes wrong with your on-premises site you will be able to recover it from Azure.
On-premises Site in Life Care industry
Because of strict regulations in life care many countries don’t allow companies to store data the country itself (patients information for example). In this scenarios we could use Azure Site Recovery to orchestrate the recovery plan on another data center from the same country (region).

Code Sample 
-

Pros and Cons 
Pros

  • Encrypted Content
  • Encrypted Connection
  • Works with on-premises sites
  • 99.9% SLA
  • Support multiple technologies

Cons
-

Pricing 
If you calculate the costs of Azure Site Recovery you should take into account the following:

  • Number of instances that you want to protect
  • Storage Size
  • Storage Transactions count 
  • Outbound traffic (from Azure data centers)


Conclusion
Azure Site Recovery in combination with Azure Backup can be an interesting solution when we want to create a system where data is not lost and recovery can be made simple and easy.

Comments

Popular posts from this blog

How to check in AngularJS if a service was register or not

There are cases when you need to check in a service or a controller was register in AngularJS.
For example a valid use case is when you have the same implementation running on multiple application. In this case, you may want to intercept the HTTP provider and add a custom step there. This step don’t needs to run on all the application, only in the one where the service exist and register.
A solution for this case would be to have a flag in the configuration that specify this. In the core you would have an IF that would check the value of this flag.
Another solution is to check if a specific service was register in AngularJS or not. If the service was register that you would execute your own logic.
To check if a service was register or not in AngularJS container you need to call the ‘has’ method of ‘inhector’. It will return TRUE if the service was register.
if ($injector.has('httpInterceptorService')) { $httpProvider.interceptors.push('httpInterceptorService&#…

ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded

Today blog post will be started with the following error when running DB tests on the CI machine:
threw exception: System.InvalidOperationException: The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information. at System.Data.Entity.Infrastructure.DependencyResolution.ProviderServicesFactory.GetInstance(String providerTypeName, String providerInvariantName) This error happened only on the Continuous Integration machine. On the devs machines, everything has fine. The classic problem – on my machine it’s working. The CI has the following configuration:

TeamCity.NET 4.51EF 6.0.2VS2013
It seems that there …

Run native .NET application in Docker (.NET Framework 4.6.2)

Scope
The main scope of this post is to see how we can run a legacy application written in .NET Framework in Docker.

Context
First of all, let’s define what is a legacy application in our context. By a legacy application we understand an application that runs .NET Framework 3.5 or higher in a production environment where we don’t have any more the people or documentation that would help us to understand what is happening behind the scene.
In this scenarios, you might want to migrate the current solution from a standard environment to Docker. There are many advantages for such a migration, like:

Continuous DeploymentTestingIsolationSecurity at container levelVersioning ControlEnvironment Standardization
Until now, we didn’t had the possibility to run a .NET application in Docker. With .NET Core, there was support for .NET Core in Docker, but migration from a full .NET framework to .NET Core can be costly and even impossible. Not only because of lack of features, but also because once you…