Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

configure VMware to FT media server

Created: 23 Nov 2012 • Updated: 06 Jan 2013 | 12 comments
NBU_13's picture
This issue has been solved. See solution.

Hi,

Anyone have document for how to configure VMware backups with FT media server ?

I already configure FT media server with Linux (Netbackup version 7.1) and also I configured physical server as SAN client, backup job is running fine with SAN transport, but Now I want to configure VMWare host for backup with FT media server,

please share with me, I tried to found document, but no luck.

Thanks,

Raja Sulaiman

Comments 12 CommentsJump to latest comment

RLeon's picture

A VMware guest OS cannot be a SAN client.
Currently, only physical hosts can be SAN clients:
https://www-secure.symantec.com/connect/forums/san...

This config is not documented anywhere and therefore unsupported; which also explains why you couldn't find anything about it.

Some have managed to get it to work (to some extents), but since it is not a supported config, it is generally not recommended for production:
https://www-secure.symantec.com/connect/forums/vmw...

A better option would be to make the guest OS a HotAdd mount host, and run client-side-deduplication.
This way, when it backs up itself - or all other VMs that it has datastore visibility to - very little data will be sent via LAN to the media servers because of the client-side-deduplication.
If your NetBackup environment does not utilize deduplication, then the VMware HotAdd mode is not very useful.

If you really want to use SAN, then there is always the SAN transport mode. Basically you just make visible the datastore luns to the media server (careful not to write to the luns) and use SAN transport mode during VMware backups. Everything goes through the SAN in this case; nothing through LAN.

If it is a RDM or iScsi volume you are trying to backup from the guest OS, then you cannot use HotAdd or SAN transport modes. In this case you can either go with the easy option of using a nbu client the traditional way (client-side-dedupe and accelerator help a lot here); or the... convoluted way of using hardware based snapshots and alternate client backup.

NBU_13's picture

Hi,

Thanks for Info?

one query,

I have physical FT media server, which is already configured, I have vmware host with 10 virtual machine, is this possible, I can configure HBA card with VMWare host, and then i will connect VMWare host HBA card with FT media server via SAN, it will work ?, because generally, virtual machine will send data via vmware host to media server.

please guide me ?

Thanks. 

RLeon's picture

is this possible, I can configure HBA card with VMWare host, and then i will connect VMWare host HBA card with FT media server via SAN, it will work ?

No. What you are trying to do is to make the VMware host (ESX server) a SAN Client, which is not supported.
Also, as I have explained above, the VMs in the VMware host cannot be SAN Clients.

Your FT media server is fine, but only physical hosts can be SAN Clients. (But VMware ESX hosts cannot be SAN Clients)

If you want everything to go through SAN, use the VMware policy type, and select the SAN transport mode. As I said in my first post, with this method you have to present your VMware datastore luns to the media server.
The VMware policy type uses VMware's vStorage API VADP.
Basically, this backup policy type create snapshots of the VMs (guest OS), then the Netbackup media server backs up these snapshots directly from the SAN-storage-device via SAN transport (through its FC HBA). After the backup the snapshots will be deleted. Nothing goes through LAN, and the VMware ESX host doesn't "send" data from its HBA to the media server's HBA.

FT Media Servers and SAN Clients is the wrong direction; it is not your solution.

Please refer to the Nbu VMware admin guide for 7.5:
http://www.symantec.com/business/support/index?pag...

You will need an Enterprise Client license for each ESX host you want to backup from, using the VMware policy type.

Edit:
For NetBackup 7.1, there isn't a VMware policy type, you have to use the FlashBackup-Windows policy type. The rest is the same as I described above.
For details, please refer to the VMware admin guide for 7.1:
http://www.symantec.com/business/support/index?pag...
 

NBU_13's picture

Hi,

Thanks for more information.

Let me try to test as you said, can you tell me, where and how to change transport mode as SAN?

RLeon's picture

I edited my previous post to include the Nbu 7.1 info.

The SAN transport mode is in the "Snapshot Client > Options" button in the policy attribute tab.
Please refer to the VMware admin guide for the rest of the details.

NBU_13's picture

Hi,

just for confirmation,

¨The VMware policy type uses VMware's vStorage API VADP.
Basically, this backup policy type create snapshots of the VMs (guest OS), then the Netbackup media server backs up these snapshots directly from the SAN-storage-device via SAN transport (through its FC HBA).¨

so, we need to configure FC from SAN device to Netbackup media server, means from datastore lun to Netbackup media server, we need to configure fiber cable and do zoning from datastore lun to media server.

Thanks.

RLeon's picture

Yes.

Please refer to this excellent article for detailed information.

https://www-secure.symantec.com/connect/articles/n...

SOLUTION
NBU_13's picture

Hi,

Thanks for sharing this document.

So, I can use physical server (windows) for media server as vmware backup host and need to do zoning from ESX server and datastore LUN to media server and zoning from media server (VMware backup host) to tape library and need to select SAN transfer mode in netbackup policy. right ?

