Note: As of ICXT version 8.0.3 (January 2023), the AutoDeploy based installation is no longer supported anymore. Please refer to the scripted installation instead.
Note: AutoDeploy must be installed and started by the system user that operates Connections (e.g.: wasuser).
Note: If the HCL Connections installation is running on Windows, Cygwin must be installed on each node. You need to install the prepackaged Cygwin image that is provided here. Additionally, the AutoDeploy documentation provides a guide for setting up Cygwin.
Note: If this ICXT installation is an update to an existing installation, please make sure to read through the known Upgrade Changes to be aware of any potentially required changed specific to your upgrade scenario.
Download the latest AutoDeploy release archive and upload it to the DeploymentManagers filesystem (e.g.: /tmp)
ssh <youruser>@target-machine ... sudo su - wasuser cd /tmp tar xfz autodeploy-5.0.4-73be5ee.tar.gz ./install-autodeploy.sh /opt/IBM/autodeploy
Start AutoDeploy
sudo su - wasuser /opt/IBM/autodeploy/app/console.sh --profilepath /path/to/WebSphere/AppServer/profiles/Dmgr01
If AutoDeploy is started for the first time, it exports all information of the cell. Afterwards, it needs to be configured by setting the stage attribute
vi-environment.xmi
Search the attribute stage and set a proper value (e.g. DEV, TEST, PROD)
<?xml version="1.0" encoding="ASCII"?> <autodeploy:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:autodeploy="http://environment.model.autodeploy" xsi:schemaLocation="http://environment.model.autodeploy java://autodeploy.model.environment.EnvironmentPackage" name="Connections-Cell" stage="DEV"> <cell name="Connections-Cell" adminUserId="wasadmin" adminPassword="{xor}Fz5pFQ8YMCYFKjdmFS8YNC1qazY=" wasVersion="6.1"> <customProperty name="com.ibm.websphere.management.launcher.options" value="displayServerInFront"/>
In order to ease the AutoDeploy startup, create an alias in the .bash_profile file of the wasuser
alias ad_start="/apps/autodeploy/app/console.sh --profilepath /path/to/WebSphere/AppServer/profiles/Dmgr01"
Ensure that all Pre-Installation steps are executed or verified.
If you created the ICXT server/cluster right after the AutoDeploy setup, the environment must be updated. Execute following AutoDeploy command to populate the created server to the AD environment:
ad_exportCell
Copy the ICXT deployment archive to the Deployment Managers filesystem (e.g.: /tmp)
Start AutoDeploy
sudo su - wasuser ad_start
Update the release configuration
ad_updateConfig /tmp/ic360.deployment-8.0.7-full.zip vi-deploy.cfg
Note: If you install ICXT for the first time, AutoDeploy will ask for the following installation scope definitions. In most cases, the ic360-targetCell is cell. If this is not the case (or cell is not listed in the available scopes/multiple cell scopes are listed), find the target cell by navigating to the WebSphere cell configuration path: /path/to/WebSphere/AppServer/profiles/Dmgr01/config/cells. Here you should see the cell to define as your target cell. For the ic360-targetServer, use the cluster name set during the Pre-Installation.
WARN [main] autodeploy.releaseArchive.ReleaseArchive - Missing target-to-scope mapping for target [ic360-targetCell] Available scope: ICXTCluster, ICCluster, cell, connectionsCellManager, connectionsCellManager_dmgr, connectionsNode, connectionsNode_nodeagent, connectionsNode_webserver1 Please enter the corresponding scope for target [ic360-targetCell]: WARN [main] autodeploy.releaseArchive.ReleaseArchive - Missing target-to-scope mapping for target [ic360-targetServer] Available scope: ICXTCluster, ICCluster, cell, connectionsCellManager, connectionsCellManager_dmgr, connectionsNode, connectionsNode_nodeagent, connectionsNode_webserver1 Please enter the corresponding scope for target [ic360-targetServer]:
Search & Replace all values that are UNDEFINED:
Note: For IC5.0– the JNDI names of the Blogs and Forums must be changed. The values in the deploy.cfg must be updated, as well:
datasource.jndi.blogs=jdbc/rollerdb datasource.jndi.forum=jdbc/forum
Note: Checkout the configuration page and verify if the default configuration values must be updated, or not
Validate the release
ad_validateRelease /tmp/ic360.deployment-8.0.7-full.zip
Activate the maintenance mode
ad_maintenance -e "ICXT installation"
Deploy the release
ad_deployRelease --norestart /tmp/ic360.deployment-8.0.7-full.zip
Note: Add the option --norestart in order to disable server restarts after the deployment has been finished.
Note (for Windows Server): Add the option --from 2 for all updates (not for the initial installation) to avoid file-lock issues with the ic360.security.tai*.jar.
Restart the ICXT cluster/server (execute ad_listServers for retrieving the cluser and server names)
ad_restartCluster ICXTCluster
or
ad_restartServer ICXTCluster_server1@?
Note: If it is an initial installation the webserver plugins must be generated and propagated
Ensure that all Post-installation Tasks steps are executed or verified. Refer to this document for first steps as well. If you encounter any issues or unexpected behavior, please check the Known Issues or reach out to your IBM/ICXT support.