By default, the application is not available to any users until it is activated and users are granted access.
Before you begin
The persistent volume claim (PVC) is automatically created when you complete the deployment of the Maximo® Visual Inspection application. To specify the configuration details of the PVC for deployment, check that you have the following resources:
-
A storage class that supports the ReadWriteMany access mode. For more information, see ReadWriteMany
If the storage class that you specify does not support the ReadWriteMany access mode or the class
name does not exactly match an available Red Hat® OpenShift® storage class name,
the deployment fails.
A storage class that is supported by your cloud vendor.
The default storage class is ibmc-file-gold and is suitable for deployments
to IBM Cloud®. However, some cloud vendors do not support the default storage class.
To see a list of available storage classes, use the following command in the Red Hat OpenShift console:
oc get sc
Procedure
-
In Maximo Application Suite, open the Suite Administration
Catalog page and then click Visual Inspection.
- Optional:
Select the number of IBM® Maximo Visual Inspection Edge licenses that you want to use and then click Continue.
By using IBM Maximo Visual Inspection Edge, you can call models that were trained in Maximo Visual Inspection to complete inspections from edge devices.
Note: When an insufficient number of AppPoints are available for deploying, you can continue to
complete the application configuration. The application is automatically deployed when the
sufficient number of AppPoints are available.
- Optional:
To keep the application up to date by subscribing to the upgrade channel, click Channel subscription.
When new versions are available, they are added to the channel and updated in your suite instance either automatically or after manual approval.
- Optional:
To keep the application up to date by selecting the version that you want to manually deploy,
click Manual.
If you want to deploy IBM Maximo Visual Inspection version 8.5.0, complete the remaining steps in this
procedure. If you want to deploy an earlier version, complete the deployment steps for that
version.
- Select an update method.
To subscribe to automatic updates, set
Automatic approval to On. When new application updates
are available, they are added to the channel and automatically updated in your Maximo Application Suite instance.
To subscribe to manual updates, set
Automatic approval to Off. When new application
updates are available, you receive a notification, and you can manually approve the
updates.
- Subscribe to a channel by selecting a version from the list.
For
example, select channel 8.x.x, 8.x, 9.x.x, or 9.x.
- Click Subscribe to channel
<version>
- Optional:
On the Deploy application page, configure the IBM Maximo Visual Inspection Edge add-on.
-
On the Deploy application page, click Show advanced settings and then set System managed to off.
-
For the PVC configuration, specify the storage class and the storage size.
To specify the minimum storage size of 100 gibibytes, enter 100 Gi.
If you are using the ocs-storagecluster-cephfs storage class, complete the following steps as a workaround.
-
Add
anyuid scc to the Maximo Visual Inspection service account by entering the following command:
oc adm policy add-scc-to-user anyuid system:serviceaccount:
{{ mas_app_namespace }}:ibm-mas-visualinspection-operator
When the application is ready for deployment:
-
Apply the custom security context constraints (SCC).
-
Remove
anyuid scc from the Maximo Visual Inspection service account by entering the following command:
oc adm policy remove-scc-from-user anyuid system:serviceaccount:
{{ mas_app_namespace }}:ibm-mas-visualinspection-operator
-
Apply the changes and click Deploy
On the Applications page for Visual
Inspection, you can monitor the deployment status. If the deployment fails, delete and then
redeploy the application. Deployment is complete when the Application card
displays the Monitor is ready message and the Activate button
is displayed . Click Activate.
If the deployment fails, delete and redeploy the application.