Biyouk
Contributor
Contributor

Using PowerCLI for Replication Manager and Vsphere 5.1

Hi Everyone

I'm working for a company which has several small offices. These small office requires small virtualized solution. To reduce cost, I'm wondering if we can eliminate the backup locally by enabling Vmware Replication Manager between the local site and our main Data Center. I would like to perform the  backup of the vmdk files directly in the IDC using EMC AVAMAR. This solution can't work without using PowerCLI and I would like to have feedback from PowerCLI Expert.

The replica of the vmdk files in the main Data Center won't be registered in VCenter and EMC Avamar won't be able to perform image level backup of the VM guests. I'm wondering if this algorithm below will work and if it's possible to use Power CLI and Replication Manager to perform the backup :

1) Disable Replication Manager

2) Register the VM guest to VCenter

3) Backup these VM guests Using EMC Avamar

4) Remove the VM Guest from Inventory in VCenter

5) re-enable Replication Manager

I appreciate any feedback

Tags (2)
Reply
0 Kudos
mmarinov
VMware Employee
VMware Employee

Hi,

The general issue here is that vSphere Replication does not have public API. Thus anything related to vSphere Replicaiton operations won't be possible through powerCLI. In specific, disable/enable replication for VM.

The rest of the steps you can automate using the guidence from here http://www.yellow-bricks.com/2012/09/21/can-i-protect-my-vcenter-server-with-vsphere-replication/

As for disable management you could probably think of some tricks with the networking on the target vSphere Replication server. Unfortunately I'm not sure this will be supported.

Martin Marinov VMware Software Engineer If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Reply
0 Kudos