在老服务器上执行:
#cd /wps/WebSphere/PortalServer/bin
#./xmlaccess.sh -in ../doc/xml-samples/ExportRelease.xml -user wpsadmin -password password -url -out old.xml
#cd /wps/WebSphere/wp_profile/PortalServer/deployed
#cp -rf archive /mnt/hgfs/share
在新服务器上执行:
清空portal配置
#cd /wps/WebSphere/wp_profile/ConfigEngine
#./ConfigEngine.sh empty-portal -DWasPassword=password -DPortalAdminPwd=password
拷贝archive文件
#cd /wps/WebSphere/wp_profile/PortalServer/deployed
#cp -rf /mnt/hgfs/share/archive ./
#cd /wps/WebSphere/PortalServer/bin
#./xmlaccess.sh -in /mnt/hgfs/share/old.xml -user wpsadmin -password password -url -out 46result.xml
做完之后,Portlet处于未激活状态,所以需要手动的去激活这些Portlet,命令如下。
./ConfigEngine.sh activate-portlets -DWasPassword=password -DPortalAdminPwd=password
重启Portal,使之生效。
相关链接:
http://www.ibm.com/developerworks/cn/xml/x-cn-xmlaccess/index.html?S_TACT=105AGX52&S_CMP=techccid
http://www-10.lotus.com/ldd/portalwiki.nsf/dx/XMLAccess_Frequently_Asked_Questions?OpenDocument&sa=true
portal信息中心
http://www-10.lotus.com/ldd/portalwiki.nsf/xpDocViewer.xsp?lookupName=IBM+WebSphere+Portal+7+Product+Documentation#action=openDocument&res_title=Managing_portlets_in_your_cluster_wp7&content=pdcontent
阅读(1074) | 评论(0) | 转发(0) |