I downloaded the HDP Sandbox 2.6 and tried to install it in vSphere. After making and breaking the file .ova file and finally deploying it;the machine got up but with network issues. To give your appliance a static IP address you will have to edit the networking scripts and reboot the machine. First of all verify your NIC instance with the following command (ens32 in my case).
ip addr show
The scripts can be found in the following location.
cd /etc/sysconfig/network-scripts
Evidently a script in my NIC instance name was missing. I copied the contents of the already provided script (ifcfg-ens33) into a new file in my NIC instance name and modified the parameters to give a static IP to my sandbox instance.
vi ifcfg-ens32
BOOTPROTO=static
IPADDR=172.X.X.X.
NETMASK=255.255.255.0
GATEWAY=172.X.X.X
Save the file and reboot your appliance.
# reboot
After the reboot; the script assigned the static IP to the NIC instance and the Ambari server was up and running.
Tags: 2.6, apache, ashfaq ahmad shinwary, big data, hadoop, HDP, horton, horton works, Installation, ip, Islamabad, network, Pakistan, sandbox, scripts, static, tech, technology, VMware, vsphere, works
Leave a Reply