Archive

Archive for October, 2009

Micorosft Lab Validation Report for Hyper-V

October 31, 2009 Mohamed Fawzi Leave a comment

Microsoft Hyper-V : Scalable, Native Server Virtualization for the Enterprise

Microsoft just published a Lab Validation Report for Windows Server 2008 Hyper-V, which was written by Enterprise Strategy Group.  This report goes over the installation and configuration of Windows Server 2008 Hyper-V and management of those servers with Virtual Machine Manager 2008.

The report reviews the performance of Windows Server 2008 Hyper-V in comparison with physical systems.

Performance

In this section, we’ll take a look at the results of ESG Lab testing of the performance of applications running on a physical server and on a Hyper-V virtual machine.

ESG Lab Testing

ESG Lab used four real-world application workloads to evaluate the physical and virtual performance of Microsoft Windows 2008 Data Center Edition R1:

1.  Application Install:  a timed installation of Visio 2007 using a distribution image stored on a network

attached shared drive within a private network.

2.  Directory level copy:  a timed copy an 860 MB directory with 2,014 files to a temporary directory.  The c:\windows\win32 directory was copied to a temporary directory on the same C: drive.

3.  Subsequent copies:  the directory level copy was repeated with much of the IO activity happening in cache. The average of three cached copy operations was recorded.

4.  SQL query:  a long running SQL select statement using a 25,000 row production database from ESG’s

internal IT operation was timed.  The SQL query performed a join of three tables. The average duration of three select statements was recorded.

The HP blade server used for this test was equipped with four 2.2 GHz dual-core AMD Opteron processors and eight gigabytes of RAM.   Comparing physical and virtual performance on the same server was accomplished after a reboot with Hyper-V role enabled and disabled.   During the virtual server testing, the server was configured with a  single virtual server, which used nearly all of the physically available hardware resources (all eight CPU cores, seven out of eight GB of RAM).

Physical and virtual testing was performed within a 40 GB logical C: drive.  The C: drive was built using a single LUN presented by a FC attached HP MSA storage array with six 15K SAS drives configured as a single RAID-5 group (5+1).

The Hyper-V C: drive was configured as a basic virtual hard disk (VHD).  The results are shown in Table 1.

Table 1. ESG Lab Performance Results

Operation Physical Virtual Difference
Application install 00:05:52.000 00:06:09.000 4.8%
Directory level copy 00:00:41.680 00:00:33.660 7.1%
Subsequent copies 00:00:05.660 00:00:05.830 3.0%
SQL query 00:00:47.566 00:00:53.630 12.7%

Hyper-V Preformance

What the Numbers Mean

It took five minutes and 52 seconds to install an application on the physical  server running Windows 2008 Data Center Edition SP1   It took six minutes and nine seconds to install the same application on the same hardware running the same operating system running within a Hyper-V enabled virtual machine  The difference in performance is relatively low (4.8%) The directory level copy and subsequent copies were also relatively low (7.1% and 3.0% respectively)  A long running Microsoft SQL query took 12.7% longer when running in a virtual server  The manageably low performance impact of Hyper-V won’t be detected by the vast majority of end-users and applications

Quick Tip: Query Active Directory Functional Levels

October 30, 2009 Mohamed Fawzi Leave a comment

To determine the domain functional level, Windows Server 2003 uses a combination of two attributes stored in Active Directory. To determine the forest functional level, Windows Server 2003 uses a single attribute.
To verify the forest and domain functional level by using ADSIEdit.msc:

  1. Open a Run command, and type ADSIEdit.msc
  2. Expand the Domain object, right-click domainname (where domainname is the distinguished name of the domain that you want to check), and then click Properties.
  3. Under the Attribute column, scroll until you locate the msDS-Behavior-Version attribute. Check the value of this attribute.
  4. Check the value of the nTMixedDomain attribute on the domain object. The following table provides the details for both attributes for the domain functional level.
Domain functional level msDS-Behavior-Version attribute nTMixedDomainattribute
Windows 2000 mixed 0 1
Windows 2000 native 0 0
Windows Server 2003 2 0

To verify the forest functional level, expand the Configuration object, and  then expand the CN=Configuration,forestname object (where forestname is the  distinguished name of the forest).

Right-click the Partitions container, and then click Properties. Locate the  msDS-Behavior-Version attribute, and check the value of this attribute. The  following table provides the details for the attribute for the forest  functional level.

