Posts

Showing posts from December, 2010

How to enable ASP.NET 4 application to work on IIS6

This is a good article talking about g etting an ASP.NET 4 application to work on IIS6 . Since Windows Home Server only have IIS 6 available, this may help. http://johan.driessen.se/archive/2010/04/13/getting-an-asp.net-4-application-to-work-on-iis6.aspx

HTTP Error 500.19 - Internal Server Error on IIS 7 + Vista - Change

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false". Solution: Find the  C:\Windows\System32\inetsrv\config\applicationHost.config Change the values of following section from Deny to Allow  <section name="handlers" overrideModeDefault="Allow" /> <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />

Hard drive for Raid

After spending some time to search for a good hard drive for my Raid 10 configuration, I decided that this would be a good option. Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM 32MB Cache SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive Some suggestion from Newegg clients are really helpful, such as this one ammcinnis on 12/8/2010: Pros:  I have two of these 1 TB drives in a RAID 1 array. Cool, fast, quiet, huge capacity, and (so far) reliable. Purchased on sale from NewEgg for $49.99 each, they are an outstanding value (at least for this year). Cons:  Packaging by NewEgg's warehouse still leaves a lot to be desired. Double-boxing (which they did) is certainly the correct way to do it, but double-boxing loses most of its value when the inner box is placed right up against the walls of the outer box or the inner box is free to bounce around. I suspect poor packaging is the primary reasons for many of the early failures reported here and elsewhere. Other Thoughts:  ...

Create Raid 10 data storage to support MySQL databases

As Raid 10 is the recommended configuration to store MySQL databases, and none of the commercial WHS system like Acer Easystore or HP Storeworks support it, I decided to create my own Raid 10 system on Windows Home Server system First, the server raid system Rosewill RSV-S4-X 4 Bay SATA to eSATA (Port Multiplier) JBOD / RAID 0, 1, 1+0, 5 Enclosure is required. This system is $159.99. Secondly, we need a barebon Atom 525 dual system. Jetway Mini-TOP HBJC600C99-52W-BW Intel Atom D525 CPU NM10 Barebone System is a good option. The Jetway HBJC600C99-52W-BW Mini-TOP barebones system is a fully capable desktop PC with advanced graphics and impressive multimedia features in a small form factor. Equipped with the Next-Generation NVIDIA ION graphics processor, the system can handle a wide variety of tasks including 1080p high definition video, PC gaming, sharing digital photos, surfing the web, and other tasks you expect from full-size computers. Whether you want to process documents or ...

Harddrive power management

Seagate Barracuda 7200 1 TB 7200RPM SATA 3Gb/s 32MB Cache 3.5 Inch Internal Hard Drive ST31000528AS-Bare Drive http://www.amazon.com/Seagate-Barracuda-7200RPM-Internal-ST31000528AS-Bare/dp/B00272NHOK Each seagate Barracuda family hard drive of 1T will consume about 5W when idle and 9W when working. A Widows home server with Atom d525 CPU and 3 1T hard drive will likely consume about 40Wat to 50Wat. Startup Current +12 Peak(A, ±10%): 2.0 Seek, Average (W): 7.3 Operating, Average (W): 9.4 Idle, Average (W): 5.0   Seagate Barracuda XT 2 TB 7200RPM SATA 6 Gb/s 64MB Cache 3.5 Inch Internal Bare Drive ST32000641AS http://www.amazon.com/Seagate-Barracuda-7200RPM-Internal-ST32000641AS/dp/B002RWJHBM/ref=sr_1_5?s=electronics&ie=UTF8&qid=1292471590&sr=1-5 Startup Current +12 Peak(A, ±10%): 2.8 Seek, Average (W): 7.3 Operating, Average (W): 9.23 Idle, Average (W): 6.39 Western Digital Caviar Green 3TB Review (WD30EZRSDTL) This is a complete review of the 3TB drive. It is ...

My Acer Laptop CUP

