Let's say I have 4 agent configured in UCD(Urban Code Deloy) & component named test_component tagged to all agents.Now I need to make sure that component runs in only two agents(nodes). Can anyone tell me how to do that? Also I heard that reusable component is one of the best practice we need to follow in UCD Can anyone specify any material that I can explore.
Do you mean that the Components are mapped to Agents? You can actually add tags to Resources or Components. (An agent added to the Resource tree is actually a Resource that represents an Agent). You can then create an Application process with a step that is restricted to the selected Tag. More information here: https://www.ibm.com/support/knowledgecenter/SS4GSP_7.0.5/com.ibm.udeploy.doc/topics/groupingtags_tsk.html https://www.ibm.com/support/knowledgecenter/SS4GSP_7.0.5/com.ibm.udeploy.doc/topics/component_tags.html
To create reusable components, use Component Templates. You can also use Application Templates which contain Environment Templates.
For more information see: