Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » PTCs on different machines(Question on how to distribute PTCs on different machines)
PTCs on different machines [message #1802997] Wed, 20 February 2019 13:48 Go to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 59
Registered: November 2018
Member
Hi Elemer,

We at MCC TF160 simulate the NW for mobile devices. For routing reasons we would like to run some PTCs on a different machine with different IP addresses.

Is it possible to distribute PTCs on different machines?

If yes, can I get a documentation and a simple example?

Regards and thanks for any hint,
Olaf @ MCC TF160
Re: PTCs on different machines [message #1803040 is a reply to message #1802997] Thu, 21 February 2019 11:28 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1064
Registered: January 2015
Senior Member
Hi Olaf, sure thing;


start the main controller on Host1 with IPAddress1
./mctr_cli  ConfigurationFile.cfg 


The configuration file may contain some parameters relevant to the main controller , e.g. TCP port to be used for MTC-PTC communication,
see refguide 7.11. [MAIN_CONTROLLER] (Parallel mode)


this will display the port on which the main controller will be listening:
...Listening on IP address IPAddress1  and TCP port 46308

Create mtc:
cmtc
Waiting for HC to connect...


then start the host controllers/PTCs in subsequent consoles of Hosts2 to n :

Host2:
./myExecutableBinary   IPAddress1  46308

(port has to match the above, and no config file here)

:
:
Hostn:
./myExecutableBinary   IPAddress1  46308





then start mtc in the first console:
smtc


Distribution of the PTCs overs hosts can be influenced by config file sections
[COMPONENTS] and [GROUPS],

see refguide:

7.9. [GROUPS] (Parallel mode)
7.10. [COMPONENTS] (Parallel mode)


and also by parameters of the create operation, see language standard
21.3.1 The Create operation


Please read also

How to execute test cases with Linux command line
https://www.eclipse.org/forums/index.php/m/1796443/?srch=mctr_cli#msg_1796443

and userguide
Chapter 4. Executing Test Suites
4.4. Running Parallel Test Suites

N.B. ttcn3_start cannot be used in this layout.


I hope this helps.

Best regards
Elemer
Re: PTCs on different machines [message #1803041 is a reply to message #1803040] Thu, 21 February 2019 12:00 Go to previous message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 59
Registered: November 2018
Member
Wow, Elemer, this is exciting!
I will need some time to digest the documents and invsetigate...
Thanks!
Olaf
Previous Topic:Bug in titan.ProtocolModules.BSSMAP and/or RAW codec?
Next Topic: Data Type Conversion
Goto Forum:
  


Current Time: Sun Jul 12 14:01:30 GMT 2020

Powered by FUDForum. Page generated in 0.05755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top