Berichten met de tag ‘High Available’

Shock Media officieel global partner van miljoenenplatform Sprowd!

30 maart 2012 door Kevin Roelofs

Sprowd is een uniek concept waarbij grote dromen gerealiseerd kunnen worden met behulp van crowdfunding. In plaats van naar de bank te gaan om de financiering van een idee rond te krijgen – wat zeker niet iedereen voor elkaar krijgt – kan ieder persoon (de pitcher), waar dan ook ter wereld, zijn of haar ideeën uitwerken en plaatsen op Sprowd.com. Weet hij of zij voldoende mensen (believers) elders in de wereld te overtuigen om opties (shares) te kopen om het financieringsdoel te bereiken, dan zal het idee worden gerealiseerd. Doordat elke believer al mee kan doen vanaf 1 share wat 10 euro kost, is het meedoen in een groot project voor vrijwel iedereen toegankelijk.

En wordt het idee een succes? Dan krijgen alle believers hun leven lang, elk jaar, een deel van de omzet op basis van de hoeveelheid shares, uitbetaald. Bereikt de pitcher zijn financieringsdoel niet, dan krijgt elke believer zijn geld terug. Deze financiële constructie is onder continu toezicht van de multinational BDO.

Shock Media verzorgt de hosting van de volledige infrastructuur van het miljoenenplatform Sprowd. Dit alles om maximale schaalbaarheid en performance te bieden die nodig gaat zijn voor de groei van Sprowd. Sprowd gaat 31 maart 2012 om 16:00 uur Live met  ’Sprowd on Sprowd’ om de dienstverlening wereldwijd aan te kunnen bieden.

High Available DirectAdmin: It is possible!

15 maart 2011 door Niels te Grotenhuis

At Shock Media we have been using DirectAdmin for some time now and, because of the great support and ease of use, alot of our customers are using it. Our System Administrators like to stay ahead of the demands of our customers and were one of the first to incorporate IPv6 into DirectAdmin and now we are starting with High Available DirectAdmin.

The idea is to have two servers with the same DirectAdmin installation sharing a virtual ip-address that can be used by one of the two servers. This way we can create a redundant DirectAdmin. The Master runs DirectAdmin just like a normal DirectAdmin installation would, the difference is that the Master shares all the data with his Slave buddy. In case the Master server crashes or becomes unavailable, the Slave server will have all the settings and data of the Master. The Slave will take over the virtual ip-address and will start DirectAdmin and all the services like the Apache2 webserver, Dovecot mailserver and Mysql server and will start serving websites with only a couple seconds of delay.

We are using a combination of Heartbeat, DRBD and some of our own custom made scripts to have all DirectAdmin-related data redundant on two servers in case the Slave server needs to take over and Heartbeat keeps track of the Master and does a fail-over when the server disappears and gives the option to migrate DirectAdmin between the two servers.

I made a screen-capture while I shutdown the Master Server and you can see what happens.

In the background you can see Firefox running and it opens the website http://dad.shockmedia.nl. The website shows the current date and time and the hostname of the server the website is running on. The website refreshes every ten seconds.

Master Server da1.shockmedia.nl is the one serving http://dad.shockmedia.nl, after the server is shutdown, Heartbeat notices the server going down and switches all resources for http://dad.shockmedia.nl from da1.shockmedia.nl to da2.shockmedia.nl. Even with a 10 second refresh, Firefox doesnt even notice the server went down and keeps receiving the website without problem, but now its receiving the website from server da2.shockmedia.nl.

Of course there are still some things that will take some time to improve upon, for example identical ssh-keys.

Another thing we really want to accomplish is upgrading servers without downtime. Migrate Master to Slave, upgrade all packages, then migrate DirectAdmin and all the services back to the Master and then upgrade the slave,  so upgrading Apache / PHP5 won’t give any downtime anymore.

We will keep working on it :)

Linux kernel updates zonder reboot

25 februari 2011 door Dick Tump

Bij onze High Available clusters streven we natuurlijk altijd naar 100% uptime. Gelukkig lukt dit vaak ook. Door middel van onder andere live migration kunnen wij de fysieke systemen zonder enige downtime voorzien van upgrades van de hardware en de software.

Jammer genoeg is bij sommige updates van de gastsystemen een geplande reboot nodig met als gevolg toch enkele minuten downtime. Dit is op te lossen door te werken met een loadbalancer. Maar niet voor elke klant is het mogelijk om een applicatie op minimaal twee gastsystemen te draaien, bijvoorbeeld omdat de applicatie dit niet ondersteunt, of een oplossing met loadbalancers te complex wordt. Bij het uitvoeren van een Linux kernel update op zo’n gastsysteem, is bij een herstart dus downtime, wat betekent dat de applicatie toch voor enkele minuten onbereikbaar zal zijn.

Gelukkig hebben we hier nu een oplossing voor, namelijk Linux kernel security updates zonder reboot. We kunnen nu bij de belangrijkste Linux distributies security updates uitvoeren op de kernel, zonder dat we het systeem opnieuw op moeten starten. Dit heeft niet alleen als grote voordeel dat er geen downtime meer is bij zo’n update, maar omdat we ook geen reboot hoeven in te plannen, kunnen we security updates direct doorvoeren. Voorheen was het soms nodig om te wachten op een moment dat het de klant goed uitkomt.

Deze optie is inmiddels beschikbaar voor al onze servers met Linux Ubuntu, Debian en CentOS. Bent u een bestaande klant of wilt u klant bij ons worden en heeft u interesse in deze optie? Neem gerust contact met ons op.