?
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
Medium Priority
?
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

752 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