Primary Node - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 12:49:26 created: 2025-05-08 12:49:12 categories:

  • WebSphere / Portal Server / Base Install

Primary Node

[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-base.xml ${HOME}/workspace/WebSphere/PortalServer/responsefiles/${ENV}/WPS/wps85-base.xml

Edit the response files, modifying the following values:

 - Name: wpsProfileLocation

  - Current value:

  - New value: The profile name to install

 - Name: wpsProfileName

  - Current value:

  - New value: The desired profile name. Must match the value provided to wpsProfileLocation

 - 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

 - Name: hostname

  - Current value:

  - New value: Fully qualified hostname

   - e.g. myserver.myhost.com

 - Name: nodename

  - Current value:

  - New value: Short hostname + Node

   - e.g. myserverNode

 - Name: cellname

  - Current value:

  - New value: Short hostname + Cell

   - e.g. myserverCell

Set file security:

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

Install Portal 8.5:

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

Copy the workplace property file to the working directory:

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

cp /nfs/software/WebSphere/PortalServer/properties/wkplc.properties ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigEngine/wkplc.properties

Update the workplace property file, modifying the following values:

 - Name: config.wizard.profile.password

  - Current value: ReplaceWithYourPassword

  - New value: Plaintext password for the cwadmin account

 - Name: WasPassword

  - Current value: ReplaceWithYourPassword

  - New value: Plaintext password for the wpsadmin account

 - Name: CellName

  - Current value: ReplaceWithCellName

  - New value: Short hostname + Cell

   - e.g. myserverCell

 - Name: NodeName

  - Current value: ReplaceWithNodeName

  - New value: Short hostname + Node

   - e.g. myserverNode

 - Name: WpsHostName

  - Current value: ReplaceWithServerFQDN

  - New value: Fully qualified hostname

   - e.g. myserver.mydomain.com

 - Name: PortalAdminPwd

  - Current value: ReplaceWithYourPassword

  - New value: Plaintext password for wpsadmin account

 - Name WasRemoteHostName

  - Current value: ReplaceWithDmgrFQDN

  - New value: Fully qualified hostname of the local Portal node

   - e.g. mydmgr.mydomain.com

Set file security:

chmod 600 ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigEngine/wkplc.properties

Copy the resultant file into the ConfigEngine for Portal:

cp ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/ConfigEngine/wkplc.properties ${USER_INSTALL_ROOT}/ConfigEngine/properties/wkplc.properties

Copy the soap.client.props file for the Portal profile to the working directory:

cp /nfs/software/workspace/WebSphere/PortalServer/properties/PortalProfile/soap.client.props ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/${PROFILE_NAME}/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 wpsadmin account

Encode the resultant file using PropFilePasswordEncoder:

${WAS_INSTALL_ROOT}/bin/PropFilePasswordEncoder.sh \

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

    com.ibm.SOAP.loginPassword

Set file security:

chmod 600 ${HOME}/workspace/WebSphere/PortalServer/properties/soap.client-wps-profile.props;

Copy the file to the Portal profile:

cp ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/${PROFILE_NAME}/soap.client.props ${USER_INSTALL_ROOT}/properties/soap.client.props

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/workspace/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-base.xml ${HOME}/workspace/WebSphere/PortalServer/responsefiles/WPS/${ENV}/wps95-base.xml

Edit the response files, modifying the following values:

 - Name: wpsProfileLocation

  - Current value:

  - New value: The profile name to install

 - Name: wpsProfileName

  - Current value:

  - New value: The desired profile name. Must match the value provided to wpsProfileLocation

 - 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

 - Name: hostname

  - Current value:

  - New value: Fully qualified hostname

   - e.g. myserver.myhost.com

 - Name: nodename

  - Current value:

  - New value: Short hostname + Node

   - e.g. myserverNode

 - Name: cellname

  - Current value:

  - New value: Short hostname + Cell

   - e.g. myserverCell

Modify file permissions:

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

Install Portal 9.5:

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

Stop all servers:

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

${USER_INSTALL_ROOT}/bin/stopServer.sh WebSphere_Portal

Update WebSphere Application Server to latest FixPack

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