September 11, 2006

On being the responsible technologist

mushroom-cloudAlbert Einstein once said, “Technological progress is like an axe in the hands of a pathological criminal.” I look at the progress we have made in the past 20 years and especially in the last 5. We have gone from technology being in the hands of geeky privileged few, to it being common place everywhere. It is no more apparent than watching how people view and use the web. We live in a world where people can not go from place to place without a GPS; Google is now considered a verb (much to their chagrin); email is now passe amongst 20 somethings; and anyone can interweave services from Yahoo, Amazon, Google, and the likes of Zillow to create some scarily accurate and inaccurate pictures of us.

This generation or iteration of software and the internet is one of openness and transparency. This means as technologists and corporations, we have a responsibility not only to our shareholders and employers but also to our user community. We can still be socially responsible and still make a profit. Even if that responsibility means that we only create a trail of how people are using our hardware and software. Some are going to scream about Privacy. Others will call out that we are just feeding big brother and making him into an ever more aware beast. We need to do something to protect us and yes perhaps help big brother and the authorities.

Just look at what is happening all around us. Go to MySpace, Facebook, Google a friend or colleagues name, or choose your favorite topic and find a forum on it; you’d be surprised at the amount of personal information you will find, most of it is posted out in the open. Molly H. found out that a lot of her personal info was posted on Aboutus.org. Some that she may not have chosen to be posted. My 13 yr old niece set her away message on AIM to be her cell phone number. Whether or not if its voluntary or not, there is a lot of personal information out there that can be pieced together pretty easily and quickly. Until the public and the government is fully educated and appreciates the ramifications of such transparency, then we are obligated to assist them when possible.

Should we keep detailed records, with names and personal records available? Its not necessary, but we
can keep an auditable trail for a time period and insure that it is purged on a regular basis. This we have in our individual abilities. Through my career I have emphasized this with my employers and customers. If something ever happened like on MySpace, then we should be able to help them when necessary.

Storage space is cheap. The required computing power is minimal and the technology required to create is very straightforward. In a subsequent article, I will detail some of the steps that I have done to do this (programmatically in VB) and what I am using today achieve this (SQL triggers). If we are going to make the Axe and WMD, then let’s at least try to make it difficult for the psychos to use it.

Technorati Tags: , , , , , ,

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • YahooMyWeb
Permalink • Print • Comment

August 17, 2006

How to add a second raid 5 array to Windows Server 2000

Recently, I posted about How to swap out hard drives in a Windows 2000 soft mirror. In this post I am going to talk about making the choice between adding to an existing RAID 5 array or creating another one and how to do it.

A customer, got an email stating that the latest version of their client management software was out. When I called the vendor to see what was required, I was told that they would need more memory and storage space. This is a small business running a single server. The server acts as a data repository, a domain controller and their DNS/Wins server, so anything done to it has to have as part of the plan.

I cracked the case to see what was already in there. It was a 3 year old server and still quite serviceable, with dual Xeon 2.3 GHz CPUs; 512 Mb (2 x 256 Mb) of memory addressable up to 8 Gb; and a SCSI Raid controller with 3 x 18 Gb UltraStar 10k rpm drives and could support up to 7 drives; and enough power to support more.

Choosing which drive configuration to use:

The drives were a little out of date. I had three options:

  1. Add some modern drives to the array.
  2. Swap out the array, in a similar manner as I did for the soft mirror.
  3. Create a 2nd Raid 5 array just for the data.

Adding to the existing array is just a waste to put 70 Gb drive on only to have 18 Gb of it used. There is also the possibility of the controller not liking the mismatch of drives. The drives are also 3 maybe 4 years old by now with at least 3 years of spin on them. Its a doctor’s office, so anything to minimize damages is a definite plus. Let’s not go down this route.

Swapping out the array has some nice advantages to it. It replaces the existing array with lots of wear, thus removing one possible point of failure. It also lets me grow the storage at the same time. Besides using the a fore mention method to swapping the drives, Acronis’ True Image backup now makes it even easier to do.

Creating a new array wouldn’t solve the issue of the aging drives, but it does give me storage and added performance. Remember this is a do it all server, so everytime someone hits the network it has to hit here first. I always try to make my servers have at least an o/s disk/array and a data array. This allows an added way to recover, upgrade, gives some performance improvements over having it all on one device.

Either option 2 or 3 would do work nicely, but as this particular application is known to be resource and network intensive, I chose option 3. The idea of isolating the data and adding some performance was the most logical to me. Also Raid 5 gives you that extra security if a drive fails you are still in business.

How to add a 2nd Raid 5 array to a controller with an existing array on it in a Windows 2000 Server

I called on a friend and colleague, Matt Bennett of Occam consulting to help me do the job. Matt has helped me out before and has been working with servers and hardware for 8 years now and likes to make sure things work. We chose Hitachi’s 73 Gb 10k rpm they got good reviews and had a nice price/performance point.

