This script is not for Prod rather a quick way to spin up a specific version of Documentum Life Sciences to either demo the product or reproduce an issue. I use this as my Dev when I do not have access to the target environment. I created and tested this on my bare metal and it worked really well so thought of sharing with the wider DCTM community.
What all the script installs:
The script can setup 16.4,16.6, 16.6P2, 16.6.1 and 20.2 DCTM LS environments.
If something is not clear on this ReadMe, I would recommend to download the script and take a look as I have added comments to make it easy for others to understand and customize as needed.
Connect/SSH to your server/node and create a directory where we will keep all the Documentum Life Sciences Docker images (Ex: mkdir -p /media/dctmimages4 ). Login to support.opentext.com and download all the LS Docker images for the version you want to install. If you downloaded the image to your local machine, upload them to the server and place in the directory (/media/dctmimages4) created in step 1.
It would be quicker if you have updated your server/node and have setup Docker before proceeding with installation.
The script is relatively self contained and fetches necessary files from github repo. To execute the script successfully we need:
To keep it as streamlined as possible, I have predefined images in YAML files being used by the script. This means that the script would fail when it is unable to fetch the required Docker image. thus it is important to download exact images used by the script and put them in the /media/dctmimages4 folder before executing the script.
Below is the list for latest 2 LS versions. For older LS versions, take a look at the respective YAML file present in the YAML folder on github.
After completing the prerequisite step defined above, connect to your server (terminal or SSH session), got your home directory and run below commands :
wget https://raw.githubusercontent.com/piyushkumarjiit/DctmLifeScienceViaDocker/master/LS_on_Docker.sh
Update the permissions on the downloaded file using:
chmod 755 LS_on_Docker.sh
Now run below script and follow prompts:
./LS_on_Docker.sh |& tee -a LS_Install.log
If everything went well so far, we would have a working Documentum Life Sciences platform. We would be able to login to D2 application (using dmadmin) but there are few more tasks to be completed before everything is ready.
Login to DA and grant necessary permissions under Client rights management node to JMS. This is required for Workflows to work properly.
If using SSV, we need to mount remote folder from where SSV would import submissions. We can exec into the lsd2cs container and use mount command to mount the remote directory.
For testing, we need to add users to the application. Login to DA, create/import users and set them in LS specific roles.
LS validation is too big to put here. For sanity testing, Import a PDF file as a Cat 2 document, send it to a workflow and complete the workflow. If all the steps involved proceed as expected, the environment should be OK.
The script generates 2 scripts "start_LS.sh" and "stop_LS.sh" which can be used to start and stop the entire LS stack.
sudo ./start_LS.sh
sudo ./stop_LS.sh
Do not delete the directories created by the script as it contains Documentum and DB data.
This is just a start and all the steps outlined under Post Installation steps could be automated via shell scripts.
Other components CTS/Render services, iHub, Brava etc. need to be set up (if needed).
Piyush Kumar - (https://github.com/piyushkumarjiit)
This project is licensed under the Apache License - see the LICENSE.md file for details
Thanks to below URLs for providing me the necessary understanding and material to come up with this script.