Results for category "SCVMM2012 R2"

System Center 2012 R2 – Rollup Update 2 released

http://support.microsoft.com/kb/2932881/en-us

For SCVMM, a bunch of bugs are getting fixed… 😀

Update Rollup 2 for System Center 2012 R2 Virtual Machine Manager resolves the following issues:

  • Files cannot be found on a network-attached storage device that uses NetApp storage and Server Message Block version 3 (SMBv3) protocol.
  • After an account’s password is changed, the Scale-Out File Server provider goes into a “not responding” state.
  • VMM wipes the System Access Control List (SACL) configurations on ports.
  • When an uplink profile’s name contains the “or” string, VMM console cannot show its details when it adds the uplink profile to a logical switch.
  • Dynamic disks cannot be used as pass-through disks.
  • When you create a standard virtual switch on a host without selecting the Allow management operating system to share this network adapter check box, the virtual switch is created. However, the virtual switch still binds to the host unexpectedly.
  • Network address translation (NAT) uses port number 49152 or a larger number, which Windows prohibits from being used by NAT.
  • When a virtual machine IP address type is static Out-of-Band and there is no IP address pool that is associated with the virtual machine network or the logical network, migration is complete with multiple errors.
  • If a highly available virtual machine is migrated from one node to another node by using Failover Cluster Manager, you receive an error message that indicates the absence of VHD files.
  • Some performance issues in VMM.
  • Connection with Operations Manager fails in a non-English environment.
  • After you upgrade VMM from System Center 2012 Service Pack 1 (SP1) to System Center 2012 R2, VLAN settings disappear and cannot be saved in the virtual machine.
  • Virtualization gateway could not be discovered by management packs.
  • The New-SCPhysicalComputerProfile Windows PowerShell cmdlet fails with a NullReferenceException exception.
  • Assume that you put a host into maintenance mode. When any highly available virtual machines cannot evacuate successfully, they are put into a saved state instead of into task failures.
  • Assume that you have a computer that is running VMware ESX Server to host virtual machines. Additionally, assume that cumulative progress for many applications, scripts or actions (that is reported by guest agent) becomes large. In this situation, all deployments time out, as the guest agent cannot communicate to the server successfully.
  • You cannot deploy a service template to VMware ESX 5.1 hosts. Additionally, you receive an error 22042 and a TimeoutWhileWaitingForVmToBootException (609) exception.
  • When you migrate a virtual machine together with Out-of-Band checkpoints, database corruption occurs.
  • Pass-through disks are not updated correctly in the database after they are refreshed from an Out-of-Band migration.
  • Assume that hosts establish a Common Information Model (CIM) session that can send policies to the host after the Hyper-V Network Virtualization initialization. Additionally, assume that a policy-sending activity is initiated before the CIM session creation is completed. In this situation, policies are stuck in the sending queue, and the host does not receive any Hyper-V Network Virtualization policies.
  • Communication is broken in Hyper-V Network Virtualization.
  • When you use a same user name for Run As Accounts in guest customization, a conflict occurs.
  • You cannot use a parameter together with .sql scripts for a Run As Account during a service installation.
  • You deploy a template that uses empty classification to a cloud. However, the template does not respect storage classifications that are set on the cloud.
  • When Windows Server fast file copy cannot deploy files successfully, the Background Intelligent Transfer Service (BITS) fallback task continues using the fast file copy credentials.

 

 

http://support.microsoft.com/kb/2932926/en-us

 

 

Power Saved in last 30 days – Incorrect Reporting

I have successfully configured Power Optimization and Dynamic Optimization few months back, however the report from SCVMM 2012 R2 Console always says that the Power Saved in last 30 days is 0 hours. I am sure that servers are going down as per the schedule and coming back online at the end of the schedule. However, the report seems to be incorrect.

 

Power Saved in last 30 days - Overview

Power Saved in last 30 days – Overview

I had a case opened with Microsoft support and got a confirmation now that its a bug.

