{"id":9146,"date":"2015-11-09T10:13:34","date_gmt":"2015-11-09T08:13:34","guid":{"rendered":"http:\/\/blog.zhaw.ch\/icclab\/?p=9146"},"modified":"2015-11-30T12:56:42","modified_gmt":"2015-11-30T10:56:42","slug":"mysql-galera-cluster-with-fleet-on-coreos","status":"publish","type":"post","link":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/","title":{"rendered":"MySQL Galera cluster with Fleet on CoreOS"},"content":{"rendered":"<p>In the context of the <a href=\"http:\/\/blog.zhaw.ch\/icclab\/category\/research-approach\/themes\/cloud-native-applications\/\" target=\"_blank\">Cloud-Native Applications (CNA) Initiative <\/a>at SPLab, we kicked off a few months ago a seed project with the aim of getting practical experience of the most common problems and pitfalls of re-architecting a legacy web application for the cloud. Here, we report on our experiences with a specific focus on the thorny problem of realizing a scalable, distributed database backend for such an application.<\/p>\n<p><strong>Cloud-native applications<\/strong><\/p>\n<p>The main characteristics of a cloud-native application is that it has to be <strong>resilient<\/strong> and <strong>elastic<\/strong>, and this has to be true for all the (micro)services and components that make up the application.<\/p>\n<p>After <a href=\"http:\/\/blog.zhaw.ch\/icclab\/cloud-native-applications-seed-project-kickoff\/\" target=\"_blank\">choosing the Zurmo CRM application<\/a> and <a href=\"http:\/\/blog.zhaw.ch\/icclab\/cna-seed-project-migration-process-part-1\/\" target=\"_blank\">making the Web server tier stateless<\/a>, we concentrated on <a href=\"http:\/\/blog.zhaw.ch\/icclab\/process-management-in-docker-containers\/\" target=\"_blank\">decomposing the application into containers<\/a>, allowed multiple instances of Memcached to run concurrently, added a &#8220;dockerized&#8221; ELK stack for monitoring, and finally our own configurable <a href=\"https:\/\/github.com\/icclab\/dynamite\" target=\"_blank\">auto-scaling engine (Dynamite)<\/a>.<\/p>\n<p><!--more--><\/p>\n<p>We chose to use CoreOS as basic VM image and fleet as container \/ health-management component (for more details see Martin&#8217;s presentation on <a href=\"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/03\/Migrating-an-Application-into-the-Cloud-with-Docker-and-CoreOS.pdf\">Migrating an Application into the Cloud with Docker and CoreOS<\/a>). Fleet is basically a distributed systemd + etcd. After using it for some time we can definitely confirm what CoreOS states about fleet on github: it is very low level and other tools (e.g., Kubernetes) are more appropriate for managing application-level containers.<br \/>\nOur experiences with the CoreOS + fleet stack were not always positive and we encountered some known bugs that made the system more unstable than we expected (e.g., failing to correctly pull containers concurrently from Docker hub). Also, it is sometimes pretty hard to find out why a container is not scheduled for execution in fleet. A more verbose output of commands and logging would be much more helpful to developers approaching fleet for the first time.<\/p>\n<p>Our work on Zurmo decomposition dealt first with components that could be easily made stateless and\/or replicated. Then we concentrated on stateful components which in our case are:<\/p>\n<ul>\n<li>ElasticSearch: storing all the monitoring data coming from the system, and<\/li>\n<li>MySQL database: coming with the Zurmo application.<\/li>\n<\/ul>\n<p>In this post we talk about the latter. In order to make the DB of the application resilient we had to move from a single MySQL container to a MySQL cluster with replication. This implies also that we needed to load-balance the requests to DB cluster nodes.<\/p>\n<p><strong>MySQL Galera<\/strong><\/p>\n<p><a href=\"http:\/\/galeracluster.com\/products\/\" target=\"_blank\">MySQL Galera<\/a> provides an implementation of a <strong>multi-master<\/strong> cluster which, in a cloud environment, is typically a good choice since it&#8217;s easier to setup (and automate) replication across instances and it doesn&#8217;t require routing write requests to a specific node.<br \/>\n<a href=\"https:\/\/github.com\/icclab\/cna-seed-project\/tree\/master\/zurmo_galera_cluster\" target=\"_blank\">Our implementation<\/a> forked from the excellent work of <span class=\"vcard-fullname\">Patrick Galbraith (CaptTofu)<\/span> on<a href=\"http:\/\/patg.net\/galera,percona,kubernetes,coreos,docker,vmware\/2015\/04\/21\/galera-cluster-kubernetes\/\" target=\"_blank\"> setting up MySQL Galera with Percona XtraDB Cluster on Kubernetes<\/a> (his github repo <a href=\"https:\/\/github.com\/CaptTofu\/mysql_replication_kubernetes\" target=\"_blank\">here<\/a>). We extended it with automated discovery and initialization of the cluster, plus HAproxy load balancing configuration. The whole source code is <a href=\"https:\/\/github.com\/icclab\/cna-seed-project\" target=\"_blank\">online in Github<\/a>.<\/p>\n<p><strong>Discovery<\/strong><\/p>\n<p>When the Galera cluster node containers are started, they need to find out about each others&#8217; IP addreses to connect and form a cluster. Since in cloud-native applications all VMs and containers are quite volatile, a discovery mechanism is needed to find out which components\/services are running and on which endpoints.<br \/>\nCaptTofu&#8217;s solution on Kubernetes was for a time using the kubectl client to query the Kubernetes API to find out which containers (actually which &#8216;pods&#8217; in Kubernetes lingo) were running. In light of a possible Kubernetes-native inter-pod discovery mechanism, that solution was put aside and the cluster initialization was achieved manually, using kubectl to start the Galera cluster pods one by one.<\/p>\n<p>Our CNA architecture design uses etcd as a distributed registry of the components that are available in the system at a given point in time. Each Galera cluster node is defined in fleet by using 3 different unit templates:<\/p>\n<ul>\n<li>zurmo_galera_cluster@.service<\/li>\n<li>zurmo_galera_cluster_discovery@.service<\/li>\n<li>zurmo_log_courier_galera_cluster@.service<\/li>\n<\/ul>\n<p>The first one is running the actual docker container with MySQL Galera, the second registers the container&#8217;s IP (actually the container&#8217;s host IP) and listening port under &#8216;\/components\/galera&#8217; in etcd, and the third one is used to send logs to our ELK monitoring stack.<\/p>\n<p><strong>Initialization<\/strong><\/p>\n<p>It turns out that Galera cluster is pretty fickle and uninformative when bootstrapping, especially when you are trying to automate the whole thing. We had several tries and failures at setting up the cluster with the nodes finding each other, going through some initial consensus handshaking, and then breaking apart either into isolated nodes or simply shutting down. All this with no relevant logging of what the actual problem was: a quick search on Google will give you a taste of just how many people fail in setting up the cluster because of unclear documentation \/ error messages. A good <a href=\"http:\/\/www.severalnines.com\/blog\/how-bootstrap-mysqlmariadb-galera-cluster\" target=\"_blank\">intro to bootstrapping a Galera cluster is the one from Severalnines<\/a>.<\/p>\n<p>Bottom line, what worked for us was completely splitting the bootstrap phase for the Primary Component (PC) of the cluster and the rest of the nodes and wait to create and initialize the actual database tables until the cluster had reached size 3. If we tried to create the database before the cluster was stabilized the other nodes would fail to join and we could not figure out why.<\/p>\n<p>The PC container starts with the &#8211;wsrep-new-cluster argument and an (initially) empty list of other cluster nodes. It registers itself in etcd. Meanwhile the other cluster nodes come up, discover each other and join the cluster initialized by the PC.<\/p>\n<p>Once this happens, the PC creates the Zurmo database from a dump file. Replication to the other nodes starts immediately.<\/p>\n<p><strong>HAProxy for Galera cluster<\/strong><\/p>\n<p>Having (at least) 3 instances of the database containers, we need to reconfigure the Web application components (Apache in our case) to use them. Some database access libraries support client-side load balancing, but with PHP this doesn&#8217;t work, so we needed to configure HAProxy (zurmo_haproxy on the code) to act as a load balancer also for DB queries.<\/p>\n<p>Our HAproxy container uses confd to check the &#8216;\/components\/galera&#8217; key in etcd and reconfigure itself according to the number of available Galera nodes.<\/p>\n<p>However, simply forwarding SQL traffic to nodes is not enough, since cluster nodes are stateful components that can be in different states (e.g., not initialized, not sync&#8217;ed). In order for HAProxy to be able to check externally the status of a Galera node, the container has a little xinetd script in &#8216;\/usr\/bin\/clustercheck&#8217; that returns an HTTP 200 response to HAProxy only if the node is in a valid state. This is very important to avoid sending traffic to nodes that are not ready, generating exceptions that can possibly be visible to the end user of the application.<\/p>\n<p><a href=\"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-9185\" src=\"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png\" alt=\"haproxy_galera\" width=\"584\" height=\"392\" srcset=\"https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png 1024w, https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-300x201.png 300w, https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-447x300.png 447w, https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera.png 1132w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p><strong>Replication<\/strong><\/p>\n<p>Replication of the database and all its changes starts immediately in bulk when a new node joins the cluster. At the beginning, the primary node becomes a &#8216;donor&#8217; for one of the other nodes. Any subsequent node joining (or re-joining) the cluster triggers a new bulk synchronization. It is interesting to notice that the &#8216;clustercheck&#8217; script returns a 500 response both when a node is not yet initialized as well as for the whole time a node is acting as a donor.<\/p>\n<p>Since in this prototype implementation we did not care about persistence, our Galera nodes are not using a persistent volume. This means that once a container fails \/ is restarted on a different host the synchronization of the whole database has to take place. The net result is that when we artificially induced failures in all our applications&#8217; containers to assess reliability we noticed that for each Galera node we killed, another node became temporarily unavailable because it became a &#8216;donor&#8217;.<\/p>\n<p>This effect would be of course minimized by using persistent volumes, but thus would require application and infrastructure-specific logic for automatically mapping persistent volumes to containers in health-management and auto-scaling scenarios.<\/p>\n<p><strong>Future work<\/strong><\/p>\n<p>We are currently finalizing the experiments on assessing non-functional properties (resilience, scalability, performance) of our implementation on AWS and Openstack. We will publish the results as scientific reports first and then here in the blog.<br \/>\nAfter this, we will concentrate on a Kubernetes implementation which has already been started in parallel.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pt-sm\">Schlagw\u00f6rter: <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/cloud-native-applications\/\">cloud-native applications<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/coreos\/\">coreos<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/fleet\/\">fleet<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/galera\/\">Galera<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/mysql\/\">mysql<\/a><br><\/div>","protected":false},"excerpt":{"rendered":"<p>In the context of the Cloud-Native Applications (CNA) Initiative at SPLab, we kicked off a few months ago a seed project with the aim of getting practical experience of the most common problems and pitfalls of re-architecting a legacy web application for the cloud. Here, we report on our experiences with a specific focus on [&hellip;]<\/p>\n","protected":false},"author":173,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1,5],"tags":[551,706,707,156,705],"features":[],"class_list":["post-9146","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-articles","tag-cloud-native-applications","tag-coreos","tag-fleet","tag-galera","tag-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>MySQL Galera cluster with Fleet on CoreOS - Service Engineering (ICCLab &amp; SPLab)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Galera cluster with Fleet on CoreOS\" \/>\n<meta property=\"og:description\" content=\"In the context of the Cloud-Native Applications (CNA) Initiative at SPLab, we kicked off a few months ago a seed project with the aim of getting practical experience of the most common problems and pitfalls of re-architecting a legacy web application for the cloud. Here, we report on our experiences with a specific focus on [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Engineering (ICCLab &amp; SPLab)\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-09T08:13:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-11-30T10:56:42+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png\" \/>\n<meta name=\"author\" content=\"toff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"toff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\"},\"author\":{\"name\":\"toff\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/74df05bfae7fb875d9ea5d48ae234738\"},\"headline\":\"MySQL Galera cluster with Fleet on CoreOS\",\"datePublished\":\"2015-11-09T08:13:34+00:00\",\"dateModified\":\"2015-11-30T10:56:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\"},\"wordCount\":1386,\"commentCount\":4,\"image\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png\",\"keywords\":[\"cloud-native applications\",\"coreos\",\"fleet\",\"Galera\",\"mysql\"],\"articleSection\":[\"*.*\",\"Articles\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\",\"name\":\"MySQL Galera cluster with Fleet on CoreOS - Service Engineering (ICCLab &amp; SPLab)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png\",\"datePublished\":\"2015-11-09T08:13:34+00:00\",\"dateModified\":\"2015-11-30T10:56:42+00:00\",\"author\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/74df05bfae7fb875d9ea5d48ae234738\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera.png\",\"contentUrl\":\"https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera.png\",\"width\":1132,\"height\":759},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/blog.zhaw.ch\/icclab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Galera cluster with Fleet on CoreOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/\",\"name\":\"Service Engineering (ICCLab &amp; SPLab)\",\"description\":\"A Blog of the ZHAW Zurich University of Applied Sciences\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/74df05bfae7fb875d9ea5d48ae234738\",\"name\":\"toff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/files\/2014\/12\/gio_barca-150x150.jpg\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/files\/2014\/12\/gio_barca-150x150.jpg\",\"contentUrl\":\"https:\/\/blog.zhaw.ch\/icclab\/files\/2014\/12\/gio_barca-150x150.jpg\",\"caption\":\"toff\"},\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/author\/toff\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MySQL Galera cluster with Fleet on CoreOS - Service Engineering (ICCLab &amp; SPLab)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/","og_locale":"en_US","og_type":"article","og_title":"MySQL Galera cluster with Fleet on CoreOS","og_description":"In the context of the Cloud-Native Applications (CNA) Initiative at SPLab, we kicked off a few months ago a seed project with the aim of getting practical experience of the most common problems and pitfalls of re-architecting a legacy web application for the cloud. Here, we report on our experiences with a specific focus on [&hellip;]","og_url":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/","og_site_name":"Service Engineering (ICCLab &amp; SPLab)","article_published_time":"2015-11-09T08:13:34+00:00","article_modified_time":"2015-11-30T10:56:42+00:00","og_image":[{"url":"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png","type":"","width":"","height":""}],"author":"toff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"toff","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#article","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/"},"author":{"name":"toff","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/74df05bfae7fb875d9ea5d48ae234738"},"headline":"MySQL Galera cluster with Fleet on CoreOS","datePublished":"2015-11-09T08:13:34+00:00","dateModified":"2015-11-30T10:56:42+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/"},"wordCount":1386,"commentCount":4,"image":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage"},"thumbnailUrl":"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png","keywords":["cloud-native applications","coreos","fleet","Galera","mysql"],"articleSection":["*.*","Articles"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/","url":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/","name":"MySQL Galera cluster with Fleet on CoreOS - Service Engineering (ICCLab &amp; SPLab)","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage"},"image":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage"},"thumbnailUrl":"http:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera-1024x687.png","datePublished":"2015-11-09T08:13:34+00:00","dateModified":"2015-11-30T10:56:42+00:00","author":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/74df05bfae7fb875d9ea5d48ae234738"},"breadcrumb":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#primaryimage","url":"https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera.png","contentUrl":"https:\/\/blog.zhaw.ch\/icclab\/files\/2015\/11\/haproxy_galera.png","width":1132,"height":759},{"@type":"BreadcrumbList","@id":"https:\/\/blog.zhaw.ch\/icclab\/mysql-galera-cluster-with-fleet-on-coreos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/blog.zhaw.ch\/icclab\/"},{"@type":"ListItem","position":2,"name":"MySQL Galera cluster with Fleet on CoreOS"}]},{"@type":"WebSite","@id":"https:\/\/blog.zhaw.ch\/icclab\/#website","url":"https:\/\/blog.zhaw.ch\/icclab\/","name":"Service Engineering (ICCLab &amp; SPLab)","description":"A Blog of the ZHAW Zurich University of Applied Sciences","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/74df05bfae7fb875d9ea5d48ae234738","name":"toff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.zhaw.ch\/icclab\/files\/2014\/12\/gio_barca-150x150.jpg","url":"https:\/\/blog.zhaw.ch\/icclab\/files\/2014\/12\/gio_barca-150x150.jpg","contentUrl":"https:\/\/blog.zhaw.ch\/icclab\/files\/2014\/12\/gio_barca-150x150.jpg","caption":"toff"},"url":"https:\/\/blog.zhaw.ch\/icclab\/author\/toff\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/9146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/users\/173"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/comments?post=9146"}],"version-history":[{"count":27,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/9146\/revisions"}],"predecessor-version":[{"id":9199,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/9146\/revisions\/9199"}],"wp:attachment":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/media?parent=9146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/categories?post=9146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/tags?post=9146"},{"taxonomy":"features","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/features?post=9146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}