Skip to main content
Skip table of contents

Clearing Peer Server Database

To clear the Peer Server database of the default profile (that is profile1), run the clearDBServer.bat executable file present in the <fiorano_installation_dir>\esb\server\bin folder or browse to this location and execute the following script:

CODE
clearDBServer.bat/.sh -mode fps

The script by default clears the database of the Peer Server if an argument mode is not provided.

To clear the Peer Server database of a specific profile (other than the default profile), double-click the clearDBServer.bat file present in the <fiorano_installation_dir>\esb\server\bin folder or browse to this location and execute the following script with the profile option as shown below:

CODE
clearDBServer.bat/.sh -mode fps -profile <profilename>

The following operations are available when this script is executed from which you may choose the option of your preference:

OperationDescription
1. File BasedDatastoreClears the local cache of the Peer server.
2. Security DatastoreClears the Peer server's ACLs (Access Control Lists) and they will be recreated next time the peer starts.
3. Admin Datastore Clears the admin objects, that is, the JMS connection factories queues and topic destinations.
4. Cached Component Store Clears all the cached components stored in the Peer Server‘s runtime storage.
5. AllClears all five of the above.

Select the preferred number (from 1 to 5) corresponding to the datastore that needs to be cleared.


Figure 2: Options to clear datastore

Ensure that the Peer Server is shut down. If not you will get a message prompting to do the same (as in the figure above—"Please shutdown the Fiorano FPS Server")

This script can be executed in Quiet Mode as follows (sample):

CODE
clearDBServer.bat -mode fes -profile profile1 -dbPath <DB Directory path> -q 1,2
  • -mode - to clear fps or fes runtimedata
  • -dbPath - runtime data directory for the profile
  • -profile - profile name for which runtimedata is to be cleared
  • -q - to run the script in quiet mode.

You can provide comma separated option values to the argument (as in the above sample script). Absence of an argument leads to the assuming the default option—option 5, ‘ALL’.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.