PortalServerAugment - cws-khuntly/WebSphere GitHub Wiki
date: 2025-05-08 12:55:14 created: 2025-05-08 12:55:09 categories:
- WebSphere / Server Build / Deployment Manager
NOTE: These steps are not required if this deployment manager will not be hosting Portal server installations.
Login to the deployment manager host via SSH
Source setupCmdLine.sh:
/opt/IBM/WebSphere/profiles/dmgr/bin/setupCmdLine.sh
Export the WAS_INSTALL_ROOT variable:
declare -x WAS_INSTALL_ROOT="/opt/IBM/WebSphere/AppServer"
Export the profile name:
declare -x PROFILE_NAME="dmgr"
Unzip the Portal server augment files into the Deployment Manager:
unzip /nfs/software/WebSphere/PortalServer/files/filesForDmgr.zip -d ${WAS_INSTALL_ROOT}
Move the workplace metadata file:
mv ${WAS_INSTALL_ROOT}/profiles/Dmgr01/config/.repository/metadata_wkplc.xml ${USER_INSTALL_ROOT}/config/.repository/metadata_wkplc.xml
Remove the created profile under ${WAS_INSTALL_ROOT}:
rm -rf ${WAS_INTALL_ROOT}/profiles/Dmgr01
Stop the deployment manager:
${USER_INSTALL_ROOT}/bin/stopManager.sh
Augment the profile:
${WAS_INSTALL_ROOT}/bin/manageprofiles.sh -augment -profileName "${PROFILE_NAME}" -templatePath ${WAS_INSTALL_ROOT}/profileTemplates/management.portal.augment
Start the deployment manager:
${USER_INSTALL_ROOT}/bin/startManager.sh