After enabling auditing I can see the new security.evt filling up nicely. Using the Computer Management MMC, I changed the log retention to "Overwrite events as needed" and tried to increase the log file from the default 65536 KB to something larger. No matter what value I use, it will always revert back to 65536 KB after I check the settings again. I verified that the log does start overwriting old events once it reaches this limit of 64MB.
I see that there is also a registry key on the CIFS server for, MaxSize, which has the value 67108864 (which is about 64MB). Tried changing this but it seems to get reset back to it's value as well.
Has anyone got the CIFS security event logs to become larger than this 64MB limit I'm running into? I've seen other posts about increasing the limits well above this so I'm wondering what's going on here.
Oh, and I have a second question: Can multiple CIFS server use the same security log on a file system mounted to the physical data mover? Is this a good thing to do? I'm currently using a seperate file system for each VDM (one CIFS server per VDM). I understand that it would filled very quickly, but if I could sort out the file size limitation it wouldn't be an issue. What happens in a fail over situation? I suppose I would have to replicate the file system we are using to hold the security logs as well.
Environment:
NAS version 5.6.50-2
Celerra NS-G8
Using Windows Server 2003 as the CIFS clients and for configuring the CIFS
This answer was so obvious I don't know how I missed that... doh! I haven't been able to confirm this was the issue yet, but now that I think about, I'm certain it was the GPO.
I have another question about relocating the CIFS audit logs:
After running a "server_checkup server_x" I notice that even the physical data mover is recommended to move the audit log files to a different file system. What is logged on the physical data mover vs. what is logged on the CIFS audit log? I know that the CIFS user actions will be logged at the VDM level, but what is logged at the PDM level? Is that only the CAVA actions and the NDMP backup sessions?
Secondly, is it possible or recommended to use one file system for ALL CIFS/PDM audit logging? Or is it only feasible to use one extra file system PER VDM (and have it mounted to the VDM) for storing these larger log files?
Also what happens during failover? I suppose I will need to create a replication session for these additional audit log file systems, otherwise in a DR, the event logs will be missing.
Once I've verified that the GPO issues resolved my problem, I'll mark the question answered
The audit log on the physical data mover will contain all events for all CIFS servers that were created on the physical data mover (not on the VDMs).
So if all your CIFS servers are on VDMs it will only contain info for the global CIFS server used for AV checking (if configured)
NDMP or other services don’t use the CIFS logs
I wouldn’t bother to create extra file systems – the recommendation to move the logs onto an extra file system is mostly because of space and not performance.
I would rather put them onto a data file system that also gets replicated.
Or at least one fs for all logs of that VDM – managing lots of small file systems is just a pain
And yes if you moved the log you have to make sure its available after a failover as well
The audit log on the physical data mover will contain all events for all CIFS servers that were created on the physical data mover (not on the VDMs).
So if all your CIFS servers are on VDMs it will only contain info for the global CIFS server used for AV checking (if configured)
NDMP or other services don’t use the CIFS logs
OK that's what I was expecting. Thanks!
I wouldn’t bother to create extra file systems – the recommendation to move the logs onto an extra file system is mostly because of space and not performance.
I would rather put them onto a data file system that also gets replicated.
Or at least one fs for all logs of that VDM – managing lots of small file systems is just a pain
And yes if you moved the log you have to make sure its available after a failover as well
That sounds much more sensible! I'll move the audit logs to the production file systems as it is already replicated and then I won't have to manage an additional file system (and won't need to create another replication session)
Really appreciate the responses from this forum. Hope it helps other newbies like myself
if you have multiple CIFS servers in one VDM ..their audit logs will be combined together but you can still filter them by CIFS server in Event viewer.
You would want to make sure the file system(s) that the newly redirected event log resides on is also being replicated. Therefore, as part of your switchover/failover/reverse operations, in addition to the VDM and (production) filesystems, you also will include in your runbook doing the same for the file systems that contains the event logs so that they are available for the corresponding CIFS servers that were replicated and brought online when the VDM was loaded on the peer array.
We’ve never done anything special with respect to failover for our current VDM’s when we’ve done data mover reboots during software upgrades. I’m not sure what we would need to do. I thought the backup data mover takes on the role of the primary during a failover.
Can you explain more or point me to some documentation?
bergec
275 Posts
1817
1
Posted February 3rd, 2011 23:00
Have you checked GPOs (I think you can use server_security to display current settings on the Data Mover)
Claude