Generate Installer Command with Wizard (v7.2.0+)

Beginning in v7.2.0, Metric Insights provides an interactive wizard that helps construct deployment commands by running ./installer.py --wizard.

The wizard guides you through a series of configuration questions and generates the appropriate deployment command based on your selected deployment method. This document describes all available wizard options and explains each prompt you may encounter during the wizard-driven deployment process.

TABLE OF CONTENTS:

  1. Download the Installation Package
  2. Unpack and Launch the Installer
  3. Wizard Questions
  4. Finish Constructing the Command

NOTES:

  • The default answer for each question is shown as a capitalized letter in parentheses. For example, in Use verbose logging? (Y/n), the default value is Y.
  • Pressing Enter without providing a value accepts the default.

1. Download the Installation Package

  1. Access Get MI to download the installation package.

2. Unpack and Launch the Installer

  1. Untar the package with the following command:
tar -xvf MetricInsights-Installer-vX.X.X-Full.tar.gz
  1. Launch the wizard:
  • Simple Install:
./installer.py --wizard
  • Kubernetes:
./installer.py kubernetes --wizard
  • ECS (Cloudformation, Terraform):
./installer.py ecs --wizard
  • Docker Swarm:
./installer.py swarm --wizard

3. Wizard Questions

Proceed to the wizard question section based on your deployment type:

Simple Install

 

#Question Text
Description

Do you want to use the prior command? (Y/n):
Run the last executed installation command.
1Use verbose logging? (Y/n):
Enable verbose logging output during installation.
2Assume yes on interactive questions? (Y/n):
Automatically answer "yes" to all interactive prompts.
Database Settings
3What is the MySQL database server hostname? (default: mysql, press Enter to use default):
MySQL hostname of the main database server.
4What is the MySQL database name? (default: dashboard, press Enter to use default):
Name of the MySQL database to be used by Metric Insights.
5What is the MySQL admin username? (default: root, press Enter to use default):
MySQL admin user name to initialize the Metric Insights database.
6What is the MySQL admin password?: | Confirm what is the mysql admin password?:
MySQL admin user password for the database server.
7What timezone should MySQL use (if different from application)? (default: UTC, press Enter to use default):
Set MySQL time zone if it differs from the application time zone.
System Settings
8What is the base installation path? (default: /opt/mi, press Enter to use default):
Base path for Metric Insights installation.
9What bind address should services listen on? (default: 10.8.0.234, press Enter to use default):
General bind address used by services to listen for incoming connections.
10What is the web service hostname? (press Enter to skip):
Additional hostname for the Web service.
11What timezone should the application use? (default: UTC, press Enter to use default):
Set application time zone.
12Enable high-load configuration? (Y/n): y
Enable high-load configuration optimized for several thousand concurrent users.

Do you want to configure advanced parameters? (y/N):
After configuring basic settings, you can select to configure advanced settings. Selecting this option will prompt you to select available advanced configuration sections:
  • Console (1 parameter), 
  • Database (10 parameters), 
  • Dataprocessor (4 parameters), 
  • General (5 parameters), 
  • Logger (1 parameter), 
  • Proxy (2 parameters), 
  • System (14 parameters). 

After completing a section, you can finish configuration by pressing q.

Console Settings
13Allow remote command execution from MI Console? (Y/n): y
Allow execution of remote commands from the MI Console only.
Advanced Database Settings
14What is the Data Processor hostname? (default: 10.8.0.234, press Enter to use default):
Data Processor service hostname for external services.
15How much RAM (in GB) does the database server have? (press Enter to skip):
Amount of RAM on the database server used for database performance tuning.
16What is the MySQL hostname for default dataset storage? (default: mysql, press Enter to use default):
MySQL hostname for default dataset storage.
17What port is MySQL running on? (default: 3306, press Enter to use default):
MySQL port for the database server.
18What is the database user host specification? (default: %, press Enter to use default):
MySQL user host specification allowing wildcard or domain-based access.
19What is the MySQL admin user for dataset storage? (default: root, press Enter to use default):
MySQL admin user for default dataset storage.
20What is the database server CA certificate filename? (press Enter to skip):
Database server CA certificate filename located in /opt/mi/ssl.
21What is the database client certificate filename? (press Enter to skip):
Database client certificate filename located in /opt/mi/ssl.
22What is the database client key filename? (press Enter to skip):
Database client key filename located in /opt/mi/ssl.
 23What is the MySQL admin password for dataset storage?: | Confirm what is the mysql admin password for dataset storage?:
