Tech ONTAP Blogs

NetApp DataOps Toolkit v2.5 – Secure your AI/ML data

moglesby
NetApp
696 Views

A new version, v2.5, of the NetApp DataOps Toolkit is now available. In addition to some minor bugfixes, this new version adds support for SnapLock volumes and custom mount options within the NetApp DataOps Toolkit for Traditional Environments.

 

Secure your AI/ML datasets with NetApp SnapLock

 

SnapLock is a high-performance compliance solution for organizations that use WORM storage to retain files in unmodified form for regulatory and governance purposes. SnapLock helps to prevent deletion, change, or renaming of data to meet regulations such as SEC 17a-4, HIPAA, FINRA, CFTC, and GDPR. With SnapLock, you can create special-purpose volumes in which files can be stored and committed to a non-erasable, non-writable state either for a designated retention period or indefinitely.

 

Now, you can create SnapLock volumes using the NetApp DataOps Toolkit for Traditional Environments. If you have configured SnapLock on your ONTAP system, then creating a SnapLock volume is as easy as running the following command.

 

netapp_dataops_cli.py create volume --name=<volume_name> --size=<volume_size> --snaplock-type=<compliance|enterprise>

 

For example, to create a 10TB “enterprise mode” SnapLock volume named “project1,” run the following command.

 

netapp_dataops_cli.py create volume --name=project1 --size=10TB --snaplock-type=enterprise

 

To create a 10TB “enterprise mode” SnapLock volume named “project1” from within a Python program or Jupyter Notebook, invoke the following function call.

 

# Import function
from netapp_dataops.traditional import create_volume

# Create SnapLock volume
create_volume(volume_name="project1", volume_size="10TB", snaplock_type="enterprise")

 

For more information on compliance mode vs. enterprise mode, refer to the SnapLock documentation.

 

For additional information on SnapLock, refer to TR-4526.

 

Customize your volume mounts

 

You can now specify custom NFS mount options when mounting a volume using the NetApp DataOps Toolkit for Traditional Environment’s `mount volume` command or mount_volume() function.

 

To specify custom NFS mount options when running the `mount volume` command, simply add the `--options` argument to your command as shown in the following example.

 

netapp_dataops_cli.py mount volume --name=project1 --mountpoint=/mnt/project1 --readonly --options="rsize=262144,wsize=262144,nconnect=16"

 

To specify custom NFS mount options when calling the mount_volume() function, simply add the “options=“ argument to your function call as shown in the following example.

 

# Import function
from netapp_dataops.traditional import mount_volume

# Mount existing volume
mount_volume(volume_name="project1", mountpoint="/mnt/project1", readonly=True, mount_options="rsize=262144,wsize=262144,nconnect=16")

 

Further reading

 

To learn more about the NetApp DataOps Toolkit, visit the project on GitHub. You can find full release notes for v2.5 here.

Public