Thursday, November 11, 2010

Norco build update

So I finished the first OCE/ORM (Online Capacity Expansion/Online Raid Migration) using the Highpoint 4320 RAID card. I moved from a 3 drive RAID 5 to a 4 drive RAID 5 as part of my move from the old WHS server to my new Server 2008 build.

Other than it took 2 days, there were no problems. At the end, I had to go into storage manager on the box and "Extend" the size of the disk. 2 important points that allowed this to just work:

1) I had already made it a GPT disk (so it could handle very large partition sizes)
2) I had already made it a Dynamic disk (so it could be easily extended)

The other thing I did was to install Windows Media Connect 2.0 on this server so that I could share my files out with my XBox 360. My Windows Media Center didn't need this as it can use the file shares I already setup.

Here is how I did it:

1) Find a copy of Windows Media Connect 2.0, this is no longer provided my MS but can still be found around the web. Another place you could potentially find it is in the file umupnp.exe on the Windows Home Server installation media.

2) Now out of the box this won't install on Server 2008, so don't bother trying, you need to extract the files from the archive. I used Winrar, other archiving tools will do it too.

3) Create a folder, for example C:\Program Files\Media Connect (I'll assume you used this folder for future examples)

4) Copy the following 3 files which were extracted from the archive mentioned in the last step into your new folder: wmccds.exe, wmccfg.exe, wmcsci.dll

5) Run regsvr32 "C:\ProgramFiles%\Media Connect\wmcsci.dll"

6) Run "C:\ProgramFiles%\Media Connect\wmccds.exe" -installwithfiles (This is an undocumented feature of Media Connect which installs the service without paying attention to pesky details like OS version).

7) Run sc config "WMConnectCDS" depend= none
NOTE the space between = and none...it is required!

8) Run sc config "WMConnectCDS" depend= upnphost/HTTP (These 2 commands are essentially an easy way to remove the HTTPFilter service dependency which does not exist on Server 2008. It's functionality now resides in HTTP, I could of done this from the registry as well but in my experience that requires a reboot). NOTE the space again!

9) Enable the SSDP Discovery Service by setting it to manual startup from the GUI or using
sc config "SSDPSRV" start= demand
Don't forget the space between = and demand!

10) Enable the UPNP Host Device Service by setting it to manual startup from the GUI or using
sc config "upnphost" start= demand
Do I really need to say it again?

11) Run wmccfg.exe and do the initial setup.

Now you have a icon in the system tray you can click to open the configuration to make changes, or you can run the wmccfg.exe to reconfigure.
 
Next I am going to move the rest of my files from my WHS and then perform another OCE/ORM to RAID 6 with the remaining drives.
 
Jim

Sunday, November 7, 2010

WHS (sort of) and Norco Build

So I rebuilt my WHS (Windows Home Server) - sort of.

Originally (see my previous post), I was going to make a new server using the Norco 4020 (I know the post says 4220) and a Highpoint 3540. The idea was to get the lowest cost per port. The 4020 case uses SATA cabling on the backplane and the 3540 RAID card comes with a whole bunch of SATA cables, so I would have everything I need to hook it all up.

The issue is that the 3540 handles 16 drives, so I would have to do something else to handle the last 4 drives. Plus, the 3540 is almost $700 CDN.

I didn't know much about SAS Expanders, but I had heard about them. So....after more investigation, I decided to get a Highpoint 4320 raid card instead. It was $482 from Newegg.ca and has 2 SFF-8087 Mni-SAS connectors. These connectors breakout to 4 Sata connectors each. But then you say, "I thought you wanted 20 drives?!".

True - but the 4320 can handle SAS Expanders - the 3540 can't. With SAS Expanders, the 4320 can handle up to 128 drives. I can take one of those SFF-8087 connectors and turn it into 16 (or more) drives. I just need a SAS Expander card. The Chenbro CK12803 is a compatible SAS Expander for the 4320. The Highpoint 4320 also comes with 2 SFF-8087 Mini-SAS cables.

So...I found the Chenbro at http://www.ncix.com/ for about $280 CDN. That means the total cost of the RAID card combo is now $762 - about the same as the 3540 was going to be, but now I have more expandability, plus I am now going to use the Norco 4220 case which uses the SFF-8087 connectors on the backplane, so I will have much less cabling.

I was gonig to buy everything from newegg.ca, but NCIX often has sales on hard drives and they price match, so when I called them, they were willing to meet the pricing I got from Newegg on the case etc. The only thing they didn't have was the Highpoint RAID 4320 card. So here is my shopping list (prices all in Canadian):

