Presentation on theme: "Agenda Overview Migration Preparing for migration"— Presentation transcript:
1WebSphere Portal v6.1 Migration Rob Holt WebSphere Portal Migration Lead
2Agenda Overview Migration Preparing for migration Migration Process OverviewFrameworkProblem DeterminationCommon User Errors and Best Practices
3Agenda Overview Migration Preparing for migration What is migrationMigration Plan RoadmapAssessmentPlanningSkillsRuntime Environment MigrationDevelopment EnvironmentApplication Code MigrationTestProductionReview the resultsSupported migration pathsComponents to migrateWhat is migrated automaticallyMigrationPreparing for migrationMigration Process OverviewFrameworkProblem DeterminationCommon User Errors and Best Practices
4What is MigrationMigration - Moving your existing data and functionality from one WebSphere Portal release to a newer WebSphere Portal release.Migration does not include the merging of new functionality with the old functionality.Parallel function and performanceMigration considerationsMore than just software developmentMust consider the applications, infrastructure, education and cultureMigration process should not compromise day-to-day businessManage complexity, expectations, expense and riskCareful planning is requiredEach situation is uniqueThere is no one standard planThe point here is that there are many factors to consider when planning for a WebSphere Portal Server Migration. Different factors and participants will be involved in the Migration process and plan. You should account for all of these.Different perspectivesProduct architect( Design and features )Developer( code changes )Administrator( production runtime )Technical support( capacity planning )Development managers( resources and deadlines )Executive management( cost, risk, impact )Careful planning is required. Many of the customer successes or failures can be directly related to the strength (or even existence) of a comprehensive plan. Many times Project Management becomes as important as the technical aspects when Migrating.Each customer situation is unique based on the WebSphere Application Server version involved, use of 3rd party applications, previous Migration experiences: just to name a few.
5Migration Plan Roadmap AssessmentPlanningAssessmentPlanningSkillsRuntime Environment MigrationDevelopment EnvironmentApplication Code MigrationTestProductionReview the resultsSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsThis shows the overall process of building a Migration Plan. Each of the items will be covered in more detail coming up.The first step is Assessment. This step is very important as it identifies each of the factors that will have an impact on the Migration plan. It is effectively Requirements gathering based on each individual company’s situationPlanning: takes the factors identified in the Assessment step and builds a specific set of actions and a proposed timeline for those actions. The plan may have to be readdressed as more factors are understood or one or more changes in timeline are required.Skills: This step addresses upgrading any skill gaps that have been identified. Many alternatives for this education exist including formal classes, online courses, IBM Education Assistant, etc.At this point there are two paths that can be worked in parallel. I typically talk about the “Runtime Environment” first because that is how it flows later in the materials. This path describes an iterative scenario to apply the runtime part of the Migration Plan to the various test environments that may exist in each company’s environment. It provides a mechanism to test the runtime migration portion through the various test systems before performing the task on the Production systemDevelopment Environment: Takes the standard iterative cycle of development to one more suggested degree when doing a WebSphere Application Server MigrationTest: Roll the applications or set of applications through the certification test cycle that is in place for the company.Production: Roll the migration into the Production environment with hopefully no surprisesReview the results: Now is a good time to do a self-assessment of the success or failures of the different steps of the Migration. Now is an excellent tme to feedback these changes into the Plan so the Plan can be re-used when it is needed next.TestProductionReviewresults
6Assessment Gather the people Identify education requirements Consider a core Migration teamIdentify education requirementsDeveloper, Administrator…Hardware requirementsPossible Upgrades, All levelsTopology assessmentDowntime tolerance, Failover supportApplication architectureTightened specificationsDependencies between appsAPI removal, JDK changesVendor apps and WebSphere productsJ2EE/JDK/WebSphere version requirementsPlanningSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsThis step identifies each of the factors that will have an impact on the Migration plan and the actions that will be required. It is effectively Requirements gathering based on each individual company’s situation.Identify education requirements – typically the education requirements revolve around two primary roles (Developer and Administrator). Although other roles or related roles can also be impacted.Developer – What changes can impact the Application Developer? One area that has had a large impact in the past is the education required to learn details of J2EE development. This is a major factor when migrating to WAS 4.0 and later. This is when the true J2EE programming model was supported by WAS. Another major factor for education is when changing IDEs. This happened when moving to WebSphere Application Developer (WSAD) in WAS 4.0 and later as well as the Rational tool suite in WAS 6.0 (primarily Rational Application Developer (RAD)) and later. New WAS function may also be available to be understood in each WAS version.Administrator – The administrator may also have educational needs. The major point of concern is crossing the boundary from the WAS 3.x and 4.0.x database repository environment to the file/XML based system starting in WAS 5.0 and carrying forward into later versions. New WAS function may also be available to be understood in each WAS version.Hardware requirements Version upgrade is a good time to understand if it is a reasonable time to upgrade hardware. It may coincide with planned sun setting of hardware and should be factored into the planning. A choice of hardware upgrade during WAS version migration may impact the Migration Strategy that can be selected.Capacity planning – Upgrades to CPUs, disk capacity or memory may have to be factored into the plan. The latest WAS versions typically does not force a hardware upgrade but in many cases an increases memory consumption may be assumed.One hardware assessment that can be forgotten is the hardware beyond the Production environment. The other Test systems in the development cycle, including Developer hardware should be considered.Topology assessment – The topology can factor into the plan for how to Migrate the production systems.Downtime tolerance – Different Qualities Of Service (QOS) requirements for different applications and systems have to be understood. This may impact the ability to upgrade during a specified maintenance window and will have to be factored into the plan. This could drive an additional step of prototyping a Migration production to determine if the maintenance window can be satisfied. Additional capabilities are being provided as part of the WAS Migration package (Mixed Node support) that can be used for minimizing this risk.Failover support – Failover support requirements during a Migration are important to understand. This will determine another QOS aspect if there is not a failover topology already in place to address the availability needs of applications.Application architecture – Various aspects of Application architectures also need to be understood. This is much more variant based on the WAS release and associated J2EE level than some of the other Assessment factors already described.Tightened specifications – When migrating to later WAS versions there may be cases where some applications that used to load and run on previous WAS versions will have some issue. One such area is tightening of J2EE specifications to clarify some areas that were not totally closed in prior specifications. An example is in the area of deployment descriptors. In both WAS v5.1 and v6.0 there are cases where applications will no longer be installable in those new versions that could be installed in earlier versions. This is due to tightened checking of the deployment descriptors during application installation.Dependencies between apps – If there are dependencies between applications or on shared libraries these have to be understood. These factors can determine the order of migration of these applications.API removal – If APIs have been removed that are in use by existing applications then these have to be modified before migration to the new WAS version. These API removals are tightly controlled and documented in the WAS InfoCenter. This documentation also includes deprecation information.JDK changes – It is important to know when JDK boundaries are crossed when planning to Migration. In most cases the JDK compatibility is very strong. In some cases there are documented breakages that need to be understood. More information on this is provided on the JDK compatibility site as noted in the References section.Vendor apps and WebSphere products – Supported specification levels can be a factor when determining which WAS version to migrate toward.J2EE – Sometimes specific J2EE levels are required by companies/customers. Knowing which J2EE level is supported helps determine which WAS version to target.JDK – Same for JDK level. One of the primary motivators for v5.1 was JDK 1.4. Knowing what JDK level that is supported is more required information. It is also useful to know when a JDK boundary is crossed to help evaluate the Migration impact. More on both of these topics is provided later in this deck.WebSphere level requirements - Third party and other WebSphere products (e.g. WCS, WPS, …) can have specific requirements for WAS versions that they support. This can cause complications on which WAS version to migrate to when and whether work is required to potentially line up support from vendors for the WAS version that is actually desired by the customer.WebSphere version changesArchitecture – Certain WAS versions had changes in architecture that impacted Developers and/or Administrators. Understanding these impacts is key to building the plan. More is covered on this later in this presentation.Compatibility – Compatability of applications and administration scripts is another factor to consider when building the plan. Various WAS versions have different levels of compatibility support. More is covered on this later in this presentation.TestProductionReviewresults
7Planning Build a plan based on assessment Hardware requirements Educational needsIdentify early adoptersIdentify Pilot projectsConsider risk factorsCreate an execution timelineInclude a rollback planPlanningSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsGiven the Assessment and basic requirements, the next step is to build a plan taking each of the assessment results into accountHardware requirements – One of the first actions is to acquire and plan for upgrading hardware requirements. This can include Development machines (which should be considered an early upgrade) all the way through the Test environments (which would typically require a plan to upgrade in parallel.Educational needs – Education needs should also be addressed fairly early in the cycle.Identify early adopters – If possible it is best to use iteration in working with staging the Migration with Development teams. Sometimes groups emerge that either want or need to be on the latest technologies. It is ideal to work with these teams as a first pass through Migrating applications and then apply lessons learned to further iterations with other teams.Identify Pilot projects – Work with the earliest adopters to identify Pilot projects that can be used to drive the Migration process. There are different benefits of selecting mission-critical versus “typical’ applications in building confidence in either the simplicity or the common changes that may be required for a successful MigrationConsider risk factors – There can be a large variety of risk factors. The idea is to identify and minimize them. Several examples include impeding application updates too long while Migration is occurring and exceeding a window where it is critical to have stable and available Production environment.Create an execution timeline – From the previous information take a first pass at building an execution timeline. Include all the factors above and upgrade plan for each of the Test systems in the Test environment. This should be viewed as an iterative plan. Once some of the earlier steps are completed the timetable should be readdressed and refined.Include a rollback plan – Always include a rollback plan. This is critical to the business. It is also important to practice the rollback plan before attempting Migration of the Production system, otherwise you could be flirting with disaster. Note that the WAS runtime tools and techniques allow a good rollback plan by not destroying the old WAS environment before installing the new WAS environment. This enhances the ease of supporting a rollback plan.May require more memory for RAD, see reference in the back titled “Rational Application Developer Performance Tips” for some reliefTestProductionReviewresults
8Skills Plan for education New development tooling AssessmentPlan for educationNew development toolingChanges in WebSphere Portal administration modelChanges in the latest WebSphere versionNew standardsNew featuresPlanningSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsSkills building can take different forms and should be adjusted based on how people learn best.A variety of techniques can be used. Standard approaches include formal classes on many different levels. Other alternatives, such as online education can also be used to address this need. One online source worth considering is the IBM Education Assistant. See References for more information.New development tooling – Some of the WAS version boundaries include changes in IDE as well. The movement from VAJ to WSAD was a fairly significant change. The movement from WSAD to RAD has proven to be much less drastic. Both are based on Eclipse 3.0 and appear to be an evolution.Changes in WebSphere administration model - – This is a significant step when moving from WAS 4.0 or earlier to WAS 5.0 and later. This is due to the change in how the administration model is architected. This also impacts the administration scripting model and education on making that transition should be included.Changes in the latest WebSphere version – new features in the latest WAS versions provide an opportunity to take advantage of new capability. This can be an opportunity to Developers as well as AdministratorsNew standards – New standards, such as J2EE, may be available in the latest WAS version. This provides additional features and support that needs to be understood.TestProductionReviewresults
9Runtime Environment Migrate test systems iteratively AssessmentMigrate test systems iterativelyDevelopmentIntegrationSystem testPerformancePre-ProductionProductionBased on your environmentIterate through servers providing supportDB, HTTP, LDAP, etc…PlanningSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsTestProductionReviewresults
10Development Environment AssessmentMay require a change in IDEProgress iteratively, expand outwardAssume application compatibilityAssess apps, based on known issuesIf no changes required, perform standard regressionIf development is required do it iterativelyInitially make changes that are required to support version migrationReduces complexity of planning, diagnosis and debug - “Keep it Simple”Test to the depth of test environment that fits your comfort levelThen do any necessary new code development and iterate following your standard practicesAddress Deprecations at some pointIdeally as part of application maintenancePlanningSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsTestProductionReviewresults
11Test/Production/Review AssessmentRun your standard test processesProgress applications normally through the test environmentsEnsure Performance is measuredGather baseline measurementDifferences exist between WebSphere versionsJDK changes may have occurredHave a rollback plan for productionPractice on another system earlier in the cycleReview the results of the MigrationUpdate the plan for next timePlanningSkillsDevelopmentEnvironmentDevelopmentEnvironmentRuntimeEnvironmentRuntimeEnvironmentCodeMigrationRuntimeMigrationUnit TestTestSystemsTestProductionReviewResults
12Supported Migration Paths Available paths:WP Express WP 6.1WP X (recommended ) WP 6.1Latest 2 v6.0 Portal Fixpacksv and vMigration is not a fixpack but a side by side operation, requiring a new install.Fixpacks use the Portal Update Installer to install fixpacks or individual fixes.Fixpacks apply file updates to an existing installation.The migration implementation is separate from fixpacks.Migration requires a new Portal installation and the tooling to transfer the configuration.
13Components to MigrateThere are many components that must participate in the migration processWMMCustom portletsProcess tasksPortlets configurationPage configurationAccess controlWSRP resourcesClients configurationVirtual resourcesThemes, skins, screensPortal Document ManagerPersonalizationWCMEtc…There are many components to consider when migrating. It is recommended that you inventory your system to understand which components you have to fully understand what your migration process will entail. The core Portal components are automatically migrated by the automated migration tools and use the typical path for migration. This migration path is simplified by the new migration wizard.If you have a highly customized portal containing additional components you may find that you have an advanced migration path. This path is similar to the typical path but allows more power and flexibility through the use of command line tasks.A an example where manual intervention is required, would be migration of the services and services settings, these settings are now stored in a WAS registry, but due to a limitation in the WAS registry certain special characters are not allowed, if you have an application that requires a services-setting with a special character, the setting itself may need to be modified to accommodate the character restrictions.v5.x/v6.0Portal Serverv6.1 Portal Server
14What is Migrated Automatically Migration scripts attempt to migrate the following resourcesWMM configuration – WMM attributes and associated database tablesClient configuration - Configuration information for all clients that are supported by WebSphere Portal.Themes and skins configuration - Configuration information for themes and skins for WebSphere Portal.Portlet Applications and portlets - Migration tasks are provided to facilitate deployment of the custom portlet applications.Portlet configurations – Customized portlet application configuration is migrated.Portal pages and places - The corresponding access control is migrated automatically with these artifacts.User customizations –these are customizable settings that are associated with portlet instances.Access control- Migration tasks migrate permissions page, porlet application, portlets, and user groups within the portal.JCR Content – WCM and PZN dataThe path you choose for migration will depend on factors such as migration needs, time available, skills available, and existing resources.
15Agenda Overview Migration Preparing to Run Migration Scripts Portal 6.1 InstallPrepare Prior PortalMigration Process OverviewFrameworkProblem DeterminationCommon User Errors and Best Practices
16Portal 6.1 Install Migration is side-by-side Prepare WP 6.1 Portal configurationEnable security to match prior PortalUsers in directory must matchRun database transferReference the Portal InfoCenter for a list of required fixesPK69311PK69096Validate Portal functionVerify admin loginImportant: What you want to remember is to set up the new Portal to match the prior Portal configuration. You want use the same security model, with the same users, the same DB connection type.You also don’t want to make use of the new Portal. You do want to log in and make sure the Portal is accessible with the admin ID. Don’t create pages, don’t create groups, don’t generally modify the portal beyond its “fresh” state.If you plan on migrating a virtual portal you will need to create the VP’s in your new Portal to match that of your previous Portal. What this means is that you want to create the Virutal portal with the same name and context root of the virtual portal that you will be migrating from.Very Important. This is not in the IC yet: If you expect to use Process Server based clusters you must install to a managed node. If you are not going to be using a WPS cluster, install to a stand alone node, then federate and clone after the migration is complete. When using Process server there is a restriction on adding a Portal node to a cluster, this hopefully will be addressed in a future release of Portal. The migration itself is very similar in process, when migrating be sure to turn the node agent off until the migration itself is complete. Also after the migration is complete and you have turned the node agent on to synchronize any nodes be sure to give the node agent enough time to fully synchronize all the nodes.Migration is side-by-sideFirst, install the 6.1 PortalInstall Content server for migration where WCM is configured in the previous serverFoundation server install where WCM is not requiredWP 6.1 can be on same machine or different machineOperating systems must matchIf same machine, the Portal can use new or conflicting portsIf conflicting ports, run one Portal at a time or change the Ports for the new portal temporarily.With V6.1 it is easy to change the ports temporarilyPrepare WP 6.1 Portal configurationIf WAS security is not set to WMM Custom user registry set it to match prior portal configurationIf a CUR other than WMM is in use the customer will need to implement a CUR based on the VMM interfacesLDAP or if Non WMM Custom User Registry is configuredRun database transfer
17Portal 6.1 Install, Continued Do not cluster 6.1 PortalFederate after migrationValidate Portal functionEnsure login is possibleSet the WAS and Portal admin ID and passwords to match those from the previous versionCustomizations to the v6.1 portal should be avoided, they will be removed or can cause problems during migrationStart with fresh installDo not deploy portletsDo not create pagesDo not change access controlDo not delete pagesSet up the new Portal to match the prior Portal configuration.
18Prepare Prior Portal Backup previous WebSphere Portal Good idea even though v5.x migration does not make any changesRequired if you want to be guaranteed you can revert back to your v6.0 systemInstall required fixesCurrently Available in <PortalServer_v61>/migration/fixesForgetting to copy the ‘wps.properties’ file into the migration directory is an easy step to miss.Known fixes at the time of GA are included in the v6.1 installed imagePK64247 – Augments the customization domain for migrations from v6.0
19Prepare Prior Portal For v5.x Portals Disable user access Set the portal to be active for read only access, this prevents the loss of updates while migration is executing.If clustered, migrate from the primary node and prevent user access to that node during the execution of the portal-pre-upgrade taskAdjust HTTP server time out values to never time out, ideally the connection for the export process should use the internal WAS HTTP server port.If using delegated user administration, verify the number of groups in the wmm.xml file is equal to or larger than the number of groups visible to Portal in the LDAP server, and specify the optional parameter to export groups when running the portal-pre-upgrade command.Forgetting to copy the ‘wps.properties’ file into the migration directory is an easy step to miss.
20Agenda Overview Migration Preparing for migration Migration Process OverviewMigration ScenariosJCR Data MigrationValidationFrameworkProblem DeterminationCommon User Errors and Best Practices
21Migration Scenarios Portal configurations supported ClusteredStandalonePortal with process integrationSimplified over previous releasesHigh level perspective from v5.xExport all portal artifactsImport all portal artifactsHigh level perspective v6.0Export required portal artifactsv6.0 includes direct reuse of database information in some portal domainsImport required portal artifactsThe migrate-all tasks combine the Portal configuration pieces. Other components still require the component migration tasks.
22Migration Scenarios, Cluster migration V5.x or v6.0 DeploymentManagerStep 0Initial configurationStep 1Migrate single node to standalone nodeV5.1 or v6.0.1.xPortalV5.1 or v6.0.1.xPortalV5.1 or v6.0.1.xPortalV5.1 or v6.0.1.xPortalStep 2Install DmgrStep 3Federate node and create clusterStep 4Create additional cluster membersV6.10 DeploymentManagerV6.10 PortalV6.10 PortalV6.10 PortalV6.10 Portal
23JCR Data MigrationDocument Manager is no longer available in WebSphere Portal. Before migrating data, Web content previously stored as documents in a document library will need to be replaced with either file resource components or file resource elements stored in authoring templates, content items, sites or site areasIf document manager is in use, a solution to migrate PDM documents will become available in a future release of Quickr.DB reuse when migrating from v6.0 eliminates the export/import of WCM and PZN data.We consider these steps ‘optional’, because they are only run in some environments. For example, run ‘migrate-pdm’ only if using PDM.
24ValidationBefore clustering and resuming deployment, validate the migrationVerify the following components migrated correctly:User attributesUser groups roles access controlCollaboration portletsClientsPages and placesUser customizationsCredential vault dataThemes and skinsPortlet applicationsPortlet configurationVirtual resourcesVerify performance after clusteringAdditional details, see the migration topic in the Portal v6.1 Infocenter.
25Agenda Overview Manual Migration Preparing for migration Migration Process OverviewMigration ScriptsDirectory and file structureCommandsExtended Migration Commandsv5.1 Additional ComponentsFilteringHow migration worksProblem determinationCommon User Errors and Best Practices
26Directory and file structure The migration directory is located in <wp_root>/migrationMigration plugins live in <wp_root>/migration/componentsThis presentation is just an overview of Portal migration. Spend some time to understand the details.
27Commands Automated core migration tasks: portal-pre-upgrade – Executed against the source serverRun using the supplements CD if in a remote migration scenarioRun from the v6.1 installed image for same server migrationGenerates a backup directory which contains the artifacts to move to v6.1Portal-post-upgrade – Executed against the target serverImports the old configuration into v6.1Migration is extendable, currently this extensibility framework is not available for customer usage. The documentation and support is not ready for general use. L2 or L3 may provide patches through the extensibility framework.Currently used by some components to provide IBM Portlet to JSR 168 conversion and to manage other changes in Portlets from release to release.Additional custom migration tasks can be plugged into the migration framework.Additional filtering can be addedFilters are often needed for Portals with a very large number of pages, to keep the exports manageable.
28Extended Migration Commands Deployment manager security migrationmigrate-wmm-to-vmm – Executed on the primary node immediately after federation to restore security.Copy backup dir to DMgr host under the same path where it exists on the primary nodeupdate-nodetypesConfigEngine taskUse in the case where a “re-migration” of the JCR data is requiredFilters are often needed for Portals with a very large number of pages, to keep the exports manageable.
29V5.1 Additional Components - WCM Install WCM migration toolConfigEngine configure-wcm-migrationMigrate all the WCM datawcmmigrate all-dataMigrate WCM userswcmmigrate usersConfigure rendering portletswcmmigrate configure-localwcmmigrate configure-remoteRemove the WCM migration toolWPSconfig.bat remove-wcm-migrationThese are the tasks required to migrate WCM. The tasks require the setup of properties in a properties file as well as the specification of some command line parameters. Those details are beyond the scope of this presentation.WCM requires a tool be installed into the Portal. After migration this tool should be uninstalled. WCM requires the JCR data is migrated first, then the WCM users. After the JCR data and the user have been migrated the portlets must be configured to render content for the newly migrated data in the JCR.
30V5.1 Additional Components - PZN Migrate from 5.1WPmigrate migrate-pzn-50xWPmigrate migrate-pzn-51xMigrate exported 5.1 dataWPmigrate migrate-pzn-svData-transform-51xThese are the tasks required to migrate PDM. As you can see the tasks names end in 50x if you are migrating from v5.1 a set of very similar but differently named set of tasks will be used. The tasks essentially export the PDM data and convert it into the format required for import into Portal v6.
31How it works Migration from v5.x to v6.1 Migration from v6.0 to v6.1 Requires full export and import of all dataVery similar to v5.x to v6.0 migrationMigration from v6.0 to v6.1New approach which allows for DB sharing and DB reuseSignificantly reduces down time some scenarios can be migrated with zero downtimeFilters are often needed for Portals with a very large number of pages, to keep the exports manageable.
32How it works – DB Reuse approach v6.0 portalConnect to existinguser repositoryLDAPInstall v6.1portalDB transfer release andCommunity domainsReleaseExecute Portal migration tasksMove required v6.0 resources into the v6.1 portalShutdown previous Portal ServerCommunityCommunity..ReleaseAction Set 2MyPortalAction Set 1Content NodePortalPortletsContent NodesTemplatesWps.content.rootMy PortalApplications…Resourceprod.Resource 2prodResource 3Resource yResource xResource1valueReferentialIntegrityDBSchemaResource 1abcWeak ReferencesJCRConnect to previouscustomization,LM,FB,Sync,and copied JCRdomainsLM,FB,SyncCopy JCR domainCustomizationJCR
33Agenda Overview Manual Migration Preparing for migration Migration Process OverviewMigration ScriptsProblem determinationLog filesInformation to be CollectedCommon User Errors and Best Practices
34Log files Log files are created using the command line scripts The logs created by the command line script help you debug migration process failures. The following log files are useful for debugging issues<wp_profile_root>/PortalServer/log/MigrationTrace.log<wp_profile_root>/ConfigEngine/log/ConfigTrace.logLog files may refer to other files created in the migration backup directory.XmlAccess import result filesThis presentation is just an overview of Portal migration. Spend some time to understand the details.
35Information to be Collected OSOS levelFix packsPortal levels – Including fix pack and iFix levels for previous and v6 PortalLog files:<wp_root>/log/MigrationMessages.log<wp_root>/log/MigrationTrace.log<wp_root>/migrationwizard.log<wp_root>/migrationwizardlog.txtAll temporary work files and previous portal information used in the migration process. This includes the allout.xml, importAll.xml, template files, previous wpconfig.properties, etc…Instruct the user to zip the Portal backup directory or a subset of the backup directoryThis presentation is just an overview of Portal migration. Spend some time to understand the details.
36Agenda Overview Manual Migration Preparing for migration Migration Process OverviewMigration ScriptsProblem determinationCommon User Errors and Best PracticesLimitationsCommon ErrorsCustom XmlAccess MigrationPortal Resources
37Migration limitations Manual recreation of all process tasks required if the customer is using WBI. WBI -> WPS conversion is not automatic. Limitation in the WPS product.V5.1 Requires a re-writeV6.0 If using a local process container the migration complexity is highXmlAccess can not migrate large numbers of usersExport requires a significant amount of resources.Admin Portal access control is not migrated.Permissions on default admin portlets must be manually recreatedPermissions on clones on non OOB admin pages do get migratedSome cloned admin portlets may require the manual setting of configuration parametersChanges to admin pages must be manually recreated.Includes additional portlets added to pages, themes, skins, etc…Admin page access needs to be recreated as well.v5.10 transformations have been modified, there are manual steps required to fix the transformation.There is no undo, the changes made during the migration process can not be automatically undone,Imperative that the user backs up their initial portal configuration if it is faster than a reinstall.
38Migration limitations Migration of portlets within EAR files requires the user to manually deploy the portlets but not register them prior to executing the portal-post-upgrade migration commandUpdate the ear mapping file for custom deployment pathsServices and services settings are not migrated automatically.Service jar files need to be manually redeployedservice-settings must be manually re-createdSome wires may not be migratedPrivate wires for instanceSearch indexes must be recreatedTaglib for people awareness has been changed in v6.1, requires updating in older themesNot compatible with v5.1V6.0 taglib slower performanceMS SQL Server 2000 is not supportedv6.0 must be upgraded to use MS SQL Server 2005 prior to migratingCustomized migration, by default is not part of the migration framework.The migration framework allows customization code to be plugged in.
39Common Errors and Best Practices Information in the infocenter is not read and understood before migration is attempted.All required pre-migration steps are not performedCorrective service not applied to the previous Portal.Attempting to connect through the HTTP server which times out and drops the connection.This problem may occur during the export and may manifest itself on the during import, the symptom is an allout.xml that is not a properly formatted xml file.Improper WAS admin uid/pwd specifiedImproper Portal admin uid/pwd specifiedDatabase URL not in the proper format for portal-pre-upgraderelease.DbUrl=jdbc:db2://<your db server>:50000/wps60db:returnAlias=0;Should be:release.DbUrl=jdbc:db2://superman2.raleigh.ibm.com:50000/wps60db
40Common Errors and Best Practices (cont) Current portal installation has not been verified.User never attempted to log inUser is attempting to migrate into a clustered node, this is not supportedAfter federation of migrated node the security settings have disappearedmigrate-wmm-to-vmm task needs to be executed against deployment managerNot enough memory is allocated to the process that is performing migration.User resources not removed from portal when they have been removed from LDAP.Execute the clean users task to re-assign ownershipUsers do not restart the v6.1 Portal after migration, migrated themes and skins or pages may not show up properlyAttempting to migrate Portal on a machine with limited resources or other servers running on them. Severe resource contention will cause failures, timeouts on DB or LDAP connections
41Common Errors and Best Practices (cont) Rational Application DeveloperPortal Toolkit v5/v6.0 projects must be migrated to a RAD which supports Portal v6.1 (TBD)RAD can help with some manual portlet upgradeTransfer LDAP users if neededThis is not recommended to be done before migration. The customer should migrate using the same user repository. The user should verify the migrated portal, then change the LDAP repositories.For migration from v6.0, special care must be taken to propagate the extID if users must be moved into a new repositoryValidate WMM configuration is valid before attempting migrationEnsure cross registry groups are not configured in WMM unless the backing registry supports this configurationEnsure base entries existEnsure LDAP server information is validDeploy required SSL certificates in the default trust store for v6.1Values in the WmmVmmDBMigration.properties not configured correctlyNeed to specify the full DN for the previous portal admin user and groupDB driver needs to be same as what is used by WASDB driver must be copied to AppServer/lib directoryOld and new Portal and WebSphere user ID must be the sameShort login name and password must be valid in both the old and new portalCustom versions of OOB portlets failDifferent war file names can cause a conflict when doing an updateWPCP does not exist in v5.1, so there is no migration path.Add link to infocenter here
42Common Errors and Best Practices (cont) Custom content may require manual updates to get new function.Custom themes and skinsCustom themes from v5.0 Express will require modificationsChanges in Search will require manual modifications to themesChange to people component components will require manual updates to themesManual modification is required to take advantage of the v6.1 features such as drag and drop, fly out, context menus, etc…Custom portletsC2A Portlets and Struts portlets may require updatingMost other portlets should run as isIf the customer wants to upgrade their portlets, it is recommended they migrate their previous portal first then upgrade their portlets.Custom xmlaccess scripts – XmlAccess is forward compatible.If the customer has existing XmlAccess scripts they used to create their previous portal and they do not wish to perform a full migration, they can use the XmlAccess script used to set up their previous portal.Other manual stepsRational Application Developer – Refer to the Portal and RAD infocenter for migrating the development environment.Redeployment of custom servicesCustom content is the Portal resources that you develop – mostly custom portlets, themes, and skins.
43Common Errors and Best Practices (cont) Most custom portlets run unchanged on WP v6, portlets built that take advantage of WMM API’s will need modificationMigrating Struts and C2A portlets require repackaging with updated jarsDetails on this conversion is covered in the infocenter.If using CredentialVaultService.getDefaultUserVaultSegmentId() APIMigrating the credential vault is covered in the infocenter.Change com.ibm.wps.util.ObjectId com.ibm.portal.ObjectIdPortlets deployed using the portal interfaces are automatically migratedPre-deployed portlets now only need to be installed on v6.1The details on this slide are mostly examples. Refer to the appropriate documentation when actually making updates.Migration scripts will install custom portlets
44Common Errors and Best Practices (cont) Modified admin portlets cause failuresIf a modified admin portlet has been deployed in a previous version, manual steps may be required.Ensure DbSafe mode is not enabled when applying iFix PK64247Ensure a backup is made for the <AppServer>/lib directoryWill be required to be restored if changes to the VMM DB repository configuration are needed and SqlServer and DB2 z/OS are usedWPCP does not exist in v5.1, so there is no migration path.Add link to infocenter here
45Custom XmlAccess Script Migration Use of the WebSphere Portal migration scripts is not required, existing XmlAccess scripts may be sufficient, provided certain conditions are metWMM UR is not in useNo customizations are enabledNo admin portlets are included in the deployment scriptsNo dependencies on OOB content,etc…WebSphere Portal v5.x/v6.0 XML access scripts are fully compatible with WP 6.1These scripts are compatible however the expected results after import may be unexpected. A full export of a previous server and import of the export into a v6.1 portal may not work.Your v5.x/v6.0 XmlAccess scripts used to prime your previous portal will work on v6.1.LPID -> GUPID my be an issue. The use of the identification mapping service may be required to create unique object ID’s in the new Portal.How migration handles domains for v5.x migrations:The content is automatically stored in the default domain, core migration does not explicitly set domain attributesIf you have v5.0 xmlaccess scripts, they only need updating if you want to take advantage of new features in v5.1.
46Portal ResourcesBest resource for migration commands
47Portal Resources White papers for migration from v5.1 and v6.0 WebSphere Portal Documentation6.1 Information Center:(Preview)Developerworks: WebSphere Portal ZoneQuestions or concerns regarding the migration content in the WebSphere Portal 6.1 Information Center?Please contact Mary Carbonara ) for further assistanceMigration Central - Support Web Site