Ian Blyth provide us with a pretty spreadsheet to estimated Operations Manager database size based on number of agents and data transfer
the original post is Here
many thanks to : Ian Blyth - System Center Technologies
http://ianblythmanagement.wordpress.com
Monday, July 30, 2007
Operations Manager 2007 available documentation
Operations Manager 2007 Release Notes
http://technet.microsoft.com/library/bb309430
Operations Manager 2007 Supported Configurations
http://technet.microsoft.com/library/bb309428
Operations Manager 2007 Operations Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OM2007_OpsGuide.doc
Operations Manager 2007 Backup and Recovery Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_backup.doc
Disaster Recovery: OpsMgr 2007 Root Management Server on a Cluster
http://blogs.technet.com/momteam/attachment/1597917.ashx
Operations Manager 2007 Design Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_designguid.doc
Operations Manager 2007 Deployment Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_deployment.doc
Operations Manager 2007 Performance and Scalability White Paper
http://download.microsoft.com/download/d/3/6/d3633fa3-ce15-4071-be51-5e036a36f965/om2007_perfscal.doc
Operations Manager 2007 Security Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_security.doc
Microsoft Management Pack Authoring Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/om2007_authconsole.exe
Operations Manager 2007 Operations Guidehttp://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/om2007_opsguide.doc
http://technet.microsoft.com/library/bb309430
Operations Manager 2007 Supported Configurations
http://technet.microsoft.com/library/bb309428
Operations Manager 2007 Operations Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OM2007_OpsGuide.doc
Operations Manager 2007 Backup and Recovery Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_backup.doc
Disaster Recovery: OpsMgr 2007 Root Management Server on a Cluster
http://blogs.technet.com/momteam/attachment/1597917.ashx
Operations Manager 2007 Design Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_designguid.doc
Operations Manager 2007 Deployment Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_deployment.doc
Operations Manager 2007 Performance and Scalability White Paper
http://download.microsoft.com/download/d/3/6/d3633fa3-ce15-4071-be51-5e036a36f965/om2007_perfscal.doc
Operations Manager 2007 Security Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/opsmgr2007_security.doc
Microsoft Management Pack Authoring Guide
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/om2007_authconsole.exe
Operations Manager 2007 Operations Guidehttp://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/om2007_opsguide.doc
Sunday, July 29, 2007
Operations manager Knowledge Base (KB)
Operations Manager 2007 Support Tools requirements
http://support.microsoft.com//kb/938997/en-us
Error message when you try to import a management pack by using the System Center Operations Manager 2007 Operations Console or the System Center Essentials Console: "OutOfMemoryException"
http://support.microsoft.com/kb/933987/en-us
The System Center Operations Manager 2007 Prerequisite Checker indicates that ASP.Net is not installed, even though Microsoft .Net Framework 2.0 is installed
http://support.microsoft.com/kb/934759/en-us
How to test notification settings after you configure e-mail notifications for a recipient or for a subscription in Operations Manager 2007
http://support.microsoft.com/kb/934756/en-us
Error message when you click Record after you start the Web Application Editor in Operations Manager 2007: "The requested lookup key was not found in any activation context"
http://support.microsoft.com/kb/934757/en-us
Error message when you try to install a management agent in Operations Manager 2007: "Unknown error 0x80072971"
http://support.microsoft.com/kb/934760/en-us
A graphic that contains a red X may appear instead of an image after you perform a sort action in a Systems Operations Manager 2007 report
http://support.microsoft.com/kb/934758/en-us
Error message when you try to install System Center Operations Manager 2007 Reporting: "The wizard was interrupted before Operations Manager 2007 could be installed"
http://support.microsoft.com/kb/936219/en-us
A frame that you resize continues to move together with the mouse pointer in System Center Operations Manager 2007 Web Console
http://support.microsoft.com/kb/938990/en-us
You cannot configure a rule or a monitor to target a computer group in the Operations Console in System Center Operations Manager 2007
http://support.microsoft.com/kb/938999/en-us
Subscription notification objects in System Center Operations Manager 2007 may not be displayed correctly on a computer that uses a regional setting other than "English (United States)"
http://support.microsoft.com/kb/938989/en-us
Error message when you try to enable Active Directory integration for System Center Operations Manager 2007: "The binary form of an ACE object is invalid"
http://support.microsoft.com/kb/938992/en-us
Some report information does not appear in Japanese in the Japanese version of System Center Operations Manager 2007
http://support.microsoft.com/kb/938505/en-us
How to upgrade the 180-day evaluation version of System Center Operations Manager 2007 to the full product version
http://support.microsoft.com/kb/937826/en-us
When you try to install Microsoft System Center Operations Manager 2007 Reporting, the installation is unsuccessful
http://support.microsoft.com/kb/938627/en-us
System Center Operations Manager 2007 cannot find some network devices by using the network device discovery process
http://support.microsoft.com/kb/939364/en-us
The Entity Health monitor for an Operations Manager 2007 management server displays "Critical" together with a Health Service threshold setting
http://support.microsoft.com/kb/938626/en-us
When you try to install Microsoft System Center Operations Manager 2007 or you try to install Microsoft System Center Essentials 2007, the Setup Welcome page appears to be empty
http://support.microsoft.com/kb/932812/en-us
You cannot deploy an agent by using the Discovery and Installation Wizard in System Center Operations Manager 2007
http://support.microsoft.com/kb/938993/en-us
The Run As Account that you create in System Center Operations Manager 2007 or in System Center Essentials 2007 does not run a task successfully
http://support.microsoft.com/kb/936221/en-us
You may be unable to delete a log file on a client computer in System Center Operations Manager 2007
http://support.microsoft.com/kb/938988/en-us
ASP.net Web application exceptions may unexpectedly appear as monitored Web service exceptions when you monitor a Web service in System Center Operations Manager 2007
http://support.microsoft.com/kb/938998/en-us
How to change the credentials for the OpsMgr SDK Service and for the OpsMgr Config Service in Microsoft System Center Operations Manager 2007
http://support.microsoft.com/kb/936220/en-us
Error message when you run the Operations Manager Prerequisite Viewer for the Server component: "Microsoft.interop.security.azroles.dll is not registered in the global assembly cache"
http://support.microsoft.com/kb/937292/en-us
The Operations Manager Audit Collection Service does not start and Event ID 4668 is logged after you install Audit Collection Server from a read-only source
http://support.microsoft.com/kb/936579/en-us
http://support.microsoft.com//kb/938997/en-us
Error message when you try to import a management pack by using the System Center Operations Manager 2007 Operations Console or the System Center Essentials Console: "OutOfMemoryException"
http://support.microsoft.com/kb/933987/en-us
The System Center Operations Manager 2007 Prerequisite Checker indicates that ASP.Net is not installed, even though Microsoft .Net Framework 2.0 is installed
http://support.microsoft.com/kb/934759/en-us
How to test notification settings after you configure e-mail notifications for a recipient or for a subscription in Operations Manager 2007
http://support.microsoft.com/kb/934756/en-us
Error message when you click Record after you start the Web Application Editor in Operations Manager 2007: "The requested lookup key was not found in any activation context"
http://support.microsoft.com/kb/934757/en-us
Error message when you try to install a management agent in Operations Manager 2007: "Unknown error 0x80072971"
http://support.microsoft.com/kb/934760/en-us
A graphic that contains a red X may appear instead of an image after you perform a sort action in a Systems Operations Manager 2007 report
http://support.microsoft.com/kb/934758/en-us
Error message when you try to install System Center Operations Manager 2007 Reporting: "The wizard was interrupted before Operations Manager 2007 could be installed"
http://support.microsoft.com/kb/936219/en-us
A frame that you resize continues to move together with the mouse pointer in System Center Operations Manager 2007 Web Console
http://support.microsoft.com/kb/938990/en-us
You cannot configure a rule or a monitor to target a computer group in the Operations Console in System Center Operations Manager 2007
http://support.microsoft.com/kb/938999/en-us
Subscription notification objects in System Center Operations Manager 2007 may not be displayed correctly on a computer that uses a regional setting other than "English (United States)"
http://support.microsoft.com/kb/938989/en-us
Error message when you try to enable Active Directory integration for System Center Operations Manager 2007: "The binary form of an ACE object is invalid"
http://support.microsoft.com/kb/938992/en-us
Some report information does not appear in Japanese in the Japanese version of System Center Operations Manager 2007
http://support.microsoft.com/kb/938505/en-us
How to upgrade the 180-day evaluation version of System Center Operations Manager 2007 to the full product version
http://support.microsoft.com/kb/937826/en-us
When you try to install Microsoft System Center Operations Manager 2007 Reporting, the installation is unsuccessful
http://support.microsoft.com/kb/938627/en-us
System Center Operations Manager 2007 cannot find some network devices by using the network device discovery process
http://support.microsoft.com/kb/939364/en-us
The Entity Health monitor for an Operations Manager 2007 management server displays "Critical" together with a Health Service threshold setting
http://support.microsoft.com/kb/938626/en-us
When you try to install Microsoft System Center Operations Manager 2007 or you try to install Microsoft System Center Essentials 2007, the Setup Welcome page appears to be empty
http://support.microsoft.com/kb/932812/en-us
You cannot deploy an agent by using the Discovery and Installation Wizard in System Center Operations Manager 2007
http://support.microsoft.com/kb/938993/en-us
The Run As Account that you create in System Center Operations Manager 2007 or in System Center Essentials 2007 does not run a task successfully
http://support.microsoft.com/kb/936221/en-us
You may be unable to delete a log file on a client computer in System Center Operations Manager 2007
http://support.microsoft.com/kb/938988/en-us
ASP.net Web application exceptions may unexpectedly appear as monitored Web service exceptions when you monitor a Web service in System Center Operations Manager 2007
http://support.microsoft.com/kb/938998/en-us
How to change the credentials for the OpsMgr SDK Service and for the OpsMgr Config Service in Microsoft System Center Operations Manager 2007
http://support.microsoft.com/kb/936220/en-us
Error message when you run the Operations Manager Prerequisite Viewer for the Server component: "Microsoft.interop.security.azroles.dll is not registered in the global assembly cache"
http://support.microsoft.com/kb/937292/en-us
The Operations Manager Audit Collection Service does not start and Event ID 4668 is logged after you install Audit Collection Server from a read-only source
http://support.microsoft.com/kb/936579/en-us
Saturday, July 28, 2007
Monitoring Windows Service using Operations manager 2007
Monitoring windows services with operations manager 2007 provide us with great tool to monitor our servers, and detect any service problems
Diagnostic and recovery tasks are available to analyze the system automatically when the service stopped without and administrator’s action to troubleshoot the problem.
Operations manager has the ability to start the service automatically and run any suitable recovery task to cover this failure.
You can create a Windows services unit monitor that you can use to generate an alert, run diagnostic tasks , and run recovery Tasks.
The tasks can be configure to run manually or automatically
The diagnostic tasks can be configured to run only commands
The recovery tasks can be used to run a script or commands
The task can only target the monitored objects only, and cannot target others This guide will discuss how to monitor windows services by example, configure diagnostic tasks, and configure the recovery tasks
download the guide from the following link
http://tarek.ismail.googlepages.com/Monitoring-Service.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Diagnostic and recovery tasks are available to analyze the system automatically when the service stopped without and administrator’s action to troubleshoot the problem.
Operations manager has the ability to start the service automatically and run any suitable recovery task to cover this failure.
You can create a Windows services unit monitor that you can use to generate an alert, run diagnostic tasks , and run recovery Tasks.
The tasks can be configure to run manually or automatically
The diagnostic tasks can be configured to run only commands
The recovery tasks can be used to run a script or commands
The task can only target the monitored objects only, and cannot target others This guide will discuss how to monitor windows services by example, configure diagnostic tasks, and configure the recovery tasks
download the guide from the following link
http://tarek.ismail.googlepages.com/Monitoring-Service.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Thursday, July 26, 2007
Monitoring Windows Event using Operations manager 2007 - Part 3
Monitoring windows Event with operations manager 2007 provide us with other ways to monitor our server.
Monitor the missing events in the windows event log is another way to keep your eyes on the running windows system.
You can monitor the event log file within a specified time to check if this event is missed or not.
For example, every Sunday morning from 8:00 AM to 10:00 AM a third party application do a special task and after the successful end of this task , I will get an event in the application event log of the server, and I have more than 20 server has the same application
Surprise, in a normal way I will open the event viewer of each server and search for this event during this time, this will be a time consuming job for me, and this day will be my worst day in my week to do this.
But if you have Microsoft Operations Manager 2007, you can configure a monitor to check this server at this time; if the event is located I will not be notified and the system is running well.
But if the monitor did not find this event at this time, the health state of the server will be change to warning or critical state, and I have an option to fire alert with preconfigured setting.
Also, when the health state was changed to non healthy state as you configure the monitor, when the server will be in healthy state again?
Microsoft operation manager 2007 provides us with 3 ways to reset the health state:
Manual reset
Timer reset
Windows event reset
In this guide, we will discuss how to configure a unit monitor to monitor missing windows event.
Configure missing event detection unit monitor is the easy one in windows event detection unit monitor.
download the guide from the following link
http://tarek.ismail.googlepages.com/MonitoringwinEvent-part3.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Monitor the missing events in the windows event log is another way to keep your eyes on the running windows system.
You can monitor the event log file within a specified time to check if this event is missed or not.
For example, every Sunday morning from 8:00 AM to 10:00 AM a third party application do a special task and after the successful end of this task , I will get an event in the application event log of the server, and I have more than 20 server has the same application
Surprise, in a normal way I will open the event viewer of each server and search for this event during this time, this will be a time consuming job for me, and this day will be my worst day in my week to do this.
But if you have Microsoft Operations Manager 2007, you can configure a monitor to check this server at this time; if the event is located I will not be notified and the system is running well.
But if the monitor did not find this event at this time, the health state of the server will be change to warning or critical state, and I have an option to fire alert with preconfigured setting.
Also, when the health state was changed to non healthy state as you configure the monitor, when the server will be in healthy state again?
Microsoft operation manager 2007 provides us with 3 ways to reset the health state:
Manual reset
Timer reset
Windows event reset
In this guide, we will discuss how to configure a unit monitor to monitor missing windows event.
Configure missing event detection unit monitor is the easy one in windows event detection unit monitor.
download the guide from the following link
http://tarek.ismail.googlepages.com/MonitoringwinEvent-part3.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Tuesday, July 24, 2007
Monitoring Windows Event using Operations manager 2007 - Part 2
Using Microsoft operations manager to monitor windows event is one of the important task should be done by the administrator.
Monitoring event log for specific event on a group of servers in a normal way can be a e work to do this and still also not an accurate solution and not automated.
Some times when the event raised, this will not be a problem in the network but when this event repeated within a short time, this could be a problem.
Microsoft System center operations manager provide a perfect solution to monitor the repeated event based on many criteria
By using windows event monitor for repeated event, you will get a magic tool to keep your network up and healthy without manual action to these windows events.
This is the second guide about monitor windows event using operations manager, in this guide we will discuss how to configure repeated event detection monitor
It seems to be easy like working with simple event detection monitor.
download the guide from the following link
http://tarek.ismail.googlepages.com/MonitoringwinEvent-part2.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Monitoring event log for specific event on a group of servers in a normal way can be a e work to do this and still also not an accurate solution and not automated.
Some times when the event raised, this will not be a problem in the network but when this event repeated within a short time, this could be a problem.
Microsoft System center operations manager provide a perfect solution to monitor the repeated event based on many criteria
By using windows event monitor for repeated event, you will get a magic tool to keep your network up and healthy without manual action to these windows events.
This is the second guide about monitor windows event using operations manager, in this guide we will discuss how to configure repeated event detection monitor
It seems to be easy like working with simple event detection monitor.
download the guide from the following link
http://tarek.ismail.googlepages.com/MonitoringwinEvent-part2.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Sunday, July 22, 2007
Monitoring Windows Event using Operations manager 2007 - Part 1
Microsoft System Center Operations manager 2007 contains great tools to monitor conditions that can occur in monitored objects.
Monitors in operations manager are divided into three different types of monitors:
1. Unit monitors
2. Aggregate rollup monitors
3. Dependency rollup monitors.
Unit monitor is the basic element of the monitoring in Operations manager , it can be used to monitor all windows Events, Log file , Windows service, windows performance counters , SNMP , and ………….
You have an option with any monitor unit to generate an alert.
Unit monitors can be rolled up to either dependency or aggregate rollup monitors.
Windows events are a very important element we need to monitor on all windows servers and workstations.
Operations manager 2007 provide a comprehensive solution to monitor windows events using monitor units
Monitor windows events are divided into five parts as below:
1. Simple event detection
2. Repeated event detection
3. Missing event detection
4. Correlated event detection
5. Correlated missing event detection
We will discuss all of these points in details one by one in five guides plus the guide number six which will contain some tips and tricks while working with monitoring windows events.
In this guide will discuss how to work with simple event detection
download the guide from the following link
http://tarek.ismail.googlepages.com/MonitoringwinEvent-part1.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Monitors in operations manager are divided into three different types of monitors:
1. Unit monitors
2. Aggregate rollup monitors
3. Dependency rollup monitors.
Unit monitor is the basic element of the monitoring in Operations manager , it can be used to monitor all windows Events, Log file , Windows service, windows performance counters , SNMP , and ………….
You have an option with any monitor unit to generate an alert.
Unit monitors can be rolled up to either dependency or aggregate rollup monitors.
Windows events are a very important element we need to monitor on all windows servers and workstations.
Operations manager 2007 provide a comprehensive solution to monitor windows events using monitor units
Monitor windows events are divided into five parts as below:
1. Simple event detection
2. Repeated event detection
3. Missing event detection
4. Correlated event detection
5. Correlated missing event detection
We will discuss all of these points in details one by one in five guides plus the guide number six which will contain some tips and tricks while working with monitoring windows events.
In this guide will discuss how to work with simple event detection
download the guide from the following link
http://tarek.ismail.googlepages.com/MonitoringwinEvent-part1.pdf
or contact me at Tarek_877@hotmail.com to get a copy
Monday, July 16, 2007
Microsoft forefront client security Q & A
After install and configure Microsoft forefront client security, and start working with FCS for customers, many questions was raised by the customer and our team
In this guide I will list the most of this questions and the reply for this question.
Some of these answers were describe some behavior of the product and it is by design
Others are our solution to complete the security suite of forefront client security and to harden the system.
the document is here
http://tarek.ismail.googlepages.com/FCSQA.pdf
or contact me @ Tarek_877@hotmail.com to get a copy
In this guide I will list the most of this questions and the reply for this question.
Some of these answers were describe some behavior of the product and it is by design
Others are our solution to complete the security suite of forefront client security and to harden the system.
the document is here
http://tarek.ismail.googlepages.com/FCSQA.pdf
or contact me @ Tarek_877@hotmail.com to get a copy
Saturday, July 14, 2007
Configure Microsoft forefront client security
After install Microsoft forefront client security, we need to configure the server and all related component to get the best result from FCS server.
The following items will be discussed through this guide:
- Configure windows client firewall
To Configure forefront client security server on one server you can follow the steps in the link below:
http://tarek.ismail.googlepages.com/2-ConfigureFCS.pdf
or contact me @ Tarek_877@hotmail.com to get a copy
Friday, July 13, 2007
Installing forefront client security server
- Forefront Client Security provides unified malware protection for business desktops, laptops, and server operating systems.
- Forefront Client Security Built on the same Microsoft protection technology already used by millions of people worldwide, Client Security helps guard against emerging malware threats, such as spyware and rootkits, as well as traditional threats such as viruses, worms, and Trojan horses.
- Forefront Client Security integrates with your existing infrastructure software, such as the Active Directory service, and complements other Microsoft security technologies for enhanced protection and greater control.
- Forefront Client Security is designed to protect computers running the Windows Vista, Microsoft Windows Server 2003, Windows 2000 Server, and Windows XP operating systems.
- Forefront Client Security provides many types of reports to help the organization's security status.
- Forefront Client Security Malware definition updates are distributed from Microsoft Update or WSUS server.
To install forefront client security server on one server you can follow the steps in the link below:
http://tarek.ismail.googlepages.com/InstallingandConfiguringforefrontcli.pdf
Best Regards,
Tarek Ismail
Tuesday, July 10, 2007
Operations Manager 2007 Backup and Recovery Guide
This guide provides guidance in planning for backup and recovery of System Center Operations Manager 2007 server roles and components. The information in this guide will complement your existing recovery strategy to avoid service disruption.
This guide includes the following:
Understanding the impact of service failure
Recommendations on what to back up and why
How to back up and restore key server roles and components
Frequently used recovery scenarios
the guide is available here
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OpsMgr2007_Backup.doc
This guide includes the following:
Understanding the impact of service failure
Recommendations on what to back up and why
How to back up and restore key server roles and components
Frequently used recovery scenarios
the guide is available here
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OpsMgr2007_Backup.doc
Operations Manager 2007 Design Guide
This guide will help you understand the building-block-level components in Operations Manager 2007 by presenting summaries of these roles.
It will help you to ask the right questions to make sure your design meets your company's needs.
It will make sure that you have answered the most fundamental design questions to ensure your design is flexible and scalable.
It will help you plan and size your Operations Manager 2007 topology using data from the Performance and Sizing Guide.
It provides guidance on how to validate your design in the lab.
the guide is here
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OpsMgr2007_DesignGuid.doc
It will help you to ask the right questions to make sure your design meets your company's needs.
It will make sure that you have answered the most fundamental design questions to ensure your design is flexible and scalable.
It will help you plan and size your Operations Manager 2007 topology using data from the Performance and Sizing Guide.
It provides guidance on how to validate your design in the lab.
the guide is here
http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OpsMgr2007_DesignGuid.doc
How to schedule discover and install agent as MOM 2005
As Before in MOM 2005, you can automatic discover your server and install agents without run the wizard every time
Now in system center Operations Manager, this is not available but you can do this using Shell command
the Script can be using to run a Windows schedule task to discover and install Ops Mgr 2007 agent based on your LDAP query
------------------------
param ($OpsMgrservername,$Domainname)
#Initialize the OpsMgr Provider
Add-PSSnapin Microsoft.EnterpriseManagement.OperationsManager.Client
# Set the location to the root of the provider namespace.
cd OperationsManagerMonitoring::
#create a connection to the Management Group
New-ManagementGroupConnection $OpsMgrservername
#change the path
cd $OpsMgrservername
#configure query setting
$ldap_query = new-ldapquerydiscoverycriteria -domain $Domainname -ldapquery "(sAMAccountType=805306369)(name=*ABC*)"
#configure discovery setting
$windows_discovery_cfg = new-windowsdiscoveryconfiguration -ldapquery $ldap_query
# discoveryresults
$discovery_results = start-discovery -managementserver (get-managementserver)-windowsdiscoveryconfiguration $windows_discovery_cfg
#install Agent
install-agent -managementserver (get-managementserver) -agentmanagedcomputer $discovery_results.custommonitoringobjects
----------------------------------------
save the file as Agentdiscoverinstall.ps1
configure the Windows schedule task as
Powershell.exe Agentdiscoverinstall.ps1 -OpsMgrservername:localhost -Domainname:tarek
Now in system center Operations Manager, this is not available but you can do this using Shell command
the Script can be using to run a Windows schedule task to discover and install Ops Mgr 2007 agent based on your LDAP query
------------------------
param ($OpsMgrservername,$Domainname)
#Initialize the OpsMgr Provider
Add-PSSnapin Microsoft.EnterpriseManagement.OperationsManager.Client
# Set the location to the root of the provider namespace.
cd OperationsManagerMonitoring::
#create a connection to the Management Group
New-ManagementGroupConnection $OpsMgrservername
#change the path
cd $OpsMgrservername
#configure query setting
$ldap_query = new-ldapquerydiscoverycriteria -domain $Domainname -ldapquery "(sAMAccountType=805306369)(name=*ABC*)"
#configure discovery setting
$windows_discovery_cfg = new-windowsdiscoveryconfiguration -ldapquery $ldap_query
# discoveryresults
$discovery_results = start-discovery -managementserver (get-managementserver)-windowsdiscoveryconfiguration $windows_discovery_cfg
#install Agent
install-agent -managementserver (get-managementserver) -agentmanagedcomputer $discovery_results.custommonitoringobjects
----------------------------------------
save the file as Agentdiscoverinstall.ps1
configure the Windows schedule task as
Powershell.exe Agentdiscoverinstall.ps1 -OpsMgrservername:localhost -Domainname:tarek
How to change Agent Maximum Queue Size using a Task
This issue has surfaced in the newsgroups, to solve this issue you can create a task using to change the value in the registry and restart health service on the client
the registry key:
HKLM\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\MG_ Name\MaximumQueueSizeKb
the value : "15 MB" 15360
the script as below:
##############
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer &"\root\default:StdRegProv")
strKeyPath =
"SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\MG_ Name"
ValueName = "MaximumQueueSizeKb"
dwValue = 51200
objReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, ValueName, dwValue
Set objShell = CreateObject("WScript.Shell")
objShell.Run "%COMSPEC% /c net stop healthservice",,1
objShell.Run "%COMSPEC% /c net start healthservice",,1
###############
the registry key:
HKLM\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\MG_ Name\MaximumQueueSizeKb
the value : "15 MB" 15360
the script as below:
##############
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer &"\root\default:StdRegProv")
strKeyPath =
"SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\MG_ Name"
ValueName = "MaximumQueueSizeKb"
dwValue = 51200
objReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, ValueName, dwValue
Set objShell = CreateObject("WScript.Shell")
objShell.Run "%COMSPEC% /c net stop healthservice",,1
objShell.Run "%COMSPEC% /c net start healthservice",,1
###############
Subscribe to:
Posts (Atom)