Upgrading node profiles

To migrate properties, upgrade database domains, and apply other updates that are needed to bring the node profiles to the V7 level, run the upgrade-profile task on the primary node and the secondary nodes.

  1. Open a command prompt on the primary node.

  2. Change to the WP_PROFILE/ConfigEngine and then run the following command:

    • Windows™: ConfigEngine.bat upgrade-profile -DWasPassword=WasAdminPwd -DPortalAdminPwd=PortalAdminPwd

    • UNIX™: ConfigEngine.sh upgrade-profile -DWasPassword=WasAdminPwd -DPortalAdminPwd=PortalAdminPwd

    • i: ConfigEngine.sh upgrade-profile -DWasPassword=WasAdminPwd -DPortalAdminPwd=PortalAdminPwd

    • If you updated the database schemas manually, include the parameter -DDbSafeMode=true. For example: ConfigEngine.bat upgrade-profile -DWasPassword=WasAdminPwd -DPortalAdminPwd=PortalAdminPwd -DDbSafeMode=true

        Do not specify this parameter if you want the migration process to update the database schemas for you.

    • If you are migrating a large amount of content in the JCR repository (for example, Web Content Manager data), include the parameter -Dwcm.transactionTimeout=timeout_value. A value of at least 1200 is recommended and has been used successfully in IBM testing. For example: ConfigEngine.bat upgrade-profile -DWasPassword=WasAdminPwd -DPortalAdminPwd=PortalAdminPwd -Dwcm.transactionTimeout=1200.

  3. Repeat the previous step on each secondary node.

  4. Verify the migrated portal.

    1. Start the portal server, if it is not running.

    2. Open a web browser and enter the URL for the migrated portal.

        The migrated portal URL takes this form:

        http://host_name:port_number/original-context-root_migrated/portal

        For example, if original portal URL is http://www.example.com:10040/wps/portal, the URL for the migrated portal is http://www.example.com:10040/wps_migrated/portal. During migration, the following changes are made to wkplc.properties stored in the WP_PROFILE/ConfigEngine/properties directory:

        • The property WpsContextRootOriginal is set to the original value of the context root before migration was performed. This property is for reference only and is not used by the migrated portal.

        • The value of the WpsContextRoot property is set to the migrated value original-context-root_migrated (for example, wps_migrated).


Troubleshooting tip: During migration, applications might not synchronize correctly after being redeployed. This is typically due to a problem with how the LTPA keys are regenerated. If this occurs when the upgrade-profile task fails, the SystemOut.log file shows the Portal version still at the V6.1.x level, and the SystemOut.log file on the node agent shows errors indicating the failed synchronization:

6/22/10 12:10:40:684 EDT] 00000051 NodeSync      E   ADMS0005E: The system is unable to generate synchronization request: 
javax.management.JMRuntimeException: ADMN0022E: Access is denied for the getRepositoryEpoch operation on 
ConfigRepository MBean because of insufficient or empty credentials.
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:933)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:901)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:667)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:657)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:643)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:465)
	at $Proxy2.invoke(Unknown Source)
	at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224)
	at com.ibm.ws.management.sync.NodeSync.getCellRepositoryEpoch(NodeSync.java:381)
	at com.ibm.ws.management.sync.NodeSyncTask.doSync(NodeSyncTask.java:237)
	at com.ibm.ws.management.sync.NodeSyncTask.run(NodeSyncTask.java:157)
	at java.lang.Thread.run(Thread.java:736)

To correct the problem, refer to Technote 1405907, and then run the upgrade-profile task again.


Parent

Migrate a V6.1.x clustered environment


Previous

Update the configured DB2 for z/OS driver


Next topic

v6.1 Web content post migration tasks

IBM Support site: Technote 1405907

 


+

Search Tips   |   Advanced Search