Contents

The Fiorano Peer Server accepts internal connections from other peer servers as well as from Fiorano Adapters at a single port. The Fiorano Peer Server default ports for profile1 and profile2 are 1867 and 1877 respectively.

Adding an Additional Port

An additional socket acceptor can be added for exclusive communication between Fiorano Peer Servers using Fiorano eStudio.

Icon

This configuration is done in offline mode.

To add an additional port, perform the following actions:

  1. Launch Fiorano eStudio, open the Profile Manager and then open the profile in which the Socket Acceptor is to be added.
  2. In the profile, select the domain to which the new Socket Acceptor is to be added. The default Fiorano Peer Server profile has socket acceptors at the following node: in the tree Fiorano > socketAcceptors. Fiorano recommends adding a new sub-domain (for instance, port-2) in this domain and also adding a new socket acceptor.
  3. Right-click on the desired domain and selectAdd Components. The Add Components to Profile dialog box appears.
  4. Navigate to Fiorano > FioranoFw > Services and select the component Connection Manager1 from the new dialog box.


    Figure 1: Adding Components

  5. Click OK to add the selected instance(s) to the profile. The dependencies of the newly added component (s) have to be resolved. All un-resolved dependencies are marked with a red error icon.

    Icon

    Besides the connection Manager instance, an instance of the SocketReadHandler gets included into the profile.

  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 icon signifying an error, select the desired instance from the drop-down list shown in the Properties field.


    Figure 2: Adding Components

    Icon

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

  7. Right-click the profile root node and select Validate to ensure that all dependencies have been resolved.
  8. Navigate to the node Fiorano > socketAcceptors > port-2 > ConnectionManager2. In the Properties window, change the default port number displayed to the desired value and set the UseForPeerToPeerCommunication property to yes. Additionally, set the properties Default and FMQServer properties to no.


    Figure 3: Adding Components

  9. Save the Profile to complete the procedure.

For SUN_SSL or HTTPS_SSL Protocol Settings

If the protocol of the Connection Manager is set to SUN_SSL or HTTPS_SSL, an additional attribute 'FMQConfigLoader' should be added to the profile. To do this, perform the following actions:

  1. Navigate to the node Fiorano > etc. Right-click on Fiorano node and select Add Components. The Add Components to Profile dialog box appears.
  2. Navigate to Fiorano > Jms > Services and select theFMQConfigLoader (1) from the new dialog box and click OK.


    Figure 4: Adding Components to profile dialog box

  3. Select the newly created FMQConfigLoader node under Fiorano > etc and change the SSL Enabled property to 'yes' in the Properties pane.


    Figure 5: Enabling SSL

  4. Navigate to Fiorano > Socket Acceptors > port-2 > Connection Manager2. Under the Depends On node, select the dependency 'MQConfigLoader' and select its instance as the newly added FMQConfigLoader (that is, FMQConfigLoader2 in this case).
  5. Save the Profile to complete the procedure.


    Figure 6: Selection of Instance
Adaptavist ThemeBuilder EngineAtlassian Confluence