19
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

! Start From Here_tibco Install Ti On

Embed Size (px)

Citation preview

Page 1: ! Start From Here_tibco Install Ti On

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.0Installing TIBCO Runtime Agent 5.5.2Installing JCE Unlimited Strength Jurisdiction Policy for JRE 1.5.0Installing TIBCO Enterprise Message Service 4.4.1Installing TIBCO Hawk 4.7.0Installing TIBCO Administrator 5.4.0Installing TIBCO BusinessWorks 5.4.0Installing TIBCO BusinessWorks 5.4.2Applying hotfix 2 for TIBCO Runtime Agent 5.5.2Applying hotfix 2 for Enterprise Message Service 4.4.1Installing TIBCO RendezVous ticketRenaming old BWAdmin.war Administrator plugin (causes conflicts)Updating Administrator startpageUpdating tibcoadmintra.template Enabling acceptAllBrowsers Updating heap size Updating logging Updating server JVM Updating TRA deployment timeoutUpdating adaptertra.template Adding file.encoding propertyUpdating bwengine.tra Adding Java thread stacksize Adding XMLFormat compatibility property Adding file.encoding propertyUpdating designer.tra Adding file.encoding propertyUpdating filteredfiles.txt Adding svn filter

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

Page 2: ! Start From Here_tibco Install Ti On

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.

Page 3: ! Start From Here_tibco Install Ti On

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”

Page 4: ! Start From Here_tibco Install Ti On

Choose a appropriate domain name for your Administration Domain.Set Encoding to UTF-8Select “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

Page 5: ! Start From Here_tibco Install Ti On

Choose user / password for your Administration DomainWrite this down – you will need this later when you log onto the administratorClick “Next”

Verify all the domain credentials

Click “Next”

Page 6: ! Start From Here_tibco Install Ti On

Start these services ( Settings -> Control Panel -> Administrative Tools )

Page 7: ! Start From Here_tibco Install Ti On

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

Page 8: ! Start From Here_tibco Install Ti On

Click “Next”.

Select your domain from the list:

Page 9: ! Start From Here_tibco Install Ti On

Click “Next”

Click “Next”

Page 10: ! Start From Here_tibco Install Ti On

Click “Exit”

Page 11: ! Start From Here_tibco Install Ti On

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.Queue1AFKL.Training.Queue2AFKL.Training.Queue3AFKL.Training.Queue4AFKL.Training.Queue5AFKL.Training.Queue6

Create the following topics with property ‘failsafe’:

AFKL.Training.Topic1AFKL.Training.Topic2AFKL.Training.Topic3AFKL.Training.Topic4AFKL.Training.Topic5AFKL.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

Page 12: ! Start From Here_tibco Install Ti On

Install EMS plug-in for the Administrator

Use the Domain Utility:

Click “Next”

Select your domain

Page 13: ! Start From Here_tibco Install Ti On

Fill in the user/password for your Administrator Domain

Click Next

Click “Next”

Page 14: ! Start From Here_tibco Install Ti On

Fill in the desired credentials andClick “Next”

Click “Test”

Page 15: ! Start From Here_tibco Install Ti On

Click “OK”Click “Next”

Page 16: ! Start From Here_tibco Install Ti On

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

Page 17: ! Start From Here_tibco Install Ti On

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 oefeningenMaak een rulebaseOmgevingsvariabelenMar utility

Admin oefeningenDeploy ear fileLB / FT settings???Deploy marfileCheck EMS servers

Page 18: ! Start From Here_tibco Install Ti On

User administration