Configure URL-mapping on Stratos
=========================
ELB setup
========
CARBON_HOME/repository/conf/loadbalancher.conf
* enable cache_size with preferred size
* enable url_sufix in each service
Eg:
************************************************************************************
appserver {
hosts appserver.cloud-test.wso2.com;
url_suffix as.wso2.com;
domains {
wso2.as.domain {
tenant_range *;
}
}
}
esb {
hosts esb.cloud-test.wso2.com;
url_suffix esb.wso2.com;
domains {
wso2.esb.domain {
tenant_range *;
}
}
}
***************************************************************************************
as such all the servers which have axis2 services or any services should be defined with unique url_suffix.
Worker-manager node
================
appserver {
domains {
CharithaASdomain {
hosts mgt.charitha.appserver.wso2.com;
sub_domain mgt;
tenant_range *;
}
CharithaASdomain {
hosts charitha.appserver.wso2.com;
url_suffix as.wso2.com;
sub_domain worker;
tenant_range *;
}
}
}
only worker node needs the url_suffix.
AS node setup
==========
by default url-mapping feature is there
So in CARBON_HOME/repository/conf/etc/url-mappings.xml
* replace url-prefix as “localhost” with “as.wso2.com” which is given in the ELB’s conf as url-suffix for that particular AS node.
Worker_manager node (AS)
====================
Manager node should have the url-suffix defined as in loadbalancher.conf for the worker node.
Worker can be as default.
ESB node setup
===============
install url-mapping feature from p2 repo.
Then as like AS node setup, change the configuration file with relevant url-suffix from ELB conf.
Greg
====
Need to mount Greg’s governance as shared across all the modes.
DNS mapping for a URL-mapping
========================
Have to get a DNS mapping to that particular URL-mapping.
=========================
ELB setup
========
CARBON_HOME/repository/conf/loadbalancher.conf
* enable cache_size with preferred size
* enable url_sufix in each service
Eg:
************************************************************************************
appserver {
hosts appserver.cloud-test.wso2.com;
url_suffix as.wso2.com;
domains {
wso2.as.domain {
tenant_range *;
}
}
}
esb {
hosts esb.cloud-test.wso2.com;
url_suffix esb.wso2.com;
domains {
wso2.esb.domain {
tenant_range *;
}
}
}
***************************************************************************************
as such all the servers which have axis2 services or any services should be defined with unique url_suffix.
Worker-manager node
================
appserver {
domains {
CharithaASdomain {
hosts mgt.charitha.appserver.wso2.com;
sub_domain mgt;
tenant_range *;
}
CharithaASdomain {
hosts charitha.appserver.wso2.com;
url_suffix as.wso2.com;
sub_domain worker;
tenant_range *;
}
}
}
only worker node needs the url_suffix.
AS node setup
==========
by default url-mapping feature is there
So in CARBON_HOME/repository/conf/etc/url-mappings.xml
* replace url-prefix as “localhost” with “as.wso2.com” which is given in the ELB’s conf as url-suffix for that particular AS node.
Worker_manager node (AS)
====================
Manager node should have the url-suffix defined as in loadbalancher.conf for the worker node.
Worker can be as default.
ESB node setup
===============
install url-mapping feature from p2 repo.
Then as like AS node setup, change the configuration file with relevant url-suffix from ELB conf.
Greg
====
Need to mount Greg’s governance as shared across all the modes.
DNS mapping for a URL-mapping
========================
Have to get a DNS mapping to that particular URL-mapping.
No comments:
Post a Comment