{"id":337,"date":"2018-07-13T09:06:47","date_gmt":"2018-07-13T09:06:47","guid":{"rendered":"http:\/\/www.soutarsit.co.uk\/?p=337"},"modified":"2018-07-13T09:15:59","modified_gmt":"2018-07-13T09:15:59","slug":"testing-vmkernel-port-connectivity-between-hosts","status":"publish","type":"post","link":"https:\/\/www.soutarsit.co.uk\/index.php\/2018\/07\/13\/testing-vmkernel-port-connectivity-between-hosts\/","title":{"rendered":"Testing VMkernel port connectivity between hosts"},"content":{"rendered":"<p>VMkernel ports are used for system traffic for vMotion, IP storage, Fault Tolerance, vSAN, and others. Ensuring inter-connectivity between your hosts on each of these interfaces is an integral requirement for HA Clusters. <\/p>\n<p>Communication issues can occur for a number of reasons, but in my experience it is usually due to a misconfiguration of the IP details, the switch configuration or the assigned physcial adapter. Testing that your hosts can communicate with eachother is obviously essential before you should put a host into production. To do this we can use the <code>vmkping<\/code> command. This allows us to specify a VMkernel interface to ping from and usefully lets us set the packet size so that we can ensure correct end-to-end configuration of Jumbo frames<\/p>\n<pre>\r\nvmkping [args] [host]\r\nargs:\r\n-4               use IPv4 (default)\r\n-6               use IPv6\r\n-c               set packet count\r\n-d               set DF bit (IPv4) or disable fragmentation (IPv6)\r\n-D               vmkernel TCP stack debug mode\r\n-i               set interval (secs)\r\n-I               outgoing interface - for IPv6 scope or IPv4\r\n                 bypasses routing lookup\r\n-N               set IP*_NEXTHOP - bypasses routing lookup\r\n                 for IPv4, -I option is required\r\n-s               set the number of ICMP data bytes to be sent.\r\n                 The default is 56, which translates to a 64 byte\r\n                 ICMP frame when added to the 8 byte ICMP header.\r\n                 (Note: these sizes does not include the IP header).\r\n-t               set IPv4 Time To Live or IPv6 Hop Limit\r\n-v               verbose\r\n-W               set timeout to wait if no responses are\r\n                 received (secs)\r\n\r\n-X               XML output format for esxcli framework.\r\n-S               The network stack instance name. If unspecified\r\n                 the default netstack instance is used.\r\n\r\nNOTE: In vmkernel TCP debug mode, vmkping traverses\r\nVSI and pings various configured addresses.<\/pre>\n<pre>vmkping -I vmk# 10.10.10.# -s 8994<\/pre>\n<p>Jumbo Frames on some switches are configured at either 8994 or 9000. This usually depends on wether the switch is including the headers in this setting or not. If a test with 8994 works but 9000 does not, this is still confirmation that Jumbo Frames configuration is working. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMkernel ports are used for system traffic for vMotion, IP storage, Fault Tolerance, vSAN, and others. Ensuring inter-connectivity between your hosts on each of these interfaces is an integral requirement for HA Clusters. Communication issues can occur for a number of reasons, but in my experience it is usually due to a misconfiguration of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,20],"tags":[27,28],"_links":{"self":[{"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/337"}],"collection":[{"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=337"}],"version-history":[{"count":5,"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":454,"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/337\/revisions\/454"}],"wp:attachment":[{"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soutarsit.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}