未加星标

VMware & Azure Site Recovery Part 3: Replicating VM’s

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

This is the third instalment of my VMware and Azure Site Recovery series. In thelast two posts I covered how to prepare for the service and installing the components within the cloud and private infrastructure to setup ready to make magic happen!

In this post, I’m going to go through client installation for a windows and linux box and setup replication jobs via the ASR interface online.

This process can be achieved in a number of ways: the Process Server can push out the client to servers you want to protect, you can install centrally (SCCM, GPO, Puppet, etc) or you can install manually. I decided to install it via the Process Server for the Windows server (this requires an account with local admin) and for the Linux server I installed manually as I didn’t trust the automated mechanism and the permissions model I have for Linux at work isn’t easy to have an account that isn’t root install things. (Easy life).

Windows Client:

1. Within the online ASR portal, via Site Recovery. Select a source of replication (vCenter Server and Process Server already configured).


VMware & Azure Site Recovery   Part 3: Replicating VM’s

2. For target, set the right accounts and then select the network that you want to fail-over into (as created previously).


VMware & Azure Site Recovery   Part 3: Replicating VM’s

3. Select a VM that you want to replicate from your inventory list. This is pulled directly from the vCenter Serve via the Process Server.


VMware & Azure Site Recovery   Part 3: Replicating VM’s

4. On the configuration properties, select the account that has permissions. In my case, the “AD VC PoC Account” is an account with vCenter permission and is also configured as local admin via GPO for this box. Purely for PoC purposes.


VMware & Azure Site Recovery   Part 3: Replicating VM’s
5. Select your replication policy for the VM. For me this was the default policy I created earlier.
VMware & Azure Site Recovery   Part 3: Replicating VM’s
6. Important! Before you proceed to step 7. Make sure the firewall on your server is set to allow traffic through from the process server or the next steps will fail! You need: Firewall & Print Sharing,
VMware & Azure Site Recovery   Part 3: Replicating VM’s
VMware & Azure Site Recovery   Part 3: Replicating VM’s

7. Last step is to enable replication.


VMware & Azure Site Recovery   Part 3: Replicating VM’s
8. Now the Process Server will contact the server and install the right components (agent) and enable replication.
VMware & Azure Site Recovery   Part 3: Replicating VM’s
9. After about 15 minutes, the installation should be complete! Replication should now start up.
VMware & Azure Site Recovery   Part 3: Replicating VM’s
Linux Client:

The Linux client requires two installs. One is the agent that talks/registers to the Process Server on site, the other is the replication agent.

1. On the process server get the appropriate Linux Agent file from: F:\Program Files (x86)\Microsoft Azure Site Recovery\home\svsystems\pushinstallsvc\repository and SCP it to the Linux box.


VMware & Azure Site Recovery   Part 3: Replicating VM’s
2. Navigate to your Process Server C:\ProgramData\Microsoft Azure Site Recovery\private . Open the “connection” file and copy the phrase down.
VMware & Azure Site Recovery   Part 3: Replicating VM’s
3. Unzip the installer and also create a “passphrase.txt” file and insert your passphrase.
VMware & Azure Site Recovery   Part 3: Replicating VM’s
4. Install/Register the agent from the zip file: ./install -t both -a host -R Agent -d /usr/local/ASR -i "IP_OF_PROCESS_SERVER" -p 443 -s y -c https -P "PASSPHRASE.TXT"
VMware & Azure Site Recovery   Part 3: Replicating VM’s
5. Download the latest “WALinuxAgent” for replication to your Linux Box. wgethttps://github.com/Azure/WALinuxAgent/archive/master.zip
VMware & Azure Site Recovery   Part 3: Replicating VM’s
6. Unzip the file
VMware & Azure Site Recovery   Part 3: Replicating VM’s
7. Install and register the replication service: pythonsetup.pyinstall --register-service
VMware & Azure Site Recovery   Part 3: Replicating VM’s
8. Check that services are running: ps -ef | grepwa
VMware & Azure Site Recovery   Part 3: Replicating VM’s
After some private->cloud replication time (process server refresh) it should be possible to select the Linux VM from your inventory and replicate it, similar to how the Windows Server above was configured minus the agent push.

I’m going to stop the post here and leave the replication/test fail-over for another post which should be the final one. The good thing about ASR is that once configured correctly it provide a “Test DR/Fail-over” option where you can run multiple simulations whilst maintaining replication!

Until next time!

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

分页:12
转载请注明
本文标题:VMware & Azure Site Recovery Part 3: Replicating VM’s
本站链接:http://www.codesec.net/view/521536.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(25)