Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
clearDBServer.bat/.sh –mode fps
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 double-click the script clearDBServer.bat/.sh available under 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 Block
clearDBServer.bat/.sh –mode fps –profile <profilename>

The following operations are available when this script is executed . Select the datastore to clear:

...

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. All

...

Clears all

...

five of the above.

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

Image Added
Figure 2: Options to clear datastore

Note

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 Block
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.
Code Block
titleExample
clearDBServer.bat -mode fps -profile profile1 -dbPath <DB Directory path> -q 1,2
Provide the
Note
Note

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

 

Adaptavist ThemeBuilder EngineAtlassian Confluence