Cloud
Nutanix Community Edition and Proxy Setup - knowaboutcloud

Nutanix Community Edition and Proxy Setup

This blog is for people who are planning to setup Nutanix Community Edition behind a proxy server. Well things work very well if you have an ideal environment the proper name resolution (both internal & external ). Good that I did not have an external name resolution so

Nutanix Community Edition - Know About Cloud

Nutanix-CE

Challenge 1: No Name resolution prism central needs to resolve (my.nutanix.com) my.nutanix.com points to an AWS elb so i took the ip and updated hots file in the CVM and resolved the name.

Challenge 2: Now my.nutanix.com is fine but there are two more servers that needed the same treatment

nsc01.nutanix.net & nc02.nutanix.net

Challenge 3: Even after resolving the names manually had an another challenge

Now for ssh tunneling corkscrew is used and while the normal command line

ncli http-proxy add name=”someproxy” address=”0.0.0.0″ port=”xxxx” did not work, jrackliffe pointed us to the right direction (read the complete thread here) parameters proxyTypes=http,https did the trick

ncli http-proxy add name=”linuxproxy” address=”0.0.0.0″ port=”xxxx” username=”someuser” password=”somepassword” proxyTypes=http,https

 

Nutanix CE command line for reference

virsh  help

virsh –list all

virsh edit “name of vm”

cluster -s ip1,ip2,ip3 create

ncli cluster add-to-name-servers servers=8.8.8.8

ncli cluster get-name-servers

ncli http-proxy add name=”someproxy” address=”0.0.0.0″ port=”xxxx” 

ncli http-proxy add name=”someproxy” address=”0.0.0.0″ port=”xxxx”  username=”someuser” password=”somepassword”

ncli http-proxy add name=”linuxproxy” address=”0.0.0.0″ port=”xxxx” username=”someuser” password=”somepassword” proxyTypes=http,https

ncli http-proxy remove name=”someproxy”

ncli http-proxy ls

ncli http-proxy list

 

 

 

Leave a comment