Thursday, September 28, 2023

EAR - Enterprise Deployment | BW 6.X

Before we proceed, please refer local deployment here. for more information on appspace, appnode creation, upload archive and deployment through CLI.

Now, we will see to how to do deployment through GUI (TIBCO Enterprise Administrator) - T.E.A

Step1: 
Stop T.E.A from services (Windows) before making config changes

Step2: 
Go to C:\tibco_inst_6.9.0\bw\6.9\config
Open bwagent.ini file in Nodepad++ and change bw.admin.mode = enterprise (default is local)
OR set it in the command prompt “BW_HOME\bin>bwadmin mode enterprise”.

Note: Ensure to take backup of these files


Open: bwagent_db.json file and make necessary changes as per Database.
Here, DB stores process related, admin related, monitoring related data.


Create DB tables manually, here my db is mysql. So, I have selected mysql files.
Create schema "bwadmindb" and user "bwuser" and provide full permission to the user "bwuser".




Update "bwagent_db.json" file as per your db details, EMS, TEA etc.


Start EMS Server



Start the BW Agent
Register the TEA Agent with BWAgent

In the BW admin command window, 

“bwadmin registerteaagent http://localhost:8777 or   machinename:portnumber”

this command will register the BW Agent with the TEA

Open TEA admin
http://localhost:8777



Create domain
Select Create domain. In the Create domain dialog box, enter the domain name and Choose the agent registered with the TEA server from the Agent drop-down.
Create AppSpace 
Enter into the domain you want and select the Appspace on the sidebar.
Click on “create Appspace”.
Enter the name, node and choose the Agent from the drop-down.


Create AppNode and select the create Appnode option.

In the dialog box “Appnode” dialog box,

Enter the name , node and choose the Agent
Type “localhost”in the http interface tab and choose the available port.
And start the Appspace.


Upload and Deploy application:
Upload the EAR in Tibco Enterprise Admin

In the Application Archives

Click the “Upload”option and browse the EAR to be uploaded.
Click on deploy and start the application.


Check application status, start it if not running


Open the application and check the processes. It will help the admin/app support guys to understand the high level flow.


Logs:
You can check application logs as shown below


Now, test the application from SOAP UI/ PostMan for RESTful applications.



That's all about Enterprise deployment.

Thanks for reading :-)

No comments:

Post a Comment

XML Palette Activities

The XML palette provides activities for parsing XML strings into schemas and rendering schemas into XML strings Parse XML: Parse XML  is use...