Solved

2 nics, 2 networks, 2 go, 2 hard, 2 my wonderful wife, if you read this, I love you.

Posted on 2004-08-26
5
256 Views
Last Modified: 2010-03-18
G'Day Fellas/Sheilas LOL got your attention Eh, Crickey, 'ere is my question,
Just a quick question, I have four servers 1: a report database, 2: A web server/ASP server, 3: A login and storage server and 4 a work server.  
What happens is this, a user logs in through the web via asp on server (2) which checks their logins against a database on server (3).  This server then collects the sql from storage and sends it to (4) to process.  Server (4) sends the sql to server (1) which contains the database to be queried.  When it has a result set, it sends it back to server (4) which performs any nessecary calculations etc, and then it is passed back to server (2) for loading into asp pages to be sent back to the user.

confused, no, good.....

Now I hear you saying this is a pretty complex way of getting some data, but, a big but (like me), ther are hundreds of people sending requests for different queries during the same time frame, we have around 2000 users, with approx 20 to 50 be concurrent, with around 100-200 logged in at peak times.

All four servers have two nics, and three of the four need to be accessable via the standard enterprise WAN as well.

What I enviaged was to give the three (1,2,3) access to the network via one nic, and to creat a totally private network amoung the four using the other nic.  This would stop enterrise traffic from slowing down the processes within the four servers, besides some cpu usage (they all have 4 cpu's) and I believe would enable significantly faster results.  Currently, result times appear more a product of network speed then processing speed.

Can what I want be done. Note a boreing ol' yes/no gets 10 points
If not why not (100 points)
Have you a better solution (200 points)
with instructions notes diagrams and asprin (500 points)

Waiting anxiously for your help and assistance as always
0
Comment
Question by:trueblue53
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:peteysa
ID: 11910714
Simple enough..

Configure the second nics for a private network.  Use a different VLAN or completely different hub/switch.  

Say you use 172.16.172.0/24 network for your private communications.  You would simply configure the second nic in each box, but exclude the gateway configuration.  The gatway is on your public NIC and is to be used.

From here you would want to make sure the servers communicated between each other through the private network.  THis can be done by specifying the 172.16.172.x addresses, hosts / dns changes, or static routes

I always mess up the syntax:
set this up on each server for communication to all hosts.  -P is perisistant so they are there after reboots.
route add pubilcip mask 255.255.255.255 privateip -p

Lastly, if it seems that your 4way boxes bottlenecks are your network interfaces looks like you have lots of room to grow.  The first bottlenecks you will probably hit is your WAN link / disk I/O.



Cheers!

dan
0
 
LVL 1

Author Comment

by:trueblue53
ID: 11914525
Ok LOL, I suppose what your trying to say is, Yes you can do it, but there may be problems.  Problems ... Doesn't  (if computers = problems then) always evaluate to true?  

Sorry my friend, but the last sound you heard was this going over my head.

I need a "Solve your problems for dummies" type solution.
0
 
LVL 2

Accepted Solution

by:
peteysa earned 500 total points
ID: 11914831
Simplified answer.

Yes.  the configuration you are doing is very standard.  What I was explaining was a common cavaet being the second nic gets configured, but is never used.  This is b/c your name resolution is probably all setup to communicate over the public nic.

To force the communication over the private nics regardless of name resolution you setup routes forcing the communication over the private nics between the servers.

gw = default gateway
server1
public nic  
1.1.1.11 255.255.255.0
gw 1.1.1.1
private nic
172.16.172.10 255.255.255.0
example of routes to add
route add 1.1.1.12 mask 255.255.255.255 172.16.172.20 -p
route add 1.1.1.13 mask 255.255.255.255 172.16.172.30 -p
route add 1.1.1.14 mask 255.255.255.255 172.16.172.40 -p

So if server one needs to access something server two the local route will force the connection to go through the private/second nic.  Server two will need similar routes confiured to force the communication back through the private/second nic.

Server2
1.1.1.12 255.255.255.0
gw 1.1.1.1
privatenic
172.16.172.20 255.255.255.0
route add 1.1.1.11 mask 255.255.255.255 172.16.172.10 -p
route add 1.1.1.13 mask 255.255.255.255 172.16.172.30 -p
route add 1.1.1.14 mask 255.255.255.255 172.16.172.40 -p
Server3
public nic
1.1.1.13 255.255.255.0
gw 1.1.1.1
private nic
172.16.172.30 255.255.255.0
route add 1.1.1.11 mask 255.255.255.255 172.16.172.10 -p
route add 1.1.1.12 mask 255.255.255.255 172.16.172.20 -p
route add 1.1.1.14 mask 255.255.255.255 172.16.172.40 -p

Server4
1.1.1.14 255.255.255.0
gw 1.1.1.1
private nic
172.16.172.40 255.255.255.0
route add 1.1.1.11 mask 255.255.255.255 172.16.172.10 -p
route add 1.1.1.12 mask 255.255.255.255 172.16.172.20 -p
route add 1.1.1.13 mask 255.255.255.255 172.16.172.30 -p

My apologies if I am expalining this too technically.  I must empansize this is common in web hosting at managed and colo providers and works fine.  Just need to make sure that the second nic is actually used for communication between servers.

Cheers!

dan
0
 
LVL 1

Author Comment

by:trueblue53
ID: 11915621
Ok thanks, I think I get it, yes I kew it could be done, I had seen it before.  Your info is great, I dont suppose you know of any good links?
0
 
LVL 2

Expert Comment

by:peteysa
ID: 11916013
I dont have any off the top of my head.  Its all from doing these set ups hands on.

If I find some I'll post.

THanks,

Dan
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now