Retrieve IP of the Cloudify Manager from inside Cloudify Application VM

前提是你 提交于 2019-12-12 01:28:56

问题


I am using Cloudify 2.7 with OpenStack Iceouse.

How could I do to retrieve IP of the Cloudify Manager from inside Cloudify Application VM?


回答1:


Good question. Unfortunately, there is no simple API to get this. As Cloudify 2 has reached End-of-Life, there are no plans for adding such an API.

Having said that, there is an environment variable that contains this information. The environment variable name is:

LOOKUPLOCATORS

The value of this variable is of the format:

<HOST1>:<PORT1>;<HOST2>:<PORT2>

Where each of the hosts is a cloudify 2 manager.



来源:https://stackoverflow.com/questions/31607837/retrieve-ip-of-the-cloudify-manager-from-inside-cloudify-application-vm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!