On 11/12/13 23:43 +0800, Jay Lau wrote:
Greetings,

Here come a question related to heat auto scale down.

The scenario is as following:
I was trying to deploy hadoop cluster with heat Auto Scaling template.

When scale up a slave node, I can use user-data to do some post work for
configuration file on hadoop master node base on the information of slave
node (The mainly configuration file is conf/slaves as I need to put slave
node to this file);

But when scale down, seems I have no chance to do some configuration for
the master node (Remove the scale down node from conf/slaves) as master
node do not know which slave node was scale down.

Does anyone has some experience on this?

You should use the metadata rather than the userdata (userdata is
not updatable) as you can retrieve the metadata and action on it
during the life of the server.

-Angus

Thanks,

Jay

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to