Migrating from Compact 10.1 to Split 10.1¶
This chapter describes the recommended procedure for upgrading to JasperReports Server 10.1 Split installation from JasperReports Server 10.1 Compact installation.
This chapter contains the following sections:
Migrating From Compact to Split (samedb)¶
To migrate from Compact installation to Split installation (samedb):
-
Configure the settings in the
default_master.propertiesfile as described in Additional Buildomatic Configuration for Split Installation Upgrade. -
Run the following command to migrate from Compact to Split:
- Windows:
js-migrate-to-split-samedb.bat - Linux and Mac OSX:
./js-migrate-to-split-samedb.sh
The
auditdatabase is created with empty tables. - Windows:
-
Run the following command to transfer the data (Audit, Access, and Log monitoring data) to the
auditdatabase from thejasperserverdatabase:- Windows:
transfer-audit-data.bat - Linux and Mac OSX:
./transfer-audit-data.sh
The data is transferred to the
auditdatabase and the tables are deleted from thejasperserverdatabase. Rerun the command if there is any interruption in the data transfer process, it will resume the transfer process from where it was interrupted in the previous run. - Windows:
Migrating From Compact to Split (newdb)¶
Prerequisite: Export all the data as described in Exporting Current Repository Data.
To migrate from Compact installation to Split installation (newdb):
-
Configure the settings in the
default_master.propertiesfile as described in Additional Buildomatic Configuration for Split Installation Upgrade. -
Run the following command to migrate from Compact to Split and import the resources:
-
Windows:
js-migrate-to-split-newdb.bat js-<ver>-export.zip(Migrate without the Audit, Access, and Log Monitoring data)js-migrate-to-split-newdb.bat js-<ver>-export.zip include-access-events include-audit-events include-monitoring-events(Migrate with the Audit, Access, and Log Monitoring data)
-
Linux and Mac OSX:
./js-migrate-to-split-newdb.sh js-<ver>-export.zip(Migrate without the Audit, Access, and Log Monitoring data)./js-migrate-to-split-newdb.sh js-<ver>-export.zip include-access-events include-audit-events include-monitoring-events(Migrate with the Audit, Access, and Log Monitoring data)
-
The jasperserver database and audit database are created and the resources are imported from the zip file provided as the input.