{"id":6945,"date":"2014-07-29T13:42:06","date_gmt":"2014-07-29T11:42:06","guid":{"rendered":"http:\/\/code.openark.org\/blog\/?p=6945"},"modified":"2014-07-29T13:42:06","modified_gmt":"2014-07-29T11:42:06","slug":"orchestrator-1-0-4-released","status":"publish","type":"post","link":"https:\/\/code.openark.org\/blog\/mysql\/orchestrator-1-0-4-released","title":{"rendered":"Orchestrator 1.0.4 released"},"content":{"rendered":"<p>Outbrain&#8217;s <em>orchestrator<\/em> Version <strong>1.0.4<\/strong> <a href=\"https:\/\/github.com\/outbrain\/orchestrator\/releases\/tag\/v1.0.4\">is released<\/a>.<\/p>\n<blockquote><p>Quick links:\u00a0<strong><a href=\"https:\/\/github.com\/outbrain\/orchestrator\/wiki\/Orchestrator-Manual\">Orchestrator Manual<\/a><\/strong>, <strong><a href=\"https:\/\/github.com\/outbrain\/orchestrator\/wiki\/FAQ\">FAQ<\/a><\/strong>, <strong><a href=\"https:\/\/github.com\/outbrain\/orchestrator\/releases\">Downloads<\/a><\/strong><\/p><\/blockquote>\n<p>What&#8217;s new?<\/p>\n<h4>Co-masters<\/h4>\n<p>orchestrator now does a much better visualization of Master-Master replication:<\/p>\n<blockquote><p><a href=\"http:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6946\" src=\"http:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters.png\" alt=\"orchestrator-co-masters\" width=\"783\" height=\"357\" srcset=\"https:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters.png 783w, https:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters-300x136.png 300w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/a><\/p><\/blockquote>\n<p><!--more--><\/p>\n<blockquote><p><a href=\"http:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters-j.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6947\" src=\"http:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters-j.png\" alt=\"orchestrator-co-masters-j\" width=\"776\" height=\"505\" srcset=\"https:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters-j.png 776w, https:\/\/code.openark.org\/blog\/wp-content\/uploads\/2014\/07\/orchestrator-co-masters-j-300x195.png 300w\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" \/><\/a><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>The work on making the visualization more appealing also resulted in making a better distinction between the visual tree topology and the replication topology. This in turn also fixes the ruleset for moving slaves in a co-master topology, and lays the ground for future work on co-masters (i.e. Galera; unscheduled).<\/p>\n<h4>resolve<\/h4>\n<p>Had a few reports on <em>orchestrator<\/em> not being able to connect to some topology instances. It seems like the problem is with name resolving. To prove\/disprove this, the <strong>resolve<\/strong> command or <strong>resolve<\/strong> API call now allows checking for instance connectivity. Orchestrator will first test whether the CNAME at all resolves, then try to dial the TCP address (host + port) to see whether it can make a connection.<\/p>\n<p>A sample API call would be:<\/p>\n<blockquote>\n<pre>http:\/\/127.0.0.1:3000\/api\/resolve\/myhost.mydomain\/3306<\/pre>\n<\/blockquote>\n<p>A command line invocation would be:<\/p>\n<blockquote>\n<pre>orchestrator -c resolve -i\u00a0myhost.mydomain:3306<\/pre>\n<\/blockquote>\n<h4>chef cookbook<\/h4>\n<p>Silvia Botros of <em>SendGrid<\/em> has published a generic cookbook for deploying <em>orchestrator<\/em> via chef: <a href=\"https:\/\/github.com\/sendgrid-ops\/chef-orchestrator\">https:\/\/github.com\/sendgrid-ops\/chef-orchestrator<\/a><\/p>\n<p>Thanks, Silvia!<\/p>\n<h4>Topology Annonymizer Cheatsheet<\/h4>\n<p>If you want to share your topology graph, but do not wish to expose your host names, open your cluster page and execute the following in your browser&#8217;s JavaScript console (jQuery is already included by <em>orchestrator)<\/em>:<\/p>\n<blockquote>\n<pre>var _=function() {\r\n\u00a0 var counter = 0; \u00a0\r\n\u00a0 var port = 3306;\r\n\u00a0 jQuery(\"h3.popover-title\").each(function() {\r\n\u00a0\u00a0\u00a0 jQuery(this).html(\"instance-\"+(counter++)+\":\"+port)\r\n\u00a0 });\r\n}();\r\n\r\n<\/pre>\n<\/blockquote>\n<p>This results in a modified topology such as the one presented above (&#8220;instance-11&#8221;, &#8220;instance-12&#8221; and so on).<\/p>\n<h4>Other enhancements since 1.0:<\/h4>\n<ul>\n<li>Proper error log entry when backend database is not found; also terminates execution.<\/li>\n<li>Added <strong>&#8211;stack<\/strong> command line. Combined with <strong>&#8211;debug<\/strong> this prints the stack trace upon error.<\/li>\n<li>When a known instance is not found (gone from the radar), now showing time since last seen instead of irrelevant last known slave lag.<\/li>\n<li>Various UI enhancements\/fixes<\/li>\n<\/ul>\n<p><em>Orchestrator<\/em> is released as open source under the <a href=\"https:\/\/raw.githubusercontent.com\/outbrain\/orchestrator\/master\/LICENSE\">Apache 2.0 license<\/a> and is available at: <a href=\"https:\/\/github.com\/outbrain\/orchestrator\">https:\/\/github.com\/outbrain\/orchestrator<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Outbrain&#8217;s orchestrator Version 1.0.4 is released. Quick links:\u00a0Orchestrator Manual, FAQ, Downloads What&#8217;s new? Co-masters orchestrator now does a much better visualization of Master-Master replication:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[5],"tags":[57,108,8],"class_list":["post-6945","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-open-source","tag-orchestrator","tag-replication"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2bZZp-1O1","_links":{"self":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/6945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/comments?post=6945"}],"version-history":[{"count":15,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/6945\/revisions"}],"predecessor-version":[{"id":6962,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/6945\/revisions\/6962"}],"wp:attachment":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/media?parent=6945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/categories?post=6945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/tags?post=6945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}