Sei sulla pagina 1di 3

Requirements

 Vagrant
 Vagrant docker-compose plugin

vagrant plugin install vagrant-docker-compose

 Oracle VirtualBox

Getting Started

 Issue the following command in your terminal:

vagrant up --provision; vagrant reload

 Virtual Box should open a graphical window to interface with your new developement
environment once the vagrant reload command completes.
 Please wait a few minutes for the boot process of vagrant reload to complete. Virtual Box
Guest Additions will be installed during this initial boot.

Development Environment

 Login with the following standard credentials


o User name: vagrant
o Password: vagrant

 Click the Ubuntu "Search your Computer" icon in the Unity task bar
o Begin typing "Tibco BusinessWorks 6.3.4" in the search field. The Application icon for
Tibco BusinessWorks 6.3.4 should appear after you have typed the first few
characters.
o Click the Tibco BusinessWorks 6.3.4 application icon to launch the application.

Enterprise Model Deployment/Testing

Once you have created your Tibco Business Works Deployment EAR use the following steps to test it
in enterpise mode.

1. Switch to enterprise mode from local mode.

bwadmin mode enterprise


2. Open a Terminal and Start the TEA server daemon

tea

3. The previous command should announce that your TEA server is running on http://usga-
bw:8777. Open a browser and navigate to this address if you want to view the TEAD Admin
UI.

# User name: admin # Password: admin

4. Open a new Terminal and start bwagent

bwagent

5. Open a new Terminal and start deployment of your EAR via bwadmin.
6. Create a new domain, tibco_634

bwadmin create domain tibco_634

7. View the newly created domain

bwadmin show domain

8. Create a new AppSpace AS_TIBCO634 in the tibco_634 domain.

bwadmin create -d tibco_634 appspace AS_TIBCO634

9. Create a new AppNode AN_TIBCO634 in the AS_TIBCO634 AppSpace

bwadmin create -domain tibco_634 -appspace AS_TIBCO634 -httpPort 8070 appnode AN_TIBCO6
34

10. Start the AS_TIBCO634 AppSpace

bwadmin start -domain tibco_634 appspace AS_TIBCO634

11. Register the agent with the TEA server.

bwadmin registerteaagent http://usga-bw:8777/tea/


12. Open the TEA Server Admin UI, http://usga-bw:8777, and view your deployment.

 Upload EAR archive for deployment

bwadmin upload -domain tibco_634 /home/vagrant/EARS/tibco.usga.ScorePosting.application


_1.0.0.ear

 View the uploaded archive and version

bwadmin show -d tibco_634 archives

 Deploy the application to the AS_TIBCO634 AppSpace

bwadmin deploy -domain tibco_634 -appspace AS_TIBCO634 tibco.usga.ScorePosting.applicat


ion_1.0.0.ear

 Confirm application deployment

bwadmin show -domain tibco_634 application

 Start the application

bwadmin start -domain tibco_634 -appspace AS_TIBCO634

 Verify the application is running

bwadmin show -domain tibco_634 -appspace AS_TIBCO634 appnodes

Bwagent REST Api

Explore bash scripts in the ./workspace folder that consume the Tibco BWAgent REST Api.

Potrebbero piacerti anche