![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 2250589.1 : Oracle SuperCluster Best Practice: Audit Log in Dataset with a quota
Instructions on how to move the audit log to a ZFS dataset with a quota In this Document
Applies to:Oracle SuperCluster T5-8 Full Rack - Version All Versions to All Versions [Release All Releases]Oracle SuperCluster M7 Hardware - Version All Versions and later Oracle SuperCluster T5-8 Hardware - Version All Versions to All Versions [Release All Releases] Oracle SuperCluster T5-8 Half Rack - Version All Versions to All Versions [Release All Releases] Oracle SuperCluster M6-32 Hardware - Version All Versions to All Versions [Release All Releases] SPARC GoalInstruct how to move the audit log to a ZFS dataset with a quota. SolutionIt is a best practice on SuperCluster to move the audit log location to a zfs dataset that contains a quota. This practice prevents excessive auditing from filling up the rpool. The following instructions illustrate how to move the audit log location to a zfs dataset and add a quota. The procedure is appropriate for dedicated domains, IOdomains, and zones.
Create a zfs dataset. zfs create -o mountpoint=/audit rpool/audit
Configure audit. svccfg -s svc:/system/auditd:default setprop audit_binfile/p_dir = astring: "/audit"
Inform audit. svcadm refresh svc:/system/auditd:default
Set quota. zfs set quota=5G rpool/audit
That is all there is to it.
What happens when the dataset fills up and no further audit logs are able to be written ? The answer is that it depends. By default, Solaris has always enabled the 'continue (cnt)' audit policy. 'cnt' means that audit records generated after the dataset has filled up will be dropped. Thus running processes and future processes will continue to work as expected. When the 'continue (cnt)' policy is not enabled, then the audit subsystem will block and any auditable activity such as logins will also block.
Attachments This solution has no attachment |
||||||||||||||
|