3 Replies Latest reply: Mar 6, 2013 10:13 AM by Ernes Taljic RSS

Mounting replicas un VM on ESXi

mtmmza

I take a snapshot with Replication Manager of 9 LUNS cointaining files of one Phisical SQL Server. Thats works perfect.

 

Now i want to mount than SS LUN's, on a Virtual host running on a ESXi host.

 

In Unisphere I Add the snapshots LUNS to the ESXi Storage Group, but RM says that no Storage Group detected to mount host (Virtual Machine)...

 

Some time ago I resolve this, but I remember that not was a very good solution.

 

How can i resolve this to automate the proccess, because if I had multiple Snapshots to mount, i have to Add manually to Storage Group on Unisphere...

 

Snapshot Mount Points are not usable here, wright????

 

Thanks!

Versions:

ESXi 5.1

RM: 5.4.1

SQL: 2008 Enterprise

 

LOG:

---

06/03/2013 08:13:15 MZ71 Starting mount of the replica created at 05/03/2013 16:11:03 from application set SQL_BT, at time 06/03/2013 08:13:15 on host 172.16.1.71.

06/03/2013 08:13:27 MZ71 Beginning validation of MZ30\MZ30 for sqlserver agent.

06/03/2013 08:13:27 MZ71 Beginning validation of MZ30\MZ30\Bantotal for sqlserver agent.

06/03/2013 08:13:27 MZ71 Start SQL Server mount validation

06/03/2013 08:13:27 MZ71 Mount validation complete with no warnings

06/03/2013 08:13:27 MZ71 End SQL Server mount validation

06/03/2013 08:13:28 MZ71 Verifying software packages and versions. This may take a few moments ...

06/03/2013 08:13:28 MZ71 001515 WARNING: The following software package(s) are installed on the production host 172.16.1.30 but may NOT be installed on the mount host: PowerPath.

06/03/2013 08:13:28 MZ71 Finished verifying software packages and versions.

06/03/2013 08:13:28 MZ71 001515 WARNING: The following software package(s) are installed on the production host 172.16.1.30 but may NOT be installed on the mount host: PowerPath.

06/03/2013 08:13:28 MZ71 Finished verifying software packages and versions.

06/03/2013 08:13:33 MZ71 000162 INFORMATION: Retrieving file RM_DB_Metadata as part of the replication.

06/03/2013 08:13:33 MZ71 000162 INFORMATION: Retrieving file C:\Windows\TEMP\RM_VSS_BCD201336111328919.xml as part of the replication.

06/03/2013 08:13:33 MZ71 000162 INFORMATION: Retrieving file C:\tempUndoDir\Bantotal\Bantotal201335191053.bin as part of the replication.

06/03/2013 08:13:33 MZ71 Acquired resources for mount, restore, or unmount operation.

06/03/2013 08:13:34 MZ71 Beginning to prepare recovery of selected items in MZ30\MZ30 for sqlserver agent.

06/03/2013 08:13:37 MZ71 Importing VSS shadow copy, this operation can take a long time. Please be patient.

06/03/2013 08:13:40 MZ71 Making snap replica LUN MZ71-0011-1956 of source LUN CKM00114700023:00011 visible on mount host MZ71. Please be patient.

06/03/2013 08:14:15 MZ71 000382 ERROR: For physical host: No storage group could be located for host MZ71 on storage array CKM00114700023. Add a storage group for MZ71 with at least one LUN from CKM00114700023. For virtual host: Snapshot devices and clones need to be pre-exposed to the virtual machine.

06/03/2013 08:14:16 MZ71 000509 ERROR: Failed to enable one or more replication devices on the mount host. Replication devices that could be enabled will now be disabled.

06/03/2013 08:14:16 MZ71 026223 ERROR: An unexpected internal error occurred: SS_base: executeMount_implementation: failed to import shadow copy.

06/03/2013 08:14:16 MZ71 Trying to disable all the replication devices that were enabled during the previous operation.