MySQL admin password for dataset storage.
Dataprocessor Settings
24What is the MySQL dataprocessor user password?: | Confirm what is the mysql dataprocessor user password?:
MySQL password for the dataprocessor database user.
25What is the Data Processor REST-API URL? (default: http://dataprocessor:8080, press Enter to use default):
Data Processor REST-API endpoint URL.
26What is the Data Processor REST-API username? (default: dataprocessor, press Enter to use default):
Username for accessing the Data Processor REST-API.
27What is the Data Processor REST-API password?: | Confirm what is the data processor rest-api password?:
Password for the Data Processor REST-API user.
General Settings
28Skip installation of additional packages? (Y/n): y
Skip installation of any additional system packages.
29Show required packages and exit? (Y/n): n
Show packages required to run Metric Insights and exit.
30List available timezones and exit? (Y/n): n
List all available system time zones and exit.
31Show the last installation command and exit? (Y/n): n
Show the last installation command and exit.
32List supported operating systems and exit? (Y/n): y
List supported operating systems and exit.
Logger Settings
33Disable additional logger service? (Y/n): y
Disable additional logger service used for collecting logs.
Proxy Settings
34Which components should bypass the proxy?
Comma-separated list of components that should bypass the proxy.
35What is the proxy server address?: 127.0.168
Proxy server address.
Advanced System Settings
36What is the default memory limit percentage for containers?
Default memory limit as a percentage for all Docker containers.
37What is the default CPU limit for containers?
Default CPU limit for all Docker containers.
38What are the per-service memory limits?
Per-service Docker memory limits overriding the default.
39What are the per-service CPU limits?
Per-service Docker CPU limits overriding the default.
40Which services should have restricted external access?
Comma-separated list of services that must not have external access.
41What is the AES encryption passphrase?
AES passphrase used for Metric Insights encryption and decryption.
42Run installation in unprivileged mode?
Skip actions requiring root access during installation.
43Which components should be deployed?
Comma-separated list of components to deploy.
44What custom components should be deployed?
Comma-separated list of custom components to deploy.
45What is the temporary directory path?: temp/
Temporary directory for Metric Insights services.
46Only setup system packages without deploying?
Install and configure system packages without deploying the application.
47Enable privileged mode for all containers?
Enable privileged mode for all Docker containers.
48Use security Docker images?
Enable the use of security Docker images during installation.
49Disable User Access Rebuild process?
Skip the User Access Rebuild process during installation.

Kubernetes

 
#Question TextDescription
1Where should the deployment config be saved? (default: ./, press Enter to use default):
Path and filename where the Kubernetes deployment configuration file will be generated and saved.
2Assume yes on interactive questions? (Y/n):
Automatically answer "yes" to all prompts, allowing the wizard to run without further user interaction.
Database Settings
3What is the MySQL database server hostname?:
Hostname or IP address of the MySQL server used by Metric Insights.
4What port is MySQL running on? (default: 3306, press Enter to use default):
Network port on which the MySQL server is listening for connections.
5What is the MySQL admin username? (default: miadmin, press Enter to use default):
MySQL administrative user with privileges to initialize and manage the Metric Insights database.
6What is the MySQL admin password?: | Confirm what is the mysql admin password?:Password for the MySQL administrative user.
Dataprocessor Settings
7What is the Dataprocessor hostname? (default: metricinsights-dataprocessor, press Enter to use default):
Hostname of the Dataprocessor service used for handling data processing workloads.
8How many CPU cores for Data-Analyzer search processes? (default: 2, press Enter to use default):
Number of CPU cores allocated for Data Analyzer search processes.
Kubernetes Settings
9What is the images pull secret name? (default: metricinsights-docker-registry, press Enter to use default):
Name of the Kubernetes secret used to authenticate when pulling container images.
10What Kubernetes version should the manifest be compatible with? (default: 1.19, press Enter to use default):
Kubernetes version that the generated deployment manifest should be compatible with.
11What Kubernetes namespace should be used? (default: default, press Enter to use default):
Kubernetes namespace where all Metric Insights resources will be deployed.
12What is the Docker registry URL? (press Enter to skip):
URL of the Docker registry from which Metric Insights images will be pulled.
13What Kubernetes scenario type should be used? [openshift3, k8s, helm] (default: k8s, press Enter to use default):
Type of Kubernetes environment or deployment scenario to generate configuration for.
Networking Settings
14What ingress controller type should be used? [nginx, traefik] (press Enter to skip):
Type of ingress controller used to expose Metric Insights services.
15What is the web service hostname?:
Public hostname that will be used to access the Metric Insights web interface.
16What is the console hostname?:
Public hostname that will be used to access the Metric Insights Console.
Storage Settings
17What storage class should be used? [nfs, portworx] (default: nfs, press Enter to use default):
Storage backend used for shared and persistent data.
18What is the Portworx storage size (in GB)? [>=1 in GB]:
Amount of persistent storage to allocate when using Portworx.
19What is the existing Persistent Volume Claim name? (press Enter to skip):
Name of an existing Persistent Volume Claim to reuse instead of creating a new one.
System Settings
20What timezone should the application use? (default: UTC, press Enter to use default):
Time zone used by the Metric Insights application for timestamps and scheduling.
Web Settings
21How many web instances should be deployed? [>=1] (default: 2, press Enter to use default):
Number of web service instances to deploy for handling user traffic.
Advanced Database Settings
22What timezone should MySQL use (if different from application)? (default: PST8PDT, press Enter to use default):
Time zone that the MySQL database engine should use if it differs from the application time zone.
Advanced Kubernetes Settings
23Where should credential files be stored?:
Directory where Kubernetes-related credential files and secrets will be stored.
24Skip generation of secrets? (Y/n):
Skip automatic generation of Kubernetes secrets and use existing ones instead.
25Prevent web instances on same node? (Y/n):
Ensure that web service instances are scheduled on different Kubernetes nodes for higher availability.
Advanced Networking Settings
26What service type should be used? [ClusterIP, LoadBalancer, NodePort] (default: LoadBalancer, press Enter to use default):
Kubernetes service type used to expose Metric Insights components.
Advanced Storage Settings
27What is the Portworx storage class name? (press Enter to skip):
Name of the Portworx storage class to be used for persistent volumes.
28What is the shared drive folder? (press Enter to skip):
Path to the shared drive folder used for shared application data.
29What is the NFS server address for shared drive? (press Enter to skip):
Hostname or IP address of the NFS server providing shared storage.
Advanced System Settings
30Enable high-load configuration? (Y/n):
Optimize the deployment for environments with high user concurrency.
31Allow remote command execution? (Y/n):
Allow execution of administrative commands remotely through the Metric Insights Console.

ECS

CloudFormation

 
#Question TextDescription
1Enter output file (cloudformation) or directory (terraform) path (press Enter to skip):
Path where the deployment configuration will be generated. For CloudFormation, this is an output file (e.g., .yml). For Terraform, this is an existing directory where manifests will be written.
2Enter deployment scenario type (cloudformation or terraform) [cloudformation, terraform] (default: cloudformation, press Enter to use default):
Select whether to generate a CloudFormation template or Terraform manifests for deploying Metric Insights on AWS ECS.
3Enter timezone (default: UTC, press Enter to use default):
Application time zone used by Metric Insights for timestamps and scheduling. This affects initial installation and is ignored during updates; to change it later, use the Metric Insights Console.
Docker Settings
4Enter Docker registry URL (hostname or hostname:port) (press Enter to skip):
Docker registry address from which Metric Insights container images will be pulled (hostname or hostname:port).
Networking Settings
5Set Network Load Balancer scheme to internal? (Y/n):
Choose whether the Network Load Balancer is internal (private) rather than internet-facing (public).
6Enter web service hostname (press Enter to skip):Optional hostname (DNS name/alias) used to access the Metric Insights web interface.
Performance Settings
7Enable high-load configuration? (Y/n):
Enable performance-optimized configuration for high concurrency and heavy workloads.
Storage Settings
8Select shared storage type (nfs or glusterfs) [nfs, glusterfs] (default: nfs, press Enter to use default):
Select the shared storage backend used for the shared data folder. Note: GlusterFS is not supported for ECS CloudFormation; use NFS.

Do you want to configure advanced parameters? (y/N):
Choose whether to configure advanced options for cache, database, deployment behavior, logging, performance, security, and storage. After completing each section, you can finish by selecting q.
Advanced Cache Settings
9Enable AWS Elasticache (Redis) for PHP sessions? (Y/n):Enable AWS ElastiCache (Redis) to store PHP session data.
Advanced Database Settings
10Enter MySQL timezone (if different from application) (default: PST8PDT, press Enter to use default):
Set the MySQL engine time zone if it differs from the application time zone. If not specified, the application time zone is used.
Advanced Deployment Settings
11Prevent web master and slave on same ECS instance? (Y/n):
Prevent scheduling the primary and secondary web instances on the same ECS instance to improve availability.
Advanced Logging Settings
12Enable additional logger service? (Y/n):Enable the additional logger service that collects application logs.
Advanced Performance Settings
13Enter number of Data-Analyzer search processes (default: 2, press Enter to use default):Set the number of Data Analyzer search processes to run for query/search workloads.
Advanced Security Settings
14Allow remote command execution? (Y/n):
Allow execution of administrative remote commands (typically used for support or advanced administration).
Advanced Storage Settings
15Enable shared drive in web container? (Y/n):
Enable mounting a shared network drive into the web container to provide a shared folder.
16Enter EFS volume ID (optional) (press Enter to skip):
Specify an AWS EFS file system/volume ID to mount as the network shared folder. Leave blank to skip.

Terraform

 

#Question TextDescription
1Enter output file (cloudformation) or directory (terraform) path (press Enter to skip):
Path where the deployment configuration will be generated. For Terraform, this must be an existing directory where the installer will write the Terraform module files.
2Enter deployment scenario type (cloudformation or terraform) [cloudformation, terraform] (default: cloudformation, press Enter to use default):
Select the deployment scenario type. Choose Terraform to generate a Terraform module instead of a CloudFormation template.
3Enter timezone (default: UTC, press Enter to use default):
Application time zone used by Metric Insights for timestamps and scheduling. This affects initial installation and is ignored during updates; to change it later, use the Metric Insights Console.
Docker Settings
4Enter Docker registry URL (hostname or hostname:port) (press Enter to skip):
Docker registry address from which Metric Insights container images will be pulled. Enter a valid hostname or hostname:port.
Networking Settings
5Set Network Load Balancer scheme to internal? (Y/n):
Choose whether the Network Load Balancer is internal (private) rather than internet-facing (public).
6Enter web service hostname (press Enter to skip):Optional hostname (DNS name/alias) used to access the Metric Insights web interface.
Performance Settings
7Enable high-load configuration? (Y/n):
Enable performance-optimized configuration for high concurrency and heavy workloads.
Storage Settings
8Select shared storage type (nfs or glusterfs) [nfs, glusterfs] (default: nfs, press Enter to use default):
Enable AWS ElastiCache (Redis) to store PHP session data.

Do you want to configure advanced parameters? (y/N):
Choose whether to configure advanced options for cache, database, deployment behavior, logging, performance, security, and storage. After completing each section, you can finish by selecting q.
Advanced Cache Settings
9Enable AWS Elasticache (Redis) for PHP sessions? (Y/n):Enable AWS ElastiCache (Redis) to store PHP session data.
Advanced Database Settings
10Enter MySQL timezone (if different from application) (default: PST8PDT, press Enter to use default):
Set the MySQL engine time zone if it differs from the application time zone. If not specified, the application time zone is used.
Advanced Deployment Settings
11Prevent web master and slave on same ECS instance? (Y/n):
Prevent scheduling the primary and secondary web instances on the same ECS instance to improve availability.
Advanced Logging Settings
12Enable additional logger service? (Y/n):Enable the additional logger service that collects application logs.
Advanced Performance Settings
13Enter number of Data-Analyzer search processes (default: 2, press Enter to use default):Set the number of Data Analyzer search processes to run for query/search workloads.
Advanced Security Settings
14Allow remote command execution? (Y/n):
Allow execution of administrative remote commands (typically used for support or advanced administration).
Advanced Storage Settings
15Enable shared drive in web container? (Y/n):
Enable mounting a shared network drive into the web container to provide a shared folder.
16Enter EFS volume ID (optional) (press Enter to skip):
Specify an AWS EFS file system/volume ID to mount as the network shared folder. Leave blank to skip.

Swarm

 
#Question TextDescription
1Enter output file path for Swarm deployment config (default: ./, press Enter to use default):
Path and filename where the Docker Swarm deployment configuration file will be generated and saved.
2Enter timezone (default: UTC, press Enter to use default):
Application time zone used by Metric Insights for timestamps and scheduling. This affects initial installation and is ignored during updates; to change it later, use the Metric Insights Console.
Database Settings
3Enter MySQL hostname:Hostname or IP address of the MySQL server used by Metric Insights.
4Enter MySQL database name (default: dashboard, press Enter to use default):Name of the MySQL database that Metric Insights will use.
5Enter MySQL port (default: 3306, press Enter to use default):Network port on which the MySQL server is listening for connections.
6Enter MySQL admin username (default: miadmin, press Enter to use default):
MySQL administrative user with privileges to initialize and manage the Metric Insights database.
7Enter MySQL admin password: | Confirm enter mysql admin password:Password for the MySQL administrative user.
Deployment Settings
8Enter number of web instances [>=1] (default: 2, press Enter to use default):Number of web service instances to deploy in the Swarm stack for handling user traffic.
Docker Settings
9Enter Docker registry URL (hostname or hostname:port) (press Enter to skip):
Docker registry address from which Metric Insights container images will be pulled (hostname or hostname:port).
Networking Settings
10Enter web service hostname (press Enter to skip):Optional hostname (DNS name/alias) used to access the Metric Insights web interface.
11Enter Dataprocessor hostname (default: dataprocessor, press Enter to use default):Hostname used by services to reach the Dataprocessor component.
Performance Settings
12Enable high-load configuration? (Y/n):
Enable performance-optimized configuration for high concurrency and heavy workloads.
Storage Settings
13Enter NFS server address:
Hostname or IP address of the NFS server that provides the shared data folder required by Metric Insights.
14Enter NFS shared folder path (default: /opt/mi/data, press Enter to use default):
Path to the shared NFS folder that will be mounted and used for Metric Insights shared data.

Do you want to configure advanced parameters? (y/N):
Choose whether to configure advanced options for database, performance, security, and storage. After completing each section, you can finish by selecting q.
Advanced Database Settings
15Enter MySQL timezone (if different from application) (default: PST8PDT, press Enter to use default):
Set the MySQL engine time zone if it differs from the application time zone. If not specified, the application time zone is used.
Advanced Performance Settings
16Enter number of Data-Analyzer search processes (default: 2, press Enter to use default):Set the number of Data Analyzer search processes to run for query/search workloads.
Advanced Security Settings
17Allow remote command execution? (Y/n):
Allow execution of administrative remote commands (typically used for support or advanced administration).
Advanced Storage Settings
18Enter shared drive folder path (or leave empty to disable):
Optional host folder path to mount into the web container as an additional shared drive. Leave empty to disable.
19Enter NFS server address for shared drive (press Enter to skip):
Hostname or IP address of the NFS server providing the shared drive folder. Leave blank to skip.

4. Finish Constructing the Command

  1. After the configuration is completed, the installer displays the generated command.
  2. Select whether to run the generated installation command ('Y'), or to cancel ('n').