Quantcast
Channel: VMware Communities : All Content - Site Recovery Manager
Viewing all 2572 articles
Browse latest View live

select an array pair for this protection group.you can only select enabled array pairs that have replicated datastores

$
0
0

select an array pair for this protection group.you can only select enabled array pairs that have replicated datastores,How can i

222png.png


protected vms with no actions available

$
0
0

All protection groups in have "restore placeholder vms" and "configure all" greyed out.  Additionaly, right click on vm has "no action available."

 

There are 6 vCenters in ELM and 2 pairs of vCenter's with SRM, but the client has this issue from every instance of vCenter in ELM.

 

Has anyone ran into this issue before?  If so, please share any resolutions. 

SRM PowerCLI Scripting: Add Test Network Mapping to Recovery Plan

$
0
0

I'm using SRM 8.1 with vCenter 6.5 and i'm trying to script out the mapping of the test network for recovery plans and i'm having issues with getting the correct moref for the recovery network to create the mapping.

 

I'm using PowerCLI 6.5 with Ben Meadowcrofts srm cmdlets.

 

Here is my script:

import-module C:\Windows\System32\WindowsPowerShell\v1.0\Modules\SRM-Cmdlets\Meadowcroft.Srm.psd1

$cred = get-credential

connect-viserver vc-protected.domain.local -Credential $cred | out-null

connect-viserver vc-recovery.domain.local -Credential $cred | out-null

connect-srmserver -remotecredential $cred -credential $cred

$recovplans = Get-SrmRecoveryPlan -name "TEST-PLAN"

$networks=get-virtualportgroup -server vc-recovery.domain.local | select name -unique

Foreach($recovplan in $recovplans){

Foreach($network in $networks){

$morefs=Get-View -ViewType network -Filter @{"Name" = $network.Name} | select moref

$morefs=$morefs.moref

Foreach($moref in $morefs){

$recovplan.addtestnetworkmappingtorecoveryplan($moref,$moref)

}

}

}

 

In the script i'm trying to map the test network to be the same as the recovery network for all networks in a recovery plan.  I thought that i would get the moref of the networks that exist in my recovery site but when i attempted that i got the below error:

 

Exception calling "AddTestNetworkMappingToRecoveryPlan" with "2" argument(s): "Recovery site network does not exist."

At line:7 char:4

