Created 02-11-2019 09:41 AM
Hi,
I have launched cloudbreak hortonworks data platform on Azure. The url was working properly before VM restarted. When I restart the vm the url is not working. Is there any other way to open cloudbreak UI ?
Thank you
Created 02-11-2019 10:03 AM
Hi,
By default cloudbreak is not installed as a service, so if there is a VM restart, you have to ssh into the machine and manually start up cloudbreak.
Starting cloudbreak manually:
#navigate to directory /var/lib/cloudbreak-deployer/ #start cloudbreak cbd start
After a bit the UI should be available.
If you plan to restart the VM regulalry it's probably worth to wrap it as a service.
Created 02-12-2019 07:37 AM
Created 02-12-2019 08:54 AM
I believe Azure marketplace image uses Centos and it has a service manager called systemd.
Here is a guide how to make a service wrapper with systemd:
https://www.devdungeon.com/content/creating-systemd-service-files
You have to set the WorkingDirectory to /var/lib/cloudbreak-deployer/ and ExecStart to cbd start