Enabling object storage

Enable object storage so that the new data you add to inspection data sets is automatically stored in object storage.

Before you begin

As an application administrator, complete the following tasks:

  • In Maximo® Application Suite, open the Suite administration resource and then click the Workspace tab. In the Overview section, take note of the Workspace ID. The workspace ID was created when you installed Maximo Application Suite.
  • In Red Hat® OpenShift® web console, enable object storage for use by completing the Installing Object Storage procedure in the Maximo Application Suite documentation.
  • Create a storage bucket and take note of its name. For more information, see Storage bucket.
  • Check that the Maximo Application Suite object storage user has read and write access to the object storage buckets in the Maximo Application Suite and Maximo Visual Inspection configurations.
Note: If any of this information is incorrect or read and write access is not provided, the status in Maximo Visual Inspection reports as Not Ready.

Procedure

  1. Log into the Red Hat OpenShift web console and from the side navigation menu, click Administration > CustomResourceDefinitions
  2. On the CustomResourceDefinitions page, click the VisualInspectionApp custom resource.
  3. On the YAML tab, change the objectStorageEnabled field to true.
                                                                                                                                                                
            objectStorageEnabled: true                                                                                                                                            
    
  4. Add the storage bucket name that you created.
    For example, enter the following details for a workspace that is named myWorkSpace that has a bucket that is named mvi-inspection-bucket:
    
                                           
            objectStorageEnabled: true 
    
            objectStorageBucketNames:
                myWorkSpace: mvi-inspection-bucket                                                                                                                           
    
    Object storage is enabled for use. For more information, see Data storage migration.
If the system change that enables object storage is not recognized, restart the vision-service pod.