Schedule or update a file system snapshot time interval
Use this operation to schedule or disable automatic snapshots for a specified IBM Storage Scale file system, and to update the file system snapshot frequency.
About this task
During pattern deployment, if you enter a value for the field Snapshot Interval for the automatic snapshot (minutes), then a default snapshot, named fileSystemName_snap is scheduled. You can enable, disable, or change the time interval of this default snapshot by using this operation.
Procedure
- Expand the Create and Manage Snapshots section of the GPFS_Manager operations.
- Expand the Schedule or update a file system snapshot time interval node.
- To enable or disable the automatic snapshot function, select or clear the Enable Automatic Snapshot check box.
- With automatic snapshot enabled, in the Snapshot
Interval field, specify the frequency, in minutes, for
the snapshot operation to be completed. For example, to specify a snapshot interval of 1 hour, enter 60.
- In the File system name field, specify the name of the IBM Storage Scale file system on which to apply this snapshot configuration.
- In the Snapshot name field, specify a unique name of the snapshot to associate with this operation on this file system.
- Click Submit.
- Click Confirm when asked to validate your request.
Results
When you run this operation, a new entry is displayed under
the Operation Execution Results list, with
the name Schedule or update a file system snapshot time
interval. When completed, the status of the operation
changes from Active to Done. The Return Value column
displays a message that the operation is completed, and a link to
the log file, similar to the following example:
GPFS-Manager.11412630712451.GPFS_Manager: Click here to view the
results.
Click the link to display the log results. Verify
that the log file has no errors. The output looks similar to the following
example:
2014-10-15 17:15:24.248681
Call update snapshot enable=True, snapshotTime=60
Update snapshot time interval to 3600 minutes for deviceName=bmFilesystem1, fsName=None, snapshot=bmFilesystem1_snap
Success calling method with enableParam=True, snapshotTime=3600, deviceName=bmFilesystem1, snapshotName=bmFilesystem1_snap