Everpure Flash Array NFS: Making a read/writeable snapshot clone using a Python script

In this blog post I am going to build upon the example shown in my blog post Everpure Flash Array NFS: Making a read/writeable snapshot clone using the Purity GUI and show how to automate the process by leveraging the Purity REST API, and the pypureclient Python package.

The referenced post showed how to use the Purity GUI to clone one or more file systems that were part of a Pod in Purity. The cloned file systems could then be exported with new export names, and revised policies and rules. The approach allowed for the rapid cloning of the entire file system, which can be very useful for database administrators wishing to rapidly clone an NFS based database.

Furthermore, the cloned file systems consume very little capaciy. Since they are exact copies of the Pod that was cloned, the newly created file systems require only the delta that between the source and target. This can be very helpful when cloning larger databases when storage capacities are limited.

Whereas the GUI approach is simple enough that everyone should feel comfortable doing it, users may also require a scripted version that allows for execution under a job schedule, or if the DBA team does not have credentials to log into Purity.

Continue reading →