+             $recovplan.addtestnetworkmappingtorecoveryplan($moref,$mo ...

+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : VimException

 

Any ideas on how i can get the correct moref for the recovery network?

VMware Site Recovery Manager Standard Licensing

$
0
0

Can someone explain the SRM Standard licensing:

VMware Site Recovery Manager Standard Edition is subject to the following restrictions:

(a) protect up to seventy-five (75) Virtual Machines within a physical facility or building

(b) For each running copy of VMware Site Recovery Manager Standard Edition, manage up to seventy-five (75) Protected Virtual Machines

If at any given time, the number of Protected Virtual Machines in subsections (a) or (b) exceeds seventy-five (75), You are required to upgrade all VMware Site Recovery Manager Standard Edition licenses to VMware Site Recovery Manager Enterprise Edition.

Notwithstanding the foregoing, the SRM Standard Edition Restriction shall not apply if a failover of Protected Virtual Machines causes the number of Protected Virtual Machines to exceed the SRM Standard Edition Restriction within a physical facility or building for a reasonable period of time

 

If you have two sites: one with 74 VMs and one with 45 VMs

Can you still use SRM Standard?

 

Kind regards

Thierry

SRM API - Detach disk programatically

$
0
0

I'm trying to set a VM's Disk (really many VM's with many disks that change frequently) to "Detached" in SRM protection, however I'm unable to determine a programatic way to perform this action. I've scoured the SRM API (using SRM version 8.1.0.4 FYI), but it doesn't look like this is exposed with any method or spec I can find.

 

Using PGadmin, I've drilled into the DB, and found the tables in question, however it looks like there might be some enumerating function at work that I can backward engineer from my vantage point.

 

Has anyone ever tried this? Anyone successful?

 

For those interested/more skilled than I:

postgresdb tables involved (as far as I can tell):

pdr_protectedvm (interested field is excludeddevicekey)

g_int32_array(link to excludeddevicekey)

 

 

Any help would be great, thanks everyone!

Test Recovery Plan Fails with Authenication Message

$
0
0

When I run a rest recovery plan, I get " Failed to authenticate with the guest operating system using the supplied credentials." Some protection groups work, some fail. Where do I start troubleshooting, or is this a common problem with a known solution? Thank you

Get VM's protection status

$
0
0

Has anyone been successful in getting the specific fault/error message from a VM under a protection group?

 

I'm trying to get the message shown in the UI via the API.

 

For Example,

 

I have a VM sitting on ABR storage - this is fine.

 

It's not yet protected and it's assigned to a network that is NOT mapped in SRM (This is by design as a test)

 

When I run the protectVM task via the API, it runs, but when I retrieve the error via the GetResult() method on the task, it simply says:

 

fault             localizedMessage                                           

-----             ----------------                                           

SRM01.MethodFault Unable to protect VM '<MY VM>' due to unresolved devices

 

I want the message that appears in the UI, which currently shows:

 

Mapping missing: Network 'THE MISSING NETWORK PortGroup NAME'

 

Does anyone know how I can get this information instead of the generic "unresolved devices"

 

Is it from the VM protection perspective or something on the protection group?

 

Thanks to all in advance!

Compatibility Issue with Server 2016 and IBM Storwize SRA

$
0
0

Hi, I have an SRM environment that needs updating to Windows Server 2016 and looking at the compatibility guides think I am stuck?

 

Current platform is 2012R2, SRM v6.1  with VCenter 6.0u2a and storage on an IBMv7000 (v7.4.0.1) with Storwize SRA on version 3.2.0

 

If I go to Server 2016 I need VCenter 6.5 minimum with SRM 6.5 or above but the latest IBM SRA available seems to be 3.2.1 which only supports VCenter v6.1 and below. Can anyone suggest an optimal path for  running a Windows Server 2016 supported SRM platform with v7000 storage?

 

Dave


Protect VM with RDM disk in SRM

SRM 6.5 (windows) is not showing up on Vcenter after install

$
0
0

I am trying to get an answer to my issue asap. I've deployed vsphere replication appliance (6.5)  to my prod site and DR site vcenters and I've got replication going.  Then I installed SRM 6.5 to windows VM for each site but SRM plugin is not showing on my Vcenters - both prod and DR sites.  Any suggestion on how to fix this?  VMWare support does not respond within 48 hours unless it is a sev 1 or 2 cases. Any lead is appreciated.

 

Thank you.

device not found: hard disk 2

$
0
0

Hi Gurus

I have replicated a VM that in the protected site has two(2) disks, one of them is an attached RDM, this disk I don't want to replicate to the DR site, so went and made the changes and did not pick the disk (2) to be replicated  , but when I try to add the VM to the Protection Group, I get the error

 

" Device not found: Hard disk 2"

 

any Help gurus

 

Thanks a bunch

vSphere 6.5 U2 SRM Protected & Unprotected VMs participating in replication Script

$
0
0

Hi,

 

My existing vSphere environment:

 

Single SSO domain

x2 sites (protection & recovery)

vCenter 6.5 U2

x2 vRA 8.1.0

x1 SRM 8.1.0

 

I've managed to source a PowerCLI script (see attached) that allows me to pipe out SRM VMs associated with Protection Groups as well as MoRef IDs and SRM info for protected VMs.  That's all fine and dandy, but would like to know which VMs are replicating but do not form part of existing protection groups too?

 

Currently in order for me to determine this, I'd need to run existing script which will pipe out all VMs in protection groups, then grab names of all replicating VMs from SRM console and copy into Excel and clean up before performing various conditional formatting against both lists in order to determine unique VMs which do not feature in PowerCLI script (non PG associated).. All a bit tedious I know. 

 

So was wondering whether there is a single script out there that can pipe out the following attributes from SRM?

 

PoweredState

Version

Notes

Guest

VM Name

NumCPU

CoresPerSocket

MemoryMB

MemoryGB

VMHost

Folder

UsedSpaceGB

ProvisionedSpaceGB

GuestID

ID (VirtualMachine-vm)

 

 

SRM Specific:

 

MoRef

State

PeerState

NeedsConfiguration

ProtectionGroup

Datastore

RPO Settings

Enable point in time instances

Enable guest OS quiescing

Enable network compression for VR data

 

As always thanks in advance.

SRM Historical Configuration Information

$
0
0

Hi All,

 

Today i have disabled VM replication for one the VM ,unfortunately i didn't see which storage policy it was assigned .By any way i can see those information .

SRM 8.1 broken site pair, cannot remove

$
0
0

Hello,

 

I had to reinstall my Site B SRM servers because I forgot the db password. In doing so I didn't break the site pair gracefully. Now I cannot repair the site pair or recreate it, I just get the below error. I have tried from both vCenters/SRM servers. Is there any way to remove this forcefully? (GUI does not work)

 

SRM 6.1 test failover error

$
0
0

Hi,

I'm getting below error when I'm running the test fail over for all the recovery plan.

 

Failed to create snapshot of replica device 000D1. SRA command 'testFailoverStart' failed for device '000D1'. An error occurred while performing testfailover start operation. Please check EmcSrdfSra log file.

 

Below is my setup

 

Main Site:

Vcenter 6.0 (VM)

SRM (6.1) (VM)

SRA (6.2)

SRDF  (VMAX)

 

 

DR SITE:

Vcenter 6.0 (VM)

SRM (6.1) (VM)

SRA (6.2)

SRDF  (VMAX)

 

 

Regards,

Hakim. B


SRM 6.1 with VPLEX

$
0
0

Hi,

 

Please share the procedure to configure SRM 6.1 with VPLEX infrastructure.

 

Regards,

Hakim. B

SRM Planned Migration Fail Back Reprotect Fails

$
0
0

Hi Everyone, I have a SRM 8.1 infrastructure I have been testing the fail over and fail back from Site A to Site B, being Site B my recovery site.

The problem is that sometimes the DRP using the Planned migration runs correct and some times it send me an error message when reprotecting from Site B to Site A: "Operation Failed, VR Synchronization failed for VRM group STMXPTHBD010. Synchronization monitoring has stopped. Please verify replication traffic connectivity between the source hosts anthem target...." I keep thinking that this may be a network problem but when monitoring the network during the DRP execution nothing seems incorrect. Any ideas?

VMware SRM - API for Planned Failover option

$
0
0

Hi,

What my understanding for the Failover  operation (Planned and Unplanned)  from VMware SRM is actually bringing up the VM to other  site. As the same is handled  at VMware SRM UI level individually with two different option.

--

Planned failover attempts to refresh  and sync the last pending delta  to Replicated site and performs operation.

Unplanned Failover is actually to recover VM at Target site from available replicated data.

--

As per SDK documentation, it details only one method to perform but there is no detail for separate option to perform Planned/unplanned Failover operation.

 

Method:

void start(RecoveryPlan.RecoveryMode mode, @version5 @optional RecoveryOptions options)

 

 

Please advise how to handle these individual actions from VMware SRM API.

SRM 8.1 re-registration

$
0
0

Hi to all, For problems of slowness on my inventory I need to disable/clear SRM Plug-.in and this procedure also will clear the SRM/VR registration. For VR I know which steps to register it, but for SRM I don't find anything. Someone has met this? Regards

Migrate placeholder VM from cluster A to cluster B

$
0
0

Placeholder VM is located under the resource pool in the cluster A and the task is migrate the placeholder VM to the resource pool in the cluster B. Is vmotion supported for this operation? And how to change default location for creating new placeholder vm (when I create new protection group in SRM placeholder vm is created under the resource pool in the cluster A).

Viewing all 2572 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>