I ran into a problem though. Should that CVM ever go down the auto-snapshot function that I created would stop working.
So I ventured to do the next best thing. Create a VM, which has the ability to move around, that would ssh into an available CVM and run the task for me. But the problem with that one is I am taking up resources that I would not need to use otherwise.
So why not do the next best thing right? Take the script and copy it to all the CVMs and schedule the task? I'm sure you can see the problem immediately. Now I'm creating 3 snapshots instead of the one. I could fix this by doing some error checking though. Have the script look at the snapshots and if one exists between a certain date and time range skip it. Turns out this doesnt work quite like I had hoped it would for a few reasons.
So, it needs to be integrated into or inside of Ergon. Basically make it the type of object as a health check, one that is replicated and ran across all of the nodes and managed by Acropolis. Maybe even a function of Cerebro.
Best answer by patrbng
Just in case you haven't tried it. http://next.nutanix.com/t5/Nutanix-Education-Blog/Configuring-a-Protection-Domain/bc-p/5458