After you have installed Connections, you have to change the lotusconnections-config.xml for the desired url’s.

Here is a simple script on how to automate that process when using a development-deployment ( all on one jvm server/cluster ).

You can change the script by adding more clusters.

 

execfile(‘connectionsConfig.py’)
 
domain_name=’.your_comain.com’
hostname = ‘server’
cluster_name = ‘AllCluster’
 
activities_url=hostname + domain_name
blogs_url=hostname + domain_name
bookmarklet_url=hostname + domain_name
communities_url=hostname + domain_name
deploymentConfig_url=hostname + domain_name
dogear_url=hostname + domain_name
files_url=hostname + domain_name
forum_url=hostname + domain_name
microblogging_url=hostname + domain_name
mediaGallery_url=hostname + domain_name
metrics_url=hostname + domain_name
mobile_url=hostname + domain_name
moderation_url=hostname + domain_name
news_url=hostname + domain_name
oauth_url=hostname + domain_name
oauthprovider_url=hostname + domain_name
opensocial_url=hostname + domain_name
profiles_url=hostname + domain_name
homepage_url=hostname + domain_name
search_url=hostname + domain_name
webresources_url=hostname + domain_name
wikis_url=hostname + domain_name
 
cell=AdminConfig.list(‘Cell’)
cellname=AdminConfig.showAttribute(cell,’name’)
 
LCConfigService.checkOutConfig(‘c:\\temp’,cellname)
 