Should be fixed in the upcoming update roll-up 3.

 

 

Installing SCVMM 2012 R2 UR1

We got the UR1 released few weeks back. However, I see that most of our Experts give a warning – wait for some time before updating.

Whatever be the case, I did the upgrade on my VMM today. It was smooth.

The only difference this time is the script which needs be executed against the VMM database.

Few points to note.

The update will exit silently after the installation. We will not see any confirmation or message  once the update is completed.

However, the event-logs will help us here. Check for event id 1022.

SCVMM 2012 R2 UR1 Installation

SCVMM 2012 R2 UR1 Installation

 

Similarly, we need to check for event 1022 once the UR1 is installed for the console.

Update SCVMM 2012 R2 Console with RU1

Update SCVMM 2012 R2 Console with RU1

 

And finally, we need to execute the script to update the VMM DB.

 

From SQL Server Management Studio – Navigate to the VMMManagerDB Database. Click on New query and paste the code from the KB. Click on !Execute. We are done.

Update DB

 

 

We can check the update status through Powershell. Without RU1, the product version is 3.2.7510.0 and with RU1, product version is 3.2.7620.0.

Checking Product Version - new

 

Once the VMM Server and console is updated, All the hosts needs an update on VMM Agent. From SCVMM Console, right click on the host and select “Update Agent” .

 

Error (2940) – VMM is unable to complete the requested file transfer. The connection to the HTTP server Hyperv-clu1-n1.insidevirtualization.com could not be established. Unknown error (0x80072ee2)

Issue – VM Creation from template randomly failing with error 2940.

This issue started few days back and its random. My initial thought was that the HyperV host got some issues. However, this issue started with all nodes randomly.

SCVMM 2012 R2 - Error 2940

SCVMM 2012 R2 – Error 2940

 

Coincidentally , I observed that from VMM server  HyperV Manager is not able to connect to the problematic server.

 

HYPERV-MANAGER - RPC Server Unavailable

HYPERV-MANAGER – RPC Server Unavailable

 

This error made me to check on the network side.

Ping HyperV host from SCVMM Server – Successful

Telnet port 135 of HyperV host which is used by RPC – Sucessfull

Googled this RPC issue and hit on the  Technet wiki article, which made me to think again on the DNS part.

From SCVMM server, Opened NSLOOKUP and searched for the records for HyperV host. Yea – got some clue. I noticed three entries for this server.

Now I realized. I did created few Virtual Network Adapters on top of the Logical Network. Each Virtual Network Adapter is in fact linked with a particular subnet which has a DHCP scope of few IPs to enable ADJoin through template. Due to this, the Virtual Network Adapters got an IP from DHCP which got registered with DNS.

Unchecked “Register the connection’s address in DNS” from each Virtual Network Adapters and then ran ipconfig /registerdns .

This removed the duplicate entries from DNS. However – issue still exists.

From the HyperV host, tried to ping SCVMM host which was not successful. This made me to check the route.

Route Print

Route Print

For 0.0.0.0 destination, the server is having multiple paths with different metric. Even the one with highest metric was the actual route, traffic is getting routed through other interfaces randomly. For all Virtual Network Adapters, allocated a static IP and everything started working. Just a cool breeze !

 

 

SCVMM 2012 R2 – Issues specific to OS Profiles and Templates

Its a while I could really concentrate on my Blog post related with Building a private cloud. The reason is something which I couldn’t make working as I expected.

I have two scenarios to share.

1) DomainJoinOrganizationalUnit Parameter on Gust OS Profile

This switch is used to specify the custom OU to be used for the VM Computer object while deployed from a template. I had mentioned this on my Gust OS Profile correctly, but the VM always joins to the default Computers OU.

My Technet forum post is here.

2) OS Configuration on templates VS OS Configuration on Gust OS Profile

I have a template which is created with OS Customization. This will give the flexibility for me to choose the OS profile while deploying a VM from this template. If I choose NO OS Customization while creating the template, I don’t see an option for configuring OS Profile while trying to create a VM from this template.

