- 1、本文档共9页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Porta数据迁移步骤
Portal数据迁移步骤
一.手工安装主题和皮肤
将主题和皮肤文件夹拷入对应的服务器目录。两台服务器对应的目录分别是
\\portala\d$\IBM\WebSphere\AppServer\profiles\portala\installedApps\dmgrCell\wps.ear\wps.war
\\protalb\d$\IBM\WebSphere\AppServer\profiles\portalb\installedApps\dmgrCell\wps.ear\wps.war
将主题和皮肤将分别拷入目录中的themes和skins目录下的html文件夹中。注意要保持两服务器文件内容的一致性。
将Image中的文件复制到
IBM\WebSphere\AppServer\profiles\portala\installedApps\dmgrCell\wps.ear\wps.war\images
2.进入Portal管理界面,选择“主题和外表”
3.添加新主题
输入主题名和对应的文件夹目录名,添加要在此主题中使用的外表。
4.添加新外表
输入外表名和对应的文件夹目录名。
二.从测试服务器中导出Portlet和页面配置(已完成)
由于主题和皮肤文件不是使用xml方式进行部署的,存在id问题,所以在导出前需要将导出服务器上的主题和皮肤都重新设置成IBM自带主题和皮肤,然后导出,如此在导入时才可正常导入。
XML导入导出详细操作可参看《xml配置导入导出.doc》。
示例:
1.导出Portlet
导出SmartdotContent Portlet,xml配置文件格式如下:
?xml version=1.0 encoding=UTF-8?
request
xmlns:xsi=/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation=PortalConfig_1.4.xsd
type=export
!-- sample for exporting portlets --
portal action=locate
web-app action=export
uid=smartdotcontent.SmartdotContentPortlet.204f2be3d0/
/portal
/request
命令格式:
在portal服务器上d:\IBM\Websphere\PortalServer\bin中执行
Xmlaccess.bat -user wpsadmin -password wpsadmin -url 6:10038/wps/config -in d:\xml\ExportPortlet.xml -out d:\xml\SmartdotContent.xml
运行完成在导出文件末尾看见status element=all result=ok/就说明导出成功了。
导出页面
导出人力资源部页面,xml配置文件格式如下:
?xml version=1.0 encoding=UTF-8?
request xmlns:xsi=/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation=PortalConfig_1.4.xsd
type=export
portal action=locate
content-node action=export uniquename=rlzyb export-descendants=true/
/portal
/request
命令格式:
Xmlaccess.bat -user wpsadmin -password wpsadmin -url 6:10038/wps/config -in d:\xml\ExportPage.xml -out d:\xml\rlzyb.xml
三.往正式服务器导入Portlet
在Portla上运行(PortalB不需要运行)
1.将Portlet安装文件分别拷入两服务器d:\IBM\WebSphere\PortalServer\installableApps目录中(除Login_Portlet目录以外的其他文件)
2.执行导入命令
示例:导入SmartdotContent portlet
命令格式:
Cd D:\IBM\WebSphere\PortalServer\bin
xmlaccess.bat -user wpsadmin -password wpsadmin -url HYPERLINK /wps/config -in d:\\ /wps/
文档评论(0)