Hi, We have to finalize the design of the "Instance" element in the automation.xml[1] in a standard way to use in clustered and non-clustered test setups. We have agreed on 6 different instance types which support for different clustering patterns.
Note: host type is different from one to other. Some have "default" type. Others have worker,manager type according to their role in the setup. Please give your feedback on this configuration patterns. 1. STANDALONE - This is for instance in non-clustered setup <instance name="esbw001" type="worker"> <hosts> <host type="default">localhost</host> </hosts> <ports> <port type="http">9765</port> <port type="https">9445 </port> <port type="nhttps">9446</port> <port type="nhttp">8280</port> </ports> <properties> </properties> </instance> 2. LB_WORKER_MANAGER - LB instance fronts worker and manager <instance name="lbw001" type="lb_worker_manager" > <hosts> <host type="workerHost">esb.wso2con.com</host> <host type="managerHost">mgt.esb.wso2con.com</host> </hosts> <ports> <port type="http">9763</port> <port type="https">9443</port> <port type="nhttps">8243</port> <port type="nhttp">8280</port> </ports> <properties> </properties> </instance> 3. LB_MANAGER - LB fronts manager node <instance name="esbm001" type="lb_manager"> <hosts> <host type="manager">yyy.wso2.com</host> </hosts> <ports> <port type="http">9764</port> <port type="https">9444</port> <port type="nhttps">9446</port> <port type="nhttp">8280</port> </ports> <properties> </properties> </instance> 4. LB_WORKER - LB fronts worker node <instance name="esbw001" type="lb_worker"> <hosts> <host type="worker">xxx.wso2.com</host> </hosts> <ports> <port type="http">9765</port> <port type="https">9445 </port> <port type="nhttps">9446</port> <port type="nhttp">8280</port> </ports> <properties> </properties> </instance> 5. WORKER - Worker node in clustered setup, no LB fronted <instance name="esbw001" type="worker"> <hosts> <host type="default">localhost</host> </hosts> <ports> <port type="http">9765</port> <port type="https">9445 </port> <port type="nhttps">9446</port> <port type="nhttp">8280</port> </ports> <properties> </properties> </instance> 6. MANAGER - Manager node in clustered setup, no LB fronted <instance name="esbw001" type="worker"> <hosts> <host type="default">localhost</host> </hosts> <ports> <port type="http">9765</port> <port type="https">9445 </port> <port type="nhttps">9446</port> <port type="nhttp">8280</port> </ports> <properties> </properties> </instance> [1 https://svn.wso2.org/repos/wso2/people/dharshana/automation/framework/4.3.0/org.wso2.carbon.automation.engine/resources/automation.xml ] Regards, -- *Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 2312958
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev