AppInstalls - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 13:22:06 created: 2025-05-08 13:21:57 categories:

  • WebSphere / Server Build / Application Server

Application Installations

Login to the deployment manager host via SSH

Source setupCmdLine.sh:

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

Export the WAS_INSTALL_ROOT variable:

declare -x WAS_INSTALL_ROOT="/opt/IBM/WebSphere/AppServer"

Export the cluster name variable:

declare -x TARGET_CLUSTER=XXX

Export the webserver node name:

declare -x WEBSERVER_NODE_NAME=XXX

Export the webserver name:

declare -x WEBSERVER_NAME=XXX

Install custom Portal applications

Execute the following command:

for app in $(<application-server-custom-installables.list); do

    ${USER_INSTALL_ROOT}/bin/wsadmin.sh -p ${HOME}/workspace/WebSphere/AppServer/wsadmin/wsadmin.properties \

        -f /nfs/software/WebSphere/AppServer/wsadmin/scripts/manageApplications.py \

        install-single-app ${app} ${TARGET_CLUSTER} ${WEBSERVER_NODE_NAME} ${WEBSERVER_NAME} | tee -a ~/log/wsadmin/appinstall-${app}.log;

done

Change startup weight for custom applications

Execute the following command:

for app in $(<application-server-custom-installables.list); do

    ${USER_INSTALL_ROOT}/bin/wsadmin.sh -p ${HOME}/workspace/WebSphere/AppServer/wsadmin/wsadmin.properties \

        -f /nfs/software/WebSphere/AppServer/wsadmin/scripts/manageApplications.py \

        change-start-weight ${app} 50 | tee -a ~/log/wsadmin/appinstall-${app}.log;

done

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