Forest functional level msDS-Behavior-Version attribute
Windows 2000 0
Windows 2000 interim 1
Windows Server 2003 2

Source: Microsoft Corporation

Hyper-V Domain Controller Negative Ping Results

October 28, 2009 Mohamed Fawzi 5 comments

This one was a little bit new for me, About 6 months ago one of my customers told me that some times his new virtual Domain Controller is giving a negative ping results.

Negative Ping

This DC was working fine and it was new installation Windows server 2003 Domain Controller. Every 5 minutes it reports an event 1054 saying that it cannot find the domain controller name.

Event ID: 1054
Source: Userenv
Type: Error
Description:
Windows cannot obtain the domain controller name for your computer network. (The specified domain either does not exist or could not be contacted). Group Policy processing aborted.

everything was fine and SRV and DNS records are created fine, Clients can logon and access the server with no problem and the group policy is being applied correctly.

As per Microsoft KB This behavior may occur if the address for the configured preferred DNS server on the client is invalid or unreachable. but everything from the client side is fine as expected.

That is odd. I was sure that no problem with the system at all. After some time searching for that I start to suspect the hardware or the network and Bingoooo I was right

Problem now resolved via a HP support article below

SUPPORT COMMUNICAT

ION – CUSTOMER ADVISORYDocument ID: c01075682

 

Version: 2
Advisory: (Revision) HP ProLiant Servers Using Dual-Core or More Than One Single-Core AMD Opteron Processor May Experience Incorrect Operating System Time When Running Systems That Use the System Time Stamp Counter
NOTICE: The information in this document, including products and software versions, is current as of the Release Date. This document is subject to change without notice.

Release Date: 2007-07-16

Last Updated: 2007-07-16

HP ProLiant servers configured with Dual-Core or with more than one single-core AMD Opteron processor may encounter Time Stamp Counter (TSC) drift in certain conditions. The TSC is used by some operating systems as a timekeeping source. Each processor core, whether it is a single-core processor or a dual-core processor, includes a TSC. The condition where the TSC for different processor cores becomes unsynchronized is known as TSC drift.

Note : The potential for TSC drift if the proper recommendations are not applied when using AMD Opteron 200-series, Opteron 800-series, Opteron 1200-series, Opteron 2200-series and Opteron 8200-series processors is not specific to HP ProLiant servers.

Whether or not the system is affected by TSC drift depends on the specific ProLiant server generation, the number and type of AMD Opteron processors installed, the operating system, and whether the AMD PowerNow! feature is being utilized. TSC drift can result in different symptoms and behaviors based on the operating system environment, as detailed below:

Microsoft Windows Server 2003
This condition affects operations such as network communications and performance monitoring tasks that are sensitive to system time. For example, Microsoft Active Directory domain controllers can report an Unexpected Network Error (Event ID 1054) with the following description:

Event Description:
Windows cannot obtain the domain controller name for your computer network. (An unexpected network error occurred.). Group Policy processing aborted.

In addition, a negative PING time or larger than actual PING time may be returned after issuing the PING command. The negative PING time occurs because of a Time Stamp Counter drift occurring on AMD Opteron platforms which include more than one processor core.

SCOPE

Any HP ProLiant server configured with more than one single-core AMD Opteron processor or configured with one (or more) dual-core AMD Opteron processors running the following operating systems:

Microsoft Windows Server 2003 (any edition)
Microsoft Windows Server 2003 x64 Edition (any edition)
Red Hat Enterprise Linux 4(x86) or earlier
Red Hat Enterprise Linux 4 (AMD64/EM64T) or earlier
SUSE Linux Enterprise Server 9 32-bit (x86) or earlier

Note : The issue does not affect systems with only one single-core processor installed.

The following servers are affected when running an affected operating system:

HP ProLiant BL465c Blade Server
HP ProLiant BL685c Blade Server
HP ProLiant BL25p G2 server
HP ProLiant BL45p G2 server
HP ProLiant DL145 G3 server
HP ProLiant DL385 G2 server
HP ProLiant DL585 G2 server
HP ProLiant DL365 server
HP ProLiant ML115 server

The following servers are affected ONLY when using the AMD PowerNow! feature and running an affected operating system:

ProLiant BL25p Blade Server
HP ProLiant BL45p Blade Server
HP ProLiant DL145 G2 server
HP ProLiant DL385 server
HP ProLiant DL585 server