06/03/2013 08:14:18 MZ71 Making snap replica LUN MZ71-0011-1956 of source LUN CKM00114700023:00011 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:19 MZ71 Making snap replica LUN MZ71-0012-1956 of source LUN CKM00114700023:00012 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:20 MZ71 Making snap replica LUN MZ71-0013-1956 of source LUN CKM00114700023:00013 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:22 MZ71 Making snap replica LUN MZ71-0014-1956 of source LUN CKM00114700023:00014 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:23 MZ71 Making snap replica LUN MZ71-0015-1956 of source LUN CKM00114700023:00015 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:25 MZ71 Making snap replica LUN MZ71-0018-1956 of source LUN CKM00114700023:00018 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:26 MZ71 Making snap replica LUN MZ71-0019-1956 of source LUN CKM00114700023:00019 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:27 MZ71 Making snap replica LUN MZ71-0020-1956 of source LUN CKM00114700023:00020 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:29 MZ71 Making snap replica LUN MZ71-0021-1956 of source LUN CKM00114700023:00021 not visible on mount host MZ71. Please be patient.

06/03/2013 08:14:29 MZ71 026084 ERROR: Storage Services operation ExecuteMount failed with an error as follows: Storage Services has terminated with an error.

06/03/2013 08:14:29 MZ71 Shared resources are now available for another mount restore or unmount operation.

06/03/2013 08:14:29 MZ71 026084 ERROR: Storage Services operation processExecute failed with an error as follows: Storage Services has terminated with an error.

06/03/2013 08:14:29 MZ71 Beginning shutdown of MZ30\MZ30 for sqlserver agent.

06/03/2013 08:14:29 MZ71 Beginning shutdown of MZ30\MZ30\Bantotal for sqlserver agent.

06/03/2013 08:14:29 MZ71 000149 ERROR: Mount failed. Performing undo of storage operations.

06/03/2013 08:14:33 MZ71 026192 ERROR: Function getHostDevice failed with an error as follows: No host device could be found for CKM00114700023:MZ71-0021-1956. Please consult the Replication Manager documentation for a list of possible causes and resolution steps.

06/03/2013 08:14:33 MZ71 026084 ERROR: Storage Services operation UndoMount failed with an error as follows: Storage Services has terminated with an error.

06/03/2013 08:14:33 MZ71 000071 ERROR: The mount activity has failed.

06/03/2013 08:14:33 MZ71 026192 ERROR: Function getHostDevice failed with an error as follows: No host device could be found for CKM00114700023:MZ71-0021-1956. Please consult the Replication Manager documentation for a list of possible causes and resolution steps.

06/03/2013 08:14:33 MZ71 026084 ERROR: Storage Services operation UndoMount failed with an error as follows: Storage Services has terminated with an error.

06/03/2013 08:14:33 MZ71 000071 ERROR: The mount activity has failed.

06/03/2013 08:14:33 MZ71 026192 ERROR: Function getHostDevice failed with an error as follows: No host device could be found for CKM00114700023:MZ71-0021-1956. Please consult the Replication Manager documentation for a list of possible causes and resolution steps.

06/03/2013 08:14:33 MZ71 026084 ERROR: Storage Services operation UndoMount failed with an error as follows: Storage Services has terminated with an error.

06/03/2013 08:14:33 MZ71 000071 ERROR: The mount activity has failed.

06/03/2013 08:14:34 MZ71 102023 ERROR: The mount of replica from application set SQL_BT created at 2013 03 05 16:11:03 to host 172.16.1.71 failed.

---

  • 1. Re: Mounting replicas un VM on ESXi
    Ernes Taljic

    You have to add the snapshots to the mount VM as RDM Physical devices. At that point you'll be able to mount the snapshots using RM.

     

    Correct, SMPs are not applicable here. RM does not work with VNX Snapshots; it only works with Snapview Snapshots and that's why SMPs are not applicable.

     

    If you want to truly automate this solution attach the mount VM to the array via software iSCSI. In this case the VM will be acting like a stand-alone host directly attached to the array via software iSCSI. Otherwise you have to add the snapshots to the storage groups, attach the snapshots as RDM Physical devices to the VM and perform the mount within RM.

  • 2. Re: Mounting replicas un VM on ESXi
    mtmmza

    I Understand...

     

    I will tray to do a HBA passtrough on VMware, and manage one hba directly from VMachine, then register this host in VNX and create a Storage group for this host....

     

    Thanks a lot.

     

    Diego Santoni

  • 3. Re: Mounting replicas un VM on ESXi
    Ernes Taljic

    Might be easier just to configure Microsoft iSCSI initiator if you have iSCSI ports on the SPs. Either way will work though; the way you stated or by configuring Microsoft iSCSI