Expand | ||
---|---|---|
| ||
|
Note |
---|
|
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
- Launch the Fiorano Studio. Open the ProfileManager, and open the profile where the socket acceptor is to be added.
- 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.
- Right-click on the desired domain, and select AddComponents. The AddComponentstoProfile dialog box appears. Navigate to Fiorano > FioranoFw > Services
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.
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.
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.
- Right-click on the profile root nodethe profile root node, and select Validate to ensure that all dependencies are resolved.
- 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.
- 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 | ||
---|---|---|
| ||
ConnManager.bat(.sh) [-profile_path <path>] [-port <port>] [-protocol <protocol>] [-add <boolean value>] [-conn_man_name <conn_man_name>] |
Info |
---|
|