I have some settings on the OS Configurations part of template. While creating a VM with this template, I choose an OS Profile which has set with a different values than in the OS Configuration of template. My assumption is that the value in Gust OS Profile – OS Configuration will over ride the settings inside template – OS Configuration. But unfortunately, I don’t see that. What ever set on the OS template is taking precedence all the time.

More details on this Technet forum post.

I will let you know if I get some more clue on this. If you have any clue/suggestions – Please share it as comments here or on the Technet forum.

Cheers.

 

VMM is unable to perform this operation without a connection to Virtual Machine Manager management server. Error ID 1615

Recently noticed this error coming up randomly. May be after a specific timeout.

The SCVMM Shell which was already open for a while throws this error.

VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server. (Error ID: 1615).

The easiest fix is to run the command as mentioned in the error.

VMM Error

 

Building Private Cloud – Part 2

I have detailed on create a Hyper-V Cluster using SCVMM 2012 R2 in one of my previous posts (Part1 and Part2). However, Don’t configure anything related with Fabric based on those posts.

The critical part of the configuration is fabric – especially Network. Hence, I would like to detail about that on this part.

At this stage, I had my Hyper-V cluster built using SCVMM 2012 R2. I will be completing the fabric configuration specific to Private Cloud now. Based on the requirement we had on the Part-1, I am allocating one VLAN per S-IT.

S-IT GROUP VLAN
S1-IT 10.0.21.0/24
S2-IT 10.0.22.0/24
S3-IT 10.0.23.0/24

Individual VLAN will give us the flexibility to have strict network level restrictions based on the requirements. Each VLAN is configured with a DHCP scope of 10 IPs, so that the VMs deployed through a template will get an IP and be joined to the domain. Once deployed, The S-IT team should be able to change the IP to a static IP with in their assigned range.

The high level steps which will be preformed are

1) Creating Logical Network for S1-IT, S2-IT and S3-IT with site/VLAN information

2) Creating UpLink Port Profile which will be used for the Logical Switch

3) Creating Logical Switch and select the UpLink Port Profile

4) Creating VM Networks for S1-IT, S2-IT and S3-IT and link with the corresponding Logical Network

5) Assigning Logical Switch for the Phyical Hosts

6) Creating Virtual Network Adapters for S1-IT, S2-IT and S3-IT on top of the Logical Switch and link them to the corresponding VM Network

Here is a quick illustration for you to relate each different components involved.

 

Network Components for building private cloud

Network Components for building private cloud

 

So lets go in detail.

1) Creating Logical Network for S1-IT, S2-IT and S3-IT with site/VLAN information

As we planned, each S-IT will be defined as an independent Logical Network.

Navigate to Fabric -> Networking -> Logical Network

Create a new Logical Network for S1-IT and define the Site with the assigned subnet and VLAN.

SCVMM 2012 R2 Fabric Configuration

LOGICAL NETWORK for S1-IT

On the Network Site page, create a new site for S1-IT , Link with the correct host group which has the HyperV Physical hosts and then enter the Subnet /VLAN details.

LOGICAL NETWORK - DEFINE SITE - SITE-S1-IT

LOGICAL NETWORK – DEFINE SITE – SITE-S1-IT

 

Click on next and Confirm after verifying the summary.

Similarly, We need a Logical Network for S2-IT.

SCVMM 2012 R2 Fabric Configuration

LOGICAL NETWORK – S2-IT

On the Network Site page, create a new site for S2-IT , Link with the correct host group which has the HyperV Physical hosts and then enter the Subnet /VLAN details.

SCVMM 2012 R2 fabric configuration

LOGICAL NETWORK – DEFINE SITE – SITE-S2-IT

Click on next and Confirm after verifying the summary. Create a similar Logical Network for S3-IT and set the right subnet/VLAN details.

2) Creating UpLink Port Profile which will be used for the Logical Switch

