Archive

Archive for the ‘SCVMM’ Category

System Center 2012 SP1 Configuration Analyzer

February 25, 2013 Leave a comment

The System Center 2012 SP1 Configuration Analyzer is your first line of defense in troubleshooting issues with System Center 2012 SP1 server-side components. The System Center 2012 SP1 Configuration Analyzer is a diagnostic tool that you can use to evaluate important configuration settings for computers that are running any of the following System Center 2012 SP1 components: Operations Manager, Virtual Machine Manager (VMM), Service Manager, Orchestrator (plus Service Provider Foundation), Configuration Manager, and Data Protection Manager (DPM).

Previously, users who wanted to take advantage of this functionality had to download and install best practice analyzers (BPAs) for each System Center component. With the release of System Center 2012 SP1, users can now use a single model (called the System Center 2012 SP1 Configuration Analyzer) within Microsoft Baseline Configuration Analyzer 2.0 that automatically detects and scans all System Center 2012 SP1 server-side components.

You can find the download link Here

System requirements

Supported operating systems: Windows Server 2008 R2 SP1, Windows Server 2012

The following items must be pre-installed on the server or client computer on which System Center 2012 SP1 Configuration Analyzer will be installed:

In addition, if you plan to scan any computers that will be used as a SQL Server host for a Configuration Manager site database, you must have SQL Server pre-installed on those computers.

Categories: SCCM, SCOM, SCSM, SCVMM, SCVMM R2

VMM Console update package (KB2742355)

Referring to my post “VMM 2012 Console crash after Rollup 2 update”. Microsoft has provided update package for this solution.

The VMM team has released a new VMM Console update package (KB2742355) on Microsoft Update to address this issue. The old VMM Console update package (KB2724538) has been removed.

 

The Update Rollup 2 KB article has also been updated to reflect the new package number and the following note has been added to the VMM installation instructions section:

 

Note An issue was discovered with the VMM Console update (KB2724538) on non-English versions. A new VMM console update (KB2742355) has been released on Microsoft Update. This update will be available to all VMM languages regardless of whether the old console update (KB2724538) is installed. It is recommended to install this update on all VMM languages.

 

Please check MS technet thread

Categories: SCVMM, VMM, VMM2012

VMM 2012: VM properties crash the console

June 17, 2011 4 comments

When I start testing for VMM 2012 I face small problem. After Adding my host to VMM and start testing when I select VM properties crash the console Sad smile

This happens for VMs running on Hyper-V Windows 2008 R2 SP1..this host used to be managed by VMM 2008 R2 SP1..then I removed the agent and installed VMM 2012 Agent.

VMM server is running on VM..When I right click on the VM and select properties it crash..but when I press properties from the top Pan I freeze…

VMM Vnext Error

Capture3

I submit this error on Connect website and Richard Rundle from Microsoft was kind enough to give me help in that

Resolution

This is a known issue with the Beta. You can run the following script on the VMM Server to prevent the crash:

Get-SCVirtualMachine | where {$_.HostType -eq "VMHost"} | Get-SCVirtualNetworkAdapter | where {$_.logicalnetwork -eq $null} | Set-SCVirtualNetworkAdapter –NoLogicalNetwork

 

Now everything is working fine

047

VMM SSP Publishing to the internet

May 12, 2011 2 comments

First we should  understand that SCVMM Self-Service portal is using ActiveX controls to connect the remote VM.

The Self-Service Portal is accessed using Internet Explorer which requires ActiveX controls to provide remote access to virtual machines on managed hosts.

When a user uses the Self-Service Portal to view or connect to any of their virtual machines, they will be prompted to install the appropriate ActiveX control in Internet Explorer on their local machine.

Self-Service Portal will use ActiveX control VMMCtlAx and VMRCActiveXClient to connect with the remote VM, both ActiveX control are using RDP protocol to talk with remote VM.

Scenario 1: Opening SSP2.0 portal -> Virtual machine page -> Listing of VM

Status of SSP : Working

Reason:  U1 tries to contact website which is possible. Website is able to talk to Engine machine and VMM hence You are able to see list of VMs

Scenario 2: Connect VM Operation getting failed -> Open SSP2.0 portal -> Virtual machine page -> Listing of VM -> Try to connect

