PA: Multiple web instance

Post Reply
User avatar
orlando
Posts: 49
Joined: Fri Aug 04, 2017 8:27 am
OLAP Product: TM1
Version: PAL 2.0
Excel Version: Office 365

PA: Multiple web instance

Post by orlando » Tue May 22, 2018 12:49 pm

Hello,

with TM1 10.2 it was very easy to create a second TM web instance (copy the war rename it, tomcat extract the war, make settings, restart tomcat- done).

With Planning Analytics and webphere this doesn't work.
Even Copy the TM1Web Folder in WebApps,rename and restart does not work.

Does anaybody has an idea/link/approach how to set up a second or third web instance with planning analytics?

Regards
orlando

lotsaram
MVP
Posts: 3126
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: PA: Multiple web instance

Post by lotsaram » Tue May 22, 2018 3:56 pm

Good question. Especially when it comes to load balancing or failover of larger applications. No doubt it is "easy" if you happen to be a websphere expert. But then most of us aren't!
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.

daniel.havassy
Posts: 22
Joined: Wed Sep 14, 2016 9:26 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: PA: Multiple web instance

Post by daniel.havassy » Wed May 23, 2018 11:28 am

Hi,

the following has worked for me:

There is a Websphere related config file that you need to locate and amend with the designated parameters.

TM1_installation_location\tm1_64\wlp\usr\servers\tm1\server.xml

Within the xml file, edit the application node (duplicate it for each tm1web instance and change the property values). For example if you've had a separate tm1web instance for a regional application it could look like this:

<application id="apac" location="${wlp.user.dir}/../../webapps/apac" name="apac" type="war" context-root="apac"/>

Let me know if it helps.

User avatar
orlando
Posts: 49
Joined: Fri Aug 04, 2017 8:27 am
OLAP Product: TM1
Version: PAL 2.0
Excel Version: Office 365

Re: PA: Multiple web instance

Post by orlando » Wed May 23, 2018 12:18 pm

daniel.havassy wrote:
Wed May 23, 2018 11:28 am
Hi,

the following has worked for me:

There is a Websphere related config file that you need to locate and amend with the designated parameters.

TM1_installation_location\tm1_64\wlp\usr\servers\tm1\server.xml

Within the xml file, edit the application node (duplicate it for each tm1web instance and change the property values). For example if you've had a separate tm1web instance for a regional application it could look like this:

<application id="apac" location="${wlp.user.dir}/../../webapps/apac" name="apac" type="war" context-root="apac"/>

Let me know if it helps.
hi daniel,

thanks a lot. I will try it on friday (hopefully as a good start into the weekend) and let you know how it worked.

best regards
orlando

User avatar
orlando
Posts: 49
Joined: Fri Aug 04, 2017 8:27 am
OLAP Product: TM1
Version: PAL 2.0
Excel Version: Office 365

Re: PA: Multiple web instance

Post by orlando » Thu May 31, 2018 7:14 am

daniel.havassy wrote:
Wed May 23, 2018 11:28 am
Hi,

the following has worked for me:

There is a Websphere related config file that you need to locate and amend with the designated parameters.

TM1_installation_location\tm1_64\wlp\usr\servers\tm1\server.xml

Within the xml file, edit the application node (duplicate it for each tm1web instance and change the property values). For example if you've had a separate tm1web instance for a regional application it could look like this:

<application id="apac" location="${wlp.user.dir}/../../webapps/apac" name="apac" type="war" context-root="apac"/>

Let me know if it helps.
Hi Daniel,

this is working perfect. Thanks a lot!

Best regards,
orlando

User avatar
macsir
Community Contributor
Posts: 548
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1, SSAS
Version: 9.5 - 10.2
Excel Version: 97 - 2013
Contact:

Re: PA: Multiple web instance

Post by macsir » Fri Jun 01, 2018 4:10 am

Just out of curiosity, what is the general use to have multiple web instance?
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/

User avatar
orlando
Posts: 49
Joined: Fri Aug 04, 2017 8:27 am
OLAP Product: TM1
Version: PAL 2.0
Excel Version: Office 365

Re: PA: Multiple web instance

Post by orlando » Fri Jun 01, 2018 9:31 am

macsir wrote:
Fri Jun 01, 2018 4:10 am
Just out of curiosity, what is the general use to have multiple web instance?
i like to have one instance just for me for testing, playing etc...
it's more easy for the user to get one or two links without a drop down list to choose the tm1 database from (because they can't remeber the name)

Post Reply