当前位置: 首页 > 图文教程 > 服务器 > WebSphere > WebSpherePortal的迁移

WebSphere
IBM WebSphere 常见问题解答
IBM WebSphere简介
优化WebSphere应用性能技巧集锦
利用JMX部署基于WebSphere的J2EE应用
websphere下JMS的配置和和应用
WebSphere应用服务器精选问答
建立websphere5群集实现容错
WebSphere:Tomcat和Websphere的区别
WebSphere:提高WebSphere Portal性能的捷径
WebSphere:WebSphere应用服务器精选问答

WebSpherePortal的迁移


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 125 ::
收藏到网摘: n/a

迁移机器的Portal安装目录为f:/IBM/WebSphere/PortalServer
目标机器的Portal安装目录为/opt/WebSphere/PortalServer
所有的文件要在记事本中打开否则会有乱码
1、    启动迁移机器上的Portal
2、    在PortalServer的bin目录下的命令行下运行xmlaccess -user aisino -password 111111 -url http://localhost:10038/wps/config -in exportRelease.xml -out exportResult.xml
3、    先停止目标主机Portal,做好备份。然后启动db2
4、    要保证迁移主机和目标主机上的用户和用户组要一致
    通过ldap导出迁移主机的账号,然后再通过目标主机的ldap导入从迁移主机的导出的ldif文件
5、    把要迁移的文件放到Portal文件夹下主要包括theme(放到WebSphere\AppServer\profiles\wp_profile\installedApps\LENOV\wps.ear\wps.war\themes\html)、skin(放到WebSphere\AppServer\profiles\wp_profile\installedApps\LENOV\wps.ear\wps.war\skins\html)、将PortalServer\deployed\archive下的所有文件copy到目标主机的PortalServer\deployed\archive目录下,
6、    打开exportResult文件,将文件中带有f:/IBM替换成opt,保存
7、    在exportResult文件中,会带有用户和用户组的标识,需要将这些用户和用户组标识替换成目标主机Portal所使用的用户和用户组标识,否则已设置好的权限信息会丢失。
8、    将exportResult文件ftp到PortalServer/bin目录下
9、    在目标主机的PortalServer\bin目录下执行xmlaccess -user wpsadmin -password wpsadmin -url http://localhost:10038/wps/config -in exportRelease.xml -out exportResult.xml