Option 1. Deploying Infrastructure management as a containerized deployment (podified).
Complete these steps to install Infrastructure management as a containerized deployment.
Prerequisites
-
Ensure the following operators for
Infrastructure management
have been installed. For more information, see Enabling operators after IBM Cloud Pak for Multicloud Management installation.-
ibm-management-im-install
for Infrastructure management. For more information, see Infrastructure management. -
ibm-management-infra-vm
for provisioning virtual machines and instances. For more information, see Provisioning Virtual Machines and Hosts. -
ibm-management-infra-grc
for Infrastructure management policies and profiles. For more information, see Policies and Profiles Guide.
-
-
Ensure IBM Cloud Pak for Multicloud Management is setup for LDAP authentication. You need an existing user-group from this LDAP repository to use for the Infrastructure management deployment.
Deploy the ibm-management-im-install operand
Install an instance of the Infrastructure management using the OpenShift Container Platform console or the CLI (command-line tools).
-
Create an installation instance CR file
<im-install-cr.yaml>
using the following yaml file and update theapplicationDomain
,imagePullSecret
,initialAdminGroupName
and accept license.apiVersion: infra.management.ibm.com/v1alpha1 kind: IMInstall metadata: labels: app.kubernetes.io/instance: ibm-infra-management-install-operator app.kubernetes.io/managed-by: ibm-infra-management-install-operator app.kubernetes.io/name: ibm-infra-management-install-operator name: im-iminstall namespace: management-infrastructure-management spec: applicationDomain: <YOUR_IM_HTTPD_ROUTE> imagePullPolicy: Always imagePullSecret: ibm-management-pull-secret initialAdminGroupName: <YOUR_LDAP_USER_GROUP> license: accept: true
Where:
YOUR_IM_HTTPD_ROUTE is a user-defined route, which must include a name for your installation plus part of your IBM Cloud Pak for Multicloud Management console's route. Use the following oc command to obtain the console route and modify it to derive your Infrastructure management route.
oc -n ibm-common-services get route cp-console --template '{{.spec.host}}'
Example output:
cp-console.apps.mycluster.os.fyre.ibm.com
Replace the first section
cp-console
withinframgmtinstall
to create YOUR_IM_HTTPD_ROUTEFor example:
inframgmtinstall.apps.mycluster.os.fyre.ibm.com
YOUR_LDAP_USER_GROUP is an existing user-group defined in your LDAP repository being used by IBM Cloud Pak for Multicloud Management installation. As part of the initial setup, this LDAP group is created in Infrastructure management to match your existing LDAP group by name, and assigned an account role which facilitates SSO login.
Important:
You must specify an LDAP user-group and it must contain at least one user that is able to login to the IBM Cloud Pak for Multicloud Management UI. For example, you have an existing LDAP group that is named group100 and a user with the username user100 is a member of the group. You enter group100 for the value of
<YOUR_LDAP_USER_GROUP>
.databaseRegion Define it only if deploying as part of a multi-region setup. Add the databaseRegion attribute to spec section of the yaml and specify a unique number for the value. If not specified, this value will default to
0
. For example,databaseRegion: 99
.httpdAuthConfig imconnectionsecret
ACCEPT LICENSE set the accept value to
true
to accept the license. -
Deploy the installation instance CR yaml using one of the following methods:
-
Using the CLI login to your OpenShift cluster where the IBM Cloud Pak for Multicloud Management is installed. For example,
oc login --token=`<sha256~EUe-BThLn-qRm32K16QDqLMCQZz5VKlM42JKIj2-U7M>` --server=https://`<api.mycluster.os.fyre.ibm.com>`:6443
oc apply -f im-install-cr.yaml
-
Using the OpenShift Console
Create an instance to deploy Infrastructure management.
-
Browse to Operators > Installed Operators.
-
Switch the project to
management-infrastructure-management
. -
Click IBM Infrastructure Management Install.
-
Click Create Instance.
-
Switch to YAML view, select Update YAML.
-
Copy and paste the installation instance yaml created in step 1.
-
Click Create.
-
-
-
Verify the pods are running (it can take 15 minutes or more for the pods to start).
oc get pods -n management-infrastructure-management