VMware Communities > VMTN > VMware vCenter™ > Site Recovery Manager > Discussions

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
13 Replies Last post: Sep 14, 2009 5:48 AM by jobl
Reply

SRM test with IBM SVC problem

Jun 25, 2009 11:56 PM

Click to view jobl's profile Enthusiast jobl 43 posts since
May 10, 2005

Hi

I am currently setting up SRM with IBM svd and when I try to test my recovery plan I get this error in the logs

2009-06-25 13:04:51.172 'SecondarySanProvider' 2652 trivia 'testFailover' returned <?xml version="1.0" encoding="ISO-8859-1"?> 2 <Response> 2 <ReturnCode>0</ReturnCode> 2 </Response>
2009-06-25 13:04:51.172 'SecondarySanProvider' 2652 info Return code for testFailover: 0 2009-06-25 13:04:51.172 'SecondarySanProvider' 2652 trivia 'Prepare storage for group 'shadow-group-3092' for recovery' took 13.369 seconds
2009-06-25 13:04:51.188 'BeginImageTest-Task' 2652 verbose Error set to (dr.fault.InternalError) { 2 dynamicType = <unset>, 2 reason = "Failed to create group image: unknown exception", 2 msg = "" 2 } --

And natrually the test failes :) Anyone have a idea what can cause it? I have enabled flashcopy at the protection side

Regards

Johan

Reply Re: SRM test with IBM SVC problem Jun 26, 2009 12:48 PM
Click to view JeffDrury's profile Expert JeffDrury 192 posts since
Jul 27, 2007

Did you include "vmware" in the host objects at both sites? This is kind of an off the wall requirement. Also do you have 2x the disk space at the recovery site? I believe flash copy needs to be licensed at both sites. Check out this thread for other gotchas:

http://communities.vmware.com/thread/191626?start=15&tstart=0


Reply Re: SRM test with IBM SVC problem Jun 30, 2009 12:14 AM
in response to: JeffDrury
Click to view jobl's profile Enthusiast jobl 43 posts since
May 10, 2005
Yes, I did add vmware at the host objects and also I did add dubble the disk space at the remote site when I added the flashcopy mappings.
Reply Re: SRM test with IBM SVC problem Aug 25, 2009 7:17 AM
in response to: jobl
Click to view mitchellm3's profile Hot Shot mitchellm3 78 posts since
Jul 21, 2005

Did you ever find a resolution to your problem? We seem to be having the same issue. When initiating a test, it fails when creating a flashcopy. After looking in the storage manager, it appears the flashcopy Vdisks and the mappings are created...but ultimately it fails.

Support said it might fail due to volumes being in a consistancy group but that isn't the case with us. Any suggestions will be greatly appreciated.

Reply Re: SRM test with IBM SVC problem Aug 25, 2009 7:22 AM
in response to: mitchellm3
Click to view jobl's profile Enthusiast jobl 43 posts since
May 10, 2005

Yes I did, I got an updated SRA from IBM which works with tests.. But when I try an real failover it manages to do the mappings and stops the replication, but it fails before the ESX should rescan to find the new disks,I don't know why yet.. I still got an case with IBM about that.


Reply Re: SRM test with IBM SVC problem Aug 25, 2009 7:36 AM
in response to: jobl
Click to view mitchellm3's profile Hot Shot mitchellm3 78 posts since
Jul 21, 2005

Is the SRA that you are using the 1.0.1-2 that is up on the vmware website or did you get an even newer one from IBM.

Thanks.

Reply Re: SRM test with IBM SVC problem Aug 25, 2009 7:45 AM
Click to view CHogan's profile Expert CHogan 523 posts since
May 6, 2005
VMware

Can i ask if you are using two seperate SVC consoles?

We've had some issues using the same SVCC for managing both the protected and recovery sites which went away when we deployed two SVCCs - one for managing each site.

Just a thought

Cormac

Reply Re: SRM test with IBM SVC problem Aug 25, 2009 8:05 AM
in response to: mitchellm3
Click to view jobl's profile Enthusiast jobl 43 posts since
May 10, 2005
I got a new one from IBM, sadly I can't see the version number now.
Reply Re: SRM test with IBM SVC problem Aug 25, 2009 8:06 AM
in response to: CHogan
Click to view jobl's profile Enthusiast jobl 43 posts since
May 10, 2005
Yes we do use two separate consoles. So sadly thats not the problem, but everything that might help me is welcome :)
Reply Re: SRM test with IBM SVC problem Aug 25, 2009 8:09 AM
in response to: jobl
Click to view CHogan's profile Expert CHogan 523 posts since
May 6, 2005
VMware

Can you also confirm that each SVCC is managing only a single SVC cluster.

You don't have both SVCC able to manage both sides of the cluster, do you?

If so, ensure that each SVCC can only manage a single cluster.

Cormac

Reply Re: SRM test with IBM SVC problem Aug 25, 2009 9:20 AM
in response to: jobl
Click to view mitchellm3's profile Hot Shot mitchellm3 78 posts since
Jul 21, 2005

I just opened a software support ticket with IBM. Hopefully they'll come up with something. The SRA we're using is 1.0.1-2 from the vmware website. The release date is 4-27-09. We just started from scratch again with a clean install of SRM and the SRA's. Again, the test fails on the "prepare storage for test" step with a failure to create lun snapshots. Again the FC vdisk and mapping are created...it just fails to start the Flash copy process.

We also just tried a full run thinking maybe it is just haning up on the flashcopy process but the full failover fails as well.

Reply Re: SRM test with IBM SVC problem Aug 25, 2009 11:36 AM
in response to: jobl
Click to view mitchellm3's profile Hot Shot mitchellm3 78 posts since
Jul 21, 2005
Update on the SRA. The IBM SRA on the VMware website from 4/27/09 has known issues with it. In otherwords the test and failover functions don't work. Call your VMware support to get the updated version...not available for download. The one we got that works is 1.0.1.09707. Apparently this version will be released for download when the next SRM is released...so I heard.
Reply Re: SRM test with IBM SVC problem Aug 27, 2009 3:59 AM
in response to: mitchellm3
Click to view CHogan's profile Expert CHogan 523 posts since
May 6, 2005
VMware

Folks,

As I put in a previous posting, this exact same error occurs if you use a single SVC Console to manage both the protected and recovery site.

To address, you need to deploy an SVC Console to manage just a single site.


However, the problem is that this failure does not clean up after itself on the recovery site SVC cluster, and leaves the FlashCopy instance used for the TestFailover hanging around.


So you will have to login to the recovery site SVC cluster, and run the following set of commands:


1. Check if there is there a flashcopy instance currently?
svcinfo lsvdisk
svcinfo lsfcmap

1. Unpresent the flashcopy VDisk from the recovery site ESX (this might have been done by the SRA):
svctask rmvdiskhostmap

2. Stop the flashcopy between the replicated VDisk and the FlashCopy VDisk:
svctask stopfcmap

3. Remove the FlashCopy map:
svctask rmfcmap

4. Remove the FlashCopy VDisk:
svctask rmvdisk


After running these commands, and setting up the SVC consoles to manage just a single cluster instance each, I could successfully run a TestFailover on my SVC environment using the same version of SRA that you are using (Version 1.0.1-2 | Released 04/27/2009).

HTH

Cormac


Reply Re: SRM test with IBM SVC problem Sep 14, 2009 5:48 AM
in response to: CHogan
Click to view jobl's profile Enthusiast jobl 43 posts since
May 10, 2005

I use two SVC consoles and had problems (as stated before :)

About a week ago IBM sent me an new SRA build which fixed my problem.

/Johan

Actions