RE: NetReg: DHCP refresh problems And NEW Load Testing Question

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Dax (dax@resnet.ucsb.edu)
Date: Thu Dec 18 2003 - 09:44:25 CST


        As you will see when students actually begin hitting that server,
there's no real way to test that kind of load. I did a couple of manual
tests with a dozen or so people when I built my first NetReg box, but it
can't come close to have a couple thousand people hit it at once after
they get their machines booted up.
        If it will make your mind rest at ease, I have a PIII 1.4GHz w/
1GB RAM and 2 40GB HDs, and the server load figures never even break a
sweat. My initial NetReg box was a PII 350 w/ 384MB RAM and a 10GB
drive, and I had similar results - you'll be surprised at how robust that
platform turns out.
        Have fun...

/Dax

On Thu, 18 Dec 2003, Michael Stella wrote:

> Thanks Patrick, the below fix worked perfectly!
>
> The last question lingering on my mind is how to effectively test our netreg
> server under a similar amount of load that it will be seeing mid January
> when about 600 students all try to register over 2 days. What have you
> netreg pro's done in this situation?
>
> Currently Netreg is running on a P4 2.4 Gig 256 Meg RAM and 2 mirrored 40
> gig ATA/100 HD's w/ Redhat 9.0....
>
> Thanks again!
> -Mike
>
> ****************************
> Michael Stella
> Network Services Administrator
> michael.stella@regiscollege.edu
> Voice: 781-768-7176
> Fax: 781-768-7344
>
>
> -----Original Message-----
> From: owner-netreg@southwestern.edu [mailto:owner-netreg@southwestern.edu]
> On Behalf Of Patrick Jaques
> Sent: Wednesday, December 17, 2003 8:13 PM
> To: netreg@southwestern.edu
> Subject: RE: NetReg: DHCP refresh problems
>
> Hi Mike,
>
> I have encountered this same problem with Red Hat 9.0 Linux. The problem is
> that the process id returned from the 'ps aux' command does not matching the
> process id in /var/run/dhcpd.pid. The 'ps aux' command returns two process
> ids, which causes it not to match the process id in dhcpd.pid. I never
> encountered this problem until I upgraded to Red Hat version 9.0. The
> attached script fixes the problem.
>
> Add 'grep -v refresh-dhcpdconf|' to the two 'ps aux' command lines in the
> refresh-dhcpdconf script. This will resolve the problem. See the below
> example:
>
> if [ "`ps aux|grep dhcpd|grep -v grep|grep -v refresh-dhcpdconf|awk '{print
> $2}'`" != "`cat /var/run/dhcpd.pid`" ]; then
>
> -- Patrick
>
>
> -----Original Message-----
> From: owner-netreg@southwestern.edu [mailto:owner-netreg@southwestern.edu]
> On Behalf Of Michael Stella
> Sent: Wednesday, December 17, 2003 7:15 PM
> To: netreg@southwestern.edu
> Subject: RE: NetReg: DHCP refresh problems
>
>
> Hello!
>
> I seem to be having this same issue. I tried the change below but there
> seemed to be no effect. I've been able to determine that the clients are
> registering OK - the refresh script swaps in the dhcp.conf.new to dhcp.conf
> - then restarts the server just fine. Then I assume I am seeing the problem
> below as the script then copies dhcpd.conf to dhcpd.conf.bad and the
> dhcpd.conf.bak file into dhcp.conf and tries to start the server without
> stopping it first. (If I run the script by hand I can see this happening).
> Then it even complains that it has a fatal error and can't start anything
> even though DHCP is up and working fine.
>
> I made the changes below but that didn't seem to help. I am running Netreg
> on Redhat 9.
>
> Any ideas?
>
> Thanks in advance!
> -Mike
>
> ****************************
> Michael Stella
> Network Services Administrator
> michael.stella@regiscollege.edu
> Voice: 781-768-7176
> Fax: 781-768-7344
>
> -----Original Message-----
> From: owner-netreg@southwestern.edu [mailto:owner-netreg@southwestern.edu]
> On Behalf Of Brad Pinkston
> Sent: Thursday, December 04, 2003 11:42 AM
> To: netreg@southwestern.edu
> Subject: NetReg: DHCP refresh problems
>
> It seems as though people are having trouble using the refresh-dhcpdconf
> script with other packages. There are a couple of tweaks to the script that
> may help solve these problems.
>
> Edit the file and change your paths to all dhcpd.conf files. Then change
> the line:
>
> if [ "`ps aux|grep dhcpd|grep -v grep|awk '{print $2}'`" != "`cat
> /var/run/dhcpd.pid`" ]; then
>
> to
>
> if [ "`ps axc|grep dhcpd|grep -v grep|awk '{print $1}'`" != "`cat
> /var/run/dhcpd.pid`" ]; then
>
> It seems this pid file and current running pid aren't matching up correctly.
> I experienced this with Redhat Enterprise v3.
>
> This has not been tested on any other platforms and should not be considered
> failsafe until you test all possible scenarios yourself.
>
> Hope it helps.
>
> Brad Pinkston
> Firewall/Network Administrator
> Checkpoint CCSA
> Centenary College of LA
> (318) 869-5721
> bpinksto@centenary.edu
>
>
>
> --------------------------------------------------------------------
> This email has been scanned for viruses by Centenary College of LA
>
> **********************************************************************
> To unsubscribe from this list, send an e-mail message to
> majordomo@southwestern.edu containing a single line with the words:
> unsubscribe netreg Send requests for assistance to:
> owner-netreg@southwestern.edu
> **********************************************************************
>
> **********************************************************************
> To unsubscribe from this list, send an e-mail message to
> majordomo@southwestern.edu containing a single line with the words:
> unsubscribe netreg Send requests for assistance to:
> owner-netreg@southwestern.edu
> **********************************************************************
>
> **********************************************************************
> To unsubscribe from this list, send an e-mail message to
> majordomo@southwestern.edu containing a single line with the words:
> unsubscribe netreg
> Send requests for assistance to: owner-netreg@southwestern.edu
> **********************************************************************

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:42 CDT