Managing WebLogic Platform Database Resources
This section presents guidelines and caveats about the following:
Note: Descriptions of how to configure a WebLogic Platform 8.1 SP4 domain with Oracle 9i RAC, and WebLogic Server 8.1 SP4 with Oracle9i and 10g RAC are provided in Important Usage Notes for Previous Releases of WebLogic Platform 8.1. This document can be found at:http://download.oracle.com/docs/cd/E13196_01/platform/docs81/sp_notes/sp_notes.html
.
If your configuration includes DB2:
WL_HOME
/portal/db/db2/8/admin
.CONNECT to <database_name> user <DB2admin> using <DB2admin_password>
;
CREATE BUFFERPOOL BP8K
ALL NODES
SIZE 500
PAGESIZE 8K
NOT EXTENDED STORAGE
;
CREATE REGULAR TABLESPACE WEBLOGIC_DATA_4K
PAGESIZE 4K
MANAGED BY SYSTEM
USING('<data_container>')
BUFFERPOOL IBMDEFAULTBP
;
CREATE REGULAR TABLESPACE WEBLOGIC_DATA_8K
PAGESIZE 8K
MANAGED BY SYSTEM
USING('<data_container>')
BUFFERPOOL BP8K
;
CREATE TEMPORARY TABLESPACE TEMPSPACE_8K
IN NODEGROUP IBMTEMPGROUP
PAGESIZE 8K
MANAGED BY SYSTEM
USING('<data_container>')
BUFFERPOOL BP8K
;
GRANT USE OF TABLESPACE WEBLOGIC_DATA_4K TO USER <user_name>
;
GRANT USE OF TABLESPACE WEBLOGIC_DATA_8K TO USER <user_name>
;
Note that the DB2 database needs to be stopped and restarted after the buffer pool is created. This procedure enables the tablespaces to use the newly created buffer pool.
If the values shown here are not set as the minimum values, heavy Portal activity may exceed database capacity.
http://dev2dev.bea.com/products/wlplatform81/patch/wlplat81sp4_db2_patch.jsp
If your configuration includes MS SQL Server:
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/jdbc_drivers/mssqlserver.html#install_jta
OSQL -Usa -P -S
1>select @@version
2>go
If MS SQL Server is already at version 8.00.818, proceed to step 3. If SQL Server version is at 8.00.810 or below, obtain the hot fix from the following link. This hot fix upgrades MS SQL Server to 8.00.818.
http://www.microsoft.com/downloads/results.aspx?productID=&freetext=ms03-031&DisplayLang=en
http://www.microsoft.com/technet/security/bulletin/MS04-012.mspx
To install this patch on Windows 2000 systems with Service Pack 2, 3, or 4, complete the following steps:
To install this patch on a Windows XP or Windows XP Service Pack 1 system, complete the following steps:
If your configuration includes Sybase:
SelectMethod=cursor
in the Additional Properties field. (This step is not required for the portalPool
connection pool.)WEBLOGIC
is used as an example of the Sybase database name.)exec master.dbo.sp_dboption WEBLOGIC, 'ddl in tran' ,true
go
use WEBLOGIC
go
checkpoint
go
sp_configure "enable DTM",1
go
sp_configure "enable xact coordination",1
go
xa_config
file from the SYBASE_INSTALL\OCS-12_0\sample\xa-dtm
subdirectory up three levels to the SYBASE_INSTALL
directory, where SYBASE_INSTALL
is the directory of your Sybase server installation. For example:$ SYBASE_INSTALL\xa_config
For more information about creating XA domains, see "Creating XA Domains Using Configuration Templates" in Creating WebLogic Configurations Using the Configuration Wizard, at the following URL:
http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/examples.html