This appendix describes how to perform various database upgrade tasks manually if you do not use the WebLogic Upgrade Wizard to perform upgrade from 8.1 SP4, SP5, or SP6.
Files associated with database upgrade are located in the following directories:
WL_HOME\portal\upgrade\
db
WL_HOME\common\p13n\upgrade\
db
This appendix contains the following sections:
PointBase stores all data in .dbn
files and all log information in .wal
files. Database properties are stored in PointBase.ini
files. Data files for WebLogic Portal are now named weblogic_eval.dbn
and log files for WebLogic Portal are named weblogic_eval$1.wal
. They were previously named workshop.dbn
and workshop$1.wal
, respectively.
If you did not upgrade your main WebLogic Portal database using the WebLogic Upgrade Wizard, you can perform the upgrade manually as follows:
\portal\upgrade\
db\upgrade_db.properties
file for your database environment. Replace the @ symbols and the text between the symbols with the correct values for @DB_USER@
, @DB_PASSWORD@
, @DB_HOST@
, @DB_PORT@
, and @DB_NAME@
.Note: | For PointBase, follow the instructions in Upgrading PointBase Databases. |
files=
as follows (this is the default):files=${env.WL_HOME}/common/p13n/db/${database}/jdbc_index/UPGRADE/jdbc.index,${env.WL_HOME}/portal/db/${database}/jdbc_index/UPGRADE/jdbc
.index
Note: | If you are using SQL Server, and you applied the patch for CR244320 to your SQL Server database, do not use the above files= setting; instead set files= as follows: |
files=${env.WL_HOME}/common/p13n/db/${database}/jdbc_index/UPGRADE/
unicode/jdbc.index,${env.WL_HOME}/portal/db/${database}/jdbc_index/
UPGRADE/unicode/jdbc.index
upgrade_db_data.cmd/.sh
to upgrade database data.Tip: | To upgrade your user store, follow the instructions in Upgrading to the WebLogic Server SQL Authenticator on page B-4. |
http://edocs.beasys.com/wlp/docs81/relnotes/relnotes.html#1117746
) as follows:CR237251 - If markup contains more than 4000 bytes, an attempt to store it in the database causes an error. If your database does not contain a PF_MARKUP_XML table that has been populated with data i.e. Select count(*) from PF_MARKUP_XML returns 0 rows) and the PF_MARKUP_DEFINITION table does not contain the BEGIN_XML and END_XML columns then this patch was not applied.
WL_HOME\portal\db\dbms_name\pf9_drop_columns.sql
To upgrade a PointBase database manually:
workshop.dbn
and workshop$#.wal
files from the 8.1 domain directory to the upgrade directory. workshop.dbn
file to weblogic_eval.dbn
. Rename the workshop$#.wal
file weblogic_eval$#.wal
. upgrade_db.cmd/.sh
to process required WebLogic Portal database updates for PointBase.upgrade_db_data.cmd/.sh
to upgrade database data.weblogic_eval.dbn
and weblogic_eval$#.wal
files back to the domain directory. The Upgrade Wizard will have updated the URL to reflect the database name change and will have modified the pointbase.ini
file for the 5.1 version of PointBase used with WebLogic Portal 9.2.
If you did not upgrade your user store using the WebLogic Upgrade Wizard during the domain upgrade process, you can perform a manual upgrade later. The script to upgrade from the WebLogic Portal-specific RDBMS Authenticator to the WebLogic SQL Authenticator is:
WL_HOME\common\p13n\db\
dbms_name\upgrade_fromdbmsauth_tosqlauth.sql
If you created a separate behavior tracking database in version 8.1, upgrade it as follows:
upgrade_db.properties
for your behavior tracking database. Replace the @ symbols and the text between the symbols with the correct values for @DB_USER@
, @DB_PASSWORD@
, @DB_HOST@
, @DB_PORT@
, and @DB_NAME@
.files=
setting in the upgrade_db.properties
file and set it to:files=${env.WL_HOME}/portal/db/${SQL_DIR}/jdbc_index/UPGRADE/BT/jdbc
.index
The default content management database is upgraded automatically. If you created an additional content management database in 8.1, upgrade it as follows:
upgrade_db.properties
for your content management database. Replace the @ symbols and the text between the symbols with the correct values for @DB_USER@
, @DB_PASSWORD@
, @DB_HOST@
, @DB_PORT@
, and @DB_NAME@
.files=
setting in the upgrade_db.properties
file and set it to:files=${env.WL_HOME}/portal/db/${SQL_DIR}/jdbc_index/UPGRADE/CM/jdbc
.index
Note: | If you are using SQL Server and have already applied the patch for CR244320 to your SQL Server database, instead modify the files= setting in the upgrade_db.properties file to: |
files=${env.WL_HOME}/portal/db/${SQL_DIR}/jdbc_index/UPGRADE/CM/unicode/jdbc.index
After you have upgraded to the WebLogic Server SQL Authenticator, you can drop the tables associated with the WebLogic Portal RDBMS Authenticator using the following script:
WL_HOME\common\p13n\db\
dbms_name\dep9_drop_tables.sql
After you have upgraded to version 9.2, you can drop the tables associated with Compoze/Collaboration using the following script:
WL_HOME\portal\db\
dbms_name\dep9_drop_tables.sql