{"id":1226,"date":"2022-11-28T22:54:10","date_gmt":"2022-11-28T21:54:10","guid":{"rendered":"https:\/\/hentati.org\/?p=1226"},"modified":"2023-01-26T20:40:44","modified_gmt":"2023-01-26T19:40:44","slug":"ha-proxy","status":"publish","type":"post","link":"https:\/\/hentati.org\/index.php\/2022\/11\/28\/ha-proxy\/","title":{"rendered":"Deploy HA Proxy &#8211; vSphere with Tanzu"},"content":{"rendered":"<p><span style=\"color: #000000;\">It&#8217;s time to Deploy HA Proxy, as we are going to Enable later vSphere for Tanzu, it&#8217;s a prerequisite !<\/span><\/p>\n<p><span style=\"color: #000000;\">First of all, we have to create the dns entry, and upload the OVF Template on content library<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1227\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture0.png\" alt=\"\" width=\"759\" height=\"546\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture0.png 759w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture0-300x216.png 300w\" sizes=\"(max-width: 759px) 100vw, 759px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Go on content library, Select the right OVF and click on New VM from this template<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1228\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture1-1.png\" alt=\"\" width=\"1265\" height=\"735\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture1-1.png 1265w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture1-1-300x174.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture1-1-1024x595.png 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture1-1-768x446.png 768w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">We have to select the datacenter<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1229\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture2-1.png\" alt=\"\" width=\"918\" height=\"630\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture2-1.png 918w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture2-1-300x206.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture2-1-768x527.png 768w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Select also the cluster to deploy on it the HA Proxy<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1230\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture3-1.png\" alt=\"\" width=\"921\" height=\"632\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture3-1.png 921w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture3-1-300x206.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture3-1-768x527.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Click on next to continue<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1231\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture4-1.png\" alt=\"\" width=\"919\" height=\"627\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture4-1.png 919w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture4-1-300x205.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture4-1-768x524.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">We accept the Licence, click on next<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1232\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture5-1.png\" alt=\"\" width=\"929\" height=\"642\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture5-1.png 929w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture5-1-300x207.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture5-1-768x531.png 768w\" sizes=\"(max-width: 929px) 100vw, 929px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">There are two choice,<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>1- The Default config,<\/strong> In the 2 NIC configuration, there is a Management network and a Workload network. The Management network communicates with the Supervisor control plane whilst the Workload network is used for communicating to both TKG node IP addresses and providing Load Balancer IP addresses.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>2- The Frontend Network,<\/strong> In the 3 NIC configuration, a third network is configured, called the <em>Frontend network<\/em>. This moves the Load Balancer from provisioning IP addresses on the Workload network to the Frontend network. In this example, I am using the Frontend network for the Load Balancer IP addresses, as shown in the networking diagram above. However, it is the same VLAN and subnet as the Workload network, so I need to be careful not to overlap the network ranges.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Let&#8217;s go with the second choice<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1233\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture6.png\" alt=\"\" width=\"916\" height=\"628\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture6.png 916w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture6-300x206.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture6-768x527.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Now we select the datastore, in my case it&#8217;s vSan datastore<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1234\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture7.png\" alt=\"\" width=\"922\" height=\"642\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture7.png 922w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture7-300x209.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture7-768x535.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">As we have selected the second choice for the config,<\/span><\/p>\n<p><span style=\"color: #000000;\">now we put the right VLAN,<\/span><\/p>\n<p><span style=\"color: #000000;\">In my case, as I&#8217;m using small lab, I choose the sans VLAN 40 for Workload and Frontend<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1235\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture8-1.png\" alt=\"\" width=\"920\" height=\"629\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture8-1.png 920w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture8-1-300x205.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture8-1-768x525.png 768w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Now we Customize our VM, password in this first screenshot,<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1236\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture10.png\" alt=\"\" width=\"967\" height=\"731\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture10.png 967w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture10-300x227.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture10-768x581.png 768w\" sizes=\"(max-width: 967px) 100vw, 967px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">In this screenshot, we have to enter all network data, Hostname, DNS, Management IP, Workload, Frontend ..<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1237\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture11.png\" alt=\"\" width=\"906\" height=\"732\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture11.png 906w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture11-300x242.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture11-768x621.png 768w\" sizes=\"(max-width: 906px) 100vw, 906px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">And finally, the loadbalacing settings, small IP block fo Kube Services, and the port 5556<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1238\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture12.png\" alt=\"\" width=\"952\" height=\"716\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture12.png 952w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture12-300x226.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture12-768x578.png 768w\" sizes=\"(max-width: 952px) 100vw, 952px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Click finish !<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1239\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture13.png\" alt=\"\" width=\"945\" height=\"714\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture13.png 945w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture13-300x227.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture13-768x580.png 768w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">We can see the VM deployed on our vCenter, to check if the HA Proxy works, we can try the URL :<\/span><\/p>\n<p><span style=\"color: #000000;\">FQDN:5556\/v2<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1240\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture14.png\" alt=\"\" width=\"1360\" height=\"755\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture14.png 1360w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture14-300x167.png 300w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture14-1024x568.png 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/Capture14-768x426.png 768w\" sizes=\"(max-width: 1360px) 100vw, 1360px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Our HA Proxy works ! now we can go to Enable vSphere for Tanzu \ud83d\ude42<\/span><\/p>\n<p><span style=\"color: #000000;\">Thanks !<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s time to Deploy HA Proxy, as we are going to Enable later vSphere for Tanzu, it&#8217;s a prerequisite ! First of all, we have to create the dns entry, &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1295,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1226"}],"collection":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/comments?post=1226"}],"version-history":[{"count":5,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1226\/revisions"}],"predecessor-version":[{"id":1264,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1226\/revisions\/1264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media\/1295"}],"wp:attachment":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media?parent=1226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/categories?post=1226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/tags?post=1226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}