Support Questions

Find answers, ask questions, and share your expertise

Cloudbreak url is not working after VM restart

Expert Contributor

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

3 REPLIES 3

Cloudera Employee

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.

Expert Contributor

@lnardai

It worked for me.

What does it mean "wrap it as a service" ?

Cloudera Employee

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