DCSIMG
October 2008 - Posts - Dario IT Solutions Blog

Dario IT Solutions Blog

October 2008 - Posts

Running SQL Server in Hyper-V Environment: Best Practices and Recommendations

Based on hypervisor technology, the Hyper-V™ virtualization feature in the Windows Server® 2008 operating system is a thin layer of software between the hardware and the operating system that allows multiple operating systems to run, unmodified, on a host computer at the same time. Hyper-V is a powerful virtualization technology that can be used by corporate IT to consolidate under-utilized servers, lowering total cost of ownership (TCO) and maintaining or improving quality of service (QoS). Hyper-V opens more potential development and test environment types that otherwise might be constrained by hardware availability.

It is challenging enough in general to right-size the hardware to consolidate current workloads and provide headroom for growth. Adding virtualization to the mix increases the potential capacity planning challenges. The goal of this document is to help address these by focusing on two key areas of running Microsoft® SQL Server® in a Hyper-V environment:

  • System resource overhead imposed by running SQL Server in a Hyper-V environment

  • How well Hyper-V scales running SQL Server 2008

This white paper describes a series of test configurations we ran, which represented a variety of possible scenarios involving SQL Server running in Hyper-V. The paper discusses our results and observations, and it also presents our recommendations. Our test results showed that SQL Server 2008 on Hyper-V provides stable performance and scalability. We believe Windows Server 2008 Hyper-V is a solid platform for SQL Server 2008 for the appropriate workload. It is practical to run production workloads under a Hyper-V environment, as long as the workload is within the capacity of your Hyper-V guest virtual machine.

For more information, please refer to the whitepaper Running SQL Server 2008 in a Hyper-V Environment - Best Practices and Performance Recommendations.

How to monitor a web page in OpsMgr 2007 and configure recovery task.

It's fairly simple to monitor a web page in OpsMgr 2007 by using the web application monitoring feature. In this post I'll show you how it's done and how to configure a recovery task to execute a command or a script when the monitor status becomes critical.

