Upgrading Private Cloud to Version 5.6 until 6.1
The following steps describe how to upgrade Platform Private Cloud to Version 5.6 and above:
- Stop Tomcat.
- Stop Database.
- Make a copy of your existing Platform
config
,storage
androllbase\personalize
folders. - Make a copy of your existing third-party jars E.g.
mysql-connect.jar
- If you have any custom files, such as FusionCharts, in the webapps folder of your Tomcat instance, copy these to a folder for later use.
Using your own External Tomcat
Keep third-party jars (e.g.
mysql-connect.jar
) and tomcat jars in Tomcat lib. Remove all other (Platform) jars.- Delete the following folders from the webapps folder: master, router, prod1, search, storage, rest, webapi
- Extract
lib.zip
to<ROLLBASE_HOME>/lib folder
. It contains all platform jars. If you already havelib
folder, delete entire folder and extract again. - Extract
rollbase.zip
to<ROLLBASE_HOME>
- Extract
webapps.zip
to Tomcat’swebapps
folder. Modify Tomcat’s
Catalina.properties
file and replace the following line to includeRollbase/lib
jars. File is available at<TOMCAT_HOME>/conf/catalina.properties
common.loader="${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.base}/rollbase/lib","${catalina.base}/rollbase/lib/*.jar", "${catalina.home}/lib","${catalina.home}/lib/*.jar","${catalina.home}/rollbase/lib","${catalina.home}/rollbase/lib/*.jar"
- Copy all the backed up third-party jars to Tomcat’s
lib
folder from this path<TOMCAT_HOME>/lib
. -
Copy all the files from the backed up
config
folder to<ROLLBASE_HOME>/config
folder. Do not copy paste the entireconfig
folder.Note: Make sure that theWidgetDefinitions
directory andwidgetIndexes.json
file are existing in theconfig
folder, else the same can be copied fromrollbase.zip
'sconfig
folder. (Applicable only for 6.0 and above versions only) - Copy the storage folder to the new storage server node.
- Copy the personalize folder to
<ROLLBASE_HOME>/personalize
. - If you saved any custom files from the webapps folder as described in Step 5, copy them into the new installation.
- In the
Rollbase\sql
folder, find the appropriate script(s) to update your database. If you are upgrading from a version other than the previous release, you will need to use multiple scripts, starting with the next version higher than your existing installation and continuing until you reach the current script. - Open the
sql
script(s), and do the following:- Uncomment the section for your database type.
- Verify that the sections for other database types are commented out.
-
Execute the updated
sql
files. - Start the Tomcat.
- After you have upgraded your Private Cloud, follow the steps as described in re-index customer tenants.