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
254 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

18 Experts available now in Live!

Get 1:1 Help Now