My old Acer laptop uses Intel® Pentium® M Processor 1.50 GHz, 1M Cache, 400 MHz FSB. According to this page, the power consuption is 24.5W.  http://ark.intel.com/Product.aspx?id=27576&wapkw=(1.50Ghz) It almost doubles the power consuption of D525 which is 1.8GHz duo core four threads (13Watt)  Intel® Atom™ processor D525 (1M Cache, 1.80 GHz) information is at   http://ark.intel.com/Product.aspx?id=49490

HP Storageworks X510 Windows Home Server system

HX510 uses  Intel® Pentium® E5200 2.5GHz, which is 65Watt. http://ark.intel.com/Product.aspx?id=37212&code=Intel%C2%AE+Pentium%C2%AE+Processor+E5200+(2M+Cache,+2.50+GHz,+800+MHz+FSB) The product review can be found here http://www.amazon.com/HP-Storageworks-X510-1TB-Data/dp/B002RL8VHY/ref=cm_cr_pr_product_top Therefore, performance wise the acer system  Acer Aspire easyStore AH342-U2T2H Home Server (Black) (2T) at $429 is a much better choice. http://www.amazon.com/Acer-Aspire-easyStore-AH342-U2T2H-Server/dp/B003KTN672/ref=sr_1_1?ie=UTF8&s=electronics&qid=1292427060&sr=1-1

D510 server

Image
D525 processor is the best regarding to energy and power. Here is the link to compare all ATOM CPU speed and power consumption http://ark.intel.com/Compare.aspx?ids=35635,35641,43517,49489,43098,49490, Atom 230 only take about 4 watt 1c/2t 330 takes 8W 2C/4T For a 4C/8T CPU, the energy cost is about 45W. 2C/4T CUP, energy cost is 18Watt at least. D510 energy consumption is about 13W My desktop uses  Q6600. Power consumption is about 105W. TigerDirect has a D510 server from Acer from US. The price is 429 http://www.amazon.com/Acer-Aspire-easyStore-AH342-U2T2H-Server/dp/B003KTN672/ref=sr_1_7?ie=UTF8&qid=1292384430&sr=8-7 http://www.pc-canada.com/item.asp?item=Q2053A HP StorageWorks X310 Network Storage Server 1 x Intel Atom D510 1.60 GHz - 1 TB (1 x 1 TB) - RJ-45 Network, USB, eSATA 558 .99 This server provides much more power HP StorageWorks X510 Network Storage Server Data Vault - 1 x Intel Pentium E...

New Acer Easy Store system

Acer Aspire easyStore AH342-U2T2H PG.T1B0W.002 Home Server - Intel Atom D510 1.66GHz, 2GB DDR2, 2TB HDD, Gigabit LAN, Windows Home Server ($429) http://www.circuitcity.com/applications/searchtools/item-details.asp?EdpNo=6294357&SRCCODE=NEXCC&cm_mmc_o=2mHCjCWw0fzTCjCVqHCjCdwwp&cpncode=18-78201290-2 After research the difference of this system and Acer Aspire EasyStore H340 AH340-UA230N (Refurbished) Home Server (Black), Intel Atom 1.6Ghz, Integrated Graphics, 2GB Memory, 5x USB 2.0, 1x eSATA, 1TB SATA HDD (Max. 4TB), GigaLAN, Windows Home Server ($274 refurbished) The main difference is:  D510 vs Atom 230 (single core vs. duo core) http://www.cpu-world.com/Compare/610/Intel_Atom_230_vs_Intel_Atom_D510.html 1T vs 2T installed 4T vs 8T total Futureshop has a D410 easy store system http://www.futureshop.ca/en-CA/product/acer-acer-aspire-easystore-home-server-h341-english-ah341-u1t2h/10145433.aspx?path=7afb4d7b48c236d01f5f3ba52eae7c8den02 The Intel Atom D410 is a 45nm pro...

Acer Aspire AH340-UA230N Home Server

