TIBCOSoftware / bw6-plugin-maven

Plug-in Code for Apache Maven and TIBCO ActiveMatrix BusinessWorks™
Other
65 stars 78 forks source link

Deploying TIBCO BW6 app using maven plugin commadn for Load balancer #669

Closed tibcodeveloper closed 2 years ago

tibcodeveloper commented 2 years ago

Hello,

I have recently configured the config.txt file to deploy a BW6 application into a specific environment using mvn commands and AzureDevops pipeline. Although I noticed that, the file works fine for one machine, but for example in other environments there are two machines where the application needs to be deployed and I am struggling to define that in the config.txt file , not sure if I can duplicate the parameters to mention the two appnodes, two machines etc.. for example:

it works fine for: appSpace=AS_MEDM_1 domain=Test_BW6 appNode=AN_MEDM_1 httpPort=8063 restartAppNode=false

but for an environment with two machines (load balance), I needed something like:

appSpace=AS_MEDM_1 domain=Quality_BW6 appNode=AN_MEDM_1 httpPort1=8063 restartAppNode=false agentHost= Machine 1 and Machine 2 and not just one (should I put an alias ? ) persistenceMode= memory (does this exist ?)

And in case I would like to mention that I want Fault Tolerance is there any parameter that says AN_MEDM_1 enabled on machine X and MEDM_2 disabled on machine Y (FT)

Maven Plugin version: 3.8.4

Maven version: latest

Product : Either of TIBCO ActiveMatrix Businessworks 6 OR TIBCO Businessworks Container edition

Product version: TIBCO BW6.7

Component: Either of Maven Eclipse Plugin or Maven build plugin

Steps to reproduce the issue: 1. 2. 3.

Additional environment details if any:

Describe the results you received: It only deployed to one machine, not both

Describe the results you expected: Deployment to both machines in Load Balance mode

Additional information you deem important (e.g. issue happens only occasionally):

tibcodeveloper commented 2 years ago

the Pipeline automatically knows which AppNodes should be used for the deployment according to the AppSpace configuration