Migrating TIBCO Security Server Database from Earlier Version to Version 2.4.1
In TIBCO Enterprise Administrator 2.4.1, H2 database version is upgraded from version 1.4.195 to 2.1.210. You must perform the following steps to migrate your TIBCO Security Server database configured in an earlier version of TIBCO Enterprise Administrator to new format in the version 2.4.1.
- Procedure
-
Stop TIBCO Security Server.
- Take backup of
<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tss/data/directory. - Take backup of
<TIBCO_HOME>/tea/agents/tss/1.2/bin/tibco/cfgmgmt/datadirectory. -
Run the following commands:
Copycd <TIBCO_HOME>/tea/agents/tss/1.2/libCopy
java -cp h2-1.4.195.jar org.h2.tools.Script -url jdbc:h2:<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tss/data/teaAgentDb -user "sa" -password "sa" -script taagentDB.zip -options compression zipCopyjava -cp h2-1.4.195.jar org.h2.tools.Script -url jdbc:h2:<TIBCO_HOME>/tea/agents/tss/1.2/bin/tibco/cfgmgmt/data/tssDb -user "sa" -password "sa" -script tssDB.zip -options compression zipThis creates
taagentDB.zipandtssDB.zipfile in the current directory. - In the
<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tss/data/folder, deleteteaAgentDb.mv.dbandteaAgentDb.trace.db. In the<TIBCO_HOME>/tea/agents/tss/1.2/bin/tibco/cfgmgmt/data/folder, deletetssDb.mv.dbandtssDb.trace.db. - Install TIBCO Enterprise Administrator 2.4.1 which installs TIBCO Security Server 1.2.1. For more information, see Installation.
-
Copy
taagentDB.zipandtssDB.zipfiles from<TIBCO_HOME>tea/agents/tss/1.2/libto<TIBCO_HOME>/tea/agents/tss/1.2.1/libdirectory using the following command:Copycd <TIBCO_HOME>/tea/agents/tss/1.2.1/libCopy
cp <TIBCO_HOME>/tea/agents/tss/1.2/lib/taagentDB.zip <TIBCO_HOME>/tea/agents/tss/1.2.1/libCopy
cp <TIBCO_HOME>/tea/agents/tss/1.2/lib/tssDB.zip <TIBCO_HOME>/tea/agents/tss/1.2.1/lib -
Run the following commands to restore the database:
Copycd <TIBCO_HOME>/tea/agents/tss/1.2.1/libCopyjava -cp h2-2.1.210.jar org.h2.tools.RunScript -script taagentDB.zip -url "jdbc:h2:<TIBCO_CONFIG_HOME>/tibco/cfgmgmt/tss/data/teaAgentDb;NON_KEYWORDS=KEY,VALUE" -options compression zip variable_binaryCopyjava -cp h2-2.1.210.jar org.h2.tools.RunScript -script tssDB.zip -url "jdbc:h2:<TIBCO_HOME>/tea/agents/tss/1.2.1/bin/tibco/cfgmgmt/data/tssDb;NON_KEYWORDS=KEY,VALUE" -options compression zip variable_binary -
Start the TIBCO Security Server from
<TIBCO_HOME>tea/agents/tss/1.2.1/bindirectory and verify if all the data from previous version is migrated to version 2.4.1.