Thursday, September 24, 2009

What’s The Big Deal With Hyper-V and System Center?

What’s The Big Deal With Hyper-V and System Center?

Microsoft’s big differentiator from the competition is management. Most people have never experienced System Center so they’ve no idea by what I mean by management. They’ve seen things like HP SIM, IBM Director or VMware Virtual Center. For me, those are incomplete point solutions but they’re better than some of the freeware or “cheapware” solutions I’ve seen on some sites. When I say management I mean knowing what is where, how it’s performing, automation of deployment & configuration, backup/recovery from cradle to grave and from hardware to application inclusive of virtualisation. Sounds like science fiction? Nope, it’s a reality for some of us who’ve gone down the System Center route. Even back in the early days, I had this sort of thing running in 2005. Me and my team of 2 others managed 173 worldwide servers and were 3rd line support for the desktops. That included doing all the AD management, PC image builds, patching and software deployment. That sounds like we must’ve worked 24 hours a day? Nope, outside of project/development work, we did around 3 hours a day between us.

This was all thanks to the automation provided by Microsoft System Center. It wasn’t even called that back then … or the term had just been coined. We had SMS 2003 (now known as Configuration Manager 2007 R2). That allowed us to audit systems, generate license deployment reports, measure software utilisation and deploy software automatically. It could have done software deployment and patch deployment but those features were pretty crude prior to the current release of ConfigMgr. Instead we used WSUS and Remote Installation Services (now replaced by Windows Deployment Services). Microsoft Operations Manager 2005 (now Operations Manager 2007 R2) gave us centralised monitoring of health and performance for our Windows Servers. This included HP hardware, operating system, Microsoft applications/services and Citrix MetaFrame at the time. Combined with Active Directory and a carefully designed GPO and delegation model, we had complete control of everything, always knowing what was happening and being able to proactively respond to issues in the network. We had a frequently changing business so being able to respond quickly was essential. We had that.

Let’s have a look at what MS has to offer now.

image

Let’s start with Hyper-V in Server 2008 R2. That’s Microsoft’s enterprise virtualisation platform. You have the versions built into Windows Server 2008 R2and the free Hyper-V Server 2008 R2. You can run standalone machines with no hardware fault tolerance. Or you can create a cluster. This means that virtual machines can move from one host to another with only 10 milliseconds of an outage during the move. 10 milliseconds is virtually nothing and no network application will notice. This is thanks to Live Migration. The R2 version simplifies storage by using Cluster Shared Volume (CSV). You can store many VM’s on one large volume reducing the amount of time you need to spend talking to that pesky SAN administrator ;-)

System Center Virtual Machine Manager 2008 R2 or VMM allows you to manage your Hyper-V hosts, the placement of the VM’'s and the configuration of the VM’s. It can also manage ESX, ESXi and many VMware Virtual Center installations. VMM is based on PowerShell so it gives you a central place for scripting. There’s a library where you can save those scripts and ISO’s, VM configurations, VHD’s (virtual hard disks), etc. There’s a self service console that allows you to delegate the deployment and management of VM’s. You can control delegated VM deployment using quotas. This really works now because the storage work is already done – it’s not a real player in the pre-R2 release in the real world due to this complication.

That’s the virtualisation dedicated stuff done with.

System Center Operations Manager 2007 R2 allows you to monitor the health and performance of Windows, Linux, UNIX, Microsoft services/applications, distributed applications and synthetic transactions out of the box. You can add in support for things like ESX, MySQL, Oracle, Cisco, Juniper, etc using purchased 3rd party applications. HP, Dell and IBM provide free management packs for monitoring their hardware. The new *NIX support is perfect because we can monitor those SLES VM’s we have now or the RedHat VM’s that MS will probably start supporting before the end of the year.

VMM integrates tightly with OpsMgr using Pro Tips, e.g. OpsMgr can detect a performance issue with a VM. It then notifies VMM to move that VM to another host with more available resources. Hardware vendors are adding to this, e.g. Brocade has a management pack where their HBA can report heavy utilisation of a fibre channel link by a VM. OpsMgr reports this to VMM and then VMM responds by moving VM’s about on the cluster. Live Migration means that these VM moves have no impact on the application they host or the clients they service.

System Center Data Protection Manager 2007 SP1 is Microsoft’s backup solution. Using the Volume Shadow Copy Service (VSS) writer for Hyper-V, it can snapshot a VM without it being brought offline. That’s using an agent on the Hyper-V host or parent partition. You could also install and agent in the VM for a more traditional backup. OpsMgr will monitor that DPM installation for you. And you can more easily test your backup recoveries now. Snapshot a VM and restore it to an alternate location. Attach it to a private lab network. Then do some tests like database recovers or SharePoint recoveries.