The following operating systems are not affected by TSC drift because these operating systems do not use the TSC as a timekeeping source:

Microsoft Windows Server 2008 (codename Longhorn)
Red Hat Enterprise Linux 5 (x86)
Red Hat Enterprise Linux 5 (AMD64/EM64T)
SUSE Linux Enterprise Server 10 (x86)
SUSE Linux Enterprise Server 10 (AMD64/EM64T)
VMware ESX Server 3.0.0 (or later)

RESOLUTION

To ensure proper operation of tasks sensitive to system time, perform either of the following actions, based on the operating system environment:

Microsoft Windows Server 2003 (any edition)
Edit the BOOT.ini file and add the parameter “/usepmtimer,” then reboot the server. Adding the “/usepmtimer” parameter to the BOOT.INI file configures the Windows operating system to use the PM_TIMER, rather than the Time Stamp Counter.

So the final solution was that

To resolve this problem, install the new AMD CPU driver. To do this, visit the following AMD Web site:

http://www.amd.com/us-en/assets/content_type/utilities/setup.zip (http://www.amd.com/us-en/assets/content_type/utilities/setup.zip)

After you install the new driver, you must restart your computer.

Note The driver installation adds the /usepmtimer switch in the Boot.ini file. This switch is discussed in the above section.

Quote of the Month

October 28, 2009 Mohamed Fawzi Leave a comment

“Intelligence is the ability to hold two opposed ideas in the mind at the same time” –F. Scott Fitzgerald

Categories: Personal

XenServer: Why?

October 28, 2009 Mohamed Fawzi Leave a comment

There have been lots discussions lately about what’s happening around Citrix XenServer. Perhaps too many. For what it is worth, I was one of the people discussing this on the net (Twitter, Blogs etc) with some other folks. I originally drafted a blog post when Citrix bought XenSource but it never made it (officially because I was busy, unofficially because I couldn’t figure out “why”).

I think that what it is happening is pretty clear at this point. The market landscape is being consolidated with Oracle acquiring VirtualIron as well as the “Sun Xen thing” within the overall grand plan of the acquisition (of the remaining) of Sun. All these solutions have hardly, in the past few years, managed to make a difference in the industry and their names were floating around more with the hope that VMware could feel more pressure and competition, and hence lower the prices. In the meanwhile, VMware increased their price which speaks for itself.

This is leaving (apparently) the x86 virtualization market with 3 relevant viable alternatives that are VMware, Microsoft and Citrix. I have always said this is going to be a two-horse race and I still stand behind this statement. The first horse is VMware and the second horse is what I call Microtrix ™. There have been a nice Twitter discussion a few days ago on why Citrix bought XenSource and the future of it etc. This was my tweet in the discussion which, in a way, summarizes my thinking:

Source

Categories: Hyper-V, Hyper-V R2 Tags: ,

VMM Tricks: Remove failed jobs from VMM console

October 28, 2009 Mohamed Fawzi Leave a comment

VMM maintains job history for the past 90 days.

If you want to remove them manually, we need take the following steps to update directly in SQL DB. These steps are valid when you are using SQL Express for VMM DB.

1. Download SQL Management Studio Express from the following link and install in SCVMM
http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en
2. Open the management studio console and connect to <SCVMM server>\microsoft$vmm$
3. Select Databases > VirtualManagerDB

SQL Management Console

4. Click new query within the console and input the following command.
UPDATE tbl_TR_TaskTrail SET IsVisible = 0 WHERE TaskState = ‘Failed’

5. Click Execute, it will hide all the failed status job.

Delete Failed Jobs

6. Now re-open the SCVMM console and the failed jobs should be invisible.

Video: World’s First Virtualized Mobile Phone Motorola Evoke QA4

October 21, 2009 Mohamed Fawzi Leave a comment

Open Kernel Labs demonstrates and whiteboards the world’s first virtualized mobile phone – the Motorola Evoke QA4.

Check out this demo from Ram Sarabu, Senior Product Manager.

And find out more information here.

Categories: Virtualization Tags:

Open Door program, Simple rules to move

October 17, 2009 Mohamed Fawzi Leave a comment

20 Percent of Fortune 500 Now Report Using Citrix XenServer as Company Offers Additional Tools to Help Customers Switch