Today I saw a refurbished Acer Aspire AH340-UA230N Home Server for $275. It is a great deal  Did some research on it. This is a very good review that talks about a lot issue with A cer Aspire AH340-UA230N Home Server  and   Window Home Server such as how to duplicate a disk on multiple hard drives.  http://www.amazon.com/Acer-Aspire-AH340-UA230N-Home-Server/dp/B001WGX15W According to the review,  the  idle energy consumption is about 50Watts. Basically you can leave it on all the time without a big cost. You can use  Remote Desktop Connection to WHS http://www.homeserverland.com/w/whs/remote-desktop-connection-to-whs.aspx Need to buy two hard drives. Seagate Barracuda (ST31000528AS) 7200.12 SATA 3.0Gb/s 1000GB (1TB) 32MB Cache (OEM) is only about $55 each from this web site http://www.canadacomputers.com/product_info.php?cPath=15_210_212&item_id=021907 . This is aso a very good products that is half price now, only 40$ from this page http://www.canadacomputers.com/product_inf...

Laptop power comsuption

Come across a nice article talking about the power consumption of a laptop and the method to reduce its power usage. http://www.codinghorror.com/blog/2006/04/how-much-power-does-my-laptop-really-use.html http://www.nordichardware.com/component/content/article/41-overclocking/11140-undervolting-a-laptop.html?start=8#content According to the test, the maximum power usage of a laptop is about 26W. That is about 0.6KWh per day if it works for a whole day.

Connection unexpectedly terminated

I have a very simple SQL query statement but it needs to be run many times. I get following error randomly, maybe once per one hundred times. MySql.Data.MySqlClient.MySqlException: Connection unexpectedly terminated.     at MySql.Data.MySqlClient.MySqlStream.LoadPacket()     at MySql.Data.MySqlClient.MySqlStream.OpenPacket()     at MySql.Data.MySqlClient.NativeDriver.Authenticate411()     at MySql.Data.MySqlClient.NativeDriver.Authenticate()     at MySql.Data.MySqlClient.NativeDriver.Open()     at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)     at MySql.Data.MySqlClient.MySqlConnection.Open()   Following thread  http://bugs.mysql.com/bug.php?id=6688  mentioned that  Since the bug seems to be strongly connected to some timeout, I've tried to manipulate several server variables which are related to timeout settings. I found out that if the value of the variable net_write_timeout is increased to 3600 (previously 60) the error does not occur! In this ...

power consumption to host web site at home

According to http://forums.slimdevices.com/archive/index.php/t-73505.html A typical Windows Home Server box like following (Following is rom above article:) 3.0GHz Core 2 Duo 4 1TB WD "green" drives 4GB memory 300W SeaSonic 80plus power supply Power consumption (per Kill-a-Watt) is 47 watts at idle and 60-80 watts under load. Doing some research before building this, I found that one of the most important items to consider is the power supply. 300W was the smallest I could find that supported the motherboard. I would have gone with a 200W supply if one had been available..... The energy cost will be: 80W * 24 * 365 = 700 kilo-Watt * Hour Every year the power will cost about 70$ including tax based on following electricity prices http://www.energyshop.com/electricity-prices-toronto-residential.cfm peak: 9.9¢/kWh; Mid-Peak: 8.1¢/kWh; Off-Peak: 5.1¢/kWh.

Hosting asp.net on Windows Home Server

Theorectically it is possible to host a Windows Home Server web site. This is the web page that clearly indicate how to make it work http://social.microsoft.com/forums/en-US/whssoftware/thread/7a2f5cc5-ebdd-45a7-bbe6-b0d2d76a164f/ http://whswebsite.googlepages.com/ http://sites.google.com/site/whswebsite/

MySQL database access speed and Url rewrite support on GoDaddy and Arvixe

I have exactly same database structure on the MySQL server of GoDaddy and Arvixe. And using same tool "phpMyAdmin" to retrieve a set of data from same table with same number of records, indexes, operation history etc. (Basically each records are inserted to two server at the same time), the speed is as following: From Arvixe,  Showing rows 60 - 89 (454 total, Query took 0.0583 sec) From GoDaddy: Showing rows 60 - 89 (454 total, Query took 0.1000 sec) However, I am having a problem to migrate my web site from GoDaddy to Arvixe because I developed as system that uses url rewrite feature as following. void Application_BeginRequest(object sender, EventArgs e)      {         HttpContext.Current.RewritePath(strUrl, "", queryString.ToString(), false);     }  It has been working well on GoDaddy for years, but not work on Arvixe. After spending 40 minutest to explain what the problem is with Arvixe support online, I was told that Arvixe only support the url rewrite usin...

