Host-based backup of VMware vSphere VMs.
dogzilla
Lurker
Posts: 2
Liked: 1 time
Joined: Feb 03, 2011 5:09 pm
Full Name: James Sykes
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by dogzilla » 1 person likes this post

Do you not think it's slightly dodgy to give your backup server full RW acess to all SAN volumes?

This sounds like a disaster waiting to happen.

Can someone please advise on a solution where I am running Veam on it's own dedicated backup server. I am connected into the ISCSI network. Do I need to use microsoft initator and mount all of the datastores as rw?
Gostev
Chief Product Officer
Posts: 31804
Liked: 7298 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Gostev »

This is no more or less risky than accidentally formatting VMFS datastores from vSphere Client. It is a matter of security, and not giving random people access to high privilege accounts.

Yes, that is correct. You may want to read up the corresponding section of sticky FAQ for more info on this. Thanks!
albertwt
Veteran
Posts: 941
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by albertwt »

So we'd better besafe by zoning the LUN as Read only then ?
--
/* Veeam software enthusiast user & supporter ! */
donkarnash
Lurker
Posts: 1
Liked: never
Joined: Mar 01, 2011 3:03 am
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by donkarnash »

Hi,
I have a question on configuring CLARIION with backup and recovery v5.01
so I have a physical server > connected to the SAN. This is the bkp server
I have ESXi servers > data stored on the SAN too
I have added a LUN to the bkp server and can see that as a drive,

I want to backup the data from the virtual guests running on the ESXi servers.

I want to know should I go to navisphere and add the LUN's that the ESXi servers see to the storage node of the backup server ?????

will that not corrupt the data ??
1-0-1
Enthusiast
Posts: 58
Liked: 2 times
Joined: Nov 30, 2010 1:38 pm
Full Name: Bernd
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by 1-0-1 »

I have a Clarriion AX4-5i and as far as I can tell there is no provisioning of the LUNs in read only mode for a host. My question still remains weather the LUN must be viewable within Windows (which it cannot anyway read/write to as Windows cannot do anything with VMFS as far as I know) or if simple giving the windows veeam server access to the LUN is enough.

This all is a wee bit risky to test in a live enviroment ....
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Vitaliy S. »

albertwt wrote:So we'd better besafe by zoning the LUN as Read only then ?
That's correct. To be able to use vStorage API SAN mode it is sufficient to have read-only access to your LUNs.
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Vitaliy S. »

1-0-1 wrote:My question still remains weather the LUN must be viewable within Windows (which it cannot anyway read/write to as Windows cannot do anything with VMFS as far as I know) or if simple giving the windows veeam server access to the LUN is enough.
SAN LUNs must be viewable within Windows Disk Management snap-in, but you should NOT initialize those LUNs (assign any drive letters) etc.
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Vitaliy S. »

donkarnash wrote:I want to know should I go to navisphere and add the LUN's that the ESXi servers see to the storage node of the backup server ?????

You should make LUNs that host your VMs visible to a backup server in Disk Management snap-in. If you follow the instructions from the first page of this topic, you will not corrupt VMFS data. Thanks!
yuval14
Lurker
Posts: 1
Liked: never
Joined: Jul 15, 2011 11:52 am
Full Name: Yuval Sinay

Re: Configuring new VEEAM Backup Server for SAN

Post by yuval14 »

I wrote some short guide on iSCSI Performance:

How to improve iSCSI Performance
http://blogs.microsoft.co.il/blogs/yuva ... mance.aspx
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Vitaliy S. »

Thank you for sharing, much appreciated.
banar
Lurker
Posts: 1
Liked: never
Joined: Oct 25, 2011 11:46 am
Full Name: Baňař Pavel
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by banar »

Hi
for vmware5 and vstorage API, is it a same procedure ?
- veeem5 on physical server as backup server
- direct access to VMFS disk from backup server, rather as read only
- automount disable
Regards Pavel
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Vitaliy S. »

Hi Pavel, the procedure to run Veeam B&R server in direct SAN mode hasn't changed with vSphere 5. Thanks!
avrham_g
Enthusiast
Posts: 34
Liked: 1 time
Joined: Dec 29, 2011 9:41 pm
Full Name: Avi
Contact:

initialize disk to backup direct from sun

Post by avrham_g »

[merged]

Hi,

