Use of TIBCO Activespaces file · Web viewOpen the browser and check in the asmm url by giving the...

Post on 02-Mar-2018

218 views 5 download

transcript

Use Case Document TIBCO Activespaces Reliance Industries Limited

TIBCO ACTIVESPACESUSAGE AND USECASES IN SANDBOX

1. Pre-requisitesa. jdk-8u25-windows-i586b. TIB_rv_8.3.2_win_x86_vc8

2. Binaries Useda. TIB_activespaces_2.1.2_win_x86b. TIB_activespaces-addon_2.1.2_win_x86c. TIB_bwpluginactivespaces_2.0.0_win_x86d. Spacebar-2.1-win32.win32.x86

3. Installation Directorya. E:\tibco

4. Resources Tested on a. 32 bit architectureb. 4 coresc. 24 GB RAMd. 40GB HDD

5. OS Details (Installed with Administrator OS User.)a. Server <Server IP Address>b. Administrator user password :- <default>

1 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

Use of TIBCO Activespaces

a. Start asmm

1. Open Command Prompt2. E:3. cd tibco\as\2.1\asmm\4. java –jar asmm.jar5. open the browser6. http://10.128.21.221:8686

b. Start as-agent and create a metaspace

1. Open another command prompt2. E:3. cd tibco\as\2.1\bin4. as-agent.exe –name <name of the member> -

metaspace <metaspace name> -discovery <discovery url> -listen <listen url>, Example :- as-agent.exe –name hari –metaspace asm –discovery tcp://10.128.21.221:3011 –listen tcp://10.128.21.221:3011

5. Your metaspace would be created and one member “hari” would be connected.

6. Open the browser and check in the asmm url by giving the credentials you provided <except the listen url>

7. You should see the metaspace connected.8. Also in the command line you will see

another member “stat-server” added which belongs to the asmm.

c. Create a space

i. From as-admin

1. Open a new command prompt2. E:3. Cd \tibco\as\2.1\bin4. as-admin.exe –name <name of the member>

-metaspace <metaspace name> -discovery <discovery url> -listen <listen url>

5. create space “<space name>”, Example :-

2 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

create space “myspace”

ii. From Designer

3 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

4 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

5 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

i

6 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

7 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

8 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

9 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

10 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

11 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

12 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

13 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

iii. From Spacebar

14 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

15 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

16 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

17 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

18 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

19 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

20 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

21 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

22 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

23 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

24 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

25 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

26 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

27 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

USE CASES:-

SCENARIO # 1

We already have

1. A metaspace “asm” running on discovery & Listen node “tcp://10.128.21.221:3011”

What we need to achieve

1. Import data in a space using spacebar from an excel file.

Issues Faced

1. How to determine the Primary Key.2. How to define datatypes in header.

Solution:-

1. In The Excel file the data should be fed in this format.

empid[INTEGER key] name[STRING nullable]2 Rakesh

28 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

3 Mayur4 Prashansa5 Vineeth

2. Here the Header is very important.a. BOLD Letters in the field name signifies it’s a Primary Keyb. After naming the field we must mention its data type in square bracketsc. Also we can mention whether it can take null values or not in the same bracket.d. The Most important thing:-

i. The name of the sheet would automatically be your Space name.

SCENARIO # 2

We have already

1. created a space “ASM”2. added fields “empid” and “name”3. filled in a few values to the two fields respectively

What we need to achieve

1. Introspect from the designer2. Add more value “1” and “Hari” to the space from the designer3. Set the persistence value to share all for the space

Issues Faced:-

1. Introspected spaces in the designer are non-editable 2. We cannot modify or manipulate the parameters in the introspected space.

Solution:-

1. After introspecting the space export the configuration as an XML.

29 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

2. Delete the space instance in the designer3. Import the exported XML file4. Make the editable changes 5. Create a space connection6. Add the remaining data through put in a PD7. Check the asmm browser.8. You will find the changes updated in the space retaining the old data.

30 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

31 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

32 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

33 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

34 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

35 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

36 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

37 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

38 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

39 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

40 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

41 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

42 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

43 | P a g e

Use Case Document TIBCO Activespaces Reliance Industries Limited

44 | P a g e