Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

How do I add a machine to an existing appspace


Recommended Posts

We have two BusinessWorks servers but when I create an Appspace in the GUI it only lets me designate a single machine. How can I extend an AppSpace to the second machine It looks like in the old days there was a utility that did that but I can't find anything that explains how to do it in the current version of BusinessWorks.

Please explain how to take an Appspace that is only on one server and extend it to the other server as well.

Link to comment
Share on other sites

I am a novice in BusinessWorks 6. So, I may be wrong. However, here is what I think -

 

No matter where you have your appspace, you actually extend processing capability to other machines by creating appnodes on those machines for the existing appspace. So, you don't really add a machine to an appspace, but - you create an appnode for an appsapce in different machines to spread the appspace.

 

To create an appnode in a different machine, you need to register bwagent in that machine to the TEA server and then you should be able to create appnode on that machine from UI. While creating appnode - specify the bwagent (/agent) as the other server and appspace as the existing appspace. I haven't tried it myself yet but I think it should work.

 

Regards,

Kalyan

Link to comment
Share on other sites

  • 1 year later...

For example we have the next environment: 2 BWservers, 2 EMSservers in FT mode and 2 MS SQL servers in alwaysOn mode. Then you should do next steps.

1. Stop bwagent on every machine

2. Open configbwagent.ini and set the following settings for both bwagents on every machine

---------

bw.admin.mode=enterprise

bw.agent.networkName=BW6Network (must be the same for both bwagents)

bw.agent.memberName=tibcobw001 (or tibcobw002, must be unique for each bwagent)

bw.agent.technology.type=dbems

bw.agent.technology.dbems.db.provider=sqlserver

bw.agent.technology.dbems.db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

bw.agent.technology.dbems.db.connectionURL=jdbc:sqlserver://tibcodb001:1433;databaseName=bwadmindb (both bwagent must use the same database to share domain configuration)

bw.agent.technology.dbems.db.userName=bwuser

bw.agent.technology.dbems.db.password=password

bw.agent.technology.dbems.ems.serverUrl=tcp://tibcoems001:7222,tcp://tibcoems002:7222

bw.agent.technology.dbems.ems.userName=admin

bw.agent.technology.dbems.ems.password=

...

---------

3. Start both bwagents and go to bin and type command

bwadmin show agents

and you should see the agents list of network as like below

---------

bwadmin[admin]> show agents

TEA Server URL : https://tibcobw002:8777/tea

Registered TEA Agent : tibcobw002

Auto Registration : on

Name State Machine Version ConfigState MgmtPort PID

Uptime

tibcobw001 Running tibcobw001 6.5.0 InSync 0.0.0.0:8079 217520

0d 00:04:36

tibcobw002 Running tibcobw002 6.5.0 InSync 0.0.0.0:8079 10528

0d 00:03:59

---------

4. And then go to TEA UI, create domain, then create appspace, and then create appnode for the first bwagent and for second bwagent (you can choose bwagent in the dropdown list in create appnode dialog). And both appnodes must be createdfor the same appspace. (you can do it on every bwagent machine in the bwagent network, and you also can use bwadmin commands instead of TEA UI)

5. Well, you have appspace extended on two machines.

Good luck in your work :)

Link to comment
Share on other sites

×
×
  • Create New...