I've 2 esxi 5.0 and dell storage.
i've physical server connect to the iscsi storage and veeam backup install on it.
i exposed the LUN that the esxi work on to the physical server which is windows 2003 sp2 32BIT when i go to the computer management
i see 2 disks that are initialize (online) and 2 disk that aren't initialize (all 4 disks are the esxi LUN ) when i backup a VM machine that resides on the initialize disk that backup go through the iscsi but when i backup VM that aren't on the initialize disk the backup go through the LAN.
my question is do i need to initialize the disk or not?
avrham_g
Enthusiast
Posts: 34
Liked: 1 time
Joined: Dec 29, 2011 9:41 pm
Full Name: Avi
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by avrham_g »

in the attached picture there are disk 1,2,3,4.
all the disk are the esxi LUN's exposed to the veeam backup server.
you can see that in disk 1 and disk 3 the partition status is health and it have blue color,while on the other 2 disks
the partition status is unallocated.
when i try to backup VM's that seats on disk 1 and 3the backup going through the ISCSI.
when i backup VM's that seats on disk 2 and 4 the backup go through the lan with an error that he can't connect to the direct san.
what do i need to do to fix this issue?

Picture
http://imageshack.us/photo/my-images/59 ... al20ts.png
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by foggy »

Make sure all your LUNs are presented the same way to the Veeam backup server. Maybe it's worth to contact your storage manufacturer to consult.
avrham_g
Enthusiast
Posts: 34
Liked: 1 time
Joined: Dec 29, 2011 9:41 pm
Full Name: Avi
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by avrham_g » 1 person likes this post

foggy wrote:Make sure all your LUNs are presented the same way to the Veeam backup server. Maybe it's worth to contact your storage manufacturer to consult.
the LUNs are presented to the veeam backup exactly like they presented to the esxi because they are on the same host group in the dell system.i use dell MD3200i.
how the LUNs should be on the veeam backup server in the disk management?
i've setup another server for testing with windows 2008 r2 sp1 and i get the same results.
i don't know if i need to initialized the disk or not.
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by Vitaliy S. » 1 person likes this post

Disks shouldn't be initialized, please review the instructions provided on the very first page of this thread:
Gostev wrote:Hopefully real FC SAN administrators will come to help with this (because I am not one - I never touched FC SAN before)
I do know we have EMC CX users for sure!!

But here is my understanding:
1. Open command prompt on Veeam Backup server as adminstrator, and type "diskpart" and then "automount disable".
2. If you did not do this yet, plug-in FC HBA into Veeam Backup server and install the latest drivers. Not sure if any client side settings needed for HBA to point to the storage. In case of iSCSI storage, you need to enter iSCSI target IP in the initiator settings.
3. If EMC CX has this functionality, allow read access to your VMFS LUNs for Veeam Backup server in the SAN configuration (optional).
4. If you do everything correctly, your VMFS LUNs should appear in Windows Disk Management snap-in. Don't initialize them!
5. That's it - Veeam Backup&Replication will now be able to work in the direct SAN access mode.
On top of that, we have a blog post that you might find very useful: Using the iSCSI initiator within Veeam Backup & Replication in a VM

Hope this helps!
cffit
Veteran
Posts: 338
Liked: 35 times
Joined: Jan 20, 2012 2:36 pm
Full Name: Christensen Farms
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by cffit »

I am having this exact issue with connecting for Direct SAN backup to an EMC SAN.

http://www.veeam.com/KB1107

I do have a support case open, but I was wondering if anyone else has had the issue and if they found any other resolution because I need to run MPIO for connecting to our Equallogic SAN for backup. I'm pasting the article contents here to save me from typing..
KB ID: 1107
Problem: SAN-mode jobs work well, but after enabling Windows MPIO jobs start to fail with the errors:

Unable to establish direct connection to the shared storage (SAN).
Please ensure that:
- HBA is properly installed in the Veeam Backup server computer, or software iSCSI initiator is configured correctly.
- SAN volume can be seen by operating system in the Windows Disk Management snap-in on the Veeam Backup server.
- Read access is allowed for the Veeam Backup server computer on the corresponding LUN (refer to your SAN documentation).

Backup Server can see all the LUNs and shows them in disk manager. However, Veeam cannot perform a SAN backup from them. Running vcbsandbg gives an error that the lun does not contain any VMFS/LVM signatures.
Cause: Incorrect configuration of MPIO software.
Solution: Install the latest version of MPIO software. If you are using EMC storage, then instead of using Windows MPIO you should install the latest version of PowerPath with service packs. After that you can reboot Veeam Backup server and check if vcbsandbg starts seeing all the LUNs.
mpasaa
Enthusiast
Posts: 36
Liked: 2 times
Joined: Sep 08, 2009 3:28 pm
Full Name: Mike Audet

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by mpasaa » 1 person likes this post

We use an EMC SAN and to do direct SAN you simply need to add all the datastores to the storage group of your backup server if it is physical. Unisphere gives you a warning that attaching LUNs that are currently used in other storage groups may result in disk corruption or errors but it's not a problem--Veeam only connects in READ only mode and I've never had an issue. If you use Veeam in a VM you don't have direct SAN access available. That's it. Make sure you use the diskpart automount disable command on the physical server to prevent Windows from mounting these VMFS datastores as windows drives--that would be very bad ;-)

I tried Veeam in a VM and used appliance mode but it was terrible...performance was hit or miss and I had intermittent network issues and such. however, this could due to our environment and others may have better luck. I went back to my physical blade and backups work perfectly in SAN mode and I also incorporated using that backup proxy feature to enhance read access to the jobs to run more concurrently.

Hope this helps
bhwong
Enthusiast
Posts: 99
Liked: 3 times
Joined: May 24, 2012 9:57 am
Full Name: Boon Hong Wong
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by bhwong »

Gostev wrote:This is no more or less risky than accidentally formatting VMFS datastores from vSphere Client. It is a matter of security, and not giving random people access to high privilege accounts.

Yes, that is correct. You may want to read up the corresponding section of sticky FAQ for more info on this. Thanks!
I disagreed. When you attempt to format VMFS datastores from vSphere Client, vSphere will warn you that all data will be wipe off. You can also browse the datastores to confirm what you are going to wipe off.

With Windows prompting to initialize the unknown volume, there is no such warning at all. This mislead the user to think it's safe! You also can't browse the volume to confirm what you are going to initialize. It's really an disaster waiting to happen. I know it because it has happen to us in the past.

btw, is there any SAN storage in the market that allows read-only for Windows but read-write for vSphere from the same volume in the first place???
dellock6
VeeaMVP
Posts: 6165
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by dellock6 »

I do not think you can have different ACL based on the OS trying to access the LUN, but many storage products have ACL to guarantee read/write or Read-only access to LUNs based on the server connecting to it, both via iqn (for iscsi) or wwn (for FC). There was a thread about Equallogic for example not beeing able to assign read only per iqn but only to entire luns, but many other storages can do that.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Gostev
Chief Product Officer
Posts: 31804
Liked: 7298 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by Gostev »

bhwong wrote:I disagreed.
The main point of my post was this:
"It is a matter of security, and not giving random people access to high privilege accounts."

It does not matter how easy or hard something is, because as soon as you give users a chance to mess up your systems, trust me - they immediately will. They will find out most unreasonable way to do something (that you could never even think about - being "normal" hehe), and will cause complete havoc with their unnecessary high privileges.

Saying that something will not be done because there is clear warning is just wrong... users do not read warnings! Trust the UI designer :D
rbrambley
Veeam Software
Posts: 481
Liked: 57 times
Joined: Jun 16, 2009 1:23 pm
Full Name: Rich Brambley
Contact:

Re: Configuring new VEEAM Backup Server for SAN

Post by rbrambley » 1 person likes this post

bhwong wrote: With Windows prompting to initialize the unknown volume, there is no such warning at all. This mislead the user to think it's safe! You also can't browse the volume to confirm what you are going to initialize. It's really an disaster waiting to happen. I know it because it has happen to us in the past.
True, but the point we are all making is that because Microsoft assumes that anyone who opens Disk Manager knows what they are configuring on that server, you have to prevent "users" from even opening Disk Manager so they never have a chance to make the mistake of initializing. You can disable access to DM via local policy or via account privileges, or do not give "users" the ability to log on at all. You must control that for obvious reasons - even without Veeam!
bhwong
Enthusiast
Posts: 99
Liked: 3 times
Joined: May 24, 2012 9:57 am
Full Name: Boon Hong Wong
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by bhwong »

The main problem is not with the end user of course, but new IT colleagues who may not be familiar with our existing infrastructure and assume that it's an unused volume he/she can initialize and make it available for Windows to use.
habibalby
Veteran
Posts: 392
Liked: 33 times
Joined: Jul 18, 2011 9:30 am
Full Name: Hussain Al Sayed
Location: Bahrain
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by habibalby »

bhwong wrote:The main problem is not with the end user of course, but new IT colleagues who may not be familiar with our existing infrastructure and assume that it's an unused volume he/she can initialize and make it available for Windows to use.
A proper documentation of what's going on in your infrastructure is the way to go, any new guy employed he/she must be well-guided on how things are done and setup / configured.

Thanks,
nmace
Enthusiast
Posts: 99
Liked: 12 times
Joined: Jul 23, 2012 3:48 pm
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by nmace »

Quick question. I am setting up Veeam in Direct SAN mode (Veeam is on a physical box) with an Equal Logic SAN. Veeam has two 10 gig connections to our dedicated iSCSI network. Should I use the plain Windows Server iSCSI Initiator? Or should I install Equal Logic Windows Host Integration Toolkit to get MPIO?
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by Vitaliy S. »

I believe you should be good to go with plain Windows Server iSCSI initiator. According to the feedback coming from our existing customers, it's better not to use MPIO, as it might affect your backup job performance rate in a negative way.
nmace
Enthusiast
Posts: 99
Liked: 12 times
Joined: Jul 23, 2012 3:48 pm
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by nmace »

I went with just the vanilla Windows initiator (not Dell's MPIO) and configured a single 10 gig nic with proper iSCSI access. I got 200+ MB/sec (yes, MB) on my test backup job. That is beyond awesome.

However, that is using a single port going to a single switch. How would be the best way to add redundancy with my second port and second switch? Is it just as simple as adding another iSCSI IP to my second nic, assigned access to the VMFS volume, and setting up the Windows initiator with Round Robin with both IPs? Sorry, I've not had to deal with Windows iSCSI networking in a long long time (that has been all vSphere for forever).
Vitaliy S.
VP, Product Management
Posts: 27371
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by Vitaliy S. »

I'm not expert in Windows iSCSI networking either, but to the best of my knowledge, if you want to achieve redundancy and maximum performance while using iSCSI interface, it would be preferred if you could use dynamic link aggregation (assuming your storage vendor supports this technique).

Here is a really good blog post that describes everything in details for vSphere Environment, might be worth checking out:
A “Multivendor Post” to help our mutual iSCSI customers using VMware
chimera
Enthusiast
Posts: 57
Liked: 3 times
Joined: Apr 09, 2009 1:00 am
Full Name: J I
Contact:

Re: Configuring new VEEAM Backup Server for direct SAN acces

Post by chimera »

However, that is using a single port going to a single switch. How would be the best way to add redundancy with my second port and second switch?
MPIO / iSCSI redundancy for the backup box? Probably not much point?
Is it just as simple as adding another iSCSI IP to my second nic, assigned access to the VMFS volume, and setting up the Windows initiator with Round Robin with both IPs??
You would install Dell HIT for Windows to get MPIO support.

Sorry to hijack this thread... but I have a similar query in regards to performance (or potential lack of). A client of mine has a Dell EqualLogic SAN (tier 1 storage) and a Dell MD3600i SAN (tier 2 storage) connected up across 6 x ESXi hosts. Its been a battle to get both these working together due to the way the SAN's function (both have 4 x physical ports - 2 controllers / 2 ports per controller, however EQL has a "group IP" - or virtual IP if you like that dynamically spreads the load across physical IP's on each port, whereas the MD3600i has no "virtual IP" but instead, for optimal performance, requires half the IP's in different subnets... I digress) So getting these working together under VMWare when sharing the same 10GbE NIC's and retain performance was a nightmare (had to VLAN off and trunk iSCSI up to the vmk's...) but anyways, even more tricky to get going on the Veeam server side AND continue utilising Direct SAN backups. In this case, I've have 2 x 10GbE (unfortunately Broadcom) NIC's, 1 x NIC is dedicated to EQL and the other to MD3600i, each with their own IP (and tried adding a secondary IP to the MD3600i to get the 2nd subnet going). I can get Direct SAN backups from EQL, but not from MD3600i, I believe due to the ownership of a path / LUN,... but anyway, back to my point - nmace - a question for you, if you run Task Manager whilst Veeam is running a direct from SAN backup job, what utilisation of the NIC's are you seeing? In fact, anyone running Direct SAN backups over iSCSI, are you 1Gbps or 10GbE and secondly what average and maximum NIC utilisation are you seeing in Task Manager/Resource Manager? Mine seems quite low, so I'm sure there must be some tweaks that can be done on the NIC to improve performance (I already disabled Windows TCP autotuning as per this post http://forums.veeam.com/viewtopic.php?f=2&t=4093 )
Post Reply

Who is online

Users browsing this forum: karsten123 and 55 guests