LCConfigService.updateConfig(‘activities.enabled’,’true’)
LCConfigService.updateConfig(‘activities.href’,’http://’ + activities_url)
LCConfigService.updateConfig(‘activities.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘activities.ssl.href’,’https://’ + activities_url)
LCConfigService.updateConfig(‘activities.interService.href’,’http://’ + activities_url)
LCConfigService.updateConfig(‘activities.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘blogs.enabled’,’true’)
LCConfigService.updateConfig(‘blogs.href’,’http://’ + blogs_url)
LCConfigService.updateConfig(‘blogs.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘blogs.ssl.href’,’https://’ + blogs_url)
LCConfigService.updateConfig(‘blogs.interService.href’,’http://’ + blogs_url)
LCConfigService.updateConfig(‘blogs.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘bookmarklet.enabled’,’true’)
LCConfigService.updateConfig(‘bookmarklet.href’,’http://’ + bookmarklet_url)
LCConfigService.updateConfig(‘bookmarklet.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘bookmarklet.ssl.href’,’https://’ + bookmarklet_url)
LCConfigService.updateConfig(‘bookmarklet.interService.href’,’http://’ + bookmarklet_url)
#LCConfigService.updateConfig(‘bookmarklet.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘communities.enabled’,’true’)
LCConfigService.updateConfig(‘communities.href’,’http://’ + communities_url)
LCConfigService.updateConfig(‘communities.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘communities.ssl.href’,’https://’ + communities_url)
LCConfigService.updateConfig(‘communities.interService.href’,’http://’ + communities_url)
LCConfigService.updateConfig(‘communities.ejb.cluster’, cluster_name)
 
#LCConfigService.updateConfig(‘communities.directory.service.extension.enabled’,’true’)
#LCConfigService.updateConfig(‘communities.directory.service.extension.href’,’http://’ +  communities_url   + ‘/communities/dsx/’)
#LCConfigService.updateConfig(‘communities.directory.service.extension.auth’,’SSO’)
 
LCConfigService.updateConfig(‘profiles.directory.service.extension.enabled’,’true’)
#LCConfigService.updateConfig(‘profiles.directory.service.extension.href’,’http://’ + profiles_url + ‘/profiles/dsx/’)
#LCConfigService.updateConfig(‘profiles.directory.service.extension.auth’,’SSO’)
 
 
LCConfigService.updateConfig(‘deploymentConfig.enabled’,’true’)
LCConfigService.updateConfig(‘deploymentConfig.href’,’http://’ + deploymentConfig_url)
LCConfigService.updateConfig(‘deploymentConfig.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘deploymentConfig.ssl.href’,’https://’ + deploymentConfig_url)
LCConfigService.updateConfig(‘deploymentConfig.interService.href’,’http://’ + deploymentConfig_url)
LCConfigService.updateConfig(‘deploymentConfig.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘dogear.enabled’,’true’)
LCConfigService.updateConfig(‘dogear.href’,’http://’ + dogear_url)
LCConfigService.updateConfig(‘dogear.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘dogear.ssl.href’,’https://’ + dogear_url)
LCConfigService.updateConfig(‘dogear.interService.href’,’http://’ + dogear_url)
LCConfigService.updateConfig(‘dogear.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘files.enabled’,’true’)
LCConfigService.updateConfig(‘files.href’,’http://’ + files_url)
LCConfigService.updateConfig(‘files.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘files.ssl.href’,’https://’ + files_url)
LCConfigService.updateConfig(‘files.interService.href’,’http://’ + files_url)
LCConfigService.updateConfig(‘files.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘forums.enabled’,’true’)
LCConfigService.updateConfig(‘forums.href’,’http://’ + forum_url)
LCConfigService.updateConfig(‘forums.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘forums.ssl.href’,’https://’ + forum_url)
LCConfigService.updateConfig(‘forums.interService.href’,’http://’ + forum_url)
LCConfigService.updateConfig(‘forums.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘help.enabled’,’true’)
LCConfigService.updateConfig(‘help.href’,’http://’ + forum_url)
LCConfigService.updateConfig(‘help.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘help.ssl.href’,’https://’ + forum_url)
LCConfigService.updateConfig(‘help.interService.href’,’http://’ + forum_url)
 
LCConfigService.updateConfig(‘homepage.enabled’,’true’)
LCConfigService.updateConfig(‘homepage.href’,’http://’ + homepage_url)
LCConfigService.updateConfig(‘homepage.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘homepage.ssl.href’,’https://’ + homepage_url)
LCConfigService.updateConfig(‘homepage.interService.href’,’http://’ + homepage_url)
LCConfigService.updateConfig(‘homepage.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘mediaGallery.enabled’,’true’)
LCConfigService.updateConfig(‘mediaGallery.href’,’http://’ + mediaGallery_url)
LCConfigService.updateConfig(‘mediaGallery.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘mediaGallery.ssl.href’,’https://’ + mediaGallery_url)
LCConfigService.updateConfig(‘mediaGallery.interService.href’,’http://’ + mediaGallery_url)
LCConfigService.updateConfig(‘mediaGallery.ejb.cluster’, cluster_name)
 
 
LCConfigService.updateConfig(‘metrics.enabled’,’true’)
LCConfigService.updateConfig(‘metrics.href’,’http://’ + metrics_url)
LCConfigService.updateConfig(‘metrics.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘metrics.ssl.href’,’https://’ + metrics_url)
LCConfigService.updateConfig(‘metrics.interService.href’,’http://’ + metrics_url)
LCConfigService.updateConfig(‘metrics.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘microblogging.enabled’,’true’)
LCConfigService.updateConfig(‘microblogging.href’,’http://’ + microblogging_url)
LCConfigService.updateConfig(‘microblogging.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘microblogging.ssl.href’,’https://’ + microblogging_url)
LCConfigService.updateConfig(‘microblogging.interService.href’,’http://’ + microblogging_url)
LCConfigService.updateConfig(‘microblogging.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘moderation.enabled’,’true’)
LCConfigService.updateConfig(‘moderation.href’,’http://’ + moderation_url)
LCConfigService.updateConfig(‘moderation.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘moderation.ssl.href’,’https://’ + moderation_url)
LCConfigService.updateConfig(‘moderation.interService.href’,’http://’ + moderation_url)
LCConfigService.updateConfig(‘moderation.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘mobile.enabled’,’true’)
LCConfigService.updateConfig(‘mobile.href’,’http://’ + mobile_url)
LCConfigService.updateConfig(‘mobile.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘mobile.ssl.href’,’https://’ + mobile_url)
LCConfigService.updateConfig(‘mobile.interService.href’,’http://’ + mobile_url)
LCConfigService.updateConfig(‘mobile.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘news.ejb.cluster’,”)
LCConfigService.updateConfig(‘news.enabled’,’true’)
LCConfigService.updateConfig(‘news.href’,’http://’ + news_url)
LCConfigService.updateConfig(‘news.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘news.ssl.href’,’https://’ + news_url)
LCConfigService.updateConfig(‘news.interService.href’,’http://’ + news_url)
LCConfigService.updateConfig(‘news.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘oauth.enabled’,’true’)
LCConfigService.updateConfig(‘oauth.href’,’http://’ + oauth_url)
LCConfigService.updateConfig(‘oauth.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘oauth.ssl.href’,’https://’ + oauth_url)
LCConfigService.updateConfig(‘oauth.interService.href’,’http://’ + oauth_url)
 
LCConfigService.updateConfig(‘oauthprovider.enabled’,’true’)
LCConfigService.updateConfig(‘oauthprovider.href’,’http://’ + oauthprovider_url)
LCConfigService.updateConfig(‘oauthprovider.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘oauthprovider.ssl.href’,’https://’ + oauth_url)
LCConfigService.updateConfig(‘oauthprovider.interService.href’,’http://’ + oauth_url)
LCConfigService.updateConfig(‘oauthprovider.ejb.cluster’, cluster_name )
 
LCConfigService.updateConfig(‘opensocial.enabled’,’true’)
LCConfigService.updateConfig(‘opensocial.href’,’http://’ + opensocial_url)
LCConfigService.updateConfig(‘opensocial.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘opensocial.ssl.href’,’https://’ + opensocial_url)
LCConfigService.updateConfig(‘opensocial.interService.href’,’http://’ + opensocial_url)
LCConfigService.updateConfig(‘opensocial.ejb.cluster’, cluster_name )
 
 
LCConfigService.updateConfig(‘personTag.enabled’,’true’)
LCConfigService.updateConfig(‘personTag.href.prefix’,’/profiles/ibm_semanticTagServlet’)
LCConfigService.updateConfig(‘personTag.href’,’http://’ + profiles_url)
LCConfigService.updateConfig(‘personTag.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘personTag.ssl.href’,’https://’ + profiles_url)
LCConfigService.updateConfig(‘personTag.interService.href’,’http://’ + profiles_url)
 
LCConfigService.updateConfig(‘profiles.enabled’,’true’)
LCConfigService.updateConfig(‘profiles.href’,’http://’ + profiles_url)
LCConfigService.updateConfig(‘profiles.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘profiles.ssl.href’,’https://’ + profiles_url)
LCConfigService.updateConfig(‘profiles.interService.href’,’http://’ + profiles_url)
LCConfigService.updateConfig(‘profiles.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘search.ejb.cluster’,’searchCluster’)
LCConfigService.updateConfig(‘search.ejb.port’,”)
LCConfigService.updateConfig(‘search.ejb.server’,”)
LCConfigService.updateConfig(‘search.enabled’,’true’)
LCConfigService.updateConfig(‘search.href’,’http://’ + search_url)
LCConfigService.updateConfig(‘search.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘search.ssl.href’,’https://’ + search_url)
LCConfigService.updateConfig(‘search.interService.href’,’http://’ + search_url)
LCConfigService.updateConfig(‘search.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘webresources.enabled’,’true’)
LCConfigService.updateConfig(‘webresources.href’,’http://’ + webresources_url)
LCConfigService.updateConfig(‘webresources.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘webresources.ssl.href’,’https://’ + webresources_url)
LCConfigService.updateConfig(‘webresources.interService.href’,’http://’ + webresources_url)
LCConfigService.updateConfig(‘webresources.ejb.cluster’, cluster_name)
 
 
LCConfigService.updateConfig(‘wikis.enabled’,’true’)
LCConfigService.updateConfig(‘wikis.href’,’http://’ + wikis_url)
LCConfigService.updateConfig(‘wikis.ssl.enabled’,’true’)
LCConfigService.updateConfig(‘wikis.ssl.href’,’https://’ + wikis_url)
LCConfigService.updateConfig(‘wikis.interService.href’,’http://’ + wikis_url)
LCConfigService.updateConfig(‘wikis.ejb.cluster’, cluster_name)
 
LCConfigService.updateConfig(‘force.conf.comm.enabled’, ‘true’)
LCConfigService.showConfig()
LCConfigService.checkInConfig(‘c:\\temp’,cellname)
synchAllNodes()

 

 

Views: 242

By angioni

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.