Amazon API valid sort order for various browse node

'baby' => array( '+pmrank' => 'Featured Items', '+salesrank' => 'Bestselling', '+titlerank' => 'Alphabetical (A-Z)', ), 'books' => array( '+pmrank' => 'Featured Items', '+salesrank' => 'Bestselling', '+reviewrank' => 'Average Customer Review', '+pricerank' => 'Price (Low to High)', '+inverse-pricerank' => 'Price (High to Low)', '+daterank' => 'Publication Date', '+titlerank' => 'Alphabetical (A-Z)', '-titlerank' => 'Alphabetical (Z-A)', ), 'classical' => array( '+pmrank' => 'Featured Items', '+salesrank' => 'Bestselling', '+titlerank' => 'Alphabetical (A-Z)', ),...

Amazon valid search string

http://ecs.amazonaws.com/onca/xml?AWSAccessKeyId= <key>&AssociateTag=<tag>&BrowseNode=172526&Condition=New&ItemPage=1&Operation=ItemSearch&ResponseGroup=ItemAttributes%2CSalesRank%2CItemIds%2CImages%2COfferSummary%2CEditorialReview&SearchIndex=Electronics&Service=AWSECommerceService&Sort=pmrank&Timestamp=2010-12-06T02%3A37%3A15Z&Version=2009-03-31&Signature=lJmAk9LZgmZ1wjrvrSTFQCauUmfCm0h8ALMDw5N2IAM%3D Valid sort values including 'pmrank','salesrank','reviewrank','price','-price','titlerank'. Valid response groups for ItemLookup requests include           Accessories, AlternateVersions, BrowseNodes, Collections, EditorialReview,           Images, ItemAttributes, ItemIds, Large, ListmaniaLists, Medium, MerchantItemAttributes,           OfferFull, OfferListings, OfferSummary, Offers, PromotionDetails, PromotionSummary,           PromotionalTag, RelatedItems, Request, Re...

First failure to connect with Arvixe

This morning is the first time to have a problem to connect with my databases, and my control panel can not be opened. I can not even open  http://cp.poppy.arvixe.com The online support is very responsive and told me that "the server is facing a network issue right now and our admins are working with it. Please try accessing your control panel after a few minutes". I noticed the problem at about 6:40 am.  Now it is 7:03 am and the problem still exists. Now 7:28 am and still the same. Finally it works, at 7:37. Done. 

Create MySQL Database on Arvixe is quick and easy

I have signed for the Windows personal hosting with Avixe for one year. The plan allows unlimited MySQL databases. I do not need unlimited. What I need is just a few hundreds of databases so that I can distribute my data in different databases (about 30million records). First step is to create 100 MySQL databases. It is much easier to do this job on Arvixe than on GoDaddy. On Arvixe I only spent about half an hour or so and its all done. On GoDaddy the same 100 MySQL databases  took me at least one and half hours. The main difference is that all MySQL databases on Arvixe share one user. S yo do not type in the passwords for each databases, which you have to do on GoDaddy. I am not sure the limitation of size for each MySQL database on Arvixe . On GoDaddy it is about 1GB, which is very limited.

How to configure local PhpMyAdmin to access MySQL database hosted on Arvixe

Arvixe allows remotes access to MySQL database. In the file config.inc.php file, Add following section under the server configuration section and refresh the web page. /*  * Server on Arvxe 10  */ $i++; /* Authentication type and info */ $cfg['Servers'][$i]['auth_type']            = 'config'; $cfg['Servers'][$i]['user']                 = DB_NAME; $cfg['Servers'][$i]['password']             = PASS_WORD; $cfg['Servers'][$i]['AllowNoPassword']      = true; /* Server parameters domain name is mydomain.com . Now http or www required */ $cfg['Servers'][$i]['host']             = DOMAIN_NAME;   $cfg['Servers'][$i]['connect_type']     = 'tcp'; $cfg['Servers'][$i]['compress']         = false; /* Select mysqli if your server has it */ $cfg['Servers'][$i]['extension'] = 'mysqli'; /* User for advanced features */ $cfg['Servers'][$i][...