PortalProfile - cws-khuntly/WebSphere GitHub Wiki
date: 2025-05-08 14:08:10 created: 2025-05-08 14:08:06 categories:
- WebSphere / Server Build / Portal Server / Secondary Node / Portal Profile
Login to the Portal host via SSH
Export the WAS_INSTALL_ROOT variable:
declare -x WAS_INSTALL_ROOT="/opt/IBM/WebSphere/AppServer"
Export the profile name variable:
declare -x PROFILE_NAME=XXX
Export the server name variable:
declare -x SERVER_NAME=XXX
Create application server profile:
Turn off shell history:
set +o history
Create the profile:
${WAS_INSTALL_ROOT}/bin/manageprofiles.sh -create \
-templatePath ${WAS_INSTALL_ROOT}/profileTemplates/managed.portal -isDefault -applyPerfTuningSetting standard \
-hostName
-profileName ${PROFILE_NAME} -profilePath /opt/IBM/WebSphere/profiles/${PROFILE_NAME} -startingPort 10012
Turn on shell history:
set -o history