Administrator Database
Internal Database
Procedure
- If moving from a different database, use the database specific migration tools to export or import existing data to the new database.
- Edit the data file for the application database. The file is located at TIBCO_HOME/administrator/3.2/scripts/edit-inprocess-database-data.xml.
- From the command-line prompt, navigate to the TIBCO_HOME/administrator/3.2/scripts folder.
- Run ant -f bootstrap-edit-build.xml edit-inprocess-database.
External Database
If using a Microsoft SQL server database make sure you use the case insensitive collation setting.
To point to a new database or to update the configuration of the existing database:
Procedure
- If moving from a different database, use the database specific migration tools to export or import existing data to the new database.
-
Edit the data file for the application database. The file is
located at
TIBCO_HOME/administrator/3.2/scripts/edit-external-database-data.xml.
The following properties have to be updated
- dialect - the value of this property should match the value specified in the Teneo resource. For example com.tibco.amf.sharedresource.runtime.core.hibernate.dialects.SQLServerDialect.
- dbURL - the location of the database. For example jdbc:sqlserver://localhost:1433;databaseName=sql.
- jdbcDriver - the database driver class. For example com.microsoft.sqlserver.jdbc.SQLServerDriver.
- username and password - the credentials to access the database.
- If using database drivers that have to be installed in the resolve mode, specify the provisionMode="resolve" attribute.
- From the command-line prompt, navigate to the TIBCO_HOME/administrator/3.2/scripts folder.
- Run ant -f bootstrap-edit-build.xml edit-external-database.
- Update and install the JDBC resource instances and the teneo and hibernate resource instances used by the applications.
- Stop and undeploy the following applications from the SystemEnvironment:
- Uninstall the Teneo and hibernate resource instances used by the applications listed in step GUID-574F4229-E2D4-45F3-81D8-1BADE3B878FE.html#GUID-574F4229-E2D4-45F3-81D8-1BADE3B878FE__STEP_9FDA7AB1DAA84D5CBFFDECAAE0362CEE.
- Uninstall the following JDBC resource instances:
- Install the JDBC resource instances listed in the previous step.
- Install the Teneo and hibernate resource instances used by the applications listed in step GUID-574F4229-E2D4-45F3-81D8-1BADE3B878FE.html#GUID-574F4229-E2D4-45F3-81D8-1BADE3B878FE__STEP_9FDA7AB1DAA84D5CBFFDECAAE0362CEE.
- Deploy and start the applications listed in step GUID-574F4229-E2D4-45F3-81D8-1BADE3B878FE.html#GUID-574F4229-E2D4-45F3-81D8-1BADE3B878FE__STEP_9FDA7AB1DAA84D5CBFFDECAAE0362CEE.
Copyright © TIBCO Software Inc. All Rights Reserved.