How to create or remove auditing staging (MDV_AUD) volumes
Applies to
- ONTAP 9
- MDV_aud (Auditing Staging Volume)
Description
This article describes the procedure to create or remove auditing staging (MDV_aud) volumes.
- MDV (Metadata Volume) auditing volumes are referenced as
MDV_aud_
- This article does not apply to
MDV_CRS*
volumes
MDV_aud volumes enables a storage administrator to monitor user actions such as access and modification of data files. |
|
MDV_CRS volumes are used for SVM-DR and MetroCluster configuration replication
|
|
Procedure
1. Check for the presence of auditing volumes.
cluster1::> volume show -volume MDV_aud* -fields aggregate
Note: Proceed only if auditing volumes are present.
2. Gather the current auditing configuration.
cluster1::> vserver audit show -instance
3. Disable auditing repeating for each configured SVM.
cluster1::> vserver audit disable -vserver <vserver name>
4. Delete the auditing configuration repeating for each configured SVM.
cluster1::> vserver audit delete -vserver <vserver name>
Note: This will not delete already-created audit logs stored in the log destination path from step 2.
5. Check for the presence of auditing volumes.
cluster1::> volume show -volume MDV_aud* -fields aggregate
Note: At this point all MDV_aud auditing volumes should be removed. Before proceeding perform the task that was blocked by the presence of these volumes as described earlier in this article.
6. Recreate the auditing configuration for each SVM using the data collected in step #2.
cluster1::> vserver audit create -vserver <vserver name> -destination /audit_log
7. Enable the auditing configuration for each SVM using the data collected in step #2.
cluster1::> vserver audit enable -vserver <vserver name>
8. Check for the presence of auditing volumes.
cluster1::> volume show -volume MDV_aud* -fields aggregate
- If the vserver in question is a SVM-DR destination vserver, you will need to quiesce and break the snapmirror relationship before the auditing configuration can be removed. After collecting the configuration from step 2 above, run the below commands before proceeding with steps 3-5.
::> snapmirror quiesce -destination-path <DR-Vserver>:
::> snapmirror break -destination-path <DR-Vserver>:
The staging volumes will be removed and should be restored when the SVM-DR is resynced:
::> snapmirror resync -destination-path <DR-Vserver>:
Additional Information
- How auditing works
- Basic auditing concepts
- How the ONTAP auditing process works
- Aggregate space considerations when enabling auditing
- Auditing requirements and considerations
- Limitations for the size of audit records on staging files
- What the supported audit event log formats are
- Please note the audit-policy-change event is added by default
- Will my audit files get deleted if MDV volumes are removed?
TR-4569 - Security Hardening Guide for NetApp ONTAP 9