程序员之家 >> 文章 >> 应用服务器 >> WebSphere
WebSpherePortal的迁移
作者:   来源:csdn   发布者:admin
时间:2009-07-03 13:29:28   点击:332

迁移机器的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

最新文章
点击排行