Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1037398
  • 博文数量: 239
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3618
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-12 13:17
文章分类

全部博文(239)

文章存档

2021年(1)

2016年(1)

2015年(30)

2014年(91)

2013年(116)

分类: LINUX

2013-06-27 09:19:33

在老服务器上执行:
#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

阅读(1028) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~