Create Web Application using the following procedure (taken from http://sharepointnotes.wordpress.com/2008/03/17/web-application-monitoring-with-system-center-operations-manager/, If credentials are needed read the original post) :

  1. Log on to the computer with an account that is a member of the Operations Manager Authors role for the Operations Manager 2007 Management Group

  2. In the Operations Console, click the Authoring button

  3. Expand Management Pack Templates and right-click Web Application. Select Add monitoring wizard

  4. Select Web Application and click Next

  5. Enter Name and Description and click Next

  6. Enter and test the URL and click Next
    The test will fail in the web site requires credentials but they can be provided later

  7. Select the node that will act as the watcher node and enter time time interval at which the test will run. Click Next
    The Watcher Node must be an agent managed computer and have access to the web site

  8. Click Create

After the Web Application Monitor is created do as follows in order to configure a recovery task:

1. Open Web Applications under the authoring pane, Open the monitors screen:

clip_image002

2. Right Click the monitor under Entity Health > Availability and choose properties:

clip_image004

3. Switch to the diagnostics and recovery pane and choose Add in the recovery section, click the recovery for critical state option:

clip_image006

4. Follow the wizard, it allows you to configure a command or a script that will be executed when the monitor state becomes critical.

If you need to restart a service, You can create a batch file that uses the "Sc Stop" and "Sc Start" commands to restart the service on the remote computer (Use sc /? to get more info). Don't forget to configure the monitor recovery task to use it :-)

Posted: Oct 07 2008, 12:47 PM by udi.l | with 3 comment(s)
תגים:, ,

SCOM 2007 On-Demand Webcasts

How Microsoft IT Implements System Center Operations Manager 2007 (Level 300)

http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&EventID=1032322478&CountryCode=US

Assure the Availability and Performance of Your SharePoint Environments (Level 300)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032368298&EventCategory=4&culture=en-US&CountryCode=US

Client Monitoring with System Center Operations Manager 2007 (Level 300)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032348673&EventCategory=4&culture=en-US&CountryCode=US

Client Monitoring with System Center Operations Manager 2007 (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032341228&EventCategory=4&culture=en-US&CountryCode=US

Client Monitoring with System Center Operations Manager 2007 (Level 100)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032340080&EventCategory=4&culture=en-US&CountryCode=US

End-to-End Service Monitoring with System Center Operations Manager 2007 (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032345599&EventCategory=4&culture=en-US&CountryCode=US

Installation and Management Pack Migration of Operations Manager 2007 (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032369730&EventCategory=4&culture=en-US&CountryCode=US

Monitoring with System Center Operations Manager 2007 (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032343631&EventCategory=4&culture=en-US&CountryCode=US

Planning a Successful Microsoft Operations Manager 2007 Deployment with Microsoft System Center Capacity Planner 2007 (Level 300)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032348510&EventCategory=4&culture=en-US&CountryCode=US

Reporting with System Center Operations Manager 2007 (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032338857&EventCategory=4&culture=en-US&CountryCode=US

Security and Enterprise Features of System Center Operations Manager 2007 (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032343649&EventCategory=4&culture=en-US&CountryCode=US

SQL Server 2008: New Performance Monitoring and Troubleshooting Using Management Studio (Level 300)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032349947&EventCategory=4&culture=en-US&CountryCode=US

System Center Operations Manager 2007 Installation and Management Pack Migration (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032341254&EventCategory=4&culture=en-US&CountryCode=US

System Center Operations Manager 2007 Technical Overview (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032340808&EventCategory=4&culture=en-US&CountryCode=US

System Center Operations Manager 2007: Install and MP Migration (Level 200)

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032345595&EventCategory=4&culture=en-US&CountryCode=US

SCOM 2007 Useful Links

Main Downloads page (catalog, documentation)

http://technet.microsoft.com/en-us/opsmgr/bb498232.aspx

Operations Manager Product Team Blog:

http://blogs.technet.com/momteam

SystemCenterForum.org

http://www.systemcenterforum.org

System Center Content Search (Vista gadget)

http://gallery.live.com/liveItemDetail.aspx?li=49e26ad0-113d-4f3d-a711-57f6530c75d9

System Center Operations Manager Blog Search:

http://search.live.com/macros/microsoft_user_assistance/sc_operations_manager_blogs

Event Flow Diagram

http://blogs.technet.com/momteam/archive/2007/10/30/event-alerts-perf-data-flow-in-opsmgr-2007.aspx

DWDATARP.exe (For setting Data Retention policies in the Warehouse)

http://blogs.technet.com/momteam/archive/2008/05/14/data-warehouse-data-retention-policy-dwdatarp-exe.aspx

End-To-End Task test:

http://www.systemcenterforum.org/testing-end-to-end-notification-in-opsmgr-or-essentials-2007-mp/

Targeting Best Practices Poster:

http://download.microsoft.com/download/f/a/7/fa73e146-ab8a-4002-9311-bfe69a570d28/BestPractices_Rule_Monitor_REV_110607.pdf

Best practices to use when you configure overrides in System Center Operations Manager 2007

http://support.microsoft.com/kb/943239

Authoring Guide:

http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OM2007_AuthGuide.doc

Effective configuration Viewer:

http://www.microsoft.com/Downloads/details.aspx?FamilyID=a9db4dca-6716-478d-89b9-42f27ebc76a8&displaylang=en

Override Explorer:

http://blogs.msdn.com/boris_yanushpolsky/attachment/4301837.ashx

Group membership:

http://www.systemcenterforum.org/list-ops-mgr-group-membership-using-powershell

http://blogs.msdn.com/boris_yanushpolsky/archive/2007/10/26/which-groups-is-a-particular-computer-member-of.aspx

Management Group Configuration tool:

http://blogs.technet.com/cliveeastwood/archive/2007/06/04/mginfo-management-group-license-and-summary-info-utility-for-operations-manager-2007-and-essentials-2007.aspx

Maintenance mode Scripts:

http://blogs.technet.com/cliveeastwood/archive/2007/09/18/agentmm-a-command-line-tool-to-place-opsmgr-agents-into-maintenance-mode.aspx

http://blogs.msdn.com/boris_yanushpolsky/archive/2008/03/04/one-more-maintenance-mode-script.aspx

How Microsoft Does IT (includes MOM 2005 and Ops Mgr documents):

http://technet.microsoft.com/en-us/library/bb687791(TechNet.10).aspx

(from http://www.microsoft.com/itshowcase)

Certificates for Windows 2008 and Ops Mgr:

http://blogs.technet.com/momteam/archive/2008/06/02/obtaining-certificates-for-ops-mgr.aspx

Adding Custom Information to alerts and Notifications:

http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx

Last contact time Style reports:

http://blogs.technet.com/kevinholman/archive/2008/06/27/which-servers-are-down-in-my-company-and-which-just-have-a-heartbeat-failure-right-now.aspx

http://blogs.technet.com/kevinholman/archive/2008/06/27/creating-a-new-data-source-for-reporting-against-the-operational-database.aspx

Converting an MP to XMl (unseal it)

http://blogs.msdn.com/boris_yanushpolsky/archive/2007/08/16/unsealing-a-management-pack.aspx

Powershell basics:

http://blogs.msdn.com/scshell/

http://blogs.msdn.com/scshell/archive/2006/09/28/getting-started.aspx

Powershell script examples:

http://blogs.technet.com/brianwren/archive/2008/03/11/mms-command-shell-presentation.aspx

Effective Config Viewer:

http://www.microsoft.com/Downloads/details.aspx?FamilyID=a9db4dca-6716-478d-89b9-42f27ebc76a8&displaylang=en

Developing MPs

http://www.developer.com/design/article.php/3740486

Enable Proxying on Agents UI

http://blogs.msdn.com/boris_yanushpolsky/archive/2007/08/02/enabling-proxying-for-agents.aspx

What Thresholds Monitors Have

http://blogs.msdn.com/boris_yanushpolsky/archive/2007/08/07/so-what-thresholds-do-my-monitors-have.aspx

Boris Yanushpolsky's blog

http://blogs.msdn.com/boris_yanushpolsky/default.aspx

Bulk Enable / Disable of rules or monitors (Override Creator):

http://blogs.msdn.com/boris_yanushpolsky/archive/2007/08/04/disabling-enabling-multiple-rules-monitors-discoveries-at-once.aspx

New KB Articles / Hotfixes Summary:

http://blogs.technet.com/cliveeastwood/rss.aspx?Tags=New%20and%20upcoming%20KB%20Articles/Operations%20Manager%202007&AndTags=1

Update Custom Fields

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.opsmgr.powershell&tid=0bdee97c-95b6-4074-9eff-f7edca3d0ff2&cat=01DE69DE-CFDB-E7B7-8849-BF4BC19A6B88&lang=en&cr=US&sloc=&p=1

http://www.systemcenterforum.org/updating-custom-fields-in-alerts-operations-manager-2007/

Design Reports in SCOM:

http://opsmgr.wordpress.com/2007/07/19/want-to-design-a-new-report-in-scom-2007/

DB IOPS Performance

http://blogs.technet.com/momteam/archive/2008/06/24/performance-iops-for-the-db-and-dw-in-opsmgr-2007.aspx

DW Backup and Grooming:

http://searchwincomputing.techtarget.com/generic/0,295582,sid68_gci1316214,00.html

Creating tasks:

http://www.systemcenterforum.org/wp-content/uploads/PowershellTasks_v1.0.pdf

Planning and designing the infrastructure:

http://www.microsoft.com/downloads/details.aspx?FamilyId=AD3921FB-8224-4681-9064-075FDF042B0C&SAMI_Campaign_Name=IPD062708RTM_IPDDL&displaylang=en

Operations Manager Training Videos:

http://technet.microsoft.com/en-us/opsmgr/bb498237.aspx

Publishing Reports to Sharepoint:

http://blogs.technet.com/momteam/archive/2008/02/29/publish-reports-to-sharepoint.aspx

Operations Manager Reporting Guide:

http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OpsMgr2007_RprtGuide.doc

Configuring notifications for a specific alert:

http://blogs.technet.com/kevinholman/archive/2008/02/01/configuring-notifications-to-include-specific-alerts-from-specific-groups-and-classes.aspx

System Center Capacity Planner:

http://www.microsoft.com/systemcenter/sccp/default.mspx

Operations Manager Authoring Console:

http://download.microsoft.com/download/f/4/3/f438d6a0-290c-42b8-8f9c-c6660f89e1aa/OpsMgr07_x64_AuthConsole.exe

http://download.microsoft.com/download/f/4/3/f438d6a0-290c-42b8-8f9c-c6660f89e1aa/OpsMgr07_x86_AuthConsole.exe