title: How to create/deploy multiple instance of tomcat in single server
body: <p>I have excercise where i have to deploy app war files onto multiple tomcat instances available on the same server. I am using Salt has my configuration mangement tool here, i have also gone through some examples of salt orchestrate runner but nothing seems to help. I am also confused arranging the pillar variables for multiple instances in the pillar file.</p>
  
  <p>I am able to deploy app on only instance without any trouble.</p>
  
  <p>Pillar file :</p>
  
  <pre><code>appname:
    name : location to instance1 webapps folder
    typer : war
  </code></pre>
  
  <p>State File:</p>
  
  <pre><code>  archive.download:
      download the war directly to instance1 webapp folder
    cmd.run
      restart instance1
  </code></pre>
  
  <p>Need help to include the second instance details and achieving the state deployment in optimized way possible. Thanks.</p>