Hi, With 2.2.0-M3 we introduced 3 Greg servers to manage registry resources for dev, test and prod environments. But still we can manage the resources without 3 Greg instances, giving the resource management responsibility to App servers.
*What we need to do:* 1. Copy following jars to 3 appservers org.wso2.carbon.appfactory.resource.mgt-2.2.0-SNAPSHOT.jar org.wso2.carbon.registry.ws.client_4.2.0.jar org.wso2.carbon.registry.ws.stub_4.2.0.jar 2. Update the appfactory.xml in appfactory node. Change the port of GregServerURL under each deployment stage to 9443 <GregServerURL> https://gregserver.dev.appfactory.private.wso2.com:9443/services/ </GregServerURL> 3. Update the Greg host entries in /etc/hosts file as follows <IP_OF_DEV_AS> gregserver.dev.appfactory.private.wso2.com <IP_OF_TEST_AS> gregserver.test.appfactory.private.wso2.com <IP_OF_PROD_AS> gregserver.prod.appfactory.private.wso2.com I have updated puppet modules [1] to setup App servers with all the above jars every time. So, when a developer wants to setup the AF without 3 Gregs: remove the the dev_greg, test_greg, prod_greg strings from [2] file and setup the app factory, then do the 2nd and 3rd setps mentioned above. [1] https://github.com/wso2/product-af/blob/master/modules/puppet-manifests/ [2] https://github.com/wso2/product-af/blob/master/modules/puppet-manifests/setup-script/config.properties Thanks Amalka
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