BOSTON » 10/14/2009 » Citrix Systems, Inc. (Nasdaq: CTXS) today announced a new program called Project “Open Door” that offers advanced virtualization management along with free support, training and conversion tools to customers switching servers from VMware ESX or vSphere to Citrix® XenServer™ or Microsoft® Windows® Server 2008 Hyper-V™. With more than 70 percent of enterprise customers now using multiple hypervisors in production(1), demand for the Hyper-V and Citrix XenServer virtualization platforms continues to grow. In fact, over the past 30 days the number of large enterprise customers who have activated XenServer for production use has more than doubled, and now represents 20 percent of the Global Fortune 500.  Project Open Door makes it easier for customers who want to switch out existing VMware servers for the rapidly growing XenServer and Hyper-V platforms, offering advanced virtualization management for both environments, along with free support, training and conversion tools to make the transition as simple as possible.

“XenServer and Hyper-V are clearly the fastest growing virtualization platforms in the industry today, each appealing to a different set of users,” said N. Louis Shipley, group vice president and general manager, XenServer Product Group at Citrix. “With the price of virtualization continuing to rise from other vendors, more and more enterprise customers are switching a portion of their production servers to the Citrix and Microsoft virtualization platforms. Project Open Door helps these customers achieve more agile datacenters by offering them advanced virtualization management through our Citrix Essentials for XenServer and Hyper-V solution, as well as assistance in making the transition smooth, easy and cost-effective. With more virtualization choices than ever, we encourage customers to shop around and make the right choice for their environment.”

Introducing Project Open Door
Project Open Door helps ensure customers looking to expand their datacenters with XenServer or Hyper-V have a smooth transition. Through March 2010, customers who switch existing VMware servers to XenServer or Hyper-V, and add Citrix Essentials™ for advanced virtualization management, will receive additional technical support, training, and conversion tools from Citrix at no cost.
Citrix Essentials enhances the XenServer and Hyper-V platforms by adding powerful storage integration through Citrix® StorageLink™ technology, automated lab and stage management and dynamic workload balancing. This combination enables broad interoperability that makes it easier for customers to manage virtual machines across heterogeneous virtualization environments throughout the full application lifecycle, from lab and testing to production.

Customers Worldwide Moving to XenServer
With one in five enterprise customers now using XenServer(2), production deployments are growing rapidly across all industry segments. According to the Burton Group, using Citrix XenServer with Citrix Essentials meets 100 percent of the required features for enterprise production deployment. By switching servers from more expensive solutions to XenServer, customers have found that they not only get powerful, enterprise-class virtualization at a far lower cost, they are better equipped to future-proof their virtualization infrastructures for the coming wave of cloud computing. Customers who recently made the switch to XenServer include companies of all sizes, across multiple industries:

“The choice to go with Citrix came down to performance,” said Michael Gilbert, director, IT Divisional Services, Randstad Professionals, a leading global provider of professional employment services. “The 64-bit architecture simply outperformed anything else out there, and that had real world implications in terms of saving costs on additional hardware. Obviously, the price difference is nice, but it’s really the performance that matters. As we take XenServer deeper into the environment we are constantly finding new applications for the technology. For Randstad, leveraging virtualization for disaster recovery purposes is the next on our list.”

“In our effort to capture the promise of virtualization, we tested Citrix XenServer and have been very pleased with the results,” said Scott Richards, systems engineer, Zions Bank, a regional financial services leader with more than 500 offices across 10 US states. “Not only have we reduced our hardware footprint and server sprawl but we have also been able to obtain higher levels of application availability, all while meeting the needs of our end user customers. Without XenServer we would have had to revert to the days of underutilized and expensive physical infrastructure. For Zions Bank, it has been a win-win situation all the way around.”

“Citrix XenServer has been the best choice for helping us shrink our server footprint and reduce hardware and virtualization licensing costs,” said Ziad Sukkar, CIO, Asia Pacific Region, Sirva Relocation and affiliate Allied Pickfords, a global shipping provider with operations in more than 40 countries worldwide. “It was surprisingly simple to migrate using the Citrix supplied conversion tools, and we have already seen a huge reduction in overall costs, as well as increased stability and performance of our server virtualization platform.  In fact, we are planning to expand our implementation of XenServer so we can virtualize additional applications.” (see their video here that talks about why they made the switch).

“The Facilities Management Information Systems unit was the first on the UC Davis campus to host large-scale application deployment on the XenServer platform. When we took a step back and looked at our vision for IT, the decision to move to XenServer was really easy to make,” said Florencio Inzunza, network systems administrator, University of California, Davis. “Our ultimate goal is to provide maximum service levels with minimal administrative overhead, and the Citrix focus on delivery, as well as cost effective hosting via virtualization, made the decision very clear.”

