Object operation modes
AFM to cloud object storage supports ObjectFS and ObjectOnly behaviors.
These two behaviors are defined during the creation of a fileset by using the mmafmcosconfig --object-fs command. If you specify the --object-fs option while you create an AFM to cloud object storage fileset, the ObjectFS mode behavior is enabled. If you skip the --object-fs option, an AFM to cloud object storage fileset is created with the ObjectOnly mode. The behavior is determined based on the workload requirement. When a mode is enabled, you cannot change it later.
- objectFS mode
- In the objectFS mode, an AFM to cloud object storage fileset is synchronized with a cloud object
storage. AFM to cloud object storage RO, LU, and IW modes of filesets
synchronize metadata to and from a cloud object storage. It includes operations such as
readdir and lookups to synchronize the data.
Objects are downloaded when they are read on demand or worked upon by an application that is running
on an AFM to cloud object storage fileset. The
objectfs
enabled AFM to cloud object storage fileset behaves like an AFM fileset. For SW and IW modes-enabled AFM to cloud object storage fileset, the AFM to cloud object storage uploads files as objects to the object storage server. For an AFM RO, LU, and IW modes-enabled AFM to cloud object storage fileset, AFM automatically synchronizes objects from the cloud object storage to the AFM to cloud object storage fileset as files. Enable this parameter if the AFM to cloud object storage fileset behaves like an AFM modes fileset. - ObjectOnly mode
- If the object-fs parameter is not defined, the
ObjectOnly parameter will get enabled. This behavior is set on the AFM to cloud object storage filesets by default.
With the ObjectOnly mode, refresh of an AFM to cloud object storage fileset (AFM RO, LU, and IW mode fileset) with a cloud object storage will not be on-demand or frequent. You need to manually download data or metadata from the cloud object storage to the AFM to cloud object storage fileset, meanwhile data transfer from the AFM to cloud object storage fileset to the cloud object storage works automatically without manual intervention.
Enable this parameter on an AFM to cloud object storage fileset to avoid frequent trips and reduce the network contention by selectively performing the download or upload operations.