#Ontap how to automatically add who created a volume in its attributes

1 messages · Page 1 of 1 (latest)

pallid gust
#

I would like to have the creator of a volume added to the vol attributes, and have that done in the background by ontap.
Is the attribute "user-id" supposed to be for creator? if so, I cannot find in options how to turn feature on. if not , how can we add that to the attributes .

neat musk
#

If you want to know what user creates a volume, you could monitor the audit logs - /etc/log/mlog/audit.log.

pallid gust
#

I was going to add this to the details.... not in the logs.... we are not going to keep years of logs... as a matter of fact on the aiq.netapp site, you only keep a few months of logs/autosupports uploaded... we don't keep years of logs. in one of the databases that is kept at the system shell or lower, there should be something there

neat musk
#

I don't think you need to keep the logs to document who created a volume, though it would require some automated log analysis / scripting.

#

There's probably a way to do this via RBAC as well. For example restricting what users can create a volume in a given SVM and ratcheting down access

pallid gust
#

this is not about restrictions, it is about information... e.g. I have a volume from 2021 that I have questions about, who created it... but we don't keep emails for that long and we don't keep logs for that long, and unfortunately not everything goes through the ticketing system... I am always amazed what information is kept at the lower levels

neat musk
#

If you're looking to submit a feature request I'd get in touch with your account team and request an FEPVR for this feature.
As far as I am aware we do not have a databse with this info.

pallid gust
#

thanks.... if there is one, I will add it to the chat....
Thanks for your time

oblique nexus
#

Now that I think of it that could actually be useful. Usually when there's a volume nobody knows about we check the creation-time or if there are any snapshots with a custom name but that's about it.
Would actually be helpful to add a field "created-by" that ONTAP would automatically fill with the ONTAP-user.
There are so many fields already (vol show [vol] -fields) don't think it would hurt to add one more.

If you want you could also use tags to manually document the user: https://docs.netapp.com/us-en/ontap/assign-tags-volumes-task.html
But that's only accessible via System Manager and REST, not via CLI unfortunately.

uncut carbon
#

I agree it would be very nice to be able to add nodes to the volumes, luns and aggregates, much like the notes you can put on a VM in VMWare... in my mind it should not be that hard to add this to ONTAP, and with my experience with NetApp, we should have it in a dacades times 😉

ivory sandal
#

it's a simple scripting exercise to extract that info from the audit logs and write it to a CSV file or similar

stuck coral
ivory sandal
#

that's actually a neat feature 🙂