Migrate a remote rendering portlet
After migrating your primary and secondary servers also re-configure all remote rendering portlets on any remote servers to use the migrated data.
The Web content migration tool does not need to be installed on remote servers that host the remote rendering portlets you are migrating.
You must migrate Web content data on the system that the remote rendering portlet is configured to use before migrating a remote rendering portlet.
If you have a small number of remote rendering portlets, it may be simpler to install and configure new remote rendering portlets to use the migrated data instead of migrating any existing portlets.
- Update the file...
was_profile_root/PortalServer/wcm/migration/config/migration.propertiesConfirm that the following parameters are set as specified and modify them if necessary:
- virtual.portal
If migrating a remote rendering portlet located on a virtual portal, enter the context extension for the virtual portal URL. See the URL Context description row in the Virtual Portal Manager portlet.
- portal.pre.upgrade.backupDirectory
This is the location of the backup directory where the portal-pre-upgrade task stores the data that will be exported. This should be copied from the original server that your remote rendering portlets source their content from and where WebSphere Portal migration has taken place to the server where you are going to run the configure-remote task on. Once you have copied this directory, reference that location.
This directory can be very large. If you do not want to copy the entire contents of this directory, you can just copy the following files:
- <migration_backup_dir>/PortalServer/migration/work/default/importAllResults.xml
- <migration_backup_dir>/PortalServer/migration/work/default/mappings/base32_mapping.properties
- remote.configure.url
Uncomment this setting and set this to the URL of the server that hosts the remote rendering portlets you are migrating. For example:
http://[REMOTE HOST]:[REMOTE PORT]
- Update the file...
was_profile_root/PortalServer/wcm/migration/config/remote_rendering.propertiesConfirm that the following parameters are uncommented and set as specified and modify them if necessary:
- remote.host.base.path.list
Enter the remote host base path of old remote rendering portlet. This is the "Web Content Management Server Host" specified in the old remote rendering portlet configuration. For example,
remote.host.base.path.list=http://oldhostname:9081If all your old remote rendering portlets use data from a single system you can specify remote.host.base.path.list=all.
- WCM_REMOTE_HOST_BASE_PATH
Enter the remote host base path of the server the remote rendering portlet is being migrated to. For example,
WCM_REMOTE_HOST_BASE_PATH=http://newhostname:10040
- Run...
was_profile_root/PortalServer/wcm/configcm/migration/wcmmigrate configure-remote./wcmmigrate.sh -user username -password password configure-remote
The user specified in the command must be a WebSphere Portal administrator.
- Verify the migration by reviewing the migration console. The message "command successful" is displayed after a successful migration. If the message "command failed" is displayed upon completion you will need to troubleshoot the migration.
- Verify the configuration of the migrated remote rendering portlet.
Restart the portal server after completing the above steps to verify that the portlets have been configured correctly.
- Update the remote rendering portlets on your remote server:
- Login to your migrated server as an administrator.
- Go to...
Administration view | Portlet Management | Web Modules | Update | Browse- Select...
portal_server_root\wcm\prereq.wcm\installableApps/ilwwcm-remoterendering-portlet.war- Click Open.
- Click Next.
- Click Finish.
- If you are using the LTPA token to authenticate between servers create and export the LTPA token:
- On the WAS, start the administrative console and log in.
- Select...
Security | Secure administration, applications, and infrastructure | Web security | Single sign-on (SSO)- Enter the fully qualified domain name and then click OK.
- Click Save to save the changes to the master configuration.
- Click Authentication mechanisms and expiration.
- Type the password in the Password and Confirm password fields.
- Type the name of your file in the Fully qualified key file name field.
- Click Export Keys. The key is exported to the wp_profile directory.
- Click OK.
- Click Save to save the changes to the master configuration.
- Log out from the console.
- Copy the key file that was created during the export process to the directory...
/install_root/wp_profile...on the server hosting the content that is displayed in your remote rendering portlet.
Import the LTPA token on the server hosting the content that is displayed in your remote rendering portlet:
- On the WAS, start the administrative console and log in. This is the server you intend to import the LTPA token to.
- Select...
Security | Secure administration, applications, and infrastructure | Authentication mechanisms and expiration- Type the password in the Password and Confirm password fields.
This must be the same password you entered on the source server.
- In the Fully qualified key file name field, type in the name of the key file that you copied to the wp_profile.
- Click Import Keys.
- Save any changes to the master configuration as needed and make sure your given a successful message.
Parent topic
Migrating version 5.1 Web content