Link to home
Start Free TrialLog in
Avatar of edaj6
edaj6Flag for Denmark

asked on

How to setup file recover from a SAN snapshot in cluster


I am trying to recover a file from a snapshot on my iSCSI SAN, Equallogic 4000. I have to Windows 2008R2 in a cluster connected to the SAN.

I am able to setup a fileserver on one HyperV node, and have the files on a LUN on the SAN. I can make a snapshot of the LUN and connect to the snapshot no problem. But when I try to set this up on the cluster, I can not connect to the drive from windows or the cluster manager.

The LUN is connected with iSCSI initiator on a windows 2008R2 server. In the server manager the disks are in reserved mode and I can not "Change drive letter and paths" on the drive. Am I doing something wrong, or is it not possible to connect to a snapshot while connected to the volume it is a snapshot of?

The snapshot is read/write and allows multiple connection.
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

It might be possible to connect to the snapshot from a cluster node, but I would think that it would be a lot easier to do it from a different machine altogether. For example, add your PC to the ACL of the LUN for access to the snapshots only. You can them mount the snapshot to your PC.
Avatar of edaj6

ASKER

The SAN and cluster nodes are on dedicated switches, no other servers/pc's/vm can connect to the LUN's. I can only connect to the web management from my pc. I thought it was better to keep it separated?

Also, I may want to setup the same way to snapshot/recover for Exchange and SQL, then I would need for the cluster nodes or the vm to connect to the LUN. Would it be better to let the vm's access the SAN directly?
ASKER CERTIFIED SOLUTION
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of edaj6

ASKER

I have a cluster with to physical cluster nodes (hv1 + hv2). Hv1 + hv2 and the SAN are connected to switches. Other physical servers (DC) and Vm's are on another VLAN and cannot connect to the SAN.

The file server is a VM on the cluster. The files are stored on VHD's on dedicated LUN's. The cluster node connect to the LUN using iSCSI initiator, and this drive is the mapped to the VM as a "Physical hard disk".
I am trying to restore an earlier copy if a file.

The cluster is not in production right now, I am still testing and open to other solutions. I like the idea of the files being directly on the LUN but I guess this is not supported with failover cluster.

I don't understand how your Vm's connect to the SAN, do they have a virtual NIC for LAN and another for accessing the SAN using iSCSI initiator?

My 2 cluster nodes have 6 NIC's.

SAN1    10.10.1.2
SAN2    10.10.1.3
Parent    10.45.1.233
LiveMigration     10.10.5.2/24 (crossed cable)
Virtual1+Virtual2 teamed

 User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of edaj6

ASKER

Excellent, thanks a lot, just what I needed.

I added the two SAN NIC's to the Vm's and use the LUN directly from VM. Will consider shadow copies on fileserver.