![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Build a Release
Overview
ReleaseBuilder allows you to compare the XML configuration files between servers and create an XML configuration file that contains the differences.
This delta XML file is used to import only the differences from prod server into stage server.
Running ReleaseBuilder on a production server is not advised because ReleaseBuilder will consume resources and affect portal services to users.
Before running, move required artifacts and configuration.
Two servers, both with Portal
- Install Portal on prod server and stage server
- Develop a release on the prod server.
- Build the release on the prod server.
- Empty portal contents on stage server...
WPSconfig.sh|bat action-empty-portal- Import release into stage server.
Two servers, one with Portal, one without
- Export the release of the prod server.
- Install an empty stage server using one of the following two methods:
- Install the stage server with the flag...
-W emptyPortal.active=True- After installing and configuring the stage server, run task...
WPSconfig.sh|bat action-empty-portal
- Import the production release onto the stage server.
- Develop and build a new release on the stage server.
- Export that new release from the stage server.
- Use ReleaseBuilder to generate the differential between the two releases.
- Import the differential onto the prod server.
Export stage server configuration
- Export the entire portal configuration of the stage server.
cd portal_server_root/binxmlaccess.sh -in ExportRelease.xml -user wpsadmin -password password -url http://stageserver.example.com:port/wps/config -out stageserverREV1_config.xml
- Develop and test new functions and portlets on the stage server.
- Export stage server configuration
cd portal_server_root/binxmlaccess.sh -in ExportRelease.xml -user wpsadmin -password password -url http://stageserver.example.com:port/wps/config -out stageserverREV2_config.xml
- Copy WAR files for custom portlets from the stage server to the installation directory...
portal_server_root/deployed/archive...on the prod server.
On Windows the name of the WAR file must be 25 characters or less.
- Stop the WebSphere Portal Express server:
cd app_server_root/bin
stopServer.sh WebSphere_Portal -profileName wp_profile -user wpsadmin -password admin_password- Generate the differences file...
cd portal_server_root/bin directory.releasebuilder.sh -inOld stageserverREV1_config.xml -inNew stageserverREV2_config.xml -out outputfile.xml
The resulting output configuration file will contain the additions and deletions to be imported onto the prod server.
- The outputfile.xml which contains the differences between REV1 and REV2 portal server is then used to import these differences onto the prod server.
xmlaccess.sh -in outputfile.xml -user wpsadmin -password password -url http://productionserver.example.com:port/wps/configIf portlet parameters are deleted from a configuration, the output script generated by ReleaseBuilder does not remove those parameters on the target system.
XML files generated by ReleaseBuilder do not have any transaction levels set. To set a transaction level edit the XML file generated by ReleaseBuilder and add the transaction level to the XML file.
See...
- Stop and restart the WebSphere Portal Express server:
cd app_server_root/bin
stopServer.sh WebSphere_Portal -profileName wp_profile -user wpsadmin -password admin_password
startServer.sh WebSphere_Portal -profileName wp_profile
Parent topic:
Staging to productionRelated concepts
About ReleaseBuilder Staging the portal to production
Related reference
Manual steps prior to using ReleaseBuilderRelated information
Working with the XML configuration interface