On Fri, Feb 7, 2014 at 2:52 PM, Kishanthan Thangarajah <kishant...@wso2.com>wrote:
> > > > On Thu, Feb 6, 2014 at 3:25 PM, Malintha Adikari <malin...@wso2.com>wrote: > >> 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> >> </instance> >> >> 3. LB_MANAGER - LB fronts manager node >> >> <instance name="esbm001" type="lb_manager"> >> <hosts> >> <host type="manager">yyy.wso2.com</host> >> > > Why do we have different naming convention for host-type (eg : "manager" > and "managerHost")?. > I think we don't need the "Host" part in type as its already within the > host element. And it should be the same/consistence across all instance > elements. > > Yes, The "managerHost" type should be corrected to "manager". And > suggested three type for hosts are > 1. default 2. manager 3. worker > </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 >> >> > > > -- > *Kishanthan Thangarajah* > Senior Software Engineer, > Platform Technologies Team, > WSO2, Inc. > lean.enterprise.middleware > > Mobile - +94773426635 > Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* > Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>* > -- *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