http://www-10.lotus.com/ldd/portalwiki.nsf/xpDocViewer.xsp?lookupName=IBM+WebSphere+Portal+7+Product+Documentation#action=openDocument&res_title=Virtual_portals_reference_wp7&content=pdcontent
Using a new host name for an existing virtual portal.
If you want to use a new host name for an existing virtual portal, proceed by the following steps:
Export the contents of the virtual portal by using the XML configuration interface.
/opt/IBM/PortalServer/bin/xmlaccess.sh -in Export.xml -user wpadmin -pwd xxxxx -url http://localhost:<portalPortalNumber>/<yourportalContext>/config/<yourVPContext> -out ExportVP_out.xml
Delete the virtual portal.
Clean up references to the deleted virtual portal by using the Task.xml script of the XML configuration interface.
Create a new empty virtual portal by using the configuration task create-virtual-portal. Use the context of the deleted virtual portal, and specify the new host name as required.
Import the contents to the new virtual portal by using the XML configuration interface.
----------------------------
[wsadmin] VirtualPortal:
[wsadmin] Title: Institutions
[wsadmin] Description:
[wsadmin] Realm: defaultWIMFileBasedRealm
[wsadmin] Object ID: Z18_K99SEH6510KN80IF6GO7973481
[wsadmin] Hostname: <cannot be retrieved>
[wsadmin] Context: institutions
[wsadmin] Short ID: -14001
[wsadmin] _____________________________________________________
No comments:
Post a Comment