{"id":707,"date":"2016-07-15T22:18:05","date_gmt":"2016-07-15T16:48:05","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=707"},"modified":"2017-03-11T09:17:33","modified_gmt":"2017-03-11T03:47:33","slug":"rundeck-failover-setup","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/","title":{"rendered":"Rundeck Failover Setup"},"content":{"rendered":"<p>In this post, we will explain how to setup failover on rundeck. Rundeck officially doesn&#8217;t supports failover. This approach we tested on Centos 6 and its working fine. Moreover, use this approach on your own risk \ud83d\ude1b<\/p>\n<p><strong>Assumption:<\/strong><\/p>\n<p>This post assumes that rundeck is running on host1 listens on port 8000. Its standalone server and using mysql database.<\/p>\n<p>Before moving to the post, lets understand basic execution mode on rundeck. There are 2 kind of execution mode available on rundeck<\/p>\n<ol>\n<li>Active Mode: Jobs, scheduled Jobs, and adhoc executions can be run.<\/li>\n<li>Passive Mode:No Jobs or adhoc executions can be run.<\/li>\n<\/ol>\n<p>We will configure rundeck failover server Passive mode where no jobs will run and whenever master server goes down, rundeck failover server will become a master.<\/p>\n<p><strong>Work Flow:<\/strong><\/p>\n<ol>\n<li>Checks whether rundeck master server is listening on port 8000 from Failover server<\/li>\n<li>If rundeck master responds, copy the projects, log folders and checks whether failover server is in active mode or passive mode. If rundeck failover server is active mode, change it to passive mode and send notifications. If rundeck failover server is in Passive mode then do nothing.<\/li>\n<li>If rundeck master doesn&#8217;t responds, switch the failover rundeck server execution mode from Passive to Active and send notifications.<\/li>\n<\/ol>\n<p><code><\/code><strong>Fail Over Setup:<\/strong><\/p>\n<p><code><\/code>Install rundeck on the fail over server.<br \/>\n<span class=\"co\">rpm -Uvh http:\/\/repo.rundeck.org\/latest.rpm<br \/>\n<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">yum install rundeck<\/span><\/p>\n<p class=\"p1\">\u00a0Configure database details on the rundeck Failover server.<\/p>\n<p class=\"p1\"><code>vi \/etc\/rundeck\/rundeck-config.properties<\/code><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">dataSource.url=jdbc:mysql:\/\/IPADDRESS\/rundeck?autoReconnect=true<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">dataSource.username=rundeck<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">dataSource.password=&lt;YOUR PASSWORD&gt;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">dataSource.driverClassName=com.mysql.jdbc.Driver<\/span><\/p>\n<\/blockquote>\n<p class=\"p1\">Modify the rundeck port if you wish to listen on different. In our case, we used port 8000<\/p>\n<p class=\"p1\"><code>vi \/etc\/rundeck\/profile<\/code><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">RDECK_HTTP_PORT=8000<\/span><\/p>\n<\/blockquote>\n<p class=\"p1\">Grant privileges to mysql user on mysql host<\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">grant all on rundeck.* to &#8216;rundeck&#8217;@&#8217;FAILOVER-IPADDRESS&#8217; identified by &#8216;&lt;YOUR PASSWORD&gt;\u2019;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">flush privileges;<\/span><\/p>\n<\/blockquote>\n<p class=\"p1\">Copy ssh key on master to failover server. Execute the below command on failover server<\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">scp \/var\/lib\/rundeck\/.ssh<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">MASTER_IP_ADDRESS:\/var\/lib\/rundeck<\/span><\/p>\n<\/blockquote>\n<p class=\"p1\">Generate API key on FAILOVER SERVER. Move your Pointer to\u00a0<strong>Rundeck -&gt; Settings -&gt; GENERATE<\/strong><\/p>\n<p class=\"p1\">Provide <strong>enable_executions, disable_executions\u00a0<\/strong> to<strong> apitoken.aclpolicy<\/strong><\/p>\n<p class=\"p1\"><code>vi \/etc\/rundeck\/apitoken.aclpolicy<\/code><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">context:<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">\u00a0 application: &#8216;rundeck&#8217;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">for:<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">\u00a0 resource:<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">\u00a0 \u00a0 &#8211; equals:<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">\u00a0 \u00a0 \u00a0 \u00a0 kind: system<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">\u00a0 \u00a0 \u00a0 allow: <b>[read,enable_executions,disable_executions]<\/b> # allow read of system info<\/span><\/p>\n<\/blockquote>\n<p class=\"p1\">Start the rundeck service on failover server.<\/p>\n<p class=\"p1\"><code>\/etc\/init.d\/rundeck start<\/code><\/p>\n<p class=\"p1\">Change active mode to passive on failover server.<\/p>\n<p class=\"p1\"><em>Rundeck Server -&gt; Settings -&gt; Change Executions -&gt; Passive -&gt; Save<\/em><\/p>\n<p class=\"p1\">Copy the failover script and add it cron to run every 15 minutes.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">#!\/usr\/bin\/python\r\n#Author:support@pheonixsolutions.com\r\n#Description: Script to setup Failover\r\n#Schedule this script on cron to run every 15 minutes\r\n#Love to do in Python\r\n#Version:1.0\r\nimport os,sys,socket\r\nimport xml.etree.ElementTree\r\nimport smtplib\r\nimport email\r\nimport email.mime.text\r\nimport string\r\n# Required Variables\r\nPROJECT_FOLDER='\/var\/rundeck\/projects'\r\nLOG_FOLDER='\/var\/log\/rundeck'\r\nEXECUTION_LOGS='\/var\/lib\/rundeck\/logs'\r\nMASTER_IP_ADDRESS='&lt;MASTER-IP-ADDRESS'\r\nFAILOVER_IP_ADDRESS='&lt;FAILOVER-IP_ADDRESS' RUNDECK_PORT=8000 sender_mail = 'rundeck-failover@domain.tld' # Mention FROM email address recipients =['email1@domain.tld','email2@domain.tld']#Separated by Comma API_TOKEN='YOUR API TOKEN' print \"Checking whether Rundeck Master server is responding..\" check_socket=socket.socket() try: check_socket.connect((MASTER_IP_ADDRESS,RUNDECK_PORT)); #print \"Connected to %s on port %s\" % (MASTER_IP_ADDRESS, RUNDECK_PORT) # \"Syncing data from Master to Slave\" os.system('rsync -ratlz root@'+MASTER_IP_ADDRESS+':'+PROJECT_FOLDER+'\/* ' +PROJECT_FOLDER+'\/') os.system('rsync -ratlz root@'+MASTER_IP_ADDRESS+':'+LOG_FOLDER+'\/* ' +LOG_FOLDER+'\/') os.system('rsync -ratlz root@'+MASTER_IP_ADDRESS+':'+EXECUTION_LOGS+'\/* ' +EXECUTION_LOGS+'\/') os.system(\"curl -H 'X-Rundeck-Auth-Token:\"+API_TOKEN+\"' http:\/\/\"+FAILOVER_IP_ADDRESS+\":\"+str(RUNDECK_PORT)+\"\/api\/2\/system\/info&gt;\/tmp\/output_failover.xml\");\r\n  e = xml.etree.ElementTree.parse('\/tmp\/output_failover.xml').getroot()\r\n  for all_elements in e:\r\n    for executions in all_elements:\r\n      if(executions.tag =='executions'):\r\n        #Checking whether Failover server is active or passive\r\n        if(executions.get('executionMode') == 'active'):\r\n          os.system('curl -H \"X-Rundeck-Auth-Token:'+API_TOKEN+'\" -X POST http:\/\/'+FAILOVER_IP_ADDRESS+':'+str(RUNDECK_PORT)+'\/api\/14\/system\/executions\/disable');\r\n          #Sending Notifications\r\n          body=\"Master Server %s is up. Fail Over Server Execution Mode is Active. Disabling Active Mode on %s\\n\" %(MASTER_IP_ADDRESS,FAILOVER_IP_ADDRESS)\r\n          body_of_the_message= email.mime.text.MIMEText(body,'html');\r\n          message      = email.MIMEMultipart.MIMEMultipart('alternative')\r\n          message['Subject'] =\"Rundeck Fail Over Alert\"\r\n          message['From']    = sender_mail\r\n          message.attach(body_of_the_message);\r\n          message['To']=\",\".join(recipients)\r\n          server = smtplib.SMTP('localhost')\r\n          server.sendmail(message['From'],recipients,message.as_string())\r\n          server.quit()\r\n        elif(executions.get('executionMode') == 'passive'):\r\n          print \"Fail Over Server Execution Mode is Passive. Do Nothing..\";\r\n        else:\r\n          print \"Something is wrong. Please check Fail Over Server %s.\" %(FAILOVER_IP_ADDRESS)\r\n          body=\"Rundeck Fail Over Alert: Something is Wrong on %s\" %(FAILOVER_IP_ADDRESS)\r\n          body_of_the_message= email.mime.text.MIMEText(body,'html');\r\n          message      = email.MIMEMultipart.MIMEMultipart('alternative')\r\n          message['Subject'] =\"Urgent:Rundeck Fail Over Alert. Something is wrong on Failover Server\"\r\n          message['From']    = sender_mail\r\n          message['To']=\",\".join(recipients)\r\n          message.attach(body_of_the_message);\r\n          server = smtplib.SMTP('localhost')\r\n          server.sendmail(message['From'],recipients,message.as_string())\r\n          server.quit()\r\n#If the Master server doesn't Responds, switch the connection\r\nexcept socket.error, e:\r\n  print \"Connection Failed. Master Rundeck server failed %s\" %(MASTER_IP_ADDRESS);\r\n  print \"Starting Failover Server\"\r\n  os.system('curl -H \"X-Rundeck-Auth-Token:'+API_TOKEN+'\" -X POST http:\/\/'+FAILOVER_IP_ADDRESS+':'+str(RUNDECK_PORT)+'\/api\/14\/system\/executions\/enable');\r\n  body=\"Rundeck Fail Over Alert: Rundeck Master is Down %s. Failover Completed on %s. Please check \" %(MASTER_IP_ADDRESS,FAILOVER_IP_ADDRESS)\r\n  body_of_the_message= email.mime.text.MIMEText(body,'html');\r\n  message      = email.MIMEMultipart.MIMEMultipart('alternative')\r\n  message['From']    = sender_mail\r\n  message['Subject'] =\"Urgent: Rundeck Master Server %s is Down. Please check \" %(MASTER_IP_ADDRESS)\r\n  message.attach(body_of_the_message);\r\n  message['To']=\",\".join(recipients)\r\n  server = smtplib.SMTP('localhost')\r\n  server.sendmail(message['From'],recipients,message.as_string())\r\n  server.quit()<\/pre>\n<p>&nbsp;<br \/>\nAdd the script on cron to run every 15 minutes.<br \/>\nStop the rundeck server on master and execute the copied script, you can see failover server become Active mode.<\/p>\n<p>Script can be downloaded from <a href=\"https:\/\/github.com\/Pheonixsolutions\/rundeck-failover\">github<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we will explain how to setup failover on rundeck. Rundeck officially doesn&#8217;t supports failover. This approach we tested on Centos 6 and its working fine. Moreover, use this approach on your own risk \ud83d\ude1b Assumption: This post assumes that rundeck is running on host1 listens on port&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Rundeck Failover Setup<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"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":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[225,291,290],"tags":[294,292,293,210],"class_list":{"0":"post-707","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-linux","7":"category-python-script","8":"category-script","9":"tag-failover","10":"tag-python","11":"tag-rundeck","12":"tag-script","13":"h-entry","15":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/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:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"In this post, we will explain how to setup failover on rundeck. Rundeck officially doesn&#8217;t supports failover. This approach we tested on Centos 6 and its working fine. Moreover, use this approach on your own risk \ud83d\ude1b Assumption: This post assumes that rundeck is running on host1 listens on port&hellip; Continue Reading Rundeck Failover Setup\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-15T16:48:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-03-11T03:47:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3837\" \/>\n\t<meta property=\"og:image:height\" content=\"2540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Rundeck Failover Setup\",\"datePublished\":\"2016-07-15T16:48:05+00:00\",\"dateModified\":\"2017-03-11T03:47:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/\"},\"wordCount\":451,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"keywords\":[\"failover\",\"python\",\"rundeck\",\"script\"],\"articleSection\":[\"Linux\",\"Python\",\"Script\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2016-07-15T16:48:05+00:00\",\"dateModified\":\"2017-03-11T03:47:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/rundeck-failover-setup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rundeck Failover Setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","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:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"In this post, we will explain how to setup failover on rundeck. Rundeck officially doesn&#8217;t supports failover. This approach we tested on Centos 6 and its working fine. Moreover, use this approach on your own risk \ud83d\ude1b Assumption: This post assumes that rundeck is running on host1 listens on port&hellip; Continue Reading Rundeck Failover Setup","og_url":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2016-07-15T16:48:05+00:00","article_modified_time":"2017-03-11T03:47:33+00:00","og_image":[{"width":3837,"height":2540,"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Rundeck Failover Setup","datePublished":"2016-07-15T16:48:05+00:00","dateModified":"2017-03-11T03:47:33+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/"},"wordCount":451,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"keywords":["failover","python","rundeck","script"],"articleSection":["Linux","Python","Script"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/","url":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"datePublished":"2016-07-15T16:48:05+00:00","dateModified":"2017-03-11T03:47:33+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/rundeck-failover-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Rundeck Failover Setup"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-bp","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=707"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/707\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}