Categories
Tech

I can now restart my Windows server without website going offline

A few years ago i built a storage server. It was supposed to provide storage for other computers. It never worked well. A few months ago i decided to find out why there was errors for clients. I found out that the powersupply to the harddrives was bad. Voltage drop in cables and not thick enough cables. I soldered some 1.5mm2 cables with SATA power connectors. It still was voltage drop. SATA power connectors are not good. You cant use one connector for current to four SAS drives. I switched to WAGO connectors. There is a small lever you pull up. Insert the cable and pull down the lever. Can handle much more current than SATA connectors. After that the storage was reliable. I still did not want to move my websites to the storage server. If i want to fix something with my webserver computer then the site would be offline. If i wanted to do something with my storage computer then the site would be offline. Every time i installed updates to the storage computer then i would have to stop all virtual machines that were using storage on the storage computer. After a while i started to think: it cant be this way they do it at datacenters. They cant tell everybody that they have to shutdown their VMs because a server needs to restart. I rent some VPS and it is running all the time. After looking and testing different things i found Windows storage spaces direct. It had lots of requirements. It looked like what i needed. Now i use it for my website. I install updates to one node. Move roles over to another node. Restart node. When it is running again i fail back roles. Then it takes a few hours for the volumes to resynchronize. Website is online all the time. Now i can get close to 100% uptime.

Leave a Reply

Your email address will not be published. Required fields are marked *