Archive for the 'Linux Studies' Category

NUT Config

Sunday, July 1st, 2007

Examples on Ubuntu

 ups.conf

[tlups]
driver = newhidups
port = auto
desc = “Tripp Lite Stemple USB”

upsd.conf

ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32

ACCEPT localhost
REJECT all
upsmon.conf

MONITOR tlups@localhost 1 monuser password master
FINALDELAY 2
SHUTDOWNCMD “/sbin/shutdown -h +0″

upsd.users

[monuser]
password = password
allowfrom = local
upsmon master
/etc/default/nut

# start upsd
START_UPSD=yes

# start upsmon
START_UPSMON=yes

OMNI1000LCD UPS added to the Server

Sunday, July 1st, 2007

I picked up a 1000vA UPS at Costco, the Tripp-lite OMNI1000LCD.  It works with the NUT project.  In testing I configured it via USB to shutdown the server.  At this point it looks like I can get 15-20 minutes from battery before shutdown point.

I found that the UPS does not show up in lsusb unless I plug in a USB hub then plug in the UPS to the hub.  Not sure why that is yet.  The APC has no problem being detected.

An APC Back-Ups 350 is now hooked to the macMini.  OSX configured the connection without any effort.

I have an older APC 250 that will be moved to the closet for communications support.  The 3rd battery in its 10 year service was placed in it yesterday.

Ububtu Desktop install - still no issues

Wednesday, June 27th, 2007

I have yet to have any of the problems I had prior to installing the new mobo.  Wondering when it will be SAFE to move the applications.  Last time I spent a lot of time getting things setup just right and running great… all to have it just crash and burn.  Being very careful  now.

I installed another 120mm fan in the case.  This fan blows over the hard drives, hoping this may better protect the drives.  The drives were never outside of operating temp per the spec, however they seemed very hot to touch.  With the fan I can touch without issue.

So far so good.  I have not built a serious file system yet, but all the testing seems to show no problems.

ASUS M2A-VM installed

Monday, June 25th, 2007

Tired of dealing with the ECS I bought an ASUS M2A-VM motherboard. It has the AMD chip set rather the the Nvidia 403 or 430. I am hoping this new chip set may resolve the SATA issues that I appear to be having. Also this board supports more control over the SATA config and supports AHCI mode.

So far I have install Ubuntu 7.04 server and built several 200gb raids. I have filled these file systems, copied the same files at the same time multi times and tested it any other way I can. Also pulled the plug a couple times, no issue so far. Maybe all my problems were motherboard related? But then again it took a week of running before the other one crashed.

I my last 3 systems were ECS mobos with no problems. I like using the ASUS so far, its different and has more control options.

Before getting the ASUS I was able to exchange the ESC mobo as defective. I have plenty of evidence and testing to prove that… many hours worth.

Burned Out! No more computer work…

Friday, June 15th, 2007

I am tired of dealing with this computer situation.  The power supply didn’t help.  I was still able to duplicate the issues.  I am starting to wonder about the Nvidia 403 chipset.  Maybe the answer is to ditch this combo Mobo and start with a new one.

Either way I am burned out and need a break.  This weekend will be spent 100% outdoors!  No computer work or thoughts…  Hope to hike around Tahoe area a bit.

Hard Drive Crash - Duplicated

Thursday, June 14th, 2007

I was again able to crash the hard drive.  It seems that maybe this is motherboard or OS related? I have upgraded to the latest kernel 2.6.20-16.  No luck.  I am going to get a new power supply and see if that makes a difference.  The current power supply is a no-name 550 watt.  Seems fine in the older computers…

I am going to pick up an Antec 550 TruePower.  Hope that helps!

Defective hard drives?

Thursday, June 14th, 2007

It seems that that the two hard drives (both have become unstable and fell out of the raid after rebuilding) connected to the motherboard are having issues. I am able to exchange and attempt to duplicate the issues. There was a week or more of stable use. This just doesn’t make sense.

Crash Update

Sunday, June 10th, 2007

Determined that the drive that failed does not pass the SeaTools short test. Also it indicated that the SMART system is disable, though the other drives indicate the SMART is enable so it appears to be drive specific. The drive in question is the one that fell out of the raid. Contacting Maxtor and possibly Frys. Most testing and google research is required…

Crash - raid5 lost a drive, followed by another

Wednesday, June 6th, 2007

I have moved everything to the new box however the file system on the raid5 became unstable and 1 of the drives failed out. I was able to backup the data before I totally hosed it using mdadm before I learned how to manage it correctly during a drive fail. I learned a lot dealing with the crash. I plan to start testing the drives in an effort to determine the problem. The drive that failed was controlled by the motherboard SATA controller, not the PCIe controller.

Ubuntu is up on the new box

Saturday, May 19th, 2007

Ubuntu was a slick install. I missed however the bit about installing LAMP. I did that by hand. Also I spent way to much time planning the storage system. Good thing server is a quick install because got all the way through the install and discovered the bit about grub not installing on a raid5, only supports boot from raid1.

So far things are good. I installed the desktop to get some time in with that as well. I like it. Again to bad this is going to be a server only. It would be a GREAT desktop. I plan to test it out before moving core data and applications from the FC5/6 server.