Secondary Node(s) - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 12:49:36 created: 2025-05-08 12:49:27 categories:

  • WebSphere / Portal Server / Base Install

Secondary Node(s)

[Install Installation Manager](onenote:Installation%20Manager.one#Base install&section-id={6CCEF750-48EA-4FD5-AB00-6E0031C49834}&page-id={C581656B-3ABE-42E5-B650-74AA83F22687}&end&base-path=C:\Repositories\WebSphere\Documentation\WebSphere\WebSphere)

[Upgrade Installation Manager](onenote:Installation%20Manager.one#Upgrade Installation Manager JDK&section-id={6CCEF750-48EA-4FD5-AB00-6E0031C49834}&page-id={2C3FEA23-61EB-4400-8619-197A121C9D78}&end&base-path=C:\Repositories\WebSphere\Documentation\WebSphere\WebSphere)

Install WebSphere Application Server
 

Export the following variables:

 - ENV: The environment being built

 - PROFILE_NAME: The name of the profile to build

 - USER_INSTALL_ROOT: /opt/IBM/WebSphere/profiles/${PROFILE_NAME}

 - WAS_INSTALL_ROOT: /opt/IBM/WebSphere/AppServer

 - WPS_INSTALL_ROOT: /opt/IBM/WebSphere/PortalServer

 - CLUSTER_NAME: The name of the cluster to be built

 - DMGR_HOSTNAME: The fully qualified name of the owning deployment manager

Install Portal Server 8.5

Copy the base installation response files to the working directory:

mkdir -pv ${HOME}/workspace/WebSphere/PortalServer/responsefiles/${ENV}/WPS

cp  /nfs/software/WebSphere/PortalServer/responsefiles/wps85-noprofile-base.xml ${HOME}/workspace/WebSphere/PortalServer/responsefiles/${ENV}/WPS/wps85-noprofile-base.xml

Edit the response files, modifying the following values:

 - Name: cfgAdminPassword

  - Current value:

  - New value: Response from imcl

   - Execute the following command: /opt/IBM/IIM/eclipse/tools/imcl encryptString

    - Replace with the plaintext password for the cwadmin account

Set file security:

chmod 600 ${HOME}/workspace/WebSphere/PortalServer/responsefiles/${ENV}/WPS/wps85-noprofile-base.xml

Install Portal 8.5:

/opt/IBM/IIM/eclipse/tools/imcl input ${HOME}/workspace/WebSphere/PortalServer/responsefiles/${ENV}/WPS/wps85-noprofile-base.xml -nosplash -acceptLicense -showProgress

Copy the soap.client.props file for the Configuration Wizard to the working directory:

mkdir -pv ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigWizard

cp /nfs/software/WebSphere/PortalServer/properties/soap.client.props ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigWizard/soap.client.props

Update the SOAP property file, modifying the following values:

 - Name: com.ibm.SOAP.loginPassword

  - Current value: ReplaceWithYourPassword

  - New value: Plaintext password for the cwadmin account

Encode the resultant file using PropFilePasswordEncoder:

${WAS_INSTALL_ROOT}/bin/PropFilePasswordEncoder.sh \

    ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigWizard/soap.client.props \

    com.ibm.SOAP.loginPassword

Set file security:

chmod 600 ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigWizard/soap.client.props

Copy the file to the Configuration Wizard profile:

cp ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigWizard/soap.client.props ${WAS_INSTALL_ROOT}/profiles/cw_profile/properties/soap.client.props

[Apply cumulative fixes](onenote:#Apply Cumulative Fix&section-id={711EAF71-B123-440F-9E53-B7C72A26D59E}&page-id={5823A212-94F2-477D-925A-44C075633F7E}&end&base-path=C:\Repositories\WebSphere\Documentation\WebSphere\WebSphere\Portal%20Server%20Installation.one)

Stop all running servers:

${WAS_INSTALL_ROOT}/profiles/cw_profile/bin/stopServer.sh server1

${USER_INSTALL_ROOT}/bin/stopServer.sh WebSphere_Portal

Install Portal 9.5:

Copy the base installation response files to the working directory:

mkdir -pv ${HOME}/workspace/WebSphere/PortalServer/responsefiles/WPS/${ENV}

cp /nfs/software/workspace/WebSphere/PortalServer/responsefiles/wps95-noprofile-base.xml ${HOME}/workspace/WebSphere/PortalServer/responsefiles/WPS/${ENV}/wps95-noprofile-base.xml

Edit the response files, modifying the following values:

 - Name: cfgAdminPassword

  - Current value:

  - New value: Response from imcl

   - Execute the following command: /opt/IBM/IIM/eclipse/tools/imcl encryptString

    - Replace with the plaintext password for the cwadmin account

 - Name: wpsAdminPassword

  - Current value:

  - New value: Response from imcl

   - Execute the following command: /opt/IBM/IIM/eclipse/tools/imcl encryptString

    - Replace with the plaintext password for the wpsadmin account

Modify file permissions:

chmod 600 ${HOME}/workspace/WebSphere/PortalServer/responsefiles/WPS/${ENV}/wps95-noprofile-base.xml

Install Portal 9.5:

/opt/IBM/IIM/eclipse/tools/imcl input ${HOME}/workspace/WebSphere/PortalServer/responsefiles/WPS/${ENV}/wps95-noprofile-base.xml -nosplash -acceptLicense -showProgress

Stop all servers:

${WAS_INSTALL_ROOT}/profiles/cw_profile/bin/stopServer.sh server1

Update WebSphere Application Server to latest FixPack

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