Login »

Bluetrait

Search Posts

Categories

Bluetrait
    Coding
        WordPress
            Plugins
        PHP
        Bluetrait (Program)
    Geek
        Cisco
        IBM N2200 8363
        PCs
        Spam
        IPv6
        Apple
        NetScreen
        Internet
    General
        Uni

Popular posts

Click here if you are looking for Bluetrait, the weblog software.


Login

Username:

Password:

New Dev Box

Posted by Michael Dale on Tue, 24 Jun 2008 11:44 PM

Got myself a new dev box today:

AMD Phenom x3 8450 (3x2.1GHz)
2gb Ram 6gb Ram

Currently running Windows 2008 (for some Hyper-V testing). Seems to run pretty quick, just needs more ram ;)


New Server

Posted by Michael Dale on Fri, 20 Jun 2008 3:50 PM

We're just in the process of replacing our server. Specs:

  • Windows 2008 64bit (with Hyper-V for Web and VoIP)
  • Intel Q6600 (Quad 2.4GHz)
  • 4gb Ram (soon to be upgraded to 8gb)
  • 2x300gb Raid 1 Boot drive
  • 4x750gb Raid 5 Data drive

So email is currently down but will be back up tonight.


New Computer

Posted by Michael Dale on Wed, 01 Aug 2007 10:40 PM

I purchased a new desktop computer the other day (first one since 2003). Unfortunately the video card has not come yet, so my vista "experience" score is interesting :)

Vista Rating

The computer is an Intel 2.4GHz Quad Core with 4gb Ram and a 8800GTS (currently an X300se, heh).


New Server

Posted by Michael Dale on Wed, 18 Jul 2007 5:18 PM

Finally got a new server running. So I'm in the process of moving the websites over it to.

It should be faster too (it is an Athlon 64 3000+).


web server

Posted by Michael Dale on Sun, 20 May 2007 9:22 AM

The Web Server is having issues *again*.

This time it looks like one of the CPUs isn't working. So it's going to be running with a single cpu until I get around to fixing it :|

EDIT: Still having issues. Might be a power supply issue, but we don't have another one to test with.


Downtime

Posted by Michael Dale on Sun, 22 Apr 2007 12:33 AM

Sorry about the downtime. There are some issues with Apache that are causing the server to lockup; I haven't had time to look into it yet.

The reason I didn't get to it quicker was that I had been at Heron Island for the week (which was awesome).


New Server

Posted by Michael Dale on Wed, 14 Feb 2007 8:07 PM

Our web server died a few weeks ago, I was lucky enough to borrow a spare DL380 G1 from work. Although we still have it, I'm not sure if we'll be able to keep it.

So this new server is a DL360 G1 (1 rack unit):

  • Dual Pentium 3 1.266GHz (512K L2 Cache)
  • 256mb Ram (we will upgrade it if it goes into production)
  • 18gb SCSI HDD
  • 2 100mbit onboard nics

Here is what it looks like:
DL360


Mail Server Spam Stats

Posted by Michael Dale on Wed, 24 Jan 2007 2:09 PM

New Server

Posted by Michael Dale on Thu, 07 Sep 2006 10:52 AM

We've finally got all the hardware ready and setup for the new server:

  • Dual Althon MP 1800+
  • 2gb ECC DDR Ram
  • 3x80gb SATA in Raid 5 for boot, off a HighPoint 1640
  • 3x300gb SATA in Raid 5 for data, off a RaidCore 4852

So yeah. Our new file/mail/sharepoint server!


Setting up Raid 1 on FreeBSD 5.4

Posted by Michael Dale on Tue, 19 Jul 2005 10:07 PM

This post is following on from my entry about the servers hard drive dying and how I setup Raid 1.

During an automatic weekly backup, my web server's hard drive failed. Luckily I run a database backup nightly and had last weeks full backup.

I decided it was time to move to Raid. Raid 1 uses two hard drives to store your information. When one drive fails the other continues to operate allowing you to install a new drive and rebuild the array.

Please note, Raid is NOT a backup solution.

