Administering storage policies for object storage

Use the following information to create, list, and change storage policies for object storage.

Important:
  • CES Swift Object protocol feature is not supported from IBM Storage Scale 5.2.0 onwards.
  • IBM Storage Scale 5.1.8 is the last release that has CES Swift Object protocol.
  • IBM Storage Scale 5.2.0 will tolerate the update of a CES node from IBM Storage Scale 5.1.8.
    • Tolerate means:
      • The CES node will be updated to 5.2.0.
      • Swift Object support will not be updated as part of the 5.2.0 update.
      • You may continue to use the version of Swift Object protocol that was provided in IBM Storage Scale 5.1.8 on the CES 5.2.0 node.
      • IBM will provide usage and known defect support for the version of Swift Object that was provided in IBM Storage Scale 5.1.8 until you migrate to a supported object solution that IBM Storage Scale provides.
  • Please contact IBM for further details and migration planning.
Before you create a storage policy with the file-access (unified file and object access) function that is enabled, the file-access object capability must be enabled. For more information, see Object capabilities and Managing object capabilities.
  • To create a new storage policy with the unified file and object access feature that is enabled, run the following command:
    mmobj policy create sof-policy --enable-file-access

    A sample output is as follows:

    [I] Getting latest configuration from ccr
    [I] Creating fileset /dev/gpfs0:obj_sof-policy
    [I] Creating new unique index and build the object rings
    [I] Updating the configuration
    [I] Uploading the changed configuration
  • To list storage policies for object storage with details of functions available with those storage policies, run the following command:
    mmobj policy list --verbose

    A sample output is as follows:

    
    Index       Name          Deprecated Fileset  Fileset Path                       Functions               Function Details  File System
    ----------------------------------------------------------------------------------------------------------------------------------------
    0           SwiftDefault  object_fileset      /ibm/cesSharedRoot/object_fileset                                            cesSharedRoot
    11751509160 sof-policy    obj_sof-policy      /ibm/cesSharedRoot/obj_sof-policy  file-and-object-access  regions="1"       cesSharedRoot
    11751509230 mysofpolicy   obj_mysofpolicy     /ibm/cesSharedRoot/obj_mysofpolicy file-and-object-access  regions="1"       cesSharedRoot
    
  • To change a storage policy for object storage, run the following command:
    mmobj policy change
  • To change the default storage policy, run the following command:
    mmobj policy change sof-policy --default
    The system displays sof-policy as the default storage policy.
For more information about the mmobj policy command, see mmobj command.