Configure MCPI¶
Usage¶
Usage information can be obtained using mas configure-mcpi --help
usage: mas configure-mcpi [-i MAS_INSTANCE_ID] [--no-confirm] [-h]
IBM Maximo Application Suite Admin CLI v23.21.0
Configure Maximo Cluster Performance Insights (MCPI) on an existing MAS instance.
Target MAS Instance Arguments:
Specify the target MAS instance for which to configure MCPI.
-i, --mas-instance-id MAS_INSTANCE_ID
The MAS Instance ID to configure MCPI for (prompted if omitted)
More:
Additional options for configure-mcpi.
--no-confirm Proceed without prompting for confirmation
-h, --help Show this help message and exit
Examples¶
Interactive Configuration¶
Launch an interactive session that prompts for the MAS instance ID:
mas configure-mcpi
Non-Interactive Configuration¶
Configure MCPI for a specific MAS instance without interactive prompts:
mas configure-mcpi \
--mas-instance-id prod1 \
--no-confirm
Using uvx (Standalone)¶
Run configure-mcpi ephemerally using uvx:
uvx mas-cli configure-mcpi --mas-instance-id prod1 --no-confirm
Overview¶
Maximo Cluster Performance Insights (MCPI) collects and provides performance metrics and telemetry insights for Maximo Application Suite clusters and workloads.
The mas configure-mcpi command enables MCPI on an existing MAS instance by creating or updating the McpiCfg custom resource in the instance's core namespace (mas-<instance_id>-core).
How It Works¶
- Cluster Connection & Validation: Connects to the target OpenShift cluster and verifies that the core namespace
mas-<instance_id>-coreexists. - Version Verification: Checks the installed MAS channel to confirm the instance is running MAS 9.2 or later.
- Resource Application: Applies (creates or patches) the
McpiCfgcustom resource (<instance_id>-mcpi-system) withspec.config.enabled: truein the core namespace:
apiVersion: config.mas.ibm.com/v1
kind: McpiCfg
metadata:
name: <instance_id>-mcpi-system
namespace: mas-<instance_id>-core
labels:
mas.ibm.com/configScope: system
mas.ibm.com/instanceId: <instance_id>
spec:
displayName: Maximo Cluster Performance Insights
config:
enabled: true
- Reconciliation: The MAS entity manager operator detects the
McpiCfgresource and automatically reconciles and deploys the necessary MCPI components.
Verification¶
After running mas configure-mcpi, you can verify the status of the configuration using the OpenShift CLI:
oc get mcpicfg -n mas-<instance_id>-core
Requirements¶
- Access to the target OpenShift cluster with permissions to manage
McpiCfgresources in the MAS core namespace - MAS instance running channel 9.2.x or later
- Target namespace
mas-<instance_id>-coremust already exist on the cluster
Version Requirement
Maximo Cluster Performance Insights (MCPI) is only supported on MAS 9.2 or later. Attempting to configure MCPI on earlier MAS versions will result in an error.