VMware Cloud Community
houghtonj
Contributor
Contributor

SRM fails to delete Snapshots at the conclusion of Testing a recovery plan

Environment is as follows:

HP EVA 4400 replicated to HP EVA 6100

ESX 3.5 U4

SRM 4.0

The production ESX environment is housed on the EVA4400 which is replicated to the 6100 via continuous access. All recovery plans (testing and execution) function as expected when moving from the 4400 to the 6100.

After performing the failover via SRM to the EVA6100, and all steps noted in the SRM Admin Guide were performed to prep for a failback using SRM to the EVA4400. The recovery plan tests executed without any problems, however if run a second time would fail. After looking at the EVA, it was apparent that SRM did not delete the snapshots which it created during the first test. The SRM logs indicated that it was successful however when looking at the EVA adapter log, and at the EVA itself, it was noted that the snapshot could not be deleted as the LUN was presented to a host.

As I mentioned, there were no issues with running the test plans going the other way and snapshots were created, presented, unpresented, and deleted without any problems by SRM. There isn't much to configuring the EVA adapter or SRM down to this detail so I'm not sure of where to go from here. I'm not an EVA expert but would assume that there may be a problem on the 4400 that is preventing the SRM XML scripts from completing, or perhaps there are are some incompatibilities between the scripts that SRM is using with the 4400?

Any ideas would be appreciated. Below is the excerpt from the hpsrmeva.log.

:GetAPI indicates support for CV

:In GetApi m_pCVApi is[00858290]

:The retry count is set to

:CVCReturnCode OF CVAPI_CommandEx is[0]

:CVAPI_CommandEx returns success and response is valid

:Response buffer received from CV: START

:08000710B4080560B7840E000060000000000300</u

:d><ho

:r>15<drmlice

:sed>true<objecthex

:id>6005-08b4-0006-9441-0000-c000-0002-0000NsaXMLInterface::GetProperties - Object Properties fetched

:

:Response buffer received from CV: END

:returned with statusCode[http://0 - Command completed successfully.|http://0 - Command completed successfully.]

:[EVA4400]: Current State

:[EVA4400]: New State

:Info: previously created SRM snapshot found

:Info: Snapshot belongs to input LUN

:Info: Deleting \Virtual Disks\1\VMFS\ESX02\HP_SRM_SNAP-LUN-06Oct09 14.55.56

:GetAPI indicates support for CV

:In GetApi m_pCVApi is[00858290]

:The retry count is set to

:CVCReturnCode OF CVAPI_CommandEx is[0]

:CVAPI_CommandEx returns success and response is valid

:Response buffer received from CV: START

:NsaXMLInterface::E

:ecuteXMLCommand - XML validated.

:Response buffer received from CV: END

:returned StatusCode[http://600019 - Error cannot delete object.|http://600019 - Error cannot delete object.] -- NsaStatus[42 - Logical disk Presented]

:Error: Could not delete \Virtual Disks\1\VMFS\ESX02\HP_SRM_SNAP-LUN-06Oct09 14.55.56. Aborting testFailover operation

0 Kudos
0 Replies