IBM Maximo: Install Maximo Application Suite using MAS CLI

From Wiki

Prerequisites

MAS License File

Access the IBM License Key Center.

From the Get Keys menu, select IBM AppPoint Suites, then select IBM MAXIMO APPLICATION SUITE AppPOINT LIC and complete the form with the following information:

Field Content
Number of Keys Number of AppPoints that will be used in this installation.
Host ID Type A unique value (for example, Ethernet Address). This value will be used in SLS_LICENSE_ID=46d9....
Host ID Enter any 12-digit hexadecimal string.
Hostname Set to the hostname of your OCP instance. Any value is acceptable.
Port Set to 27000

Leave all other values as default. Click Generate and download the license file (license.dat). Save the file for later use.

IBM Entitlement Key

Access the Container Software Library using your IBMId to obtain your entitlement key.

This values will be defined at:

export IBM_ENTITLEMENT_KEY=YOUR_KEY

MAS Catalog and versions

Field Content
--mas-catalog-version v9-260326 Access the https://ibm-mas.github.io/cli/catalogs/ to get MAS catalog version
--mas-channel 9.1.x Access the https://www.ibm.com/support/pages/node/7267465 to get MAS channel
--manage-channel 9.1.x Access the https://www.ibm.com/support/pages/node/7267465 to get MAS Manage channel
--storage-class-rwo ocs-external-storagecluster-ceph-rbd run command "oc get storageclass"
--storage-class-rwx ocs-external-storagecluster-cephfs run command "oc get storageclass"
Port Set to 27000

Running the MAS CLI

Pull the image and run the MAS CLI container. From a terminal:

mkdir -p mas-cli-workspace
podman run -it --rm -v $(pwd)/mas-cli-workspace:/mnt/home:Z --pull always quay.io/ibmmas/cli:latest

for Mac (Apple Silicon M1) add --arch arm64

Result

IBM Maximo Application Suite CLI Container v3.xx.0
...
Available commands:
- mas install to launch a MAS install pipeline
- mas uninstall to launch a MAS uninstall pipeline
...

Exit the container using the following command:

[ibmmas/cli:X.XX.X]mascli$ exit

Installing MAS Core via MAS CLI

Run the container:

mkdir -p mas-cli-workspace

cp license.dat mas-cli-workspace/.

podman run -it --rm -v $(pwd)/mas-cli-workspace:/mnt/home:Z --pull always quay.io/ibmmas/cli:latest

for Mac (Apple Silicon M1) add --arch arm64


Login to OpenShift:

oc login --token=sha256~XXXX --server=https://api.ocp-XXXX:6443

Export the entitlement key:

export IBM_ENTITLEMENT_KEY=YOUR_KEY

Check license file:

cat /mnt/home/license.dat

Run the MAS installation:

mas install \
  --non-prod \
  --mas-instance-id dev01 \
  --mas-workspace-id demo01 \
  --mas-workspace-name "eam-migration-demo01" \
  --mas-catalog-version v9-260326-amd64 \
  --mas-channel 9.1.x \
  --manage-channel 9.1.x \
  --manage-jdbc workspace-application \
  --db2-manage \
  --manage-components base=latest \
  --license-file /mnt/home/license.dat \
  --contact-email [email protected] \
  --contact-firstname Enio \
  --contact-lastname Basso \
  --storage-class-rwo ocs-external-storagecluster-ceph-rbd \
  --storage-class-rwx ocs-storagecluster-cephfs \
  --storage-pipeline ocs-storagecluster-cephfs \
  --storage-accessmode "ReadWriteOnce" \
  --superuser-username superuser \
  --superuser-password ibm-MAS-superuser-passw0rd-123! \
  --ibm-entitlement-key $IBM_ENTITLEMENT_KEY \
  --accept-license \
  --no-confirm \
  --skip-grafana-install


Others Installations


Known installation issues

Accessing MAS Core

1) Log in to the OpenShift Cluster Web Console

2) Navigate to Networking > Routes

3) Select the mas-inst1-core project

4) Click the inst1-admin route to open it in a new browser tab

Retrieving Credentials

1) Log in to the OpenShift Cluster Web Console

2) Navigate to Workloads > Secrets

3) Select the mas-inst1-core project

4) Filter by superuser

5) Open the secret inst1-credentials-superuser

6) Click Reveal to view the credentials

Documentation

See Also