Search This Blog

Saturday, May 28, 2011

How to uncluster Business Objects servers?

Here I'm illustrating a scenario where your Business Objects servers get clustered accidently. Many times we want to replicate the Business Objects environments. We want to make our TEST or DEV environment as same as production, so that we can perform the tests on either TEST or DEV and if the tests are successful, we apply the changes to Production system.
In order to achieve this, we need to use the copy datasource Wizard through CCM. Using the database copy gives us exact replica of the source environment.

Consider you have copied the database of your PROD system to a new box (let's consider this one as TEST). When you start the TEST system (SIA) and login to the Central Management Console (CMC), you will find the servers of PROD box in the "Servers" area. As we are copying the database, it will also bring the servers of PROD to your TEST box and it will make a cluster.

You'll need to perform following steps to uncluster these two environments.

We'll need to delete the entries of PROD servers from the CMS DB of TEST environment.
Stop the SIA of TEST environment, login to the DB server and execute following queries against CMS DB of TEST environment.

For XI R2:
delete from cms_infoobjects5 where typeid in (16,17);
delete from cms_infoobjects5 where objectid=4;

For XI 3.1:
delete from cms_infoobjects6 where typeid in (16,17);
delete from cms_infoobjects6 where objectid=4;


Once you execute the queries, commit the statements.
Here,
typeid 16 is for servers
typeid 17 is for servergroups
objectid 4 is for cluster

Now goto the CCM >> Properties of Server Intelligence Agent (SIA) >> Configuration tab.
Here, select the checkbox for "Change Cluster Name to" and provide a new cluster name.
For Unix, you can execute cmsdbsetup and reset the clustername.
Once you change the cluster name, you can start SIA. This time you'll not find the servers of PROD in your TEST environment. You may need to recreate SIA on the TEST box so that it can add default servers in the node.

How to avoid such accidental cluster?

Considering the above scenario, once you copy the DB of your PROD system to TEST system, change the cluster name for your TEST system (through CCM) before you start SIA. This will avoid clustering of PROD and TEST. You may still find the servers of your PROD system in the TEST system. For that, you can use the queries mentioned above to get rid of them.

20 comments:

  1. This advice was invaluable to me recently when I was tearing my hair out trying to work out why I couldn't get my environment to work after a cms copy from another environment (I had no access to the import wizard by the way). BI Thinkers advice was spot-on and worked fantastically!

    ReplyDelete
  2. Thanks Sandi.

    Please let us know if you have any suggestions or advice.

    ReplyDelete
  3. After we delete the servers and cluster that was migrated from the Production environment to the "TEST" environment, how do we add the "TEST" servers?

    ReplyDelete
    Replies
    1. @James: On XI 3.x you can recreate or create a new SIA

      Delete
  4. Hi! My scenario is quite different. I have a dump file (CMS and Audit Databases) + Input and Output Folders.

    I have a newly installed BOE XI 3.1. Once installation is successfully done, I made sure that all services are down, in order for me to update my source data to point to a new schema (I exported the dump file back to a new schema). Then I copied the Input and Output Folders to the proper location. When all is done, I restarted that SIA. Upon logging to SIA, I noticed that the servers hostname is the one in the source. All disabled and down. I only see one server that is up and running and that is the Central Management Server of my newly installed BOE. What should I do? Kind of hopeless already. If it was clustered, at least I would see 2 sets of servers (source and destination. But this one I only see the CMS of the destination.

    Would appreciate your insight. :)

    ReplyDelete
    Replies
    1. You may try to recreate the SIA which should fix the problem for you. If you upgraded from a previous version then you also have to run "Update Objects".

      Hope this helps.

      Delete
  5. Thanks for the reply. You mean, recreate SIA with only servers to add? I have recreated but it seems no default servers are being added.. Not sure if I am doing it correctly.

    ReplyDelete
  6. You may add a new SIA with the same name. Use the option which says recreate node and select the default servers. If this does not work add a new SIA with a different name. And select the default servers.

    If nothing works maybe it's time you open a ticket with SAP.

    All the best!!!

    ReplyDelete
  7. Hi
    Presumably in BI 4.0 it is just a matter of changing the tables referenced in the script?
    delete from cms_infoobjects7 where typeid in (16,17);
    delete from cms_infoobjects7 where objectid=4;

    I have a situation where there is a temporary CMS server (enabled but stopped) as a node in the Cluster, which is preventing the Adaptive processing servers from connecting, so want to reset the CMS. Have tried restarting servers, SIA, added new nodes, deleted nodes.. so now down to fiddling in the database to reset.

    Thanks
    Al

    ReplyDelete
  8. @AI: You guessed it right. References of tables are changed in 4.0 and the delete statements you mentioned should work.

    ReplyDelete
  9. Mine is similar in nature I believe. I ran the latest SP from a mapped drive of 2nd BOXI server and I think it added it as remote CMS server entry to the start tab of the SIA on the local node. If I delete the remote CMS it gets added back (I suspect somewhere in database it exists). If I restart the SIA with this remote CMS entry, my CMS will not start on local node. I must delete it from startup then start SIA again. Then CMS starts on local node but again adds a remote cms entry. Is there a way to clean this up for good?

    Thanks.

    ReplyDelete
  10. Is this the same process for SAP BI 4.0?

    ReplyDelete
  11. Hi,

    I have uninstalled BOXI3.1 in one of the server in Solaris 9 environment.How to delete a node from the database.Please provide the query. I have tried below query.I am not sure where do I need to mention server name,node name in the query.

    delete from cms_infoobjects6 where typeid in (16,17);
    delete from cms_infoobjects6 where objectid=4;

    Please assist.

    Thanks

    ReplyDelete
  12. The information which you have provided is very good and easily understood.
    It is very useful who is looking for sap bo Online Training.

    ReplyDelete
  13. HI,

    Can you please brief me about unclustering BI 4.0 Server?

    ReplyDelete
  14. I really enjoy the blog.Much thanks again. Really Great.
    Very informative article post.Really looking forward to read more. Will read on…


    Regards
    sap sd online training

    ReplyDelete
  15. I will recommend anyone looking for Business loan to Le_Meridian they helped me with Four Million USD loan to startup my Quilting business and it's was fast When obtaining a loan from them it was surprising at how easy they were to work with. They can finance up to the amount of $500,000,000.000 (Five Hundred Million Dollars) in any region of the world as long as there 1.9% ROI can be guaranteed on the projects.The process was fast and secure. It was definitely a positive experience.Avoid scammers on here and contact Le_Meridian Funding Service On. lfdsloans@lemeridianfds.com / lfdsloans@outlook.com. WhatsApp...+ 19893943740. if you looking for business loan.

    ReplyDelete
  16. I am very grateful to Elegant loan firm for helping me get a $ 600,000 loan with the helping of loan officer Russ Harry, and I will always be grateful. My life has changed, my money has been paid, I now own a business that I used to support my family. I am grateful to you, Mr. Russ, and God bless you. You can contact them for your financial assistance by e-mail: Elegantloanfirm@hotmail.com for your financial assistance.

    ReplyDelete
  17. Hello everyone, I'm Patricia Sherman in Oklahoma USA right now. I would like to share with you my experience of borrowing USD $185,000.00 to clear my bank draft and start a new business. It all started when I lost my house and I took my stuff because of the bank policy and I met some bills and some personal needs. So I became very desperate and started looking for funds in every way. Fortunately for me, a friend of mine, Linda told me about a credit company firm, I was intrigued by the fraud, but I was intrigued by my situation and had no choice but to get advice from my friend about this company. contacting them really doubted me because of my past experience with online lenders, did you know that little? '' Elegantloanfirm@hotmail.com This company has been very helpful to me and my colleague and today, thanks to this credit company, the proud owner of well-organized work and responsibilities, they smiled back at me. So if you really need to grow or start your own business, or if you really need to borrow money in any financial hardship, we recommend you find a financial development opportunity in your business today. {E-mail:} Elegantloanfirm@hotmail.com / whats-app number +393511617486.... online for credit not a victim of scam Thank you.

    ReplyDelete
  18. Your insightful instructions on uncluttering business objects are finest. How Share Games Your clear and concise steps facilitate a seamless process, showcasing your expertise in data.

    ReplyDelete