Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Caveat: This VESagent These practice applies to multicloud-windriver only right now.


...

Cloud Region Registry (Manually)

By default ESR will trigger this registry process, but in case ESR failed to do so or the previous registration is incomplete for some reasons, users could trigger the registration manually


Code Block
titleCloud Region Registration
collapsetrue
$ export MC_EP=http://{{multicloud-windriver IP}}:9005/api/multicloud-titanium_cloud/v0/{{vimid}}
	e.g. $ export MC_EP=http://172.30.3.37:9005/api/multicloud-titanium_cloud/v0/CloudOwner_RegionOne

$ curl -v -s -H "Content-Type: application/json" -X POST  $MC_EP/registry


...

VESagent provision for a Cloud Region



Assuming:

           IP to access multiCloud-windriver: 172.30.3.37

...

VESagent provision sample 2: monitor all VMs under specific tenant (by not specify any source or server_id for a backlog)


Code Block
titlesample_vesagent_all_2vmsvms
collapsetrue
{"vesagent_config":{"backlogs":[ {"domain":"fault","type":"vm","tenant":"sampletenant"}],"poll_interval_default":10,"ves_subscription":{"username":"admin","password":"admin","endpoint":"http://172.30.3.55:8081/eventListener/v5"}}}



Provisioning the MultiCloud VESagent

Code Block
titleprovisioning vesagent
collapsetrue
$ export MC_EP=http://{{multicloud-windriver IP}}:9005/api/multicloud-titanium_cloud/v0/{{vimid}}
	e.g. $ export MC_EP=http://172.30.3.37:9005/api/multicloud-titanium_cloud/v0/CloudOwner_RegionOne

$ curl -v -s -H "Content-Type: application/json" -d sample@sample_vesagent_2vms -X POST  $MC_EP/vesagent

...