Grouping servers by using tags
You can use tagging to group target servers for organized deployments.
About this task
Procedure
-
Tag resources, which represent target servers, in two groups.
To learn more about tagging, see Adding tags to objects. If you have resources that are organized in groups, you can apply a tag to a top-level group.For example, create top-level groups for the Blue servers and the Green servers. If you tag the two top-level groups as Blue and Green, then all resources that a particular group contains are included in deployment steps when you limit deployment to a specific tag.
- Create two application deployment processes that correspond
to the two tags.When you add an Install Component step to an application process, you can use the Limit to Tag field to restrict the deployment to resources that have a specific tag.
- Deploy the new version of an application by using the first
application deployment process.For example, deploy the application to a group of servers that are tagged as Blue servers.
- Check that the new version of the application is running as expected.
- Deploy the new version of an application by using the other
application deployment process.For example, deploy the application to a group of servers that are tagged as Green servers.