Hello ,
I am using following function to get the IP address of documentum content server
IDfClient client ;
try{
client = DfClient.getLocalClient(); //DFC local client object that will call into DMCL40.dll to connect to the Documentum servers
IDfDocbaseMap docBaseMap = client.getDocbaseMap(); // get the docBaseMap
if(docBaseMap.getServerMap(0) != null){
DfTypedObject typedObject = (DfTypedObject) docBaseMap.getServerMap(0); // get Typed object from serverMap with repository index as 0
String hostAddress = typedObject.getString("i_host_addr"); // get IP address of documentum server
String [] stringArray = hostAddress.split(" "); // split hostAddress String with space
String ipAddress = stringArray[stringArray.length - 1]; // last field will be IP address of documentum server
serverIPAddress = ipAddress;
} catch(DfException e){
e.printStackTrace();
}
i am using load balancing ie. two content server accessing one repository , so in that case through above code which IP address i will
get , if i want IP address of Load balancer what is the API
Regards