Connecting to the Same Machine
To add a new Peer Server that connects to the Enterprise Server on the same machine,
- Stop the FPS server using which you prefer to create a new profile.
- Load the Peer Server profile and save as a new profile using the loaded one.
- Change the following port numbers to the ones pertaining to the new server:
- JMS port
- RMI port
- Jetty port
Following sections illustrate the above steps elaborately:
Creating New Peer Server
To add a new Peer Server from an existing FPS profile, stop this FPS and follow the steps below:
- Load the default FPS profile by right-clicking Profiles node and selecting the preferred FPS profile.
- Right-click the FPS node and select SaveAs option.
Figure 1: Navigating to save the existing profile with new name - In the Profile Location Dialog that pops up, provide the following values:
Parent Directory: Absolute path of the location where the new profile has to be saved.
Click Browse to choose the location and create a new folder.
Destination Directory: Name of the folder in which the profile needs to be saved.
Figure 2: Choosing a location, adding a new folder and providing Destination Directory name
After clicking OK, a dialog box appears with a message confirming that the profile is saved and whether you wish to load the profile. Click No as both profile names (newly saved and the already existing one) would be identical and may get confused when it gets opened.
Figure 3: Choosing to load profile or to load later- Right-click FPS node and select Close to close the FPS from which the new profile is added (as seen in Figure 1).
- Right-click the Profiles node and load the new profile by navigating through the location and finding the name as saved previously (Step 3).
Figure 4: Navigating to load the new profile
- Notice that the profile name appears as "FPS" itself, though the Profile name appears different while loading the profile (see figure above). To provide a new name for identification, right-click the FPS node present in the FPS pane (the panel in the center) and select Rename option.
Figure 5: Navigating to save the existing profile with new name Provide a new name in the New Name property under the Rename dialog box.
- Right-click FPS node and select Save (or press CTRL+S) to apply the changes and apply the new name as well.
Figure 6: Saving apply the name change to the new profile
New Profile gets added by this. But, before starting the FPS server, further profile settings required to be done to complete the configuration and thereby enable the new peer server to communicate with the enterprise server. This is explained in the below sections.
Changing Port Names
To facilitate communication between the FPS and Enterprise Server using the respective ports, JMS, RMI and Jetty ports need to be configured. Below sections illustrate each configuration.
JMS Port
JMS port is used to build the socket on Server start up.
To change the JMS port,
- Navigate through Fiorano > Socket Adapters > port-1 and select ConnectionManager node.
- In the ConnectionManager panel on the right side, replace the Port property with the new one.
Figure 7: JMS Port Configuration - Right-click new FPS node and select Save (or press CTRL+S) to save the changes.
RMI Port
This is the port on which RMIConnector Server will bind.
To change the RMI port,
- Navigate through Fiorano > jmx > connector and select RMIBasedJMXConnector node.
- In the RMIBasedJMXConnector panel on the right side, replace the RMIServerPort property property with the new one.
Figure 8: RMI Port Configuration
- Right-click new FPS node and select Save (or press CTRL+S) to save the changes.
Jetty Port
Jetty port returns the port used by the embedded Jetty Server.
To change the Jetty port,
- Navigate through Fiorano > Esb > Jetty and select Jetty node.
- In the Properties of Jetty panel on the right side, replace the PortNumber property with the new one.
Figure 9: Jetty Port Configuration
- Right-click new FPS node and select Save (or press CTRL+S) to save the changes.
Connecting to a Different Network
If the profile is to be connected to the Enterprise Server running on some other machine, in addition to the above properties, the Enterprise Server properties should be changed in the profile.
Firstly, complete the actions followed in the below sections:
Now, to change the Enterprise Server properties, perform the folowing actions:
- Navigate through Fiorano > Esb > Peer > Transport > FPSTransportManager and select EnterpriseServer node.
- In the Properties of EnterpriseServer panel on the right side, replace the new property with the new one.
Figure 10: Enterprise Server Configuration - Right-click new FPS node and select Save (or press CTRL+S) to save the Profile Configuration changes.