迁移 WebSphere Portal 数据库到 DB2
2.4. 迁移数据到DB2
1. 赋予root用户执行DB2命令的权限
i. 编辑setupCmdLine.sh
a) cd /opt/WebSphere/AppServer/bin
b) vi setupCmdLine.sh
ii. 插入下列文本
if [ -f /home/db2inst1/sqllib/db2profile ]; then
. /home/db2inst1/sqllib/db2profile;
fi
iii. 保存
iv. 做相同的操作,编辑/root下的.profile和.bash_profile
v. 重新登录的系统后,运行db2来检验是否设置成功
2. 修改wpconfig.properties文件
3. 测试Portal数据库的连接
i. cd /opt/WebSphere/PortalServer/config
ii. 分别执行如下命令
./WPSconfig.sh validate-database-connection-wps –DdbPassword=db2inst1
./WPSconfig.sh validate-database-connection-jcr –DdbPassword=db2inst1
./WPSconfig.sh validate-database-connection-feedback –DdbPassword=db2inst1
./WPSconfig.sh validate-database-connection-likeminds –DdbPassword=db2inst1
./WPSconfig.sh validate-database-connection-wmm –DdbPassword=db2inst1
./WPSconfig.sh validate-database-driver
iii. 检查是否执行结果为Build Successful,否则检查wpconfig.properties设置。
4. 执行命令,迁移数据到DB2
./WPSconfig.sh database-tranfer -DDbPassword=db2inst1 -DJcrDbPassword=db2inst1 -DFeedbackDbPassword=db2inst1 -DLikemindsDbPassword=db2inst1 -DWmmDbPassword=db2inst1
检查是否执行结果为Build Successful,否则检查wpconfig.properties设置。
5. 执行reorg check来提高性能
i. 分别对WPS51N,JCR51N,FDBK51N和LM51N执行如下命令
db2 connect to WPS51N user db2inst1 using db2inst1
db2 reorgchk update statistics on table all
db2 terminate
db2rbind “db_name“ -l db2rbind.out -u db2inst1 -p db2inst1
6. 设置Classpath
i. 启动server1
ii. 打开WebSphere管理控制台
iii. 展开 服务器-应用服务器-WebSphere_Portal-进程定义-Java虚拟机
iv. 在Classpath域中加入/home/db2inst1/sqllib/java/db2java.zip
v. 保存
7. 检查数据源连接
i. 展开 资源-JDBC提供程序
ii. 测试feedbackJDBC,jcrdbJDBC,likemindsJDBC,wpsdbJDBC连接
8. 启动WebSphere Portal,通过浏览器访问http://hostname/wps/portal,检查Portal是否运行正常。
分享到:
相关推荐
WebspherePortal中的DB2数据库迁移Oracle
WebSphere Portal 6.0数据库迁移到Oracle参考手册 资料共享:WebSphere Portal 6.0数据库迁移到Oracle参考手册 主要描述在WebSphere Portal 6.0 下,如何将数据库迁移到oracle的参考手册,记录迁移过程,解决迁移...
Install, Config WebSphere Portal 6.0 with DB2 8.2.5详解 ……
本文档主要介绍DB2 V8.2(这里装的是DB2 V8.1.12.99)的安装过程,并介绍将WebSphere Portal Server V6.0的数据库数据从默认安装数据库Cloudscape迁移到DB2 V8.2上的操作步骤
The dictionary defines a portal as a grand or imposing door or entrance; hence, that picture on the cover. In this book, you will learn why the word portal has become a major buzzword in the world of ...
IBM演示WebSpherePortal教程
详细描述IBM WebSphere Portal 6.1的集群配置,包括迁移数据库,配置LDAP安全性以及配置WebServer
WebSphere+Portal+6.0数据库迁移到Oracle参考手册
WebSphere Portal Server 白皮书
远程连接DB2不多的可用教程,还有主机连接DB2数据库的相关教程。
websphere portal开发手册
IBM WebSphere Portal 解决方案
台湾友人Elvin分享的WebSphere Portal7入门教程
WebSphere Portal最佳实践.pdf
IBM WebSphere Portal 介绍,IBM门户解决方案,业务状况分析\门户解决方案
WebSphere Portal 集群详细安装文档。 数据仓库项目,做集群环境配置文档,非常详细!
ibm websphere portal 学习资料让你对portal 有个入门的了解.写边有一些学习portal 的站点.
IBM WEBSPHERE PORTAL 1 目录 2 参数资料 10 一、搜索功能 11 1、搜索表单 11 2、搜索组件 11 3、搜索集合 12 4、站点设置 13 5、模板 13 6、站区创建及内容 13 7、搜索跳转页面 14 8、搜索表单的部署 14 9、详细...
IBM WebSphere Portal 6.0 安装手册,繁体中文
opensuse linux环境下ibm_websphere和ibm_db2安装以及DB2数据迁移操作