Fiorano API traffic manager has been upgraded to be compatible with Cassandra version 3.x from 2.x in 10.4.0.
Since there is a major upgrade in the storage technology, replacing of data folder will not work as in earlier versions. Hence we need to convert data into JSON format and then retrieve back from JSON.
Following sections illustrate the steps towards performing the Cassandra Traffic data migration.
Step 1: Converting Old Cassandra Server Data into JSON
To convert the data from the older version, before performing the runtimedata migration, perform the following actions:
- Start Cassandra Server .
- Navigate to <NEW FIORANO_HOME>/esb/FioranoMigration/bin and open the RunTimeDataMigration.properties file.
- Provide the details pertaining to the old Cassandra Server under:
- CASSANDRA_IP
- CASSANDRA_USERNAME
- CASSANDRA_PASSWORD
Perform RunTimeDataMigration.
After completing the runtimedata migration, traffic data of Cassandra Server is saved in JSON format at the location <NEW FIORANO HOME>/esb/FioranoMigration/temp.
Step 2: Uninstall the Old Cassandra Server ( 2.x ) and install the New Cassandra Server ( 3.x )
Uninstall the Old Cassandra Server and Install the new one by following the steps mentioned in http://docs.datastax.com/en/cassandra/3.0/cassandra/install/installTOC.html.
Step 3: Retrieve JSON formatted Traffic Data into the New Cassandra Server
- Start the new Cassandra Server.
- Navigate to <NEW FIORANO_HOME>/esb/FioranoMigration/bin
- Open the RetrieveCassandra.properties file and provide the details of the new Cassandra Server as instructed in the file.
Run one of the following scripts:
Non-interactive modeInteractive mode