Contents

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleContents

Table of Contents

Note
  • From FioranoMQ 10.2.0 version onwards, ConnectionManager instance can be added only through Studio and not using using the configs.cfg file.
  • This configuration is done in the offline Offline mode.

Connection Managers can be added through eStudio as well as by using scripts. Sections below illustrate the two different ways of adding Connection Managers.

Through eStudio

  1. Launch the Fiorano Studio. Open the ProfileManager, and open the profile where the socket acceptor is to be added.
  2. In the profile, select the domain to which the new socket acceptor is added. The default FioranoMQ profile has socket acceptors at the following nodes in the tree Fiorano > socketAcceptors. Fiorano recommends adding a new sub-domain (for instance, port-2) to this domain, along with a new socket acceptor.
  3. Right-click on the desired domain, and select AddComponents. The AddComponentstoProfile dialog box appears. Navigate to Fiorano > FioranoFw > Services
  4. Select the component ConnectionManager1 from the new dialog box.
     

    Info

    More than one instance can be added by specifying the desired Instance Count in the Properties pane.

  5. Click the OK button to add the selected instance(s) to the profile. The dependencies of the newly added component(s) have to be resolved. All unresolved dependencies are marked with an error icon which is red in color. 

    Note

    In addition to the Manager instance, an instance of the SocketReadHandler is added to the profile as well.

  6. To resolve dependencies, open the DependsOn property of the newly added Connection Manager and the associated SocketReadHandler. For each dependency marked with a red colored icon, select the desired instance from the drop-down list from the Properties field.

    Note

    Any existing instance for a dependency could be used to resolve it.

  7. Right-click on the profile root nodethe profile root node, and select Validate to ensure that all dependencies are resolved.
  8. Modify the port number for the newly added socket acceptor, so that it is different from the port number in use by existing socket acceptor.
  9. Right-click on the profile profile root node, and select Save to save the profile.

Configuring Single Socket Acceptor for Admin

Note

This configuration can only be done in offline mode.

...

By default, the value is set to 'yes'. Turning this flag on starts a thread for admin connection that waits for data on the socket. Any loss of connection is detected immediately.

Through Scripts

As an alternate way of adding/deleting new connection managers without having to resolve dependencies, use Connection Manager scripts present under $FIORANO_HOME/fmq/Utilities to add/delete a new connection Manager.

ConnectionManager script takes the name, port, and protocol of the new Connection Manager and the profile path to which the Connection Manager should be added/deleted as arguments.

Code Block
titleUsage
ConnManager.bat(.sh) [-profile_path <path>] [-port <port>] [-protocol <protocol>] [-add <boolean value>] [-conn_man_name <conn_man_name>]
Info
  • -conn_man_name - Name of the connection manager to be added/removed
  • -profile_path - Path of profile to which a Connection Manager should be added or removed(Defaults to FioranoMQ profile)
  • -port - Port of new Connection Manager
  • -protocol - Protocol of new Connection Manager(Defaults to TCP)
  • -add - 'True' if connection Manager should be added to the profile, 'false' if it is to be removed(Defaults to true)
  • -help - To Print this information
Adaptavist ThemeBuilder EngineAtlassian Confluence