Contents

Popular
Contents

Joint Profile for API and ESB

To clear the database of the API (AMS) and ESB (FES) combined 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 script in the following format:

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

OperationDescription
1. File BasedDatastore

Clears the local cache of the combined profile API Management Server

Icon

Deletion of file-based data store clears the server's file based store leading to the profile not being able to be identified as API or ESB. So consider deleting the File-based datastore as the last choice.

2. Admin Datastore Clears the admin objects, that is, JMS Connection factories, queue and topic destinations, status of running Event Processes and component instances, status of deployed API Projects etc for the combined profile server.
3. Peer RepositoryClears all the fetched combined gateway server profiles from combined API Management Server's runtimedata.
4. Events DatabaseClears the Events Database using the configurations provided in eventsdb.cfg file present under: <fiorano_installation_dir>/esb/server/profiles/<profilename>/FES/conf directory.
5. SBW Database

Clears the SBW database using the configurations provided in the sbwdb.cfg file present under: <fiorano_installation_dir>/esb/server/profiles/<profilename>/FES/conf directory.
The combine profile API Management Server processes System events, SBW events and Backlog events and takes appropriate actions. System events and SBW events are queued up to be inserted into an external database while Backlog events are queued up to be handled by various alert handlers. Before this processing happens, events are temporarily stored in persistent database that are created in runtimedata of the combined profile API Management Server. After an event has been processed, it gets deleted from the temporary store. If these events are not able to be processed, the temporary datastore may grow to occupy a large amount of disk-space. Option 6, 7, 8, and 9 can be used to delete the temporary persistent datastore of different events.

6. Events Persistent Database CacheClears the temporary persistent datastore of system events.
7. SBW Persistent DatabaseCacheClears the temporary persistent datastore of SBW events.
8. SBW Call Out Persistent DatabaseCacheClears the temporary persistent datastore of SBW Callout events.
9. Backlog Persistent DatabaseCacheClears the temporary persistent datastore of backlog events.
10. YAWL DatabaseClears the YAWL Database for the combined profile API Management Server
11. Analytics DatabaseClears the AMS Analytics database using the configurations provided in the <environment>_apidb.cfg file present under the <fiorano_installation_dir>/esb/server/profiles/<APIprofilename>/<mode>/conf directory.
12. Analytics Persistant Database Cache

Clears the temporary persistent datastore of analytics events.

The API Management Server processes API analytics events and takes appropriate actions. Analytics events are primarily queued up before being inserted into an external database. Events are temporarily stored in persistent database that is created during runtime data of the API Management Server. After an event has been processed, it gets deleted from the temporary store. If these events are not able to be processed, the temporary datastore may grow to occupy a large amount of disk-space.

13. AllClears all twelve of the above.

Select the preferred number corresponding to the datastore that needs to be cleared.

Icon

Cassandra data needs to be cleared separately. In case deletion of products, clients and client subscriptions are needed, the cassandra keyspace (default value "API") needs to be dropped.


Figure 1: Options to clear datastore in the combine profile API Management Server

Icon

Ensure that the Enterprise Server and Management Server are shut down. If not, a message prompts to do the same.

AMS database

To clear the AMS database of a particular 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 script in the following format:

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

OperationDescription
1. File BasedDatastore

Clears the local cache of AMS.

Icon

Deletion of file-based data store clears the server's file based store leading to the profile not being able to be identified as API or ESB. So consider deleting the File-based datastore as the last choice.

2. Admin Datastore Clears the admin objects, that is, status of deployed API Projects.
3. Gateway RepositoryClears all the fetched gateway server profiles from the gateway server runtimedata.
4. Events DatabaseClears the Events Database using the configurations provided in eventsdb.cfg file present under: <fiorano_installation_dir>/esb/server/profiles/<profilename>/AMS/conf directory.
5. Analytics DatabaseClears the AMS Analytics database using the configurations provided in the <environment>_apidb.cfg file present under the <fiorano_installation_dir>/esb/server/profiles/<APIprofilename>/<mode>/conf directory.
6. Events Persistent Database CacheClears the temporary persistent datastore of system events.
7. Backlog Persistent database cacheClears the temporary persistent datastore of backlog events.
8. Analytics Persistant Database Cache

Clears the temporary persistent datastore of analytics events.

The API Management Server processes API analytics events and takes appropriate actions. Analytics events are primarily queued up before being inserted into an external database. Events are temporarily stored in a persistent database that is created during runtime data of the API Management Server. After an event has been processed, it gets deleted from the temporary store. If these events are not able to be processed, the temporary datastore may grow to occupy a large amount of disk-space.

9. AllClears all eight of the above.

Select the preferred number corresponding to the datastore that needs to be cleared.

Icon

Cassandra data needs to be cleared separately. In case deletion of products, clients and client subscriptions are needed, the cassandra keyspace (default value "API") needs to be dropped.


Figure 2: Options to clear datastore in the API management server

Icon

Ensure that the Management Server is shut down. If not, a message prompts to do the same.

Adaptavist ThemeBuilder EngineAtlassian Confluence