How to restart cloudify manager and its components

353 views Asked by At

I have added the env variable CFY_WORKDIR (in /etc/environment) to change the current working directory. In my understanding to take this new directory into effect, I need to restart the cloudify manager. Is it possible to do this?

2

There are 2 answers

6
Jeremy Hess On

The 'CFY_WORKDIR' is specifically to change the working directory for the CLI components. Therefore, this is independent of the Manager and you will not need to restart anything. You can try running 'cfy profiles use MANAGER_IP' again to connect to the running manager and see if that works.

Jeremy

0
Ido Berkovitch On

for the followup questions in comments, you can update TMPDIR environment variable in /etc/sysconfig/cloudify-restservice and /etc/sysconfig/cloudify-mgmtworker, then restart the services using sudo systemctl restart cloudify-restservice and sudo systemctl restart cloudify-mgmtworker.

updating config.yaml is also an option for mgmtworker, but only before running cfy_manager install.