HEAT creating multiple servers

asked 2018-11-27 11:13:09 -0500

CloudUser99 gravatar image

I have multiple env files and one yaml file to create a 100 Servers. Is there a way I can automate that instead of calling each script one by one

edit retag flag offensive close merge delete


do you have heat template generator?

yasin lachiny gravatar imageyasin lachiny ( 2018-11-27 11:49:30 -0500 )edit

no. I am trying from command prompt cannot use UI

CloudUser99 gravatar imageCloudUser99 ( 2018-11-27 15:34:03 -0500 )edit

If you want to automate the launch of several scripts, put the commands that launch them in a shell script, then launch the shell script. I am not sure if I understand your problem, however.

What precisely is it that you want to automate?

What is in the scripts that you mention?

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-27 16:46:04 -0500 )edit

Thanks for the response. I have a template and 1000 env files. I have already kept in a script to call one after another / I have copy pasted 1000 time same command create stack. I am looking for any other cleanear way as provided by openstack so that I can create al the instances ...not using Shell

CloudUser99 gravatar imageCloudUser99 ( 2018-11-28 10:05:46 -0500 )edit

So what you're asking for is a way to create 100 stacks from the same template, each with a different environment file? The short answer is no, but depending on what you are setting in the environment files, there may be a way to do it within a template using one of the scaling group resource types.

zaneb gravatar imagezaneb ( 2018-11-28 10:35:06 -0500 )edit