Operations Manager 2007 R2 Installation and Configuration (Step by Step) – Part 12 “Configure Audit Collection Service”
this post series I went through step by step into System Center Operations Manager 2007 R2 starting from “Pre-Build”, then I continued with “Installing Operations Manager Database”, followed by another post “Installing Root Management Server”, then “Configure GPO for SCOM”, then followed by “Configuring SQL Reporting Service”, then followed by “Installing Data Warehouse Database”, then followed by “Installing Audit Collection Service”, then followed by “Download and Import Management Pack”, then followed by “Discover Windows and Deploy SCOM Agents”, then followed by “Discover Linux/Unix and Deploy Agents”, and lately followed by “Configure Notification”.
In this post I will go through basic configuration in System Center Operations Manager 2007 R2, and the focus in this post will be on Configure Audit Collection Service,
Complete post & post series can be found here: https://blogs.technet.com/b/meamcs/archive/2011/09/17/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-12-configure-audit-collection-service.aspx
Steps are as the following:
1. Change the ACS Default Retention Period:
Step |
Description |
Screenshot |
User local administrator privileges to log on to the SCOM 2007 R2 Root Management Server (SCOM) [Member of "OpsMgrAdmins" Group]. This account must also has right on ACS Database |
||
1. |
Open the SQL Server Management Studio tool and connect to the database engine |
|
2. |
Expand the Databases folder, and select the OperationsManagerAC database |
|
3. |
Right-click to open the context menu and select New Query |
|
4. |
In the Query pane, type the following: USE OperationsManagerAC UPDATE dtConfig SET Value = <number of days to retain data + 1> WHERE Id = 6 Then click Execute on the toolbar. This runs the query and then opens the Messages pane, which should read “ (1 row(s) affected) .” |
|
5. |
To view the new setting, delete the previous query text from the Query pane and type then execute SELECT * FROM dtConfig. This opens the Results pane below the Query pane, Look at the value in the sixth row; it should now equal the value you entered for <number of days to retain data + 1>. |
|
6. |
Restart the Operations Manager Audit Collection Service for this to take effect |
2. Configure Audit Collection Server & Import ACS Reports:
Step |
Description |
Screenshot |
User local administrator privileges to log on to the SCOM 2007 R2 Root Management Server (SCOM) [Member of "OpsMgrAdmins" Group]. This account must also has right on ACS Database |
||
1. |
On the System Center Operations Manager console, Select Monitoring, Operations Manager, Agent, Agent Health State |
|
2. |
Select all the servers in the Agent State panel (right side) that you plan to enable as Audit Forwarder, then from Menu Select Action, Health Service Tasks, Enable Audit Collection |
|
3. |
Now it is time to import Audit Reports to Operations Manager (below steps will be run on ACS Database Server): Create a C:\ACS folder on the server that is hosting Audit Reporting. Refer to the server as %COMPUTERNAME%. |
|
4. |
Copy uploadauditreports.cmd, the Models and Reports folders from the System Center Operations Manager 2007 R2 CD (located at ReportModels\ACS\) and copy the reportingconfig.exe from the SCOM 2007 R2 CD (under the Support Tools folder) to the same folder that you created above. |
|
5. |
On the server, open a CMD prompt, change to the "c:\tools\audit reports\acs" directory and run the following command: UploadAuditReports "%COMPUTERNAME%" “https://%COMPUTERNAME%/reportserver" “c:\acs” (Where “%COMPUTERNAME%” is ACS SQL DB Server Name) And Click OK on any dialog you receive. This creates a new data source called Db Audit, uploads the reporting models Audit.smdl and Audit5.smdl and uploads all reports in the ACS\REPORTS directory |
|
6. |
When Command Complete, open Internet Explorer and enter the following address to view the SQL Reporting Services Home page. https://localhost/Reports |
|
7. |
Click Audit Reports in the body of the page and then click Show Details in the upper right part of the page |
|
8. |
Open Operations Manager Console, on Operations Manager Console, under Reporting, you should see Audit Reports |
|
9. |
Audit logs will now start being collected; this can take a considerable period of time depending on the number of logs and the size of each log. |
Now you can plan, deploy and configure System Center Operations Manager 2007 R2, whish you good luck.
Related Posts:
- Part 1 "Pre-Build" can be found here https://blogs.technet.com/b/meamcs/archive/2011/01/09/operations-manager-2007-r2-installation-and-configuration-part1-pre-build.aspx
- Part 2 "Installing Operations Manager Database" can be found here https://blogs.technet.com/b/meamcs/archive/2011/01/09/operations-manager-2007-r2-installation-and-configuration-part2-installing-operations-manager-database.aspx
- Part 3 "Installing Root Management Server" can be found here https://blogs.technet.com/b/meamcs/archive/2011/01/10/operations-manager-2007-r2-installation-and-configuration-step-by-step-part3-installing-root-management-server.aspx
- Part 4 "Configure GPO for SCOM" can be found here https://blogs.technet.com/b/meamcs/archive/2011/01/10/operations-manager-2007-r2-installation-and-configuration-step-by-step-part4-configure-gpo-for-scom.aspx
- Part 5 "Configuring SQL Reporting Service" can be found here https://blogs.technet.com/b/meamcs/archive/2011/05/16/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-5-installing-sql-reporting-service.aspx
- Part 6 “Installing Data Warehouse Database” can be found here https://blogs.technet.com/b/meamcs/archive/2011/08/14/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-6-installing-data-warehouse-database.aspx
- Part 7 “Installing Audit Collection Service” can be found here https://blogs.technet.com/b/meamcs/archive/2011/08/15/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-7-installing-audit-collection-service.aspx
- Part 8 "Download and Import Management Pack" can be found here https://blogs.technet.com/b/meamcs/archive/2011/08/16/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-8-download-and-import-management-pack.aspx
- Part 9 "Discover Windows Computer and Deploy Agents" can be found here https://blogs.technet.com/b/meamcs/archive/2011/08/27/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-9-discover-windows-computer-and-deploy-scom-agents.aspx
- Part 10 "Discover Unix/Linux Servers and Deploy Agents" can be found here https://blogs.technet.com/b/meamcs/archive/2011/08/29/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-10-discover-unix-linux-servers-and-deploy-agents.aspx
- Part 11 "Configure Notification" can be found here https://blogs.technet.com/b/meamcs/archive/2011/09/03/operations-manager-2007-r2-installation-and-configuration-step-by-step-part-11-configure-notification.aspx