...
Info |
---|
Download and install Java 1.8 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. |
...
Installing and Running Cassandra Database Server
Cassandra DB Server needs to be installed as Fiorano API Management uses Cassandra as the data store for all information that is looked up while a request is being processed such as the subscriptions, clients, and distributed quotas. Cassandra Database is an open source database that provides linear scalability and high availability with proven fault-tolerance in storing details that need to be looked up on-the-fly.
...
- Download Cassandra Version 3.x from the link https://academy.datastax.com/planet-cassandra/cassandra
...
- Install Cassandra by referring to the directions provided at http://cassandra.apache.org/doc/latest/getting_started/index.html
...
- .
- Make the changes mentioned in the subsections below if it is applicable to you.
Run Cassandra.
Linux: Open Command prompt from CASSANDRA_HOME and run the following command:
Code Block bin/cassandra -R -f
Windows: Start Cassandra from Windows Services:
Tip In the Windows Component Services window, Cassandra server will be displayed as "DataStax DDC Server".
Enabling Connection to a Remote Cassandra Server
If Cassandra Server is running on a different system, the two steps below need to be performed:
Step 1: Enabling Remote Access to Cassandra Server
Since Cassandra server will be hosted in the local system alone by default, Cassandra cannot be accessed from any other systems. To enable remote access, perform the following actions:
- Go to the location <CASSANDRA_HOME>/conf.
- Open the cassandra.yaml file.
- Replace the value of the following parameters with the IP address of the system where Cassandra DB
...
- would be running:
- rpc_address
- listen_address
Step 2: Configuring AGS and AMS Profiles
Fiorano API Management server profiles are preconfigured to run Cassandra in the local system with default values of Cassandra Data Store URL and Keyspaces as below:
- DatastoreURL: localhost/9042
- KeyspaceName: API
If the Cassandra Server has to be run in a different system and thereby enable access to this remote Cassandra, replace "localhost" with the IP address of that system.
Tip |
---|
IP Address has to be changed in eStudio Profile Management. Refer to the Changing Cassandra Data Store URL and Keyspace values section to configure these. |
Cassandra in Windows environment
Before starting Cassandra 3.8 or 3.9 in Windows environment as a service,
...
perform the following actions to enable the database:
- Go to the location <CASSANDRA_HOME>/conf.
- Open the cassandra.yaml file.
- Find the cdc_raw_directory
...
- parameter.
Un-comment the property and rename the value as below:
Code Block <CASSANDRA_HOME>/data/cdc_raw
...
Info title Example cdc_raw_directory: "C:/Program Files/DataStax-DDC/data/cdc_raw"
...
Cassandra
...
Fiorano API Management servers are preconfigured to use Cassandra Data Store URL and Keyspaces with default values as below:
- DatastoreURL: localhost/9042
- KeyspaceName: API
Advanced users may change these default values by following the steps mentioned in the Changing Cassandra Data Store URL and Keyspace values section.
as a Cluster
Warning | ||
---|---|---|
To avoid a single point of failure of Cassandra servers, configure Cassandra as a cluster | ||
Tip | ||
| ||
Analyzing the API management data Fiorano provides an analytics tool to analyze the API traffic and other metrics. For storing these analytical data, Fiorano uses PostgreSQL as its datastore. Refer the Configuring Analytics Database section for configuring the same. Configuring Analytics notifications By configuring Mail Server in the Admin module of Fiorano API Management Dashboard, Analytics notifications can be received via email. Refer the Mail Server section to see the properties that need to be updated |
Anchor | ||||
---|---|---|---|---|
|
...
Figure 1: Fiorano API Management Dashboard
API Analytics
Tip |
---|
Analyzing the API management data Fiorano provides an analytics tool to analyze the API traffic and other metrics. For storing these analytical data, Fiorano uses PostgreSQL as its datastore. Refer the Configuring Analytics Database section for configuring the same. Configuring Analytics notifications By configuring Mail Server in the Admin module of Fiorano API Management Dashboard, Analytics notifications can be received via email. Refer the Mail Server section to see the properties that need to be updated |