As you know, Uplink Port Profile will be used along with the logical switch and define the teaming mode and algorithm used.

Navigate to SCVMM -> Fabric -> Networking -> Port Profiles

Create a new Port Profile. Configure the Port Profile as an Uplink Port profile. Set the teaming mode as Switch Independent and Algorithm as Dynamic.

PortProfile-Cloud-Uplink

PortProfile-Cloud-Uplink

In the network configuration page, Select the appropriate sites where this Port Profile will be used. We need to select the Sites which has been created for S1-IT, S2-IT and S3-IT.

PortProfile-Cloud-Uplink-NetworkSites

PortProfile-Cloud-Uplink-NetworkSites

Click on Next and proceed after verifying the summary.

3) Creating Logical Switch and select the UpLink Port Profile

Logical Switch is an equivalent to HyperV switch. While Logical Switch is configured on the host, The network interfaces allocated for the logical switch will be used to create a HyperV Switch. The teaming mode of interfaces is defined in the Port Profile which will be linked with the Logical Switch.

 

SCVMM 2012 R2 Priviate Cloud

Logical Switch Creation

On the next screen, We need to add the UpLink profile. Select the one which has been created for the Private Cloud. Verify the site names and host group again.

 

LOGICAL-SWITCH-PRIVIATECLOUD-UPLINK

Proceed with further steps.

4) Creating VM Networks for S1-IT, S2-IT and S3-IT and link with the corresponding Logical Network

VM Networks will be used for to create Virtual Networks on top of the Logical Switch. Each S-IT group will need a VM Network which will be linked with the Logical Network we defined in Step 1.

Navigate to SCVMM ->VMs and Services -> VM Networks

Create a New VM Network and assign the corresponding Logical Network.

Configuring SCVMM 2012 R2 Fabric

VM Network for S1-IT

Click on NEXT and then Finish after reviewing the Summary.

Similarly, Create VM Network for S2-IT and link with the respective logical network for S2-IT.

Virtual Netowrk SCVMM 2012 R2 Fabric

Virtual Network for S2-IT

Similarly, Create one for S3-IT and link with the logical network of S3-IT.

5) Assigning Logical Switch for the Physical Hosts

On each Hyper-V host in the cluster or each stand alone host, the Logical Switch needs to be configured. Logical Switch will create a HyperV Switch with the defined Network Interfaces and also take care of teaming based on the Uplink port profile, if multiple interfaces are present.

Navigate to SCVMM -> Fabric ->Servers -> HostGroup -> Cluster ->

Select a node and navigate to Properties -> Virtual Switches

Click on New Virtual Switch -> New Logical Switch

Select the correct logical switch from the drop down list.

Select the Network Adapters which will be used for HyperV data.

Select the appropriate UpLink Profile.

 

Adding Logical Switch to HyperV host

Adding Logical Switch

Once done, Click on OK.

Do this activity on all HyperV Hosts which will be part of this Cloud.

6) Creating Virtual Network Adapters for S1-IT, S2-IT and S3-IT on top of the Logical Switch and link them to the corresponding VM Network

Next step is to Link the VM Network created for each S-IT with the Logical Switch. This is done using the option of Virtual Network Adapter which will be created on top of the logical switch.

Navigate to SCVMM -> Fabric ->Servers -> HostGroup -> Cluster ->

Select a node and navigate to Properties -> Virtual Switches

Select the Virtual Switch  and Click on New Virtual Adapter.

Enter the appropriate name for the virtual adapter.

On Connectivity – Click on Browse and select the appropriate VM Network. VLAN details will be listed by default based on the information on VM Network.

SCVMM 2012 R2 Fabric Configuration

Virtual Network Adapter

Add Virtual Network Adapter for each S-IT.

Virtual Network Adapter

Virtual Network Adapter

Similarly, Create one Virtual Network Adapter for S-IT3 and link with the appropriate VM Network.

Thats the end of Part-2.