Friday, January 30, 2009
Predeployment I/O Best Practices: SQL Server Best Practices Article
CoreConfigurator - use a graphic interface to configure Windows Server 2008 Core edition!
CoreConfigurator is free for personal use and free for non commercial use.
Active Directory on separate volumes?
Transitioning your Active Directory to Windows Server 2008
This post intends to help you with this transition in a structured, balanced and thorough way.
Virtualizing Exchange 2007 and Exchange 2003 with Hyper-V
Running SQL Server 2008 in a Hyper-V Environment - Best Practices and Performance Considerations
Exchange Servers in Hardware Virtualization Environments
This Technet page provides the Microsoft support policies for running currently supported versions of Microsoft Exchange Server in production in a hardware virtualization environment.
Thursday, January 29, 2009
WinBubble - tweaking tool for Vista
Wednesday, January 28, 2009
Using CROSS JOIN queries to find records out of sequence
Hierarchies in SQL
Creating OS VHDs from Windows Server 2008 R2 OS media
http://www.ravichaganti.com/blog/?p=314
And the follow up, Enabling a captured VHD to boot in a Hyper-V Virtual Machine.
Tuesday, January 27, 2009
How do Cluster Shared Volumes work in Windows Server 2008 R2?
http://windowsitpro.com/article/articleid/100867/q-how-do-cluster-shared-volumes-work-in-windows-server-2008-r2.html
You need to register/login to see the answer.
Hyper-V 2.0 Feature overview
- Live Migration
- enhanced Logical Processor Support
- Hot add remove storage
- Second Level Translation (SLAT)
- Dynamic Memory
- Boot (host) from VHD
- improved speed of iSCSI storage communication
- support for multiple network channels (NIC teaming support)
- Virtualized I/O
http://hypervoria.com/hyper-v/hyper-v-2-0-feature-overview.aspx
Update: Sander Berkouwer in his blog "The things that are better left unspoken" is talking about his experience with Hyper-V 2.0 beta and what surprise him.
Monday, January 26, 2009
Auto notification for failover of a server and restart of SQL Server services
http://www.mssqltips.com/tip.asp?tip=1663
Friday, January 23, 2009
Hyper-V Remote Management Configuration Utility
HVRemote project site is at this address: http://code.msdn.microsoft.com/HVRemote
and author's blog can be found here.
Hyper-V Server 2008 Local Management scripts / UI
http://www.codeplex.com/HVS2008UI
Is developed by Ravikanth Chaganti's and his blog can be found here.
IIS 7.0 Configuration Reference - online library
This vast library comprehensively details all IIS 7.0 configuration settings in Windows Server 2008, including configuration collections, elements, and attributes. You can sort the configuration settings alphabetically to easily find what you are looking for or by browsing the schema structure. Each configuration topic provides sections such as an overview, examples of how to configure the configuration, setup instructions, configuration details, and code and script samples – including AppCmd.exe, C# .NET, Visual Basic .NET, JavaScript, and VBScript.
This is the only online reference you’ll need for IIS configuration, so check out the comprehensive documentation at http://www.iis.net/ConfigReference today!
Free eBook: Mastering SQL Server 2005 Profiler, by Brad McGehee, 2009
Free eBook: Understanding Microsoft Virtualization Solutions - From the Desktop to the Datacenter, 2009
Highlights: Hyper-V, System Center Virtual Machine Manager (SCVMM) , App-V, Terminal Services, MED-V, VDI, Roaming User Profiles, ...
Here's the download link (PDF, 15MB).
Wednesday, January 21, 2009
Hyper-V 2.0: Live Migration setup on Windows Server 2008 R2 (beta 1)
http://blog.baeke.info/blog/_archives/2009/1/14/4057251.html
Tuesday, January 20, 2009
Planning virtualization of servers with Hyper-V, part 2
Step 2: Create the List of Applications
Before designing and implementing the infrastructure, determine which applications the infrastructure needs to support. This information will be used in later steps to determine resource requirements and, ultimately, to design the physical host infrastructure.
Determine Application Compatibility
The first step in deciding which applications to virtualize is to consider the specific technical requirements for the application or operating system and map that against any constraints in the virtualization technology. Factors include:
- Processor architecture requirements.
- The number of required processors.
- Memory requirements.
- Graphics adapter requirements.
- Special hardware requirements.
- Is available with Windows Server 2008.
- Requires specialized hardware chipset (Intel VT or AMD-V).
- No access to USB devices or hardware such as Host Bus Adapters (HBAs).
Document the List of Applications
Most organizations run multiple operating systems, applications, and services that IT may consider moving to a virtual environment. To ensure that no important considerations are overlooked, a spreadsheet or table should be created that lists the applications, whether they are compatible with virtualization, and whether it is appropriate to virtualize them. Such a job aid could also include additional notes, requirements, and concerns. Filling out such a table can provide a very helpful structure to the process of planning for virtualization.
In the next article, i will cover the step 3, Determine Resource Requirements.
How to boot a VM in Hyper-V from iSCSI
In order to do this you would need to:
- Attach the iSCSI LUN to the parent partition.
- Create a new virtual machine and opt to configure the hard disk later.
- Open the settings for the new virtual machine and select the first IDE controller.
- Select to add a disk drive.
- On the disk drive configuration page select to use a physical hard disk, and select the iSCSI LUN.
- Apply changes and close the virtual machine settings.
Now you can boot the virtual machine directly off the iSCSI LUN by just starting it up...
Reference: http://blogs.msdn.com/virtual_pc_guy/archive/2008/02/19/booting-hyper-v-vms-off-of-iscsi.aspx
Hyper-V Quirks That Take Some Getting Used To
http://www.petri.co.il/hyper-v-quirks-that-take-some-getting-used-to.htm
Planning virtualization of servers with Hyper-V, part 1
- Determine the Virtualization Scope
- Create the List of Applications
- Determine Resource Requirements
- Select the Backup Approach for Each Application
- Applying Fault Tolerance
- Summarize and Analyze the Application Requirements
- Select a Form Factor for the Hosts
- Map Guests to Hosts
- Determine the Host Backup Approach
- Design Fault Tolerance
- Design the Storage Infrastructure
- Design the Network Infrastructure
Starting with step 1, determining the virtualization scope, you have a few options:
- Enterprise Deployment - this option involves deployment of virtualization technology to the entire organization, including corporate data centers.
- Hub Deployment - this option involves deployment of virtualization technology to one or more hub locations. Hubs are physical locations where there are concentrations of users, computers, and/or network connectivity. Resources within the hub may be provided to additional satellite locations.
- Satellite Deployment - this option involves deployment of virtualization technology to one or more satellite locations. Satellite locations are smaller than enterprise or hub environments and often have limited network connectivity to the rest of the environment because of bandwidth constraints.
In part 2, i will examine the next step, creating the list of applications that need to be virtualized.
Managing connections to remote servers
http://sqlblogcasts.com/blogs/simons/archive/2009/01/15/Managing-connections-to-remote-servers.aspx
Adding a column to every table in a database
http://weblogs.sqlteam.com/joew/archive/2009/01/15/60824.aspx
Analyzing the SQL Server Plan Cache
http://www.mssqltips.com/tip.asp?tip=1661
Spring Clean Your Database Schema
http://www.sqlservercentral.com/articles/Admin/65138/
Log Management, the easy way
Splunk website - http://www.splunk.com/
Splunk documentation - http://www.splunk.com/base/Documentation
What Splunk can do for you:
Index
With a variety of flexible input methods you can index logs, configurations, traps and alerts, messages, scripts, and code and performance data from all your applications, servers and network devices. Monitor file systems for scripts and configuration changes, capture archive files, find and tail live application logs, connect to network ports to receive syslog, SNMP and other network-based instrumentation. And this is just where it starts.
Search
Fast, free form search on anything, not just a few predetermined fields. Boolean, nested, quoted string and wildcard searches. No knowledge of specific data formats required. Combine time and term searches. Find errors across every tier of your infrastructure and configuration changes in the seconds before a system failure occurred. Fields are identified from your results as you search -- providing much more flexibility than a rigid set of field mapping rules imposed ahead of time.
Alert
Any search can be run on a schedule and trigger notifications or actions based on the search results. And because it works across different components and technologies, Splunk is the most flexible monitoring tool in your arsenal. Notifications can be sent via email, RSS or SNMP to other management consoles. Actions trigger scripts performing user described activities like restarting an application, server or network device.
Report
Splunk marries powerful reporting capabilities with the speed, flexibility and scale of IT Search. Search results can be easily summarized as reports with interactive charts, graphs and tables. The simplicity of analyzing massive amounts of data will amaze you (and your boss). And remember, because fields are identified as you search you can specify new fields without re-indexing your data.
Share
Everyone knows IT data is generally poorly documented by vendors, developers and operations staff. With Splunk everyone can add their own knowledge as they go. As you’re saving searches, identifying different types of fields, events and transactions you make the whole system smarter for everyone else. And that knowledge doesn’t walk out the door when someone leaves.
Scale
Scale your installation from a single application and just a few data sources to your whole datacenter and thousands of sources. You’ll find a wide range of options to access data, store it, search it and route it to other systems.
Secure
Of course you'll need to keep your IT data secure. Especially as you realize what a valuable information asset you have. Splunk gives you secure data handling, fine grain access controls, auditability, assurance of data integrity and integration with existing authentication systems.
When i will be done with the installation and configuration with my new servers i will give it a try, and share my experience with it.
Things to know before you build an OpenFiler SAN
- Do not run OpenFiler on a desktop PC.
- If you must use a desktop PC, use only Intel hardware (CPU, mainboard and network cards). Leave away any system that has nVidia, ATI, VIA or AMD hardware. The network cards can also be from Broadcom. Do not use network cards from Realtek, Marvell or others, put them on your usual desktops, not in your SAN.
- Choose only "jumbo frames" enabled network cards from Intel/Broadcom. Search also for "teaming" or LACP or 802.3ad capable network cards. Do not forget that the switch also needs to know about these features.
- Check all the chosen hardware against the RedHat HCL - https://hardware.redhat.com/. Do not use the hardware if is not on the RHEL HCL.
- Do not use the latest and greatest of hardware, go for at least a year old hardware before the current kernel.
- If you decide to buy some server (new or used), choose a server from a big server vendor: Dell, IBM, HP, Fujitsu-Siemens, Supermicro and others.
- Do not use the RAID features implemented in chipset or add-on cards, expose every disk to the OpenFiler and use the software RAID implemented in OpenFiler. Buy simple add-on card for adding drives to the OpenFiler box, without RAID. If you do not find cards without RAID, disable the onboard RAID features.
- For SCSI, use Adaptec, LSI Logic or AMI controllers. For SATA, use Silicon Image, Marvell or Intel AHCI controllers. Avoid JMicron and the likes.
- Do not use USB or FireWire attached disk drives to use them as the main storage! Use them only for backup. Using OpenFiler on USB and FireWire disks will eventually result in tears.
- Try to use SCSI/SAS disks. If you use SATA disks, use Seagate ES, Western Digital Enterprise/Raptor or Hitachi drives. If you must go with other brands/models, search for NCQ enabled drives.
- Size your power supply carefully, SATA drives are particularly sensitive to voltage drops on the 12v rail. Choose a high quality and powerful PSU.
- If you value your data, you must use a UPS on your OpenFiler system.
- For the file system, use XFS. XFS is extremely resilient to faults, dirty shutdowns and other maladies that can cause data corruption.
- Install Openfiler on a RAID1 set of drives, if one drive will fail your SAN will continue to work.
Keep in mind that OpenFiler is designed to store information. Sometimes very important information. Reliability is therefore the most important aspect of using OpenFiler, unless you don't mind losing data.
Make your own (free) NAS or SAN
This is a list of the free NAS or SAN software that i found:
- FreeNAS - http://www.freenas.org/
- OpenFiler - http://www.openfiler.com/
- unRAID - http://lime-technology.com/
- ClarkConnect - http://www.clarkconnect.com/
There are others, of course, but these are the most prominent packages i have found after a few days of searching and reading on the net. And there are free.
The most advanced is OpenFiler, which is based on rPath Linux. In the past CentOS was used. Some people regret the transition to rPath.