This machine already had a Raid 5 with drives on it.

  1. Open and dust out the case. This is either an obvious step for most or one that seems trivial, but while you are there it will help to keep the troubles down.
  2. If your system has a small cable or one that doesn’t have enough connectors, replace it with the new cable. We had to replace ours with one that supported 7 drives.
  3. Secure and install the new drives. Make sure that you have enough power and airflow to handle the additional drives. Be sure to set the address of the SCSI drives correctly. The Hitachi’s were addressable up to 8 bits, but the card could only handle 8 drives. All of our drives are numbered sequentially and installed in that order in the case and labeled so that we could tell which drive failed in the inevitable.
  4. Boot up the system.
  5. We choose to use the Controller’s firmware to initialize the array, but you could always go into Disk Management to do the same thing. We selected the three new drives. Defined the array and said go.
  6. We then exited the firmware and let the system boot up normally. It will take a bit longer for the system to boot, so be patient. Unlike I was. If you aren’t it may take longer depending upon if the firmware can/does decide to do a non-destrucive initialization.
  7. You can monitor the progress in Windows Disk Management tool, by right clicking on “My Computer”, selecting manage and finding Disk Management under the Storage section.
  8. Once the initialization is done, right click on the new disk and select convert to basic. We found that while dynamic disks have some advantages to them, replacing them has some issues.
  9. Follow the steps to create the primary partition, accepting all the defaults. The format should go quickly as there are many heads involved and its 10K rpm.
  10. Copy over your data to the new drive. Again its Raid 5 to Raid 5 it should fly.
  11. Remember to change your backups and any shares to reflect the new array.
  12. Now you are done. If you haven’t done so already, button up the system and be on your merry way.

Once I did the upgrade and copied over the data to the new drive, the office had a significant increase in performance. The cumulative effect of the additional memory and array made the server heavy a sigh of relief and the office cheer. With 2.5 Gb of memory there should be little or no disk swapping and what little swapping there is being done to the o/s array which isn’t being hit hard now. We saw the O/s and services grow in memory usage to almost 700 Mb of memory. There is little I/O back up with the 2nd array handling all of the data needs.

If you have the resources and requirements in the server, adding a 2nd array is the way to go.

Technorati Tags: , , , , , , , ,

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • YahooMyWeb
Permalink • Print • Comment

August 15, 2006

When software troubleshooting becomes a process of elimination

Jeff over at Coding Horror is talking about how sometimes its hardware at fault and not your software. Jeff sometimes its not even the computer at fault nor your software. Sometimes troubleshooting goes beyond our expertise and is just a process of elimination.

My application was running in production and running well, except that two users would intermittently experience similar, but different problems. The obvious thought was, well its got to be either the users are doing something different than everyone else or its hardware. I sat there and watched them and saw nothing out of the oridinary. Ok it must be specific to the PC. I pulled the PC and had it reformatted and reinstalled the software. Still the samething. Ok, so now it MUST be hardware. We put a spare PC in there and it worked! for a couple of days.

Frustration sets in on the users end and ours. Ok, so intermittent problem, different hardware, now we get it: Network issues. Sure enough we discovered a series of bad ports on the network switch. We replaced the switch and bingo no more problems… for a couple of days. Ok not much left that hasn’t be changed out…replaced network cable and swapped the port it was plugged into.. still it would work for a couple of days and then back to issues. As Sherlock Holmes would say, “when you have ruled out the obvoius…” The only thing left now is power and sure enough the electrician tested the outlet and it wasn’t at 110 and it wasn’t balanced with the rest of the building.

It was a long and arduous trip, but I am happy to say that this particular issue has been resolved. Now can someone solve Scoble’s crashing Mac?

Technorati Tags: , , , ,

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • YahooMyWeb
Permalink • Print • Comment

July 19, 2006

How to swap out hard drives in a Windows 2000 soft mirror.

A couple of weeks ago a client moved their server. When they tried to bring it backup the machine would not boot. After some head scratching we thought to check the disks. Sure enough Drive 1 or the mirror had failed hard. You could hear the heads clicking and scratching. The drives were bought as a matched set, so we decided to replace them as set. The vendor delivered the drives as promised. When we opened the box we were surprised that the drives were bigger than the originals. BONUS you say, except that it adds a few steps to the process to replace the mirror.

Below are the steps we followed to replace and expand the mirror.

Through research and experimentation we discovered that mirrors are built from dynamic disks and in that configuration that can not be duplicated (other than repairing the mirror) nor can their partitions be altered. In order to speed the process we used Paragon’s Partion Manager, but Partition Magic would have worked as well.

More

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • YahooMyWeb
Permalink • Print • Comment
Made with WordPress and an easy to customize WordPress theme • Electric Kubrick skin by Denis de Bernardy