Status : Operation failed.

Reason: U1 is using machines from external world to connect to ssp.company.lcl ->  Active X got installed on U1 machine -> for connect operation- This active X instead of going through Website directly goes to host for connect operation ->  As Hyper V and U1 are on different network -> it is not working.

Workaround : You can check if somehow you can provide direct connection of host to U1 user machine.

Based on this behavior, we can learn that we cannot publish Self-Service Portal via ISA to connect VM via HTTPs.

Scenario of SSP on internet is not supported currently. :(

So what is the workaround for that ?!!! We can try solution like UAG

http://ahmedhusseinonline.com/2010/11/publishing-scvmm-ssp-using-uag-part-1-of-3/

http://ahmedhusseinonline.com/2010/12/publishing-scvmm-ssp-using-uag-part-2-of-3/

http://ahmedhusseinonline.com/2010/12/publishing-scvmm-ssp-using-uag-part-3-of-3/

Have a good day!

More info http://social.technet.microsoft.com/Forums/en-US/scvmmssp2/thread/b2a19b46-5ea6-42f2-bf80-18f35de8d927/?prof=required

Categories: SCVMM, SCVMM R2 Tags:

System Center Virtual Machine Manager Self-Service Portal 2.0 SP1 Beta

Now it is on Connect https://connect.microsoft.com/site1044/program5055

 

You can grab your Now

What’s new with VMMSSP 2.0 SP1?

 

Import virtual machines: Allows DCIT (Datacenter) administrators to re-import virtual machines that were removed from the self-service portal and also import virtual machines created outside the portal but managed by VMM.

 

Expire virtual machines: This feature provides the user the ability to set an expiration date for the virtual machines that are being created or imported so that the virtual machines auto-delete after the set date. This feature also provides users the flexibility (through role-based access) to set or change the expiration date for the virtual machine.

Notify administrators: This feature provides functionality to notify BUIT(Business Unit) or DCIT(Datacenter) administrators about various events in the system (for example, Submit request, Approve request,Expire virtual machine, and so on) via email through SQL server mail integration.

Move infrastructure between business units: This feature allows DCIT(Datacenter) administrators to move an infrastructure from one business unit to another when the system is in Maintenance Mode.

The VMMSSP 2.0 SP1 Beta review program is now open.

Tell us what you think! Download the beta and provide us with your feedback, especially in the areas of its usefulness, usability, and impact. Send an email with your input to sspfeedback@microsoft.com.

Your input helps to make the guides we publish as helpful and useful as possible. We look forward to hearing from you!

 

Kinds of Feedback:

We would especially appreciate feedback in the following areas:

· Usefulness: What portions of the tool are the most useful to your organization?

· Usability: Is the solution is easy to setup and neviagate through?

· Impact: Do you anticipate that this tool will save you time in your organization? Has this tool had a positive influence on your opinion of the Microsoft technologies it addresses?

How Virtual Machine Manager Rates Hosts

January 9, 2011 Leave a comment

When you deploy or migrate a virtual machine to a host, the evaluation and selection of the most suitable host for the virtual machine is known as virtual machine placement, or placement. During placement, Virtual Machine Manager (VMM) evaluates the suitability of available hosts and assigns each host a rating of 0 stars (not suitable) through 5 stars (very suitable), in half-star increments. Each host’s rating is based on several factors, including the virtualization software on the host, the hardware and networking configuration of the host and the virtual machine, the virtual machine’s resource requirements, and whether the virtual machine is highly available.

A new feature in VMM 2008 R2 is the host compatibility check, which VMM performs before migrating a virtual machine that is deployed on a Hyper-V host cluster created in Windows Server 2008 R2. To prevent a migration from failing, the host compatibility check ensures that the destination host’s hardware, such as CPU model, is compatible with the source host. VMM uses the Hyper-V compatibility check API in Windows Server 2008 R2 and the VMware compatibility check APIs to ensure that hardware requirements are met for each type of virtualization software. This feature is not available for failover clusters created in Windows Server 2008.

Using Host Ratings to Select Hosts

You can establish customized default criteria for VMM to use when rating hosts during placement. This helps you to place virtual machines on the most suitable host. You can specify the placement goal that VMM should use to calculate hosts ratings. The placement goals are described in the following table:

Goal

Description

Strategy

Resource maximization Consolidates multiple low-utilization workloads onto a single host. Virtual machines are placed on that host until the limits are reached. Use this option if you want to fully utilize one host before assigning virtual machines to additional hosts
Load balancing Minimizes the processing load on any one host. Use this option if you want to distribute the performance load of your virtual machines evenly across your hosts.

You can also specify the relative importance of each of the following resources that VMM should use when rating hosts:

  • CPU utilization
  • Memory utilization
  • Disk I/O
  • Network utilization

How VMM Rates Hosts

VMM evaluates all hosts within the selected host group and also any hosts contained in child host groups. The ratings are based on the default placement settings and do not change based on the ratings of other hosts.

Each host must be able to accommodate the host reserves and the maximum resource allocation for all of the hosted virtual machines. Host reserves are the resources set aside on the physical host computer for the host operating system.

Measuring Resource Usage

VMM measures CPU usage, memory usage, disk I/O, and network usage for each host approximately every 10 minutes and recalculates the average rating. The reported usage is an average of all measurements taken since the last action that changed the host’s resource usage. Actions that reset data on a host include the following:

  • New Virtual Machine
  • Deploy Virtual Machine
  • Store Virtual Machine
  • Migrate Virtual Machine
  • Delete Virtual Machine
  • Virtual Machine Turned On
  • Virtual Machine Turned Off, Stopped, Paused, or Saved State
Calculating Host Ratings

VMM calculates host ratings in half-star increments on a scale from 0 stars through 5 stars. Ratings are based on individual hosts and not on the relative suitability of all available hosts. VMM calculates host ratings according to specific formulas, described in the following table:

Rating

Formula

CPU [ 1 – ( CPU Utilization / (100 – CPU Reserve)) ] x CPU Weight
Memory [ 1 – ( Memory Used / (Total Memory – Memory Reserve)) ] x Memory Weight
Disk [ 1 – ( Disk IOPS / Maximum Disk IOPS ] x Disk Weight
Network [ 1 – ( Network Utilization / (100 – Network Reserve)) ] x Network Weight

 

Conditions That Cause a Zero Rating

If a host fails to meet one or more specific requirements, it will receive a host rating of 0 stars. Any available host which meets these requirements will automatically receive a rating of greater than 0 stars. The requirements are described in the following table:

Requirement

Description

Physical hard disk space The host must have at least one hard disk with enough space to hold the total hard disk space required by the virtual machine. With dynamic hard disks, the current hard disk size is used, not the maximum hard disk size.
Memory The memory required for the virtual machine must be less than the current amount of memory available on the host. A host must have sufficient free memory to start the virtual machine.
Network connectivity The virtual networks required by the virtual machine are checked against the virtual networks available on the host. The host must contain all of the virtual networks required for the virtual machine. If you use network tags, the network location and the network tag for the virtual and the host machines must be identical, or the host rating will be 0 stars. For more information, see Configuring Virtual Networks in VMM.
Clustering Highly available virtual machines should be placed on clustered hosts. VMM will assign 0 stars for a non-clustered host but will not block the action. You should also ensure that migrations on the same cluster do not violate the cluster reserve limits. For more information, see How to View and Modify the Properties of a Host Cluster (http://go.microsoft.com/fwlink/?LinkID=162986).
Moving from Hyper-V VMM will block migration of virtual machines from a Hyper-V host to a host that is running different virtualization software.
Virtualization software compatibility VMM will block migration of a virtual machine with specific features that are not allowed by the virtualization software that is running on a host. For example, VMware hosts do not allow IDE hard disks, and Hyper-V hosts do not allow booting up from a SCSI hard disk.

 

How to Interpret Host Ratings

Host ratings are recommendations based on default criteria that you can customize or override during placement. Host ratings do not include every relevant piece of information. For example, the host rating calculations do not include the speed of network connections.

You can place a virtual machine on a host regardless of its rating if the host has enough physical disk hard space and memory available. However, placing a virtual machine on a host with a higher rating provides better performance for the virtual machine.

Guidelines for Attaining Accurate Host Ratings

Use the following best practices to help ensure accurate host ratings during placement.

Monitor Trends in Resource Usage

You can monitor trends in host and virtual machine usage over time by scheduling periodic reports in Operations Manager. For more information, see Configuring Operations Manager Integration with VMM (http://go.microsoft.com/fwlink/?LinkID=159865).

Configure Default Virtual Machine Paths

Add default virtual machine paths for each volume of a host on which you want to store virtual machines. You must do this if you plan to support virtual machine self-service. For more information about how to add a virtual machine path to the host, see How to Set Placement Options for a Host. For more information about virtual machine self-service, see About Virtual Machine Self-Service.

 

Source http://technet.microsoft.com/en-us/library/dd250807.aspx

Categories: SCVMM, SCVMM R2, VMM

Upgrade VMM 2008 R2 to SP1… Step by Step Guide

December 4, 2010 2 comments

VMM 2008 SP1 RC is out, So I think it is the good time to start testing and deploying it. I took the chance and upgrade my test lab to VMM 2008 SP1.

This post provides step-by-step instructions for upgrading to System Center Virtual Machine Manager (VMM) 2008 R2 Service Pack 1 (SP1) from VMM 2008 R2 while retaining your previous VMM data.

1. Log on to the VMM server that is running VMM 2008 R2.

2. On the product media or the location where you saved the Setup files, right-click Setup.exe, and then click Run as administrator.

001

3. On the Setup menu, click VMM Server to open the Upgrade System Center Virtual Machine Manager 2008 R2 wizard.

4. Review and accept the license terms, and then click Next.

002

 

5. On the Confirmation page, verify the list of VMM components that are already installed on this computer. To upgrade all installed VMM components, click Upgrade.

003

 

6. On the SQL Server Credentials page, provide credentials that have permission to access and update the VMM database by doing one of the following:

a. To use the same credentials that you are logged on with, click Next.

b. To provide a different set of credentials, select the Use the following credentials check box, type the credentials, and then click Next.

004

7. The Setup will start updating VMM Server, VMM administration console and Self service portal.

006

008

010

012

013

015

 

016

 

8. On the Completion page, click Close.

9. Run the Upgrade System Center Virtual Machine Manager 2008 R2 wizard to upgrade instances of the VMM Administrator Console and the VMM Self-Service Portal on any other computers that will communicate with the upgraded VMM server

10. After upgrading VMM, all hosts and library servers must be refreshed to show the correct status. To perform a manual host refresh, in the upgraded Administrator Console, in Hosts view, select one or more hosts, and then, in the Actions pane, click Refresh. You can check the status of the host refresh in Jobs view.

11. After a host has been refreshed, it will have a status of Needs Attention, except for the VMM server if it is also serving as a host. This is because the stand-alone hosts still have the previous version of the VMM agent installed. These hosts are fully functional, so you do not have to immediately update the agents on all hosts.

12. To update the hosts, in the VMM Administrator Console, in Hosts view, select one or more hosts with a status of Needs Attention, and then in the Actions pane, click Update Agent.

You can check the status of the agent update in Jobs view. When the refresh is complete, the host status will be OK.

017

018

019

 

020

 

13. To perform a manual library refresh, open Library view, select one or more library servers, and then, in the Actions pane, click Refresh. If you do not perform a manual refresh, the default library refresh interval is 1 hour. You can check the status of library refreshes in Jobs view.

14. After the library refresh, in the VMM Administrator Console, navigate to Administration view, and then click Managed Computers.

15. Select one or more computers that have a role of Library and an agent status of Upgrade Available, and then, in the Actions pane, click Update Agent.

When the update is complete, all stand-alone library servers will have a version status of Up-to-date. For a highly available library server, the version status of each cluster node is updated after the next library refresh.

16. After upgrading VMM, update Operations Manager integration, if necessary. For more information, see Updating Operations Manager Integration After Upgrading to VMM 2008 R2 SP1 (http://go.microsoft.com/fwlink/?LinkID=199953).

17. Check the new Dynamic memory setting in the VM configurations.

024

021

022

023

References: VMM 2008 SP1 Documentations

Follow

Get every new post delivered to your Inbox.

Join 1,017 other followers

%d bloggers like this: