Pages

Tuesday, March 8, 2016

How to change intradoc port of UCM server for Vertical clustering ?

How to change intradoc port  of UCM server for Vertical clustering ?


Currently  two different nodes of same cluster can't be run in same machine . 

Using custom filter intradoc port can be changed. for each node . This can be used for horizontal clustering .


Steps to do


to understand the basics of UCM filter and steps followed

2. It should run only during the startup :
Method to create filter for : createSystemProviders

3. Verify the server name and set the value :

if (param.equals("createSystemProviders"))
{
traceVerbose("Inside the filter");


String ServerName=SharedObjects.getEnvironmentValue("IDC_Id");



traceVerbose("ServerName is "+ ServerName );

if (ServerName.equals("UCM_server2"))


{
traceVerbose("Changing intradoc port ");
SharedObjects.putEnvironmentValue("IntradocServerPort",SharedObjects.getEnvironmentValue("UCM_Server2IntradocServerPort"));

traceVerbose("Intradoc is "+ SharedObjects.getEnvironmentValue("IntradocServerPort"));

}


   }



4. Add new port in config.cfg as 

UCM_Server2IntradocServerPort

No comments:

Post a Comment