Reply

 

LinkBack Thread Tools Rate Thread
Old 02-14-2005, 06:11 AM   #1 (permalink)
WHC Guru
 
Join Date: Jan 2004
Posts: 3,363
Did the Datacenter give you the correct server?

Many companies, now a days are very busy and have many orders and with this increase in business, we are seeing increases in servers with the wrong hardware. This guide is just a little how-to to fix all of those problems or at least check, to make sure you have the right information

So first step is log into SSH

1. Check CPU brand and speed

less /proc/cpuinfo

You should get something like below, well if you have a Dual Xeon 2.8 like me. As we can see we get the CPU model and vendor and a lot of other useful information

Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 9
cpu MHz : 2799.258
cache size : 512 KB
physical id : 0
siblings : 2
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5583.66
2. Find out the amount of RAM

free

You should get something like this. As you can see my server has exactly 1GB or RAM.

Quote:
total used free shared buffers cached
Mem: 1024888 995700 29188 0 117220 421644
-/+ buffers/cache: 456836 568052
Swap: 2040212 270616 1769596

3. Find mounted partitions

df -h

as you can see this shows % use and oher useful information

Quote:
Filesystem Size Used Avail Use% Mounted on
/dev/hda6 1012M 309M 652M 33% /
/dev/hdb1 111G 334M 105G 1% /backup
/dev/hda1 99M 35M 59M 38% /boot
/dev/hda5 90G 13G 73G 15% /home
none 501M 0 501M 0% /dev/shm
/dev/hda7 1012M 33M 928M 4% /tmp
/dev/hda2 9.9G 4.5G 5.0G 48% /usr
/dev/hda3 6.9G 2.4G 4.2G 37% /var


4. Find out how many HardDrives you have

fdish -l

As you can see I have 2 Hardrives hda and hdb, both are 120GB

Quote:
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1318 10482412+ 83 Linux
/dev/hda3 1319 2232 7341705 83 Linux
/dev/hda4 2233 14593 99289732+ f Win95 Ext'd (LBA)
/dev/hda5 2233 14077 95144931 83 Linux
/dev/hda6 14078 14208 1052226 83 Linux
/dev/hda7 14209 14339 1052226 83 Linux
/dev/hda8 14340 14593 2040223+ 82 Linux swap
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 14593 117218241 83 Linux
5. Find more detail about your HardDrive (for you hardnuts)

hdparm -i /dev/hda

This give you a lot more information. A lot of which is not needed IMO, if you have two Hardrvies replace hda with hdb etc.

Quote:
Model=WDC WD1200JB-00GVA0, FwRev=08.02D08, SerialNo=WD-WCALA1358993
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
6. Test speed of your hardrive

hdparm -tT /dev/hda

Now this is interesting, most of you will beat me I should imagine as my server has 300 sites on and is a production server so of course will be slightly slower than usual , brand new it was much quicker though

Quote:
/dev/hda:
Timing buffer-cache reads: 1548 MB in 2.00 seconds = 774.00 MB/sec
Timing buffered disk reads: 24 MB in 3.34 seconds = 7.19 MB/sec


That is it. hope I helped some of you
__________________
Seeksadmin - For all your administration and security needs.

Hostaga - A true hosting leader
Tris is offline   Reply With Quote
Old 02-14-2005, 08:47 AM   #2 (permalink)
WHC Administrator
 
Join Date: Oct 2004
Location: http://kooshin.com
Posts: 4,195
Yes it happened one time to a friend of mine and he contacted the company then they fixed it so if this guide was available at that time then might used it ....good guide
__________________
For Reliable and Affordable Web Hosting Packages, Please visit kooshin.com
KooshinDesigns.com- Version One Online

ArticleStorage.com- Your #1 Resource For Articles
4Ulyrics.com -- The Lyrical Hideout, For Sale - Email me for details.
kooshin.com is offline   Reply With Quote
Old 02-14-2005, 09:27 AM   #3 (permalink)
WHC Guru
 
Join Date: Jan 2004
Posts: 3,363
Thanks, it should help....
__________________
Seeksadmin - For all your administration and security needs.

Hostaga - A true hosting leader
Tris is offline   Reply With Quote
Old 02-14-2005, 09:16 PM   #4 (permalink)
gate2vn
Guest
 
Posts: n/a
You can also use "dmesg" to give you more information
  Reply With Quote
Old 02-15-2005, 05:32 AM   #5 (permalink)
WHC Guru
 
Join Date: Jan 2004
Posts: 3,363
Very true...
__________________
Seeksadmin - For all your administration and security needs.

Hostaga - A true hosting leader
Tris is offline   Reply With Quote
Old 02-24-2005, 01:10 PM   #6 (permalink)
WHC Moderator
 
Join Date: Feb 2004
Location: Texas
Posts: 831
Wow, great stuff.. but shot a few feet over my head. Reminds me why I stay on the user side of the sales table. Lots of good information there though, I'd like to learn more about it in the future. Guess it wouldn't hurt me any.
__________________
The Web Hosting Show - The Voice of the Web Hosting World
Think of it as talk radio mixed with Web hosting discussion for both Web hosts and Web hosting clients! New episode every Monday!
silverfreak is offline   Reply With Quote
Old 02-24-2005, 02:43 PM   #7 (permalink)
WHC Guru
 
Join Date: Jan 2004
Posts: 3,363
well you know my MSN. I am always willing to help teach
__________________
Seeksadmin - For all your administration and security needs.

Hostaga - A true hosting leader
Tris is offline   Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0