Federation - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 13:18:20 created: 2025-05-08 13:18:09 categories:

  • WebSphere / Server Build / Application Server / Federation/Clustering

Profile Federation

Login to the application server 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 deployment manager hostname:

declare -x DMGR_HOSTNAME=XXX

Source setupCmdLine.sh:

source /opt/IBM/WebSphere/profiles/${PROFILE_NAME}/bin/setupCmdLine.sh

Update ${WAS_INSTALL_ROOT}/bin/wsadmin.sh, changing the minimum/maximum memory values:

 - Name: PERF_JVM_OPTIONS

  - Current value: -Xms256m -Xmx256m -Xquickstart

  - New value: -Xms1024m -Xmx1024m -Xquickstart

sed -i.bk -e "s/PERF_JVM_OPTIONS=\"-Xms256m -Xmx256m -Xquickstart\"/PERF_JVM_OPTIONS=\"-Xms1024m -Xmx1024m -Xquickstart\"/g" ${WAS_INSTALL_ROOT}/bin/wsadmin.sh

Turn off shell history:

set +o history

Execute the following commands:

${USER_INSTALL_ROOT}/bin/addNode.sh \

    ${DMGR_HOSTNAME} 8879 -conntype SOAP -includeapps -includebuses \

    -username wasadm -password -profileName ${PROFILE_NAME}

Turn on shell history:

set -o history

⚠️ **GitHub.com Fallback** ⚠️