<div dir="ltr">Hi,<div><br></div><div>You still can run legacy application on OpenStack with HA and DR using the same good old school tools like pacemaker, heartbeat, DRBD etc. There are all necessary features available in latest OpenStack. The most important feature for HA - secondary IP address was implemented in Havana. Now you can assign multiple IP addresses to the single VM port. Secondary IP can be used as a VIP in pacemaker so it is possible to create classic Active-Passive setup for any application. HAProxy is still there an you can use it for any application which uses IP based transport for communication. This secondary IP feature allows you to run even Windows cluster applications without any significant changes in setup in comparison to the running cluster on physical nodes.</div>
<div><br></div><div>There is no shared volumes (yet as I know) but you can use DRBD on VM to sync two volumes attached to two different VMs and shared network filesystems as a service is almost there. Using these approaches it is possible to have data resilience for legacy applications too.</div>
<div><br></div><div>There is no automagic things which make legacy apps resilient, but it is still possible to do with using known tools as there are no limitations from OpenStack infrastructure side for that. As I know there were discussions about exposing HA clusters on hypervisors that will allow some kind of resilience automatically (through automatic migrations or evacuation) but there is no active work on it visible.</div>
<div><br></div><div>Thanks</div><div>Georgy</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 7:16 AM, Matthew Farina <span dir="ltr"><<a href="mailto:matt@mattfarina.com" target="_blank">matt@mattfarina.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In my experience building apps that run in OpenStack, you don't give<br>
up state. You shift how you handle state.<br>
<br>
For example, instead of always routing a user to the same instance and<br>
that instance holding the session data there is a common session store<br>
for the app (possibly synced between regions). If you store session on<br>
each instance and loose an instance you'll run into problems. If<br>
sessions is more of a service for each instance than an instance<br>
coming and going isn't a big deal.<br>
<br>
A good database as a service, swift (object storage), and maybe a<br>
microservice architecture may be helpful.<br>
<br>
Legacy applications might have some issues with the architecture<br>
changes and some may not be a good fit for cloud architectures. One<br>
way to help legacy applications is to use block storage, keep the<br>
latest snapshot of the instance in glance (image service), and monitor<br>
an instance. If an instance goes offline you can easily create a new<br>
one from the image and mount block storage with the data.<br>
<br>
- Matt<br>
<div><div class="h5"><br>
<br>
<br>
On Mon, Jun 9, 2014 at 7:27 AM, hossein zabolzadeh <<a href="mailto:zabolzadeh@gmail.com">zabolzadeh@gmail.com</a>> wrote:<br>
> Hi OpenStack Development Community,<br>
> I know that the OpenStack interest is to become a cloud computing operating<br>
> system. And this simple sentence means: "Say goodbye to Statefull<br>
> Applications".<br>
> But, as you know we are in the transition phase from stateful apps to<br>
> stateless apps(Remember Pets and Cattle Example). Legacy apps are still in<br>
> used and how openstack can address the problems of running stateful<br>
> applications(e.g. HA, DR, FT, R,...)?<br>
> HA: High Availability<br>
> DR: Disaster Recovery<br>
> FT: Fault Tolerance<br>
> R: Resiliancy!<br>
><br>
</div></div>> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#999999"><span style="background-color:rgb(255,255,255)">Georgy Okrokvertskhov<br>
Architect,<br><span style="font-family:arial;font-size:small">OpenStack Platform Products,</span><br>
Mirantis</span><br>
<a href="http://www.mirantis.com/" target="_blank">http://www.mirantis.com</a><br>
Tel. +1 650 963 9828<br>
Mob. +1 650 996 3284</font><br></div>
</div>