“After doing in-depth comparisons of all the virtualization platforms out there, it became quite clear that XenServer provides the biggest bang for the buck,” said Steven Miller, IT manager, Guy M. Turner, a leading regional industrial equipment and transportation company based in North Carolina. “Getting everything we need at a fraction of the cost of many of the alternative solutions on the market just makes sense. It is clear to us that, for perhaps the first time, there is some stout competition to VMware.  That is good for the market.”

“For us, the choice to deploy XenServer is all about getting the most performance and scalability for our XenApp servers,” said Jon Garlock, systems manager, J.H. Cohn, one of the largest independent accounting and consulting firms in the United States. “We have seen a huge advantage to running XenApp on XenServer. So much so, that it was simply in our best economic interest to make the switch. By increasing the density and the performance for end users running applications in XenApp, we were easily able to justify the switch.”

“After running and testing both the leading virtualization solutions side by side, our organization standardized on XenServer and now have a host of IT production services running on XenServer,” said Paul Matthews, chief technology officer, OCHIN, Inc., a leader in the health information technology industry. “These include our HL7 Messaging, gateway and e-pharmacy solutions. For a health cooperative of our size and scope, messaging and prescription services are our life blood. So to host these mission critical services on a virtual platform we had to be 100 percent certain of the stability and reliability of the underlying technology. XenServer has exceeded our expectations on all fronts.”

“In making virtualized servers a standard part of our IT infrastructure, we required a secure, reliable, flexible, feature rich and cost effective platform,” said Tom Norton, ICT development manager, Taunton School in the UK. “After careful comparison between XenServer and the VMware technology we had been using, we found XenServer offered all the features we needed, at a fraction of the price.  By decommissioning our VMware servers and replacing them with XenServer, we have not only lowered costs, but also gained capacity to support more users on each server and eased the management of the system.”

Program Details
The Project Open Door promotion will be effective worldwide from October 1 – March 31, 2010. Customers who decommission five or more VMware vSphere 4 or VI3 servers and replace them with XenServer or Hyper-V plus the Citrix Essentials solution, receive the following:
• A free five incident support pack (5 by 8 hours) for every five servers converted
• A voucher for six hours of online training for every five servers converted
• Free migration tools for seamlessly transferring virtual machines from VMware to XenServer or Hyper-V

Please visit http://www.citrix.com/opendoor for more information.

Categories: Hyper-V, Hyper-V R2 Tags: ,

Citrix announces Project “Open Door” for customers who want to switch from VMware to XenServer or Microsoft Hyper-V

October 17, 2009 Mohamed Fawzi Leave a comment

In July VMware attempted to win those Virtual Iron customers left in the cold by Oracle with an aggressive discount program.

Now it seems that VMware has to defend against a similar move from Citrix, which launches today the Open Door program.

The rules are simple:

The Project Open Door promotion will be effective worldwide from October 1 – March 31, 2010. Customers who decommission five or more VMware vSphere 4 or VI3 servers and replace them with XenServer or Hyper-V plus the Citrix Essentials solution, receive the following:

  • A free five incident support pack (5 by 8 hours) for every five servers converted
  • A voucher for six hours of online training for every five servers converted
  • Free migration tools for seamlessly transferring virtual machines from VMware to XenServer or Hyper-V

Hyper-V Virtual Machines could not intialize

October 15, 2009 Mohamed Fawzi 1 comment

This is one of the problems that you may face, When you start the VMs after you rename the host or join the domain you can’t start the VMs on taht host and face a problem that (Could not find a usable certificate)

For hyper-V with windows 2008 R2

VMName’ failed to initialize.
Could not initialize machine remoting system. Error: ‘Unspecified error’ (0×800070490).
Could not find a usable certificate. Error: ‘Unspecified error’ (0×
800070490).

For Hyper-V with Windows 2008

VMName’ failed to initialize.
Could not initialize machine remoting system. Error: ‘Unspecified error’ (0×80004005).
Could not find a usable certificate. Error: ‘Unspecified error’ (0×80004005).

Hyper-V Certifcate Error

This is a well known problem for Hyper-V V1 use this update to solve it as per KB Article 967902 that details the symptoms and resolution.

For Hyper-V V2 just restart the host and everything will be fine.