To clear the Peer Server database of the default profile (that is profile1), run the script clearDBServer.bat/.sh –mode fps available under <fiorano_installation_dir>\esb\server\bin folder.
Note |
---|
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, run the script clearDBServer.bat/.sh available under <fiorano_installation_dir>\esb\server\bin folder with the profile option as shown below:
clearDBServer.bat/.sh –mode fps –profile <profilename>
The following operations are available when this script is executed. Select the datastore to clear:
- File Based Datastore – Clears the local cache of the Enterprise server including logs.
- Admin Datastore – Clears the admin objects, that is, the JMS connection factories queues and topic destinations.
- Cached Component Store - Clears all the cached components stored in the Peer Server's runtime storage.
- All – Clears all four of the above.
This script can be executed in Quiet Mode as follows:
- -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.
Code Block | ||
---|---|---|
| ||
clearDBServer.bat -mode fes -profile profile1 -dbPath <DB Directory path> -q 1,2 |
Note |
---|
Provide the comma separated option values to this argument. Absence of any argument will to the default option, option 4, 'ALL'. |