Contents

Popular

Versions Compared

Key

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

...

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.

...

  1. Download Cassandra Version 3.x from the link https://academy.datastax.com/planet-cassandra/cassandra

...

  1. Install Cassandra by referring to the directions provided at http://cassandra.apache.org/doc/latest/getting_started/index.html

...

  1. .
  2. Make the changes mentioned in the subsections below if it is applicable to you.
  3. Run Cassandra.

    1. Linux: Open Command prompt from CASSANDRA_HOME and run the following command:

      Code Block
      bin/cassandra -R -f
    2. 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:

  1. Go to the location <CASSANDRA_HOME>/conf.
  2. Open the cassandra.yaml file.
  3. Replace the value of the following parameters with the IP address of the system where Cassandra DB

...

  1. would be running:
    1. rpc_address
    2. 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:

  1. Go to the location <CASSANDRA_HOME>/conf.
  2. Open the cassandra.yaml file.
  3. Find the cdc_raw_directory

...

  1. parameter.
  2. Un-comment the property and rename the value as below:

    Code Block
    <CASSANDRA_HOME>/data/cdc_raw

...

  1. Info
    titleExample

     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
titleAPI Analytics

 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
_Toc396220941
_Toc396220941
Setting up

...


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


Adaptavist ThemeBuilder EngineAtlassian Confluence