{"id":733,"date":"2013-01-01T00:00:00","date_gmt":"2013-01-01T00:00:00","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2013\/01\/01\/brocade-adx-the-keepalive-command\/"},"modified":"2021-07-24T18:08:51","modified_gmt":"2021-07-24T18:08:51","slug":"brocade-adx-the-keepalive-command","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html","title":{"rendered":"Brocade ADX – The keepalive command"},"content":{"rendered":"

Within this article we will look into the ‘keepalive’ command. As this command isn’t greatly documented I thought this would be a good opportunity to explain in a little more detail how it works.<\/p>\n

Keepalive vs Keep-alive<\/strong><\/h4>\n

First of all it is worth noting that the ‘keepalive’ command (which is configured under the real server) should not be confused with the ‘keep-alive’ command that is configured under the virtual server. Where as the ‘keep-alive’ command enables HTTP 1.1 functionality under the virtual server the keepalive command has a different role.<\/p>\n

What does it do ?<\/strong><\/h4>\n

The ‘keepalive’ command is configured within the real server using the syntax ‘port <port> keepalive’, as shown below.<\/p>\n

server real 192.168.1.1-web1 192.168.1.1
 port 80
 port 80 keepalive
 port 80 url “GET \/”<\/p>\n

When keepalive is enabled the loadbalancer periodically checks the real server based on the configured healthchecks.<\/p>\n

However without the keepalive option enabled the ADX initally checks the port using the configured healthcheck (in this example HTTP GET \/) at the point the port is bound.
The ADX then monitors the traffic and will only mark the port as FAILED if the real server fails to respond to multiple SYN packets.<\/p>\n

Gotcha<\/strong><\/h4>\n

At the point of a server being disabled, though no new connections are permitted existing connections will remain active until they gracefully finish. This in turn means that (as the ADX still sees these active connections) at the point the server is re-enabled the port status will return to ACTIVE without the initial healthcheck (in our case HTTP GET \/ ) being sent.<\/p>\n","protected":false},"excerpt":{"rendered":"

Within this article we will look into the ‘keepalive’ command. As this command isn’t greatly documented I thought this would be a good opportunity to explain in a little more detail how it works. Keepalive vs Keep-alive First of all it is worth noting that the ‘keepalive’ command (which is configured under the real server) … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"yoast_head":"\nBrocade ADX - The keepalive command - Fir3net<\/title>\n<meta name=\"description\" content=\"Within this article we will look into the 'keepalive' command. As this command isn't greatly documented I thought this would be a good opportunity to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Brocade ADX - The keepalive command - Fir3net\" \/>\n<meta property=\"og:description\" content=\"Within this article we will look into the 'keepalive' command. As this command isn't greatly documented I thought this would be a good opportunity to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\" \/>\n<meta property=\"og:site_name\" content=\"Fir3net\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-01T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-24T18:08:51+00:00\" \/>\n<meta name=\"author\" content=\"Rick Donato\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rick Donato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\"},\"author\":{\"name\":\"Rick Donato\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\"},\"headline\":\"Brocade ADX – The keepalive command\",\"datePublished\":\"2013-01-01T00:00:00+00:00\",\"dateModified\":\"2021-07-24T18:08:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\"},\"wordCount\":263,\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"articleSection\":[\"Brocade Loadbalancers\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\",\"url\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\",\"name\":\"Brocade ADX - The keepalive command - Fir3net\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/#website\"},\"datePublished\":\"2013-01-01T00:00:00+00:00\",\"dateModified\":\"2021-07-24T18:08:51+00:00\",\"description\":\"Within this article we will look into the 'keepalive' command. As this command isn't greatly documented I thought this would be a good opportunity to\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fir3net.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Networking\",\"item\":\"https:\/\/www.fir3net.com\/networking\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Loadbalancers\",\"item\":\"https:\/\/www.fir3net.com\/networking\/loadbalancers\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Brocade Loadbalancers\",\"item\":\"https:\/\/www.fir3net.com\/networking\/loadbalancers\/brocade\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Brocade ADX – The keepalive command\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fir3net.com\/#website\",\"url\":\"https:\/\/www.fir3net.com\/\",\"name\":\"Fir3net\",\"description\":\"Keeping you in the know\",\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fir3net.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fir3net.com\/#organization\",\"name\":\"Fir3net\",\"url\":\"https:\/\/www.fir3net.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"contentUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"width\":390,\"height\":88,\"caption\":\"Fir3net\"},\"image\":{\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\",\"name\":\"Rick Donato\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"caption\":\"Rick Donato\"},\"description\":\"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Brocade ADX - The keepalive command - Fir3net","description":"Within this article we will look into the 'keepalive' command. As this command isn't greatly documented I thought this would be a good opportunity to","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:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html","og_locale":"en_US","og_type":"article","og_title":"Brocade ADX - The keepalive command - Fir3net","og_description":"Within this article we will look into the 'keepalive' command. As this command isn't greatly documented I thought this would be a good opportunity to","og_url":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html","og_site_name":"Fir3net","article_published_time":"2013-01-01T00:00:00+00:00","article_modified_time":"2021-07-24T18:08:51+00:00","author":"Rick Donato","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rick Donato","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html#article","isPartOf":{"@id":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html"},"author":{"name":"Rick Donato","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037"},"headline":"Brocade ADX – The keepalive command","datePublished":"2013-01-01T00:00:00+00:00","dateModified":"2021-07-24T18:08:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html"},"wordCount":263,"publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"articleSection":["Brocade Loadbalancers"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html","url":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html","name":"Brocade ADX - The keepalive command - Fir3net","isPartOf":{"@id":"https:\/\/www.fir3net.com\/#website"},"datePublished":"2013-01-01T00:00:00+00:00","dateModified":"2021-07-24T18:08:51+00:00","description":"Within this article we will look into the 'keepalive' command. As this command isn't greatly documented I thought this would be a good opportunity to","breadcrumb":{"@id":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-the-keepalive-command.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fir3net.com\/"},{"@type":"ListItem","position":2,"name":"Networking","item":"https:\/\/www.fir3net.com\/networking"},{"@type":"ListItem","position":3,"name":"Loadbalancers","item":"https:\/\/www.fir3net.com\/networking\/loadbalancers"},{"@type":"ListItem","position":4,"name":"Brocade Loadbalancers","item":"https:\/\/www.fir3net.com\/networking\/loadbalancers\/brocade"},{"@type":"ListItem","position":5,"name":"Brocade ADX – The keepalive command"}]},{"@type":"WebSite","@id":"https:\/\/www.fir3net.com\/#website","url":"https:\/\/www.fir3net.com\/","name":"Fir3net","description":"Keeping you in the know","publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fir3net.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fir3net.com\/#organization","name":"Fir3net","url":"https:\/\/www.fir3net.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","contentUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","width":390,"height":88,"caption":"Fir3net"},"image":{"@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037","name":"Rick Donato","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","caption":"Rick Donato"},"description":"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders."}]}},"_links":{"self":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/733"}],"collection":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":0,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}