Migrating O3 4.3.x to 5.0.x
O3 version 5 includes a Settings and Migration Wizard that facilitates the transition of versions 4.3 to version 5.
This Wizard basically consists of 3 steps that can be independent configured according to the requirements and characteristics of the installation.
- Step 1: Setting Up Database
- Step 2: Migration of data from the previous version
- Step 3: Enabling Database Datamarts
Pre-migration considerations
- The migration assume the proper functioning of the previous installation
- Check if there is enough disk space to the new facility, as well as for Datamarts that will be migrated
Start the migration
Migration is done through the following steps:
- Download Server (Jboss) and all O3's modules that were running.
It's important not to start running either Jboss servers until otherwise indicated - Rename the installation folder (for instance rename <INSTALLATION_PATH>\O3 to <INSTALLATION_PATH>\O3_old). Then install in a new folder that must be named as the previous installation (ie: <INSTALLATION_PATH>\O3)
- Install the license keys and activate them (see [O3PS:Installation Guide Licenses]
- Copy the server folder to the new installation, at the same place. It means to copy the following folder
to the new installation, at the same place.
<O3_old>\jboss\server\default\ideasoft-o3\server
<O3>\jboss\server\default\ideasoft-o3\
- Start running O3 Server Administrator from the new installed version
- From the Tools menu choose the option "Configuration & Migration Wizard". This operation will display the Wizard dialogue to execute the intallation process.
Setp 1: Database Configuration
This step will configure the O3 Server's database. This database is used to save users, roles, security schemes, and the referece of the datamarts available on the O3 Server
The database selection depends on each installation
Bye default O3 delivers an Hypersonic database instance that can be used for this purpose. You can choose any other database engine as well.
Note
The "Maintain the current configuration" option does not introduce any change for the database settings. It means you'd already been using a specific database engine for the O3 Server database, and you want to remain it unchanged.The "Using database included in the O3 distribution" option allow you to move on the migration process using the Hypersonic database, which is delivered with O3 intallation
The next section explains how to set other database engine as the O3 Server database. In order to simplfy the explanation detailed settings for PosrgreSQL engine are shown:
- Create an empty database in the DBMS of our preference, together with a user with the appropiate permissions to create tables on it
- Select the "Usign a differente database that the one included with O3" option
- Complete the specific data fields for the DBMS selected
- Check the connection pressing the Test button
- Click the Next button
- Confirm the dialogue that asks if it should create the necessary tables
Parameter
Descritpion
Engine
Engine database identifier that will be used. One of the options listed must be choosen. After the database is selected, the other filds are completed, but mus be instanciated with the proper values
Driver
JDBC driver used to conect to the databse
URL
COnection URL to de database. It identifies the IP or server name, together with the port and aditional parameters. Each JDBC driver requieres a specific URL. The driver documentation must be consulted in order use it correctly
User
databse user used to conect from O3 Server
Password
user password to conect to the database
Warning!
The JDBC driver needed for the database should be previously copied in the <o3>/classes/jdbc and <o3>/jboss/server/default/lib folders.
Step 2: Data migration from earlier version
At this moment you must indicate where the earlier version is located, from which the migration process will take the configuration definitions and the datamarts in production.
- Select the "Migration from 4.x version" options
- Indicate the path to the previous O3 installation. This path must reference the installation folder.
- Once you have spcified the path as mentioned above, the installation information will be displayed
Warning!
At this stage, if no installation information is shown, you should review the specified path as well as user defintions
- Click Next button in order run the migration process
Step 3: Setup in database
At this stage you must indicate if you want to use the database as the datamarts repository.
Warning!
This feature is only available for the O3 Enterprise Edition. If you do no have licensed this edition you must select the "Maintain the current configuration" option.
- Select the "Enable database usage" option
- Optionally you could indicate to migrate only available cubes. This will not copy the unavailable ones.
- Click th Finish button to confirm the selection made and end the migration process
Other considerations
The following considetarions should be aplied or not according to each particular installation
Server name for Web accesses
- Check the following file on the previous installation:
/jboss/server/default/deploy/gserver/0o3.ear/o3portal.war/WEB-INF/wabapp.properties
- In this file, check the value of the following property:
gclient.server.host
- If it's value is different from localhost, you must assign the same value to the new installation file
Using LDAP to take user and role definitions
O3 may be integrated to an LDAP server where the user and role configuratios area stored. If the previous version would have been customized to use an LDAP server for this purpose, the following steps should be executed:
- Copy the corresponding xml file to the following folder of the new installation:
jboss\server\default\ideasoft-o3\config\rbac
- Modify the following file as is indicated on the "LDAP Setup Guide"
jboss\server\default\ideasoft-o3\GServer.properties
Customizing JBoss ports
- Check the previous installation for port modifications. To do this you must review the file at
/jboss/server/default/conf/jboss-service.xml
- If it had other value than ports-default it means that in the previous intallation other ports differents from the default one were setup
<mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager"> <attribute name="ServerName">ports-default</attribute> <attribute name="StoreURL">${jboss.server.home.url}/port-bindings.xml</attribute> <attribute name="StoreFactoryClassName">org.jboss.services.binding.XMLServicesStoreFactory</attribute> </mbean>
- If this is the case, the same modification must be applied in the new installation. Check the Guide to read about JBoss ports setup
- Check if the Tomcat application port had been changed on the previous installation. Read about Tomcat's port setup. In order to do this, you must review the file
and look for the following code:
jboss/server/default/deploy/jbossweb-tomcat55.sar/server.xml
The port by default is 8080. If it had been changed, you must modified it on the new installation as well.<Connector port="8080" address="${jboss.bind.address}">
Note that the path mencioned above is only for earlier version. For version 5 on, this file is located at:<o3>/jboss/server/default/deploy/jboss-web.deployer/server.xml
Additional JDBC drivers
- Check the database drivers installed at /classes/jdbc and /jboss/server/default/lib folders, and move them to the new installations if it is necesary
Mailer Setup
- Check mail setup. Copy the file:
to the new installation (at the same place).
jboss\server\default\deploy\mail-service.xml
More detailed information should be found at HowTo set JBoss mailer
Checking the new installation
- Start running O3 Server (JBoss)
- Connect to the O3 Server Administrator and log-in as administrator user
- Check the datamarts published. This means that the datarmarts are defined as "Available cubes" and theis Access Profiles have been read properly
- Check that users, roles and access permissions are correct
- Open the o3portal and log-in. Explore a datarmart, scorecard, desktops, and so on.
- Open the desktop client to explore a datamart
- Build any datamart in order to check the construction environment