Norco 4220 Case - NCIX - $339
3 extra SFF-8087 Mini-SAS cables (Norco brand) - NCIX - $14 each - $42 total
3 WD 2 TB hard drives - NCIX - $99 each - $297 total
Chenbrok CK12803 - NCIX - $280
Highpoint 4320 Card - Newegg - $482 - comes with 2 SFF-8087 cables
ASUS KPL5PM Socket 775 motherboard - local computer store - $60
2 GB RAM - local computer store - $40
Intel E5400 CPU - local computer store - $65
Coolmaster 750W PS - local computer store - $82

Total: $1687

I already had 3 2 TB WD hard drives, so now I have 6 total - plus I have a few 1 TB and 500 GB drives lying around.

I went cheap on the motherboard, CPU and RAM as I didn't feel I needed to worry about speed too much. Nor did I really need alot of PCI slots. And the board had built in video and a gigabit lan connection. The thing I DIDN'T want to cheap out on is the Power Supply. This is going to be my main storage unit with my only copies of files (although I do use http://www.livedrive.com/ for off-site backup). I could have bought a $14 power supply, but then it would have been the weakest link and I didn't want it to cause any issues.

After I received the gear I began putting it together.

I have built several NAS boxes before using Chenbro cases and Areca RAID cards - they are nice, but the total cost would have doubled.

I was fairly pleased with the build quality of the Norco case - considering the price. The only thing that seems a little "cheap" are the drive trays. They work ok and fit nice....I just don't think you want to be rough with them - they won't take it. The Chenbro drive trays are much more robust in comparison.

When I put the motherboard in, it looked very small in the space - you could easily fit a much bigger motherboard with many more slots.

The Highpoint 4320 needs a PCI-E x8 slot and is compatible with the x16 slot usually reserved for the video card, so I used that. The Chenbro CK12803 fits in any slot. It doesn't really use the PCI bus at all - the slot is just to hold it in place. It gets power from a standard power plug.

The space between the fans and the hard drive backplane is fairly tight, so getting the power plugs in was a little bit of a challenge.

Everything else fit nicely and I had no issues plugging everything else in.

I had read a number of comments that the fans in this case are really loud - so I was prepared. As I indicated above, I have built a number of NAS boxes before and they can be quite loud.

However, when I powered on the machine, I was pleasantly surprised. It didn't seem that loud to me. I checked it with a DB meter and at 1 meter (3 feet), the rating was 58 db. I am putting all my stuff in my heated garage anyway, so I didn't really care - I can't hear any of it.

Next I installed 2 500 GB drives in a mirror to use for boot drives. I decided to go with a standard Windows 2008 install instead of a WHS (which is why the "sort of" in the title).

The other reason to go to Windows Server 2008 is the new SMB version 2.1 - it increases speed of transfers when going from/to a Windows 7 machine.

I am keeping the old WHS around in a much smaller capacity in order to handle backups etc.

Then I created a RAID 5 from the 3 2 TB hard drives. I set the RAID 1 Mirror as boot in both the RAID card and in the Bios, booted the machine and loaded Windows 2008. I had to have the drivers on a USB in order to load them during the installation process, but other than that, it was all smooth.

Once I had the system running and performed the standard windows updates, I enabled the guest account so that I would have no issues with sharing the folders with various machines - and Xbox 360 - around the house. Yes, that is a major security issue, but this machine is safely isolated behind my firewall and no one outside of my system has any access to it.

Next I performed some performance testing.

WOW! Was I impressed. On the Raid 5 and with only 3 drives, I was not expecting massive performance, but I got a consistent 250 MB/sec transfer rate. Yes...that is 250 megaBYTES per second. Since I only have a single gigabit lan connection, I will be liimited to a max of 100-120 MB/sec, but that is still plenty fast. I may get a dual NIC Intel card and bond the two channels together to get a 2gb lan connection later on.

Here is the output from ATTO Benchmark:



I am currently moving all my data from my old WHS to the new server and all is going well. As I move the data, I am removing the old drives from the WHS and adding them to the 2008 server. I am using ORM (Online Raid Migration) and OCE (Online Capacity Expansion) to allow me to move to a different RAID (RAID 5 to RAID 6) and to allow me to expand my disk size without taking anything down. This will take several days to complete, but I have the time.

The last thing I am doing with this is to install the free version of the Starwind Software iSCSI target. This allows me to use this box as a storage server for my small VMware ESX (vSphere) farm where I keep all my virtual machines running (SBS, Asterix PBX, Mailcleaner Spam and a Linux server that is a LAMP box).

I am going to end up with 6 2TB drives running a RAID 6 (total of 8 TB of space) and I will have 12 empty drive bays that I can use for expansion.
Overall I am extremely pleased with the result and would highly recommend this solution to anyone else looking to build an inexpensive storage server in their home or small business.

Jim