8

Our development server at work is taking a dump on us. So at this point, we're repurposing some other servers we have in our server room for this purpose.

My boss wants me to test the servers before I even try installing anything on them. How do we to about this?

Peter Mortensen
  • 2,319
  • 5
  • 23
  • 24

7 Answers7

13

The UBCD has several benchmark/stress testing utilities built in. Just burn it to a CD and boot it up, no need to install anything. I've used it several times to stress new production systems.

The UBCD includes

  • memtest
  • CPU burn-in
  • Benchmarking tools (run once before, and once after)
  • And a bunch of disk diagnostic tools

Works great.

Alternatively there is Stress Linux, but it hasn't been maintained very well. It does include several tools that are useful for stress testing: bonnie++, memtest, and stress.

The linux program stress is excellent. Allowing you to test memory, CPU, and disks with one program.

Joseph Kern
  • 9,809
  • 3
  • 31
  • 55
  • 1
    The links I couldn't include above. `newuser` status ... http://www.stresslinux.org/ http://www.stresslinux.org/software.php http://weather.ou.edu/~apw/projects/stress/ – Joseph Kern Jun 12 '09 at 15:48
  • UBCD is a great tool, +1 for mentioning it. – pauska Jun 12 '09 at 16:51
7

First thing I'd do is to run memtest on them to absolutely make sure that the RAM works properly (see http://www.memtest.org/, they have an ISO file available for booting from CD-ROM).

Then I'd install Debian or Ubuntu and run some I/O benchmark software while carefully watching dmesg/syslog for any disk related errors. (Linux is free, your boss shouldn't care.)

Then I'd download several large files from a FTP server while pinging something to make sure that the network connection is reliable.

Edit: Poster elsewhere made a good point - don't install anything if it already has the OS you want to use!

Peter Mortensen
  • 2,319
  • 5
  • 23
  • 24
pauska
  • 19,532
  • 4
  • 55
  • 75
4

It depends a lot on what type of tests you need to run. If it's just to check and see if they still basically work any of the Live CD versions of Linux will work (Knoppix, Ubuntu, ...).

John Meagher
  • 156
  • 2
  • 3
1

I'd like to at least mention SpinRite, if testing the hard-drives/storage as part of the system.

http://www.grc.com/spinrite.htm

anonymous coward
  • 615
  • 2
  • 8
  • 15
0

If I have time, I like to do an extensive "burn in". I'm sure there are programs that will do this for you, but I end up just writing a couple of batch files.

On a Windows box for example, I'd do the following

  1. create a couple extra volumes (D, E)
  2. compress 1 volume
  3. encrypt the other volume
  4. make some folders on the D drive and load them up with data... Word documents, MP3 files, movies, whatever. A few huge files are good (movies). Make an MD5 hash of the big files and store it on another computer. When you finish, do another MD5 of the big file and see if they match.
  5. write a short script to move/copy/delete files back and forth and set it to loop. Something like:

    copy d:\test1*.* e:\test1*.*
    copy d:\test2*.* e:\test2*.*
    del /q d:\test1*.*
    del /q d:\test2*.*

Then copy everything back.

If this doesn't get your processor usage (and disk usage) pegged, setup more folders and more scripts. I've had systems where I had to have 5 different batch files running at the same time in order to get everything pegged.

All of the compressing and encrypting will help get the processor and RAM in use, and of course all the file moving will test the disks pretty thoroughly. You can do an even better job by replacing the delete command with something that does a secure delete-- scrubbing the actual area of the hard drive.

Peter Mortensen
  • 2,319
  • 5
  • 23
  • 24
hellimat
  • 129
  • 2
0

http://www.ultimatebootcd.com/. Here you can find good tools. Before installation test the HCL.

Peter Mortensen
  • 2,319
  • 5
  • 23
  • 24
Rajat
  • 3,329
  • 21
  • 29
-1

Are we talking about Windows? Is there an OS installed on the new server? If no, just make you you have adequate RAM. Verify what your processor speed is and if it's dual or quad (both preferred). Also verify your RAID settings.

Most Dell and HP servers comes with APPs which can be run during startup to check the hardware.

Saif Khan
  • 1,935
  • 2
  • 20
  • 25