Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Using one media server to connect to two networks on different NIC ports

Updated: 17 Jul 2010 | 8 comments
RonCaplinger's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

This could be a difficult question.  Our current NBU setup is 1 Solaris master and 1 Solaris media server, using Data Domains and a tape robot.  We basically have two different networks that we need to back up, a network just for Windows and Solaris on the other, and our NBU servers are (obviously) on the Solaris side of things.

Our Solaris media server has dual 10G ports.  It is physically connected to our networking core through one port with one name/IP.  This is where the majority of our Windows backups will come into the media server, through that core switch.

We want to connect the other 10G port to another (Solaris-side) switch with a separate name/IP; this is also the network where our new Data Domain is going to reside, and is where the Solaris servers will be backed up.

How do I go about setting this up in NetBackup?  I can't give the media server two names in NetBackup, so how do I make sure the traffic from the Windows servers remains on the core routers, but the Unix data comes through the Unix switches?

Comments

lu's picture
05
May
2010
0 Votes 0
Login to vote

That's not a NBU problem, but

That's not a NBU problem, but a routing problem. Since the media server will contact the client before asking to start the backup, you may try to add individual routes on your media server, to the clients, and set them to use the other interface. Start with one client to see if it works...

Nicolai's picture
05
May
2010
0 Votes 0
Login to vote

Pretty simple.

But really hard to explain.  I will give it a try.

You don't configure networks in Netbackup. You only have one primary IP and gateway, the DNS entry for the primary network is also the server name (most often, cluster have exceptions). So far so good. When you add a secondary network it must have a different DNS name. This name must also be listed on Netbackup client's server list or you will get at status code 59 -"access to client was not allowed".

When ever Netbackup connect to a client, it uses the hosts intern routing table to see if it direct connect to the destinationsubnet, if that not the case the packet is send to the default gateway. This mean master to media server communication may start using the secondary network if it listed earlier in the internal routing table (use netstat -rn to see it).  Because of this both vm.conf and bp.conf must be updated with the secondary network interface as well.

Seen from a network separation side. This where the assumptions come into play. The two network are they flat (eg 255.255.255.0) or do they contain multiple Ip segments ?

If they are flat, the internal routing table will make sure traffic stay the right place, because traffic is never send through default gateway if a NIC is local attached to the destination subnet.

If there are multiple IP segments you will need to manipulate the routing table with routing statements to separate traffic as there can only be one default gateway.

Hope this helps.

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

RonCaplinger's picture
26
May
2010
0 Votes 0
Login to vote

Almost works

So we gave this a try. 

In one phsycial media server, we had one NIC with one IP (10.60.xx.xx) and one name (MServerA) to back up the Windows servers, and another NIC with another IP (10.70.xx.xx) and a different name (MServerB) to back up the Unix servers. 

From any server on the 10.60.xx.xx network, we ran traceroute to MServerA; the output (correctly) showed only one IP, which was the IP for MServerA.  We repeated the same from the media server to the same clients, and it (correctly) showed the same route, no hops, to any of those clients. 

We repeated the above for the 10.70.xx.xx network's clients and got the correct results we were hoping for.  So the backups for each network were going through their respective interfaces, just as we had planned.  Backups were successful, restores worked without a hitch.

Then we hit a problem: When that night's backups kicked in and we had a couple hundred backup jobs active/queued, we started getting sporadic backup failures of the same file systems on each server.  Some Windows backups of "System State" or the LAST filesystem (G: drive, etc.) failed with either status 24 (socket write failed) or 42 (network read failed); Unix backups to disk would fail on various file systems with a status 213 (no storage units available for use).  Once the backup load on the media server came down, we could restart these backups successfully.

Oddly, our network monitoring system indicated a shortage of memory/swap space on the media server during this time, but showed 10GB of free memory, and the swap space was nowhere near full. 

After a week of trying to tweak NFS & TCP settings, we are reverting back to our previous setup to confirm the problem is related to the extra 10G interface.

Nicolai's picture
27
May
2010
0 Votes 0
Login to vote

Swap space

A old rule of thump say you need 3.5 times the memory in swap space. Not that it will ever use it, but the system need to be able to allocate/reserve it for operation.

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

RonCaplinger's picture
04
Jun
2010
0 Votes 0
Login to vote

Unsupported Configuration?

We removed the 2nd 10G interface and everything ran successfully again.

I've currently got a case open with Symantec to confirm whether this configuration is supported.  The NBU Planning and Performance Tuning Guide, p.123, shows how to configure "Using multiple interfaces", but we have been told by two different support folks that Symantec doesn't support the use of more than one NIC/IP/DNS name per media server.  The technical aspect of getting this to work is now on hold until we can resolve this supportability issue with Symantec.

Thanks for the advice, Nicolai!

Marianne van den Berg's picture
04
Jun
2010
0 Votes 0
Login to vote

Perfectly supported

Perfectly supported configuration. Configuration examples in NBU Troubleshooting Guide.
Clients in multiple networks is explained from p. 57 onwards. Servers in multiple networks starting bottom of page 59.

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

Reagan's picture
04
Jun
2010
0 Votes 0
Login to vote

Could create an alias for the media server

An option would be to create aliases for the media server so that NetBackup will know that multiple host names point to the same media server.

From the master server:

C:\Program Files\Veritas\NetBackup\bin\admincmd\nbemmcmd –machinealias –addalias –alias media_server_alias1_name –machinename media_server_name –machinetype media

C:\Program Files\Veritas\NetBackup\bin\admincmd\nbemmcmd –machinealias –addalias –alias media_server_alias2_name –machinename media_server_name –machinetype media

Verifying aliases for the media server

Nbemmcmd –machinealias –getalias –machinename media_server_name  –machinetype media

RonCaplinger's picture
16
Jun
2010
0 Votes 0
Login to vote

Yes, it is supported

Per the Symantec tech, so long as both interfaces are listed as valid servers for the clients, the configuration is supported.