Walk through of a basic Jasper/CABI 6.3.0 install for PIM14 on Linux without using a GUI.
search cancel

Walk through of a basic Jasper/CABI 6.3.0 install for PIM14 on Linux without using a GUI.

book

Article ID: 194366

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM) CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Identity Management Endpoint (PIM) CA Virtual Privilege Manager

Issue/Introduction

This article is a basic walk through of a basic Jasper/CABI 6.3.0 install for PIM14 on Linux without using a GUI.

Resolution

This is based on CABI/jasper 6.3.0 using install media DVD06120553E.iso. You will also need INS05084750E.license. Both of these can be downloaded from our support site if you are licensed for them.

Please note that as is general Linux/unix convention, for a line with a command to be run that starts with a # or $ do not type the # or $. This is the prompt to indicate that # means the command should be executed as root and  $ means the command should be executed as a non-root user.

Remember, you should not type in the # or the $ at the beginning of the line when executing any commands below.

1) Copy the media to harddrive

# mount -o loop /path/to/DVD06120553E.iso /mnt
# cp -a /mnt /jasper-install
# umount /mnt
# cd /jasper-install

2) Edit CABusinessIntelligence.properties, and change the following settings, replacing <postgres-password> with the password you wish to use for the postgres database - note that password should be at least 8 characters, with at least one capital, one lower case, one number, and no punctuation:

DETECTED_OS=Linux
INSTALLER_LAUNCH_DIR=/jasper-install/ca_install/GUI_Install/Linux/Disk1/InstData/VM
USER_INSTALL_DIR=/opt/CA/SC/CA Business Intelligence
DESTINATION_DIR=/opt/CA/SC/CA Business Intelligence
SAMPLES=No
DB_PASSWORD=<postgres-password>
DB_EXISTING_PASSWORD=<postgres-password>

So that it looks like:

INSTALLER_LOCALE=en
DETECTED_OS=Linux
INSTALLER_LAUNCH_DIR=/jasper-install/ca_install/GUI_Install/Linux/Disk1/InstData/VM
USER_INSTALL_DIR=/opt/CA/SC/CA Business Intelligence
DESTINATION_DIR=/opt/CA/SC/CA Business Intelligence
IS_BUNDLED_TOMCAT=true
WEBAPP_NAME=jasperserver-pro
APPSERVER_SERVER_PORT=8080
APPSERVER_SHUTDOWN_PORT=8005
APPSERVER_AJP_PORT=8009
DB_TYPE=postgresql
DB_PORT=5432
DB_USER=postgres
DB_NAME=postgres
DB_PASSWORD=<postgres-password>
DB_EXISTING_USERNAME=postgres
DB_EXISTING_PASSWORD=<postgres-password>
REPOSITORY_NAME=jasperserver
IS_BUNDLED_POSTGRES=true
SAMPLES=No
SUGARCRM_NAME=sugarcrm
FOODMART_NAME=foodmart
ENCRYPTION_ENABLED=true
REMOVE_DB=false
DB_MASTER_PASSWORD=
INSTALL_FRESH_TYPE=fresh
WEBAPP_PROTOCOL=http

3) Execute the installer

# ./setup.sh -f $PWD/CABusinessIntelligence.properties -i silent

The install log will be located in the temp directory (usually /tmp) and will be called CABusinessIntelligence_install_<date and time>.log. The following line should be in the last 10 or so lines in the file:

2020-07-03 02:26:41 DEBUG ReadProperties:64 - Property Value: CA Business Intelligence 6.3.0 installation successfully

This would indicate a successful installation.

4) Apply the license:

# cp /path/to/INS05084750E.license "/opt/CA/SC/CA Business Intelligence/apache-tomcat/webapps/jasperserver-pro/jasperserver.license"

5) Make sure ipv4 is used:

Edit /opt/CA/SC/CA Business Intelligence/apache-tomcat/bin/setenv.sh, and add:

JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses"

Immediately before:

export JAVA_OPTS

So that it looks like:

JAVA_OPTS="$JAVA_OPTS -Xms4096m -Xmx6144m"
JAVA_OPTS="$JAVA_OPTS -Xss2m -XX:+UseConcMarkSweepGC"
JAVA_OPTS="$JAVA_OPTS -XX:+CMSClassUnloadingEnabled"
JAVA_OPTS="$JAVA_OPTS -Djs.license.directory=/opt/CA/SC/CA\ Business\ Intelligence/apache-tomcat/webapps/jasperserver-pro"
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses"
export JAVA_OPTS

6) Start jasper:

# export JAVA_HOME="/opt/CA/SC/CA Business Intelligence/java"
# export JRE_HOME="/opt/CA/SC/CA Business Intelligence/jre"
# export PATH="/opt/CA/SC/CA Business Intelligence/java/bin:$PATH"
# cd "/opt/CA/SC/CA Business Intelligence"
# ./startServers.sh

In a browser you should now be able to go to http://<server>:8080/jasperserver-pro and see the login.