System Center Configuration Manager 2007 R2 is a huge product now. I’m probably going to do it a disservice here. It can do your OS deployment, software deployment, security update deployment, custom update deployment, license usage reporting, hardware auditing, license usage reporting, desired configuration auditing … to be honest it can do anything you can do in a script or from a command prompt and on a controlled and scheduled basis. With this mad ability to deploy VM’s at a moments notice, ConfigMgr gives you options for deploying the OS. Maybe you use a sysprepped VHD template. Maybe you use ConfigMgr to deploy an OS image over the network. A VM deployed using the self service console can be immediately configured by ConfigMgr with settings and security updates that are mandated by policy. Network configuration policy can be enforced by checking that customised VM’s are up to scratch using desired configuration management.

That’s a quick view of what’s to offer. As you can see, it’s pretty damned powerful. It also allows you to automate so much. You can focus on future developments, maybe even get onto that Windows Server 2010/2011 Serer beta ;-)

Hyper-V Howto's

Tony Soper posted a lot of Hyper-V Howto's on his blog, here is an excerpt:

Hyper-V How To: Add a PT Disk to A VM with a Script
Hyper-V How To: Add a Virtual NIC to a VM using Script
Hyper-V How To: Apply VM Snapshot with Script
Hyper-V How To: Change ISO in VM Virtual DVD Drive using Script
Hyper-V How To: Change VHD using Script
Hyper-V How To: Change VM State using Script
Hyper-V How To: Reset VM MAC address range using a script
Hyper-V How To: Clear All Virtual Networking using Script
Hyper-V How To: Compact a VHD using Script
Hyper-V How To: Connect Virtual Switch to Host using Script
Hyper-V How To: Connect a Virtual Switch to Physical NIC using Script
Hyper-V How To: Connect a Virtual Switch to a VM using Script
Hyper-V How To: Convert a VHD using Script
Hyper-V How To: Copy-VM
Hyper-V How To: Modify VM VLAN IDs for Server Core using Script
Hyper-V How To: Find RSAT Tools for Win 7
Hyper-V How To: Create a Differencing VHD using Script
Hyper-V How To: Create a VM using Script
Hyper-V How To: Find the right Hyper-V Cmdlet
Hyper-V How To: Detect if you are inside a VM
Hyper-V How To: Create a Virtual Switch using Script
Hyper-V How To (Not): Snapshot FAQ with Ben Amrstrong
Hyper-V How To: Delete Snapshot using Script
Hyper-V How To: Delete a VM using Script
Hyper-V How To: Expand a VHD
Hyper-V How To: Get a Custom KVPS using Script
Hyper-V How To: Get Intrinsic KVPS using Script
Hyper-V: Everything you always wanted to know about clustering* but were afraid to ask
Hyper-V How To: List Snapshots using Script

Continue At Source

Windows 7 XP Mode

virtual_pc Windows 7 XP mode is out). Windows XP Mode is add-on for Windows 7, which enables you to get FREE copy of Windows XP that you can run virtually. Why do you need this? If you have some old application that doesn’t work in Windows 7, you can install it in virtual XP, and then you can start it and use it within Windows 7 environment.

New features in Windows XP Mode RC

  • You can now attach USB devices to Windows XP Mode applications directly from the Windows 7 task-bar. This means your USB devices, such as printers and flash drives, are available to applications running in Windows XP Mode, without the need to go into full screen mode.
  • You can now access Windows XP Mode applications with a “jump-list”. Right click on the Windows XP Mode applications from the Windows 7 task bar to select and open most recently used files.
  • You now have the flexibility of customizing where Windows XP Mode differencing disk files are stored.
  • You can now disable drive sharing between Windows XP Mode and Windows 7 if you do not need that feature.
  • The initial setup now includes a new user tutorial about how to use Windows XP Mode.

Windows XP Mode RC requires Windows 7 Professional, Ultimate or Enterprise. It also requires additional 1 GB of RAM, 15 GB of available disk space, and processor capable of hardware virtualization with AMD-V or Intel VT turned on in the BIOS. For more information visit Link

DOWNLOAD: Windows 7 XP Mode

Free Online Self Paced Training for Citrix Essentials for Hyper-V

Citrix training for Hyper-VJust a short information copied from Microsoft Virtualization User Group blog: Citrix is organizing free online self paced training for Citrix Essentials for Hyper-V. In this course, learners will be introduced to Citrix Essentials™ for Hyper-V™ and gain the knowledge needed to perform basic installation and configuration tasks. Through online simulations, students will install and configure key features and explore product capabilities, such as virtual storage management, provisioning services, lifecycle management and workflow studio.