but, they are saying to do restore through NBD, not to SAN, if I select SAN as transfer mode for backup, how can I do restore through NBD ? can you please clear my doubt.

Thanks.

RLeon's picture

So, I can use physical server (windows) for media server as vmware backup host and need to do zoning from ESX server and datastore LUN to media server and zoning from media server (VMware backup host) to tape library and need to select SAN transfer mode in netbackup policy. right ?

Only zone the datastore LUNs to the media server.
Do not zone the ESX server to the media server.

but, they are saying to do restore through NBD, not to SAN, if I select SAN as transfer mode for backup, how can I do restore through NBD ? can you please clear my doubt.

During restore, you can choose to use NBD instead of SAN, regardless of the backup transfer mode used.

NBU_13's picture

Hi,

Thanks for your information, Let be start doing the same and I will update the status...

NBU_13's picture

Hi,

I need help on this issue.

I configured vmware backup through SAN, as below url.

https://www-secure.symantec.com/connect/articles/n...

Master server (windows 2008) Netbackup version 7.1.0.4

Media server  (windows 2008) Netbackup version 7.1.0.4

Virtual machine (windows 2008)

Configured media server as vmware backup host,

Media server, ESX server and datastore are connected with SAN,

Media server and master server are connected with LAN.

ESX server, master server and media server are connected with  LAN

I configured policy with flash backup windows type with snapshot option with VMware backup host  (media server), in the snapshot option, I selected transfer type as Try SAN and NBD

Then I restarted test backup, backup was completed successfully with 10 MB/ sec, in backup job details, it is showing as Transport type as LAN.

So, once again , I reconfigured zoning between media server, ESX server and datastore,  I selected transfer type as Try LAN and NBD, I restarted test backup, backup was completed successfully with 35MB/sec, but in the backup job details, Transport type is showing as LAN, but speed is 3 times more compare to previous test backup,

Maybe it is using SAN, but Iam not sure, can anyone help me to fix this issue, whether backup job is running through SAN or LAN, because, for FT media server, backup job´s Transport will show as FT, but in VMWare via SAN, it will show as SAN as Transport or ? I don’t have any idea.

Note : I tried backup with transfer type as only SAN, but it is getting fail as below error, ERR - Error opening the snapshot disks using given transport mode: Status 23, could not send server status message file read failed(13),

Maybe this issue due to LAN connection between master server and media server, Iam not sure, guide me.

04-Jan-13 16:54 - Info nbjm(pid=5944) starting backup job (jobid=3226483) for client TEST01, policy vmware_new_san, schedule Full 

04-Jan-13 16:54 - estimated 0 Kbytes needed

04-Jan-13 16:54 - Info nbjm(pid=5944) started backup job for client TEST01, policy vmware_new_san, schedule Full on storage unit media1stgo-hcart3-robot-tld-0

04-Jan-13 16:54 - started process bpbrm (8016)

04-Jan-13 16:54 - connecting

04-Jan-13 16:54 - connected; connect time: 00:00:00

04-Jan-13 16:54 - mounting AMD097

04-Jan-13 16:54 - end writing

04-Jan-13 17:00 - Info bpbrm(pid=8016) TEST01 is the host to backup data from    

04-Jan-13 17:00 - Info bpbrm(pid=8016) reading file list from client       

04-Jan-13 17:00 - Info bpbrm(pid=8016) starting bpbkar32 on client        

04-Jan-13 17:00 - Info bpbkar32(pid=6120) Backup started          

04-Jan-13 17:00 - Info bpbkar32(pid=6120) CONTINUE BACKUP received.          

04-Jan-13 17:00 - Info bptm(pid=4368) start           

04-Jan-13 17:00 - Info bptm(pid=4368) using 262144 data buffer size       

04-Jan-13 17:00 - Info bptm(pid=4368) setting receive network buffer to 1049600 bytes     

04-Jan-13 17:00 - Info bptm(pid=4368) using 128 data buffers        

04-Jan-13 17:00 - Info bptm(pid=4368) start backup          

04-Jan-13 17:00 - Info bptm(pid=4368) Waiting for mount of media id AMD097 (copy 1) on server media1stgo.

04-Jan-13 17:00 - Error bpbrm(pid=8016) from client TEST01: ERR - Error opening the snapshot disks using given transport mode: Status 23.

04-Jan-13 17:00 - Info bpbkar32(pid=6120) bpbkar waited 0 times for empty buffer, delayed 0 times.  

04-Jan-13 17:00 - Error bpbrm(pid=8016) could not send server status message file read failed(13)

Anyone help me on this issue, to fix it.

Thanks.

Marianne's picture

The title of this thread is:

configure VMware to FT media server

RLeon has answered you - it cannot be done. 

Please close this thread by marking RLeon's post as Solution and use your new discussion for your latest query.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links