So I went and purchased two Seagate 80gb SATA hard drives. Since the motherboard doesn't have SATA support I also needed a SATA controller. I decided it was about time to move towards SATA and also the 80gb SATA drives come with an 8mb cache. The old hard drive in the server was the same model but in IDE form (and thus 2mb cache).

So I got home (from the Hunter Valley) on Saturday afternoon with two drives in hand. Later that day I got a PCI SATA controller based on an ALi m5283 chipset.
I plugged it in, setup the Raid 1 through the cards BIOS and loaded the FreeBSD 5.4 CD. I was greeted with the friendly message that no hard drives were detected, damn. I then did some googling and found that there really wasn't any support for this card outside of Windows. Great.

Anyway I needed a solution quickly and it was late. I needed to get a SATA controller from somewhere on Sunday. The only shop open close to me was Adelong and they had one SATA controller based on the Silicon Image 3112 chipset. Another quick google and from the looks of it FreeBSD supported the card.

So I got it home and plugged it in and setup another hardware raid (quasi hardware at least). Well FreeBSD loaded and showed me two hard drives. Interesting. With Raid 1 you should only see one. Looks like it supported the card, but not the raid function. Oh well I thought, software raid should do.

So a bit of google searching and some failed attempts at software raid I found this quick howto.
1. Install FreeBSD on to ad4.
2. Reboot with the Install CD.
3. Enter Fixit mode. (For FreeBSD less than 5.4, use Install CD disc2 as the “live filesystem”)
4. # chroot /dist

# mount_devfs devfs /dev

# gmirror load

# gmirror label -v -b round-robin gm0 /dev/ad4

# gmirror insert gm0 /dev/ad6

# mount /dev/mirror/gm0s1a /mnt

# echo ‘geom_mirror_load=”YES”‘ >> /mnt/boot/loader.conf
# echo ’swapoff=”YES”‘ >> /mnt/etc/rc.conf
5. # sed “s%ad4%mirror/gm0%” /mnt/etc/fstab > /mnt/etc/fstab.new
# mv /mnt/etc/fstab.new /mnt/etc/fstab
6. Reboot

Right looked easy. So I setup my first software raid and the system booted! Great.

I did a gmirror status gm0 and go this output:

gmirror status
Name Status Components
mirror/gm0 DEGRADED ad4 ad6(6%)

Gmirror was syncing up my second hard drive (ad6), so I decided to leave it for the night and headed to bed.

The next morning (Monday) I awoke to the follow error:

ad4:TIMEOUT - WRITE_DMA retrying (2 retries left)

The system was still online, but when ever there was any disc activity the system would lock for a few seconds before doing anything.

I did some searching and it seemed that the ATA drivers had some issues with SATA chipsets. Great.

Anyway there was a patch out for it, so I patched the system and recompiled the kernel. The system seemed to boot somewhat better. But I spoke too soon. As soon as I tried to copy over the backup image, gmirror reported that ad4 and ad6 were disconnected and the system locked up. Fantastic.

Another google search and it simply looks like the SiliconImage 3112 (Sil3112) is a piece of crap hardware. Don't buy one.

A quick call to Bryn and I had a lovely High Point RocketRaid 1520 card in my hands at about 5pm. Over three times more expensive than the first card I tried, and a much larger box, it was guaranteed to work! (also the fact that the card said FreeBSD support on the box :p).

I loaded it up, setup the raid through the bios and freebsd detected it as a hardware raid! Sweet.

Jul 19 21:21:48 metro kernel: ad4: 76319MB [155061/16/63] at ata2-master UDMA133
Jul 19 21:21:48 metro kernel: ad6: 76319MB [155061/16/63] at ata3-master UDMA133
Jul 19 21:21:48 metro kernel: ar0: 76319MB [9729/255/63] status: READY subdisks:
Jul 19 21:21:48 metro kernel: disk0 READY on ad4 at ata2-master
Jul 19 21:21:48 metro kernel: disk1 READY on ad6 at ata3-master

and

metro# atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 ad6 status: READY

four and a half days, 3 SATA controllers and many hours later, that night the server was online. :)