Free training website: http://community.citrix.com/display/ocb/2009/09/02/Free+Online+Self+Paced+Training+for+Essentials+for+Hyper-V

Audience
This course is designed for IT professionals, architects, systems engineers, server administrators, engineers, Citrix Partners and Microsoft Partners.

Preparatory Recommendations
Prior to taking this course, it is recommended that students possess the following knowledge/experience:
• A basic knowledge of the purpose and goals of virtualization technology
• An intermediate familiarity with Microsoft® Hyper-V
• An understanding of computing architecture, including network and storage devices, device drivers and operating systems
• Basic experience installing and administering Windows Server™ 2003 or Windows Server 2008
• Intermediate knowledge of network devices and site architecture, including configuring vLANs
• Basic knowledge of storage terminology and technologies, including partitions, SANs, LUNs, iSCSI, and NFS and CIFS file shares

Key Skills
Upon successful completion of this course, learners are able to demonstrate the following objectives:
• Identify requirements and process for a basic implementation of Essentials for Hyper-V
• Describe the key features including:
o Dynamic provisioning
o StorageLink
o Lab management
o High availability
• Execute basic functions including product installation, and demonstrate familiarity with the Administrative consol and user interface for basic operations and maintenance
• Describe the high-level concepts of Workflow Studio

Monday, September 21, 2009

How to change SID on Windows 7 and Windows Server 2008 R2 using sysprep?

sysprep3 how to check SID on Windows 7 and Windows Server 2008 R2, today I’ll describe you how to change SID on Windows Server 2008 R2 and Windows 7 using sysprep. I see many of you are looking how to change SID using NewSID, but New SID is not officially supported by Microsoft. You could use NewSID on Windows Server 2008, but when you try to use it on Windows Server 2008 R2 it won’t work, actually, it will “destroy” operating system. I didn’t test it on Windows 7, but still my advice is to use sysprep. Changing SID using sysprep is also very simple, just follow few steps as described below…

I tested sysprep on Windows Server 2008 R2 Datacenter edition, but same steps apply for Windows7 also.

First, click to Start->Run, type sysprep and press OK.

sysprep1

This will open sysprep folder which is located in c:\Windows\System32. Open sysprep application.

sysprep2

This will open System Preparation Tool 3.14 window. As a System Cleanup Action select Enter System Out-of-Box Experience (OOBE). Important: select Generalize if you want to change SID, it’s not selected by default. As Shutdown Options select Reboot.

sysprep3

It will take some time for sysprep to finish, so grab a cup of coffee and wait.

sysprep4

After rebooting you’ll have to enter some data, for example, Country or region, Time and currency and Keyboard input.

sysprep5

Also, you’ll have to accept EULA. And that’s it. After booting, in Server Manager you’ll see that everything is changed, if you had some settings set now they’re changed.

sysprep6

Now you can again use PsGetSid to check that your OS has new SID.

Sunday, September 6, 2009

VI4 Client on Windows 7

Okay, So I finally figured out how to get the VI4 Client working on my Windows 7 System. The only part i was missing was the .dll file in a new folder /lib. Thanks to the guys over at the VMTN forum.. I

finally got this working :)

Step 1.

imageDownload this DLL called system.dll

*Note: This DLL is usually found in the %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory of a non Windows 7 PC with .NET v3.5 SP1 installed.

Step 2.

Once downloaded install it in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib” directory. If the ‘lib’ directory doesn’t exist then create it and drop the dll file into it.

VMware vSphere Client Windows 7

Step 3.

Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it in the location specified in the screenshot below. Then save the changes.



VMware vSphere Client Windows 7

Step 4.

From the Windows 7 ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button as we want to add a new ‘System’ variable.

VMware vSphere Client Windows 7

Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:

C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

VMware vSphere Client Windows 7

You are now ready to start using the VMware vSphere Client on your Windows 7 machine! Some people have reported having to run the client as an ‘Administrator’ so if you are having difficulties it may pay to try this – I luckily didn’t experience this problem.

VMware vSphere Client Windows 7

Vmware 3.5 Build Numbers

VMware ESX: Update: Build Number:
ESX 3.5.0 Update 1 64607
ESX 3.5.0 Update 2 110268
ESX 3.5.0 Update 3 123630
ESX 3.5.0 Update 4 153875

A easy way to find your build numbers without logging into the VI Client is to run this short command…

>vmware -v


chkconfig --level 0123456 ipmi off