Host-based backup of VMware vSphere VMs.
Post Reply
Archvile
Novice
Posts: 6
Liked: never
Joined: Jan 11, 2011 10:41 am
Full Name: Alexander Zorin
Contact:

Best practice to backup pRDM with Veeam

Post by Archvile »

Hi !

We have VMs with physical mode RDMs (Veeam 4.1, ESX 4.0, IBM DS4700 array).
We don't want to use IBM's FlashCopy/VolumeCopy (due to its price); we want
to backup storage array with Veeam. Can we perform "LUN-level" or "block-level"
backups with Veeam ? What would you recommend as best practice for centralized
backup of VMs with physical RDMs as well as standalone LUNs ? Or partition-level
backup is the only option ?

Thanks !
tsightler
VP, Product Management
Posts: 6009
Liked: 2842 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Best practice to backup pRDM with Veeam

Post by tsightler »

Physical RDM's don't support snapshots, so they are a "no-go" with Veeam. Veeam is a VM level backup product so it depends on VMware snapshots to work.
Alexey D.

Re: Best practice to backup pRDM with Veeam

Post by Alexey D. »

Hello Alexander,

Tom is right. Maybe, migrating to virtual RDMs could be an option for you?
Archvile
Novice
Posts: 6
Liked: never
Joined: Jan 11, 2011 10:41 am
Full Name: Alexander Zorin
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Archvile »

Thanks for replies ! Now I've got the point about snapshot

I was confused about veeam's ability to copy files directly from ESX/linux - my logic was
"if it can access linux FS, maybe it can access /dev/sdb, umount it from pRDM file and dd
it while VMs are freezed and there is no I/O"
Alexey D. wrote:Hello Alexander,
Tom is right. Maybe, migrating to virtual RDMs could be an option for you?
Probably, not. As I suppose, virtual RDM does not support SPC-3 (we need to use persistent reservations with Win2008 Failover Cluster).
Gostev
Chief Product Officer
Posts: 31457
Liked: 6647 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Gostev »

Archvile wrote:"if it can access linux FS, maybe it can access /dev/sdb, umount it from pRDM file and dd
it while VMs are freezed and there is no I/O"
VM stays frozen for only about one second (this is when the snapshot is created), this time is of course not enough to copy the whole disk :D
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Replicating VM with physical RDM

Post by Daveyd »

[merged]

I am in the process of building new 2008 R2 VMs on an ESXi 5.0 cluster that will have their OS drive on a vmfs datastore and their Data drives mapped via a physical RDM. We want to replicate the VMs to another ESXi 5 cluster but only want to replicate the VM and the OS drive and not the phyiscal RDM. Is this possible with Veeam replication with an exclusion?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Vitaliy S. »

Hi Dave,

While you can certainly exclude disks from actual backup, VMware does not provide ways of excluding disk from snapshots, so it will not be possible to process this VM at all unless you decide to switch to vRDM disk.

Thanks!
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Daveyd »

Vitaliy S. wrote:Hi Dave,

While you can certainly exclude disks from actual backup, VMware does not provide ways of excluding disk from snapshots, so it will not be possible to process this VM at all unless you decide to switch to vRDM disk.

Thanks!
So, if I were to mount the RDM as virtual, I would then be able to exclude the vRDM from being replicated, correct?

We currently use Bridgehead software to do ISB/IDR clones, (fracture/copy) of the LUNs that are physical servers are on. We want to move theses LUNs to the new VMs as their Data drives and replicate the VM, exclusing theses drives as long as mounting the drives in virtual mode does not break any one the SAN commands that the Bridgehead software uses to do its clones
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Daveyd »

Looks like our vendor only support physical mode RDMs, which is a bummer. Seems like I am SOL with trying to replicate a VM and exclude a physical RDM :(
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Vitaliy S. »

Daveyd wrote:So, if I were to mount the RDM as virtual, I would then be able to exclude the vRDM from being replicated, correct?
Yes, any supported disk type can be excluded from VM backup/replica job.
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Daveyd »

Vitaliy S. wrote: Yes, any supported disk type can be excluded from VM backup/replica job.
OK, I just did this test. I created a 2008 R2 on Cluster1/SAN1/VMFS Datastore1 with 1 vmdk for the OS drive. I created a LUN on SAN1 and presented it to Cluster1. I then added then new LUn as an RDM to the VM and formatted it with NTFS.

I created a Veeam replication job with the source VM being the one I created above. The destination was Cluster2/SAN2/VMFS Datastore2. I chose all the default replication job settings. I then ran the replication job. The job ran sucessfully and the _replica VM was created on Cluster2. I shout down the VM with the RDM attached and did a failover to the replica. The failover completed sucessfully and I was able to boot up the replica. The replica booted with no errors. I looked in the replica's Storage manger and the only thing that was there was the C: drive...no RDM (to be expected). I did a permanent failover with no issues.

It seems like my goal of replicating an entire VM (just VM and OS drive) when that VM has a physical RDM attached suceeded...or am I missing something?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Vitaliy S. »

I have no other explanation except that sounds like you're still using RDM in virtual mode ;)
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Daveyd »

Here is the VM I am replicating...When I try and take a snapshot through vCenter, I get "Cannot take a memory snapshot, since the virtual machine is configured with independent disks". If I uncheck "Snapshot the virtual machine's memory" it allows me to take the snapshot. The Veeam replication job does not have Enable VMware Tools quiescence checked. It replicates fine, just does not have the RDM attached, which is to be expected. Am I looking at this or doing something wrong to make it "work"?

Image
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Daveyd »

Looking at the Replicatin log on the VM, it does say "Disk:[OS01_LUN3003_R5]TestVM/TestVM_1.vmdk has been skipped du to unsupported type (raw device mapping in physical compatibility mode). So it looks like it is skipping the RDM because it's in physical mode and replicating everything else...which in my situation is a good thing since I just wanted to replicate the VM with just it's OS drive which is not an RDM.
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Best practice to backup pRDM with Veeam

Post by foggy »

Actually, unsupported disks are automatically excluded from backup starting from v5 so you do not even need to exclude them manually. I believe this is possible right because Veeam B&R takes snapshots without VM memory.
Daveyd
Veteran
Posts: 283
Liked: 11 times
Joined: May 20, 2010 4:17 pm
Full Name: Dave DeLollis
Contact:

Re: Best practice to backup pRDM with Veeam

Post by Daveyd »

I think I just proved that with my testing as well :)

This will work perfectly for us since the LUN that the VM's "data" drive is on HAS to be a physical mode RDM. That particular LUN is actually being backed up using other software using LUN clones. So, the thinking is, replicating the VM with the RDM from our Production SAN to our DR SAN. When we do a failover to DR, the VM with the RDM will failover but without the RDM. We will then have to attach the backed up Clone LUN to the VM as an RDM which is now residing on the DR SAN.

Since the vendor only supports physical mode RDMs, this seems like the only thing we can do for Replication to work.
SAMbI4
Lurker
Posts: 1
Liked: never
Joined: Aug 16, 2017 7:03 pm
Contact:

[MERGED] backup RDM-disk on esxi 6.0

Post by SAMbI4 »

Hello community, i have big question.
I have File server (dase on Win 2012R2), i have iscsi LUN (30 Tb) mapped on esxi, and mount DRM disk on VM.
But veeam work with only vRDM disk, question is, how i make backup this disk?
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup RDM-disk on esxi 6.0

Post by DGrinev »

Hi and welcome to the community!

You can't make a backup of the pRDM with Veeam B&R as you said. You might consider switching to vRDM or try to use Veeam agent for windows.
Please review this thread for additional information. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 87 guests