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 data needs to be converted into JSON format and then retrieved back from JSON.
Following sections illustrate the steps for migrating the Cassandra Traffic data.
Step 1: Convert 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 (the default user/password is cassandra/cassandra)
- 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