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:
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:
The following operations are available when this script is executed from which you may choose the option of your preference:
|1. File BasedDatastore||Clears the local cache of the Peer server.|
|2. Security Datastore||Clears 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. All||Clears 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
This script can be executed in Quiet Mode as follows (sample):
- -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.