You are on page 1of 18

Excercises

EXERCISE 1: Install TIBCO software

Copy the files from the USB drive to your local drive.
Switch off the firewall (and user authentication under Vista)

Execute “tibinstall\install_tibco54.cmd”

You will get the following output:


This script will install TIBCO 5.4

Please ensure that no TIBCO components (including administrator, hawkagent,


tibhawkhma, bwengine, rvd, rvrd) are running before proceeding. Please press Enter
to continue

Please enter the installation directory for TIBCO [c:\tibco]:

Installing TIBCO Runtime Agent 5.5.0


Installing TIBCO Runtime Agent 5.5.2
Installing JCE Unlimited Strength Jurisdiction Policy for JRE 1.5.0
Installing TIBCO Enterprise Message Service 4.4.1
Installing TIBCO Hawk 4.7.0
Installing TIBCO Administrator 5.4.0
Installing TIBCO BusinessWorks 5.4.0
Installing TIBCO BusinessWorks 5.4.2
Applying hotfix 2 for TIBCO Runtime Agent 5.5.2
Applying hotfix 2 for Enterprise Message Service 4.4.1
Installing TIBCO RendezVous ticket
Renaming old BWAdmin.war Administrator plugin (causes conflicts)
Updating Administrator startpage
Updating tibcoadmintra.template
 Enabling acceptAllBrowsers
 Updating heap size
 Updating logging
 Updating server JVM
 Updating TRA deployment timeout
Updating adaptertra.template
 Adding file.encoding property
Updating bwengine.tra
 Adding Java thread stacksize
 Adding XMLFormat compatibility property
 Adding file.encoding property
Updating designer.tra
 Adding file.encoding property
Updating filteredfiles.txt
 Adding svn filter

Installation was successful, please press Enter to finish...


Verify the installation – look at the new folderstructure under your TIBCO_HOME
directory.

Open a commandprompt and type the following command to listen to a set of subject
that start with “test.”

Open a second command prompt to send a message

Check your first command prompt for the results

A more thorough verification will take place after the next exercise.
Close both command prompts.
EXERCISE 2: Create a TIBCO domain

Start the Domain Utility (Start>>TIBCO>>Runtime Agent):

Click “Next”

On the lefthand side select “Domain Configuration” and on the righthand side “Create
a new Administration Domain”. Click “Next”
Choose a appropriate domain name for your Administration Domain.
Set Encoding to UTF-8
Select “Local Application Data”
Scroll down and select “Show advanced” and write down the portnumbers used for
your domain. Click next

Accept these portnumbers or choose your own – and write them down.
Click next
Choose user / password for your Administration Domain
Write this down – you will need this later when you log onto the administrator
Click “Next”

Verify all the domain credentials

Click “Next”
Start these services ( Settings -> Control Panel -> Administrative Tools )
Set Startup Type to Manual and start the services – This may take a while for the
Administrator.

Exit the Domain Utility.

Verify your domain

1. files – check the directory “[TIBCO_HOME\tra\domain\]”


2. log onto the Administrator (Start>>TIBCO>> Administrator): and Verify this
with the teacher.

Repeat this exercise to create a second domain!

Note the differences – We will discuss these during or after the exercise

Delete a Domain

We now have two domains. One is sufficient. This means that we can now delete
one of the two.

Make sure that your domain services are stopped and that your services window is
closed before deleting a domain.

Start the Domain Utility


Click “Next”.

Select your domain from the list:


Click “Next”

Click “Next”
Click “Exit”
EXERCISE 3: EMS

Emsadmin – (start >> programs >> tibco >> ems >> Start EMS Administration tool)
Work out for your self how this works.

Use “help”

First you have to log in. (help connect)

Create the following queues with property ‘failsafe’:

AFKL.Training.Queue1
AFKL.Training.Queue2
AFKL.Training.Queue3
AFKL.Training.Queue4
AFKL.Training.Queue5
AFKL.Training.Queue6

Create the following topics with property ‘failsafe’:

AFKL.Training.Topic1
AFKL.Training.Topic2
AFKL.Training.Topic3
AFKL.Training.Topic4
AFKL.Training.Topic5
AFKL.Training.Topic6

Create a bridge for each queue to each topic.

You can check yourself with the command “show” (type “help show” for details)

Create the following user:


<your_name>

Try to login with this user

Login as admin

Change the the password for user “admin”


Try to login with user admin

Delete the bridges, topics and queues you created before

Delete user <yourname>

Set user admin to the desired value

Commit your changes

Exit
Install EMS plug-in for the Administrator

Use the Domain Utility:

Click “Next”

Select your domain


Fill in the user/password for your Administrator Domain

Click Next

Click “Next”
Fill in the desired credentials and
Click “Next”

Click “Test”
Click “OK”
Click “Next”
Click “Exit”.

Next verify your performed action by logging onto the Administrator.

Click on the EMS Server.

Perform the same actions as you did using tibemsadmin tool. But now using the
Administrator.

Create queues, topics, bridges and users


EXERCISE 4: Hawk

HAWK EMS PLUGIN

Copy c:\tibco\ems files tibjmsadmin.jar and tibjmsadmin.hma to


c:\tibco\tra\domain\<name>\plugin

Configure the hma file

<microagent>

<!-- The classname of the microagent -->

<classname>com.tibco.tibjms.admin.hawk.HawkController</classname>
<!-- Change to above from HawkController to HawkListener if
you only need to monitor the JMS daemon. -->

<!-- The arguments to be passed to the


MicroAgent.initializeMicroAgent() method -->

<arguments>
<arg>-user</arg>
<arg>admin</arg>
<arg>-password</arg>
<arg></arg> <<<<<< empty password
<!-- If you are using an encrypted password comment out
..

Restart hawk agent

Check administrator

EXERCISE 5: Administrator

EXERCISE 6: EMS using the Administrator

Hawk oefeningen
Maak een rulebase
Omgevingsvariabelen
Mar utility

Admin oefeningen
Deploy ear file
LB / FT settings???
Deploy marfile
Check EMS servers
User administration

You might also like