Windows Azure VM Role Note

VM Role

            -GreatControl VM Level, To migrate existing application

            -hosted onwindows image

VM Role is PaaS

The first thing to note about the VM role in its current formis that it is not considered infrastructure as aservice.

This makes sense when you consider the Azure Fabric—the Fabric Controller can bring down any role instance at anytime, for many good reasons,including hardware failure, Host OS updates, oreven to gain hardware efficiencies in the data center. In addition, the nodes sit behind a round-robin load balancer. This is whatmakes Azure strong as a PaaS provider.

 

Since the nodes sit behind a round-robin load balancer, In order tomaintain the Azure SLA,You will need at least two instances of your roledeployed

This has several architectural impacts, including the following:

• State management. Because there are two instances runningbehind a roundrobin

load balancer, you will need to store runtime stateinformation outside the

VM. Windows Azure Caching is a good candidate for this.

 

File management: Files will also need to be maintainedoutside the VM. Because

the load balancers route requests in a round-robin fashion,the file systems on

each compute instance will quickly become dissimilar andfragmented unless files

are stored centrally. If the files are read-only files, thenWindows Azure Drives are

a great solution. Otherwise, consider using Azure blob storage. Because if has read/write, Azure Drives is durable but only for one instance, it cannot maintain all Drives to be sync.


VM Role Use Case
                -One would be anapplication that requires many other products to be installed to run correctly
                                -take time
                                -not support insilence mode
                -Long runningapplication installations
                -Error-proneapplication installations
                -Applicationinstallations requiring manual interaction

                               
So, what this means today is that VM role is notwell suited to running stateful server applications.
Obviously, you wouldn’t want to install ActiveDirectory to a VM role, but applications like SQL Server
and Oracle are also not good candidates at thispoint.
               
At a high level, there are the following threesteps to deploying a VM to Windows Azure:
1. Create a base image in Hyper-V.
2. Apply sysprep.exe.
3. Upload to Windows Azure. 

Features Missing in VM Role compare with Web/Worker Role

            -Automated,Consistent OS servicing      

Lifecycle of VM Role

            -Build VMImage

                        -WindowsServer 2008 R2, create Base.VHD

                        -CustomizeVHD

                                    -Installsoftware

                                    -WindowsPatches

                                    -CustomerApplication

                                    -KeyPiece:Windows Azure Integration Component (communicate with fabric controler)

                                    -SaveDiff.VHD

                        -Uploadto Blob Storage

                        -Installto VM Instance

            -CreateService; Test Locally

            -Upload VMImage

            -DeployService

            -MaintainService

            -UpgradService

           

The operating system that is installed on the base VHD canbe one of the following:

Windows Server 2008 R2 Enterprise (English only)

Windows Server 2008 R2 Standard (English only)

 

Deployment Pattern

            -HighPerformance Computing

                        -e.g.:MediaEncoding Software

            -Migratingexisting application

                        -e.g.:LegacyJava/Tomcat Web app + Windows Azure Connect + On-premise SQL Server

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值