{"id":583,"date":"2016-02-22T14:43:56","date_gmt":"2016-02-22T17:43:56","guid":{"rendered":"http:\/\/stefano.salvatori.cl\/blog\/?p=583"},"modified":"2016-02-22T14:43:56","modified_gmt":"2016-02-22T17:43:56","slug":"configuraciones-marathon-mesos-scheduler-parte-i","status":"publish","type":"post","link":"https:\/\/stefano.salvatori.cl\/blog\/2016\/02\/22\/configuraciones-marathon-mesos-scheduler-parte-i\/","title":{"rendered":"Configuraciones marathon (mesos scheduler) parte I"},"content":{"rendered":"<p>Despu\u00c3\u00a9s de estar un tiempo trabajando en la implementaci\u00c3\u00b3n de <a href=\"http:\/\/mesos.apache.org\/\">Apache Mesos<\/a> y <a href=\"https:\/\/mesosphere.github.io\/marathon\/\">Marathon<\/a> como scheduler algunos tips\u00c2\u00a0 que he aprendido en el camino.<\/p>\n<ul>\n<li>La configuraci\u00c3\u00b3n de las variables de entorno cuando utilizamos los paquetes generados por <a href=\"https:\/\/mesosphere.com\/\">Mesoshere<\/a> se debe agregar en el archivo <strong>\/etc\/sysconfig\/marathon\u00c2\u00a0<\/strong><\/li>\n<li>Cuando tenemos m\u00c3\u00a1s de una ip en nuestro nodo de marathon y queremos forzar para que las conexiones vayan utilizando esa red debemos agregar la variable <em>LIBPROCESS_IP<\/em><\/li>\n<li>Marathon utiliza un puerto para comunicarse con el mesos-master, este puerto es aleatorio pero se puede forzar utilizando <em>LIBPROCESS_PORT\u00c2\u00a0\u00c2\u00a0<\/em><a href=\"https:\/\/groups.google.com\/forum\/#!topic\/marathon-framework\/kgYpb1hd4Vg\">m\u00c3\u00a1s info<\/a><\/li>\n<li>La configuraci\u00c3\u00b3n de Marathon (usando los paquetes de mesosphere) se realiza mediante la creaci\u00c3\u00b3nd de archivos en el path \/etc\/marathon\/conf , cuando necesitemos agregar un par\u00c3\u00a1metro que no tiene valor (por ejemplo &#8211;disable_http) el archivo debe comenzar con un &#8216;?&#8217; (<a href=\"https:\/\/groups.google.com\/forum\/#!topic\/marathon-framework\/kgYpb1hd4Vg\">ver c\u00c3\u00b3digo en github<\/a>)<\/li>\n<\/ul>\n<p>Eso por ahora<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Despu\u00c3\u00a9s de estar un tiempo trabajando en la implementaci\u00c3\u00b3n de Apache Mesos y Marathon como scheduler algunos tips\u00c2\u00a0 que he aprendido en el camino. La configuraci\u00c3\u00b3n de las variables de entorno cuando utilizamos los paquetes generados por Mesoshere se debe agregar en el archivo \/etc\/sysconfig\/marathon\u00c2\u00a0 Cuando tenemos m\u00c3\u00a1s de una ip en nuestro nodo de [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","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,"font":"","enabled":false},"version":2}},"categories":[12,204,26],"tags":[236,235,237,215],"class_list":["post-583","post","type-post","status-publish","format-standard","hentry","category-linux","category-mesos","category-tips","tag-marathon","tag-mesos","tag-setup","tag-tips"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5Pxa3-9p","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/comments?post=583"}],"version-history":[{"count":1,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/583\/revisions"}],"predecessor-version":[{"id":584,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/583\/revisions\/584"}],"wp:attachment":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/media?parent=583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/categories?post=583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/tags?post=583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}