BusinessObjects Board

CMS Clustering

Hi All,

I already have two nodes one with CMS and other with just server processes. If have to add another CMS to Node 2 and cluster it with Node 1 CMS should I make any other changes like any web.xml or any changes to the server’s command line to bind to the cluster and not to CMS for fault tolerance. I read the Admin guide but there is no mention of editing the server processes like Input FRS or Adaptive Job Server or other processes to bind to the clustername instead of server.

Could someone provide their expertise?

Thanks
deeps


deeps (BOB member since 2005-11-08)

My 2 cents:

  • All you have to do is update the web.xml cms.clusters area following the guidelines provided within the web.xml comments.

  • No other changes to the command lines are required as BusinessObjects does not recommend binding to a cluster name anymore, i.e. @

  • In the past, XI R2, we had to create entries in the windows hosts file on both the servers, i.e. on server 1, add machine name and IP address of server 2, and vice versa on server 2. I haven’t seen any such requirement in the deployment or amdin guide.

I will be clustering my XI 3.1 test environment next week and will let you know of my findings. Would appreciate if you do the same.

Thanks.


Farhan Jaffery :us: (BOB member since 2005-08-27)

I still don’t get this - I have a cluster of 5 servers, and I have 2 boxes running CMS against the same database… I really have to update the web.xml to reflect this?

It seems to work fine with no changes, but am I not running in a redundant fashion? I can see users hitting the system from both CMSs in the sessions tab of CMC…

Just confused, looking for other experiences before I open a case and admit I don’ t really get it … : )

Thanks!
Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

Have you tried shutting down one of the CMS services and see if the load gets shifted to the other? I would try that on both the CMS services one by one to test failover mechanism.


Farhan Jaffery :us: (BOB member since 2005-08-27)

That’s a good idea, thanks Farhan…

I opened a case with BO - I’ll post anything earthshattering they may have to add… I just feel like I’m missing some subtle point here.

B.


bdouglas :switzerland: (BOB member since 2002-08-29)

Brent - Any word from SAP on the steps necessary for the CMS clustering setup in XI 3.1?

I have setup a CMS cluster on two nodes in XI 3.1 and didn’t have to make any changes to the web.xml for the java application. I did not rename the cluster as @. I was able to test failover by bringing down both CMS one by one and still able to access the system.

Thanks.


Farhan Jaffery :us: (BOB member since 2005-08-27)

Hi,

During this clustering, do we have to install application & web server instances on each secondary nodes to get the better availability?

Thanks,
VJ


vijaykollu :us: (BOB member since 2003-05-08)

Load balancing the application across different web servers is independent of CMS clustering. You would need a sclaing device such as Net Scaler to redirect traffic to different web servers for load balancing. We have separate web server machines that host nothing but Tomcat and separate intelligene tier machines that have CMSs installed on them. This setup has worked quite well in XI R2 and is holding up well in our migration test bed for XI 3.1


Farhan Jaffery :us: (BOB member since 2005-08-27)

I’m planning a configuration for a client with 2 web app Servers and 2 CMS Servers.

I understand load balancing before/between the 2 web apps, but if a CMS server goes down how does the web app know to redirect traffic to the CMS Server for failover?

Apologies in advance as I’m not familiar with either IIS or tomcat, is it a case of having primary and secondary addresses registered, and/or if one server goes down would my client have to manually intervene and re-direct the web app to the CMS server thats still available?


The Emu :australia: (BOB member since 2002-09-13)

if you follow the instructions about creating a clusters.txt file with your two CMS servers in that, your cluster will split the work among the two CMSs . if one goes down, the other CMS should take over its work.

Now, in practice, I’m not 100% sure it picks up existing sessions, but the cluster will continue to work normally (the cluster keeps an internal list of servers).

Good luck,
Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

Thanks, I’ll check it out.

By instructions, is there a specific document for clustering in addition to the standard install documentation?

OK, this is where historically I have had difficulties conceptually and technically understanding the interaction.

So the web app communicates to the Cluster, not a specific machine or node.

Gotcha :+1:


The Emu :australia: (BOB member since 2002-09-13)

It should be in the admin or deployment guide (I forget)… Look for “cluster”.

The short version is you rename your cluster to something besides the machine name; we’re @BO_Production. Then, when you create CMSs on ‘nodes’, they all become part of this @cluster. The final part of closing that loop is to hit your appserver(s), and wherever you refer to the CMS by its original, machine name, you refer to it by the new @name. There has to be a clusters file with that @name and the individual CMS names / ports to tie that all together.

from my web.xml:

<context-param>
  <param-name>cms.default</param-name> 
  <param-value>@BO_Production</param-value> 
  </context-param>

my clusters.properties (InfoViewApp\WEB-INF\classes):

cms.clusters=@BO_Production
cms.clusters.BO_Production=susday4057, susday4061

Hope that helps,
Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

Very much so.

Thanks again Brent, greatly appreciated.


The Emu :australia: (BOB member since 2002-09-13)

I’ve gone through the installation guides and things are a lot clearer on clustering, but I have a couple of really stupid questions :oops: … but I’ll ask it anyway,

  • Can I install BOE on a unix machine and the Web App (Tomcat) on a seperate windows machine?
  • If so, is it a simple case of installing the Web App from the windows product, and follow the windows documentation for the Web App?

Thanks in advance.


The Emu :australia: (BOB member since 2002-09-13)

Oooh, I don’t know about how BOXI does heterogenous clusters - I would think that would be fine, but I’m not sure.

Please post what you see, I’d be very curious…

Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

This should work fine.
UNIX, Linux, and Windows all have separate install packages.
My environment has Unix for BO and Linux for Web Tier stuffs.


BlueBites (BOB member since 2007-09-20)

I’m lost on this aswell.

I just installed on seperate machines 2 clustered SIAs as per the install guide and it just works seemlessly.

If I stop SIA on server 1 yet enter the CMC or Infoview via tomcat on server 1 I can still log in no problems - in other words full redundancy.

Not that I’m complaining :mrgreen: but I just don’t get how this is working? :crazy_face:


The Emu :australia: (BOB member since 2002-09-13)

I think that you should make the web.xml / cluster file changes, but I am not surprised that this works… I think BO is making registry changes that facilitate this failover.

I changed up my boxes somewhat, and until I made the web.xml changes to reflect my new CMS boxes and names, I had problems. Just a thought…

Good luck,
Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

Hi Brent,

After renaming my cluster I started experiencing some problems so then re-visited this post.

What I actually discovered is that after installing an out of the box cluster, the InfoViewApp\WEB-INF\classes still actually refers to the specific machines CMS and not the cluster as I first thought. :blue:

In other words, for Infoview the load balancing of the CMS which I thought was being carried out by the BO Cluster was actually just by our load balancer in front of our application servers.

Would be nice if they mention this in the Admin guide.

It does reference the web.xml file for platformservices, which I found I needed to change to log into CMC, but frustratingly nothing at all about Infoview.

Is there a specific cluster document in publication by any chance?

Cheers

Wilf


The Emu :australia: (BOB member since 2002-09-13)

There is a section in the Admin (install?) Guide on clustering - I got my info almost verbatim from there.

If you add your cluster name and then create a file with the details in it, you should be good… Just do that for all apps you want load balanced (CMC, Infoview, custom apps, etc).

Good luck!
Brent


bdouglas :switzerland: (BOB member since 2002-08-29)