Setting up Backup Exec 2010 R3 to use SAN Transport Mode for backups using AVVI in Windows 2008 R2

Well if you have got to this page you probably already have backups running to disk (and duplicate to tape) via the VCenter using AVVI and your looking to turbo charge your backups.

Well here are the simple truths.

  1.  You muck this part up and the windows host initialises the LUN that your datastore is on… there goes all your VMs. You have been warned
  2.  Getting Backup Exec to use the SAN is straight forward. Obviously your VMhosts and BE Media Center must be connected to the SAN via HBAs. The VCenter does not have to be, it is just acting as a “go between”
  3.  If your backing up directly to tape, the only gain you are going to get is likely to be marginal as the tape drive is likely to be your bottleneck. But putting the backup traffic over the SAN switching fabric will free up bandwidth on your main network.
  4.  If you are backing up to disk, then prepare for some major reductions in backup times. With the SAN infrastructure I have been using we are seeing more than a 5 times speed improvement (from 3.5GB/min to 20GB/min)
  5. If you’re doing B2D and duplicate to tape then just add items 2 and 3 together.
  6. To use a couple of sayings:
    1. There is no substitution for cubic inches – If you have powerful kit, you will get good results.
    2. You can’t make a silk purse out of a sow’s ear. – if you have poor performing kit, don’t expect this to make it faster.
  7. Basically – try anywhere other than windows to present the LUN as read only. This recommendation is because it can be too easy for some (less than bright) sys admin to wonder why the disks are in the server and not in use and make them in use and assign a drive letter, thus wiping the disks that contain the VMs!!!! By making the

 

If your SAN supports presenting shared LUNS as read only to one host (media server) and read/write to the other(ESX VM host) then do the read only limit there, rather than in windows

If your HBA in the media server can limit the LUN to be read only, then do it there, rather than in windows

FYI – the kit I have used to get this speed gain was:

SAN IBM V7000
SAN switching fabric IBM 8Gb/s
HOST IBM x3650 M3 6C X5650 2.66GHz 12GB HS SAS but with ESX4.1 booting off USB Stick
Media server IBM x3550 M3, Xeon 4C E5620 80W 2.40GHz/1066MHz/12MB
Tape Library IBM TS3200 Tape Library. Single tape head ULT3580-HH5 connected to SAN

Backup Exec acts as a VCB Proxy, so follow the general instructions on pages 33 – 35 for setting up VCB Proxy

http://www.vmware.com/pdf/vsphere4/r40/vsp_vcb_15_u1_admin_guide.pdf

In my case this is what I did:

  1. Shut down the Media Server (Power off the server)
  2. Unmap the LUNs for the host in the Integrated Management Module of the SAN
  3. Boot the media server and log in as administrator.
  4. Open a command‐line interface.
  5. Run the Diskpart utility by typing:
    diskpart

The Diskpart utility starts up and prints its own command prompt.

  1. Disable automatic drive‐letter assignment to newly seen volumes by typing at the Diskpart command prompt:
    automount disable
  2. Get windows to remove any references to disks no longer in use (you will need to re-map any partitions)
    automount scrub
  3. Set the SAN policy so that all newly discovered disks except the boot disk will be offline and read-only by default (allegedly see tips below):
    san policy= OfflineAll
  4. Exit the Diskpart utility by typing:
    exit
  5. Check HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MountMgr\NoAutoMount that it is set to 1
  6. Shut down Windows.
  7. Map the LUNs for the host in the Integrated Management Module of the SAN
  8. Boot the server

DiskPart command reference

  1. san policy= OfflineAll does not necessarily set the volumes to offline and read only!!!!
    So you may need to do this manually
    run diskpart
    list disk
    select disk x
    attributes disk
    attributes disk set readonly
  2. If the disk is shown offline
    list disk
    select disk x
    online disk
    The disk should then show online and read only
  3. do 1 and 2 for each SAN Disk
  4. Reboot server or restart the BE services to make sure Backup Exec sees the new drives

Tips

  1. Test this process first by creating a temporary LUN, creating a datastore on it and putting some sacrificial VMS on it to backup
  2. Make sure you read only the correct disks in Computer Management!
  3. In the Computer Management Console you can still attempt to delete the volume, but will get an error
    2011R3AVVI1
    2011R3AVVI2
  4. Make sure you have created the data store in VCenter on the LUN you are about to attach. Otherwise then you go into the Computer Management console, Windows will see it as unallocated and pop up a dialogue box to take control of it (cancel popup).
  5. If the disk is seen as unallocated, it won’t be available to Backup Exec to use as SAN transport. Restart the media server and so long as there is a datastore on that LUN, the disk should then appear in the Computer Management console as a basic disk and a Healthy, Primary Partition set as read only
    2011R3AVVI3
  6. Basically there is conflicting “ best practices” out there 1.VMware recommends the SAN policy to be OnlineAll, but setting it to OfflineAll should guarantee the LUNS come into the computer management read only and offline. Then all you need to do is put them online.
  7. Windows server 2008 R2 does not do as it says on the tin 1.Setting the SAN policy to OfflineAll does not work properly. If you present one LUN at a time, it seems to put it online and read/write. If you present multiple LUNs quickly, it appears to make one online and read/write and the rest offline and readonly

Further Reading

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1035096

http://webobjects.cdw.com/webobjects/media/pdf/symantec/Backup-Exec-2010-VMware-FAQ.pdf

http://www.symantec.com/business/support/index?page=content&id=TECH155831

 

4 thoughts on “Setting up Backup Exec 2010 R3 to use SAN Transport Mode for backups using AVVI in Windows 2008 R2

  1. Hi I found your article very interesting, is the first place I have seen that mention that the disks must be online.

    I’m trying to do the same, but I still not able to do it, I’m running BE2014 my SAN is an EMC VNX5300 and vCenter 5.5, now I’m able to see all the LUNs on BE Server I just put the disks online as you said. but I still getting the error “The selected transport mode is unsupported by the current setup”

    Any recommendation? I haven’t found any on BE nor VMware forums.

    Regards

  2. Yes I tried it, I did not find any on that folder. I think it is related to the VMware version since I did a test with an ESX running 5.5.0 update 1 and worked just fine, but the rest are 5.5.0 update 3 and so the vCenter. I just open a ticket with Veritas I hope they can help me.

    Thank you for your answer.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.