Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all 728 articles
Browse latest View live

VMm 2012 R2 Agent status "Access Denied" but status says "OK"

$
0
0

Hello, 

I have a peculiar problem. After upgrading VMM 2012 SP1 to R2 agent status of one of the hosts in 2 node cluster says "Access Denied". Funny thing is that status of the host (right click, properties, status") is all green. Another interesting thing is that in VMM console "Start/Stop maintainance mode" for that host is greyed, but i can put it in maintainance using powershell - when in mainstainance mode option to stop it becomes available.

I tried uninstalling agent, removing host from VMM and cluster, adding it back but nothing helps. As far as i can see winrm is working properly. Any help would be appreciated.

VMM server account is in all required groups on the host (administrators and virtaul machine manager servers)

Regards, 

  Bruno



VMM 2012 Error 20552 - For ISO share VMM does not have appropriate permissions to access the resource

$
0
0

I have included an ISO network share in my VMM 2012 library by:

  1. Library servers -> Add Library Share -> Add Unmanaged Share.
  2. I then selected the file share e.g \fs1\ISO
  3. I set the share permissions on \fs1\ISO to everyone FULL
  4. I set the NTFS permissions to read-only for the following AD accounts:
    • VMM service account
    • VMM Library account
    • HV target host machine account
    • Network service

The problem I have is I still get error the following error regarding permissions:

Error (20552) VMM does not have appropriate permissions to access the resource \\fs1.domain.local\ISO\Zabbix_2.0_x86.i686-0.0.1.preload.iso on the scvmma1.domain.local server.

Ensure that Virtual Machine Manager has the appropriate rights to perform this action. Also, verify that CredSSP authentication is currently enabled on the service configuration of the target computer scvmma1.domain.local. To enable the CredSSP on the service configuration of the target computer, run the following command from an elevated command line: winrm set winrm/config/service/auth @{CredSSP="true"}

I have also set the command on the VMM server winrm set winrm/config/service/auth @{CredSSP="true"} but no joy.

Please note the same error is thrown if i share the iso without copy, and with copying, it seems a permission issue yet I have assigned at least what i have read are the correct permissions.

Any ideas what else I have missed please?

KB2903939 Fails

$
0
0

The KB2903939 Windows update is failing to install on our SCVMM server.  If fails with the error code: 0x80070057.  Some general searches have suggested trying:

DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth

I've also run sfc /scannow and chkdsk /r without luck.

Any suggestions would be appreciated.

Thanks

Connection between VMs on different Hyper-V hosts - System Center VMM SP1

$
0
0

  Hi all,

      I've just upgraded from SCVMM SP1 Beta to SCVMM SP1, my old SP1 Beta, I created Network Site with IP Pool the same on all Hosts. I used 172.16.0.0/16 as IP Pool for each with IP Range from 172.6.x.10 to 172.16.x.250 for each Hyper-V Host. I have about 20 hosts, so x is counted from 10 to 30.  The Gateway is 172.16.1.1 and DNS is 172.16.0.1

     We are using /16 subnet for all PCs, the developing and testing are on 172.16.2.x and 172.16.3.x

      It was ok to create virtual machines when using that configuration. Each virtual machine created with IP subnet /16 and the range according to the range I created before. All the virtual machines can be connected, can access internet via gateway, can join domain, and everyone on developing and testing can access the vms.

      I have to create VMs everyday for the dev and testing.

      Now, when I upgraded to SP1 RTM, I cannot create the Network Site and IP Pool 172.16.0.0/16 with newly added Hyper-V host . It said "Unable to assign the subnet 172.16.0.0/16 because it overlaps with an existing subnet" . It's strange because I can use the same subnet with SP1 Beta.

      Anyone helps me in this situation, I when to create VMs on each host with the subnet /16 so they can connect to each other. I dont need to isolate the netwok, because all the PCs, Hosts and VMs must be connected together.

  Thanks in advanced.

 

  

    

 

 

      

  

Error 1067 while starting VMM agent Service in SCVMM SERVER

$
0
0

Hi every one 

I Have Installed SCVMM SP1 BETA in Windows server 2012 RTM and managing Hyper-V Hosts.

After two three days, "System center virtual machine manager agent(SCVMM local agent)" service has stopped in SCVMM server.

I m trying to start service manually it is throwing me below mentioned Error

"Windows Could not start the system center virtual machine manager agent service on local computer"

"Error 1067: The process Terminated Unexpectedly"

I can manage all my Hosts without any problem, but my library server is  local scvmm server itself so i m not able to access Templates, ISOs etc that was created earlier.

Sql Services, connections all r running properly and Prerequisites are installed properly(WAIK of Windows 8 and SQL Command line utilities).

I tried Uninstalling and Re-installing the SCVMM SP1 BETA, it worked only for 1 day again the same problem.

I can add new library server but i don't want to do that,

Please give me suggestion to resolve this problem.

Thank & Regards

Ujwal datt


SCVMM 2012 SP1 Release date

$
0
0

Now that Windows Server 2012 RC has been released and hopefully the API for it has been set in concrete is their an ETA on SP1 that will allow these servers to be managed? Or do we have to wait till Windows Server 2012 has reached the RTM stage.

If not are there any plans on releasing a SP1 RC that will be able to be upgraded to SP1 when it is released??

Upgrade the SCVMM 2008 R2 to SCVMM 2012 R2

$
0
0

Hello , 

i want to upgrade my SCVMM 2008 R2 to SCVMM 2012 R2 .

My Actual SCVMM 2008 R2  manage 3 nodes Hyper-V 2.0

What's the best way to upgrade My SCVMM?

Thanks.


prince

Unable to clone Physical Computer Profile in SCVMM 2012 R2

$
0
0

I am using SCVMM 2012 R2 Powershell cmdlet New-SCPhysicalComputerProfile to clone an existing Physical computer profile. 

Cmdlet help:
http://technet.microsoft.com/en-us/library/dn472863%28v=sc.20%29.aspx 

From the above link I see that a profile can be clone with following parameter set:
Parameter Set: CloneProfile
New-SCPhysicalComputerProfile [-Name] <String> -PhysicalComputerProfile <PhysicalComputerProfile> [-AnswerFile <Script> ] [-BypassVHDConversion <Boolean> ] [-Description <String> ] [-JobVariable <String> ] [-Owner <String> ] [-PROTipID <Guid> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

The command used and the error is:
----
> $vmmServer=Get-SCVMMServer -ComputerName 'myVMMServer'
> $existingProfile=Get-SCPhysicalComputerProfile -Name 'newPhysicalProfile'
> New-SCPhysicalComputerProfile -Name 'ClonedPhyProfile' -PhysicalComputerProfile $existingProfile -VMMServer $vmmServer 

New-SCPhysicalComputerProfile : Object reference not set to an instance of an object.
At line:1 char:1
+ New-SCPhysicalComputerProfile -Name 'ClonedPhyProfile' -PhysicalComputerProfile  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-SCPhysicalComputerProfile], NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.NewPh
   ysicalComputerProfileCmdlet

-----
   Verified that $vmmServer and $existingProfile have correct values. Can somebody help me with this?

Regards,

Sunil


SCVMM 2012 - VM Stuck in Sysprepping

$
0
0

During a creation of a Template from an already Syspreped system it failed.  It's now just stuck in Sysprepping mode and will not allow me to delete it, repair it or start it.  All options are greyed out.  When I click on the VM it crashes the VMM Console.  I'm seeing event ID 1 and 19999. 

How do I remove this failed VM?


Joe Gomez

Error 2931 When deploying VM

$
0
0

Hello

I am getting this issue consistently and this is my third install. When I deploy a virtual machine from a template It will get about 60% through the install I will get the error (error below)

I've removed and re-added the agents, I've deleted the certificates from both machines and this seems to be an issue I am having across all my servers. The machine will start up from deploy and the point that it stops working is "change properties of virtual machine"

The part that I don't understand is if its a certificate issue (which I've troubleshot unsuccessfully) why does it succeed in deploying the hard drive using bits over https (the s meaning its checking the certificates) Any help at all would be appreciated, I am at my wits end.

Error (2931)
VMM is unable to complete the request. The connection to the VMM agent on the virtualization server (trainingvm2.pfdomain.prairiefyre.com) was lost.
Unknown error (0x80338029)

Recommended Action
Ensure that the Windows Remote Management (WS-Management) service and the VMM agent are installed and running and that a firewall is not blocking HTTPS traffic.

This can also happen due to DNS issues. Try and see if the server (trainingvm2.pfdomain.prairiefyre.com) is reachable over the network and can be looked up in DNS. You can ping the virtualization server from VMM management server and make sure that the IP address returned matches the IP address locally obtained from the virtualization server.

If the error still persists, restart the virtualization server, and then try the operation again.

VM Network in SCVMM 2012 R2

$
0
0

I've started learning SCVMM so sorry if i'm going to make a simple question.

i have two hyper v hosts, two nic each, one for management, one assigned to an uplink port profile. i created a logical network with a site that has the same subnet of the management network. then i created a logical switch using the uplink port profile. i unchecked use network virtualization (so i shouldn't need a gateway, is it correct?). when i create a vm network and connect to it a vm, that vm even if it gets an ip from my management subnet it can't ping hyper v hosts nor dc etc. 

where is the mistake? thank you!

VMM 2012R2: VMM Server, agent status: access denied

$
0
0

After upgrade SCVMM 2012SP1 to 2012R2 Library Server became unavailable. All library sources with status "missing".

In VMM Console (Fabric - Servers - Infrastructure) VMM Server and Library Server agent status "access denied".

Tryed to remove and add Library Server: Error 24363 VMM agent needs to be reassociated.

Reassociating with different credentials (local and domain) goes fine, but agent status still "access denied".

By the way, after upgrade SCVMM no new events in windows eventlog.

How to repair work of VMM Agent on VMM Server?

2012 R2 VMM Console fails to connect. ID: 2607

$
0
0

Hello,

When trying to login using the VMM console I get the following error.

"The SQL Server service account does not have permission to access Active Directory Domain Services (AD DS).

Ensure that the SQL Server service is running under a domain account or a computer account that has permission to access AD DS. For more information, see "Some applications and APIs require access to authorization information on account objects" in the Microsoft Knowledge Base at http://go.microsoft.com/fwlink/?LinkId=121054.

ID: 2607”

This is a clean installation on Server 2012 R2. The setup is as the following;

-      VMM and SQL installed on same server

-      Domain user (not domain admin) is member of local administrators group on the VMM server

-      Domain user used for VMM service account

-      Domain user used for SQL service account

-      Domain user is DBOwner

What works;

Console login using the service account user on the local machine or remote machine

What fails;

Console login using any other user specified in the Administrator user Role of VMM

Any ideas?



Cannot Modify Hardware Configuration when creating a VM Template

$
0
0

Whenever I try to create a VM Template I cannot modify any of the contents of the "Config Hardware" section of the VM Template creation wizard.  The entire section appears to be greyed out -- see screenshot below.  I am running VMM 2012 R2 and was able to do this when running VMM 2012 SP1.  Any ideas on what would be causing this would be greatly appreciated.

MemoryReserveMB vs AvailableMemory in powershell to determine available memory for vms

$
0
0

Hello All,

I am trying to figure out available memory on host for virtual machines. 

when running Get-VMHost -ComputerName "hostname" it returns 2 related parameters:

AvailableMemory,

MemoryReserveMB

So before starting vm by script I would like to check is there enough space on it. What is correct way?

1. VmSize <  AvailableMemory

or

2.  VmSize  <  AvailableMemory -  MemoryReserveMB


Moving from 3 standard virtual switches without VLAN to 1 logical switch with VLAN

$
0
0

Hi,

We have three physically networks in our Hyper-V environment. We don't use any VLAN tagging. The hyper-v hosts has one cable, one NIC(NIC1, NIC2 and NIC3) and one Hyper-V external switch for each network. The 4th NIC(NIC4) on the Hyper-V host is used for host management, live migration and so on...

The three virtual switches does not have "Host Management" enabled, since we use NIC4 for that.

The three VM networks is also defined in VMM as Logical Networks and VM network with corresponding IP Pools(without VLAN).

The goal is to move the three VM Networks/switches from 3 standard virtual switches without VLAN in my "old" environment to 1 logical switch with VLAN in my "new" environment.

Does anybody got any advice in this scenario ?

I've started creating a new Logical Network containing all my existing subnets, but with VLAN ID. Each Logical Network has it's own VM Network with a VM Subnet. I have created a Logical Switch with a uplink port and connected all the Logical Networks.

I've set up this Logical Switch on a Hyper-V host in my "new" environment and VM connectivity is working as expected. But how do I move my VMs from my "old" environment to the "new" ? The switches has different names, so Live Migrations does not work.

I can create a dummy switch on the host in the "new" environment with the same name as the switch in the "old" environment and move the VM, but after the VM is moved I have to change the virtual switch on the virtual network adapter to get a connection. Is there any other way to achieve my goal without loosing connection to the VMs after moving them ?

Thanks in advance for any help. Very appreciated!

VMM Storage Migration: failed VM, locked file

$
0
0

I have a 6 node Hyper-V 2012R2 cluster managed by VMM 2012R2 using two CSVs

for testing I have completed a couple of storage migrations of running VMs from CSV1 to CSV2.

VMM says it is all ok and completed successfully, it even shows the VM as still running.

Failover clustering shows the VM failed with even 1069 error code '0x2' "The system cannot find the file specified"

Best of all Hyper-V Manager doesnt show the VM on any of the hosts!

failover clustering then moves the VM about onto different hosts to bring it back online but this fails.

looking at the old files on CSV1 I can see there is a .BIN file left in "C:\ClusterStorage\CSV1\test3\Virtual Machines"

This file has copied to "C:\ClusterStorage\CSV2\test3\Virtual Machines"

I cannot delete the old file from the CSV1 location.

I have checked AV exceptions and they arent scanning CSV1

I have also used process explorer to see if I could see what had a lock on the BIN file but the only things I found were explorer.exe and vmms.exe on the host that was hosting the VM originally.

I have resolved this previously by rebooting all hosts in the cluster but that is not really a long term solution as the VM is offline

any suggestions?

REST API GetOperationStatus returns Succeeded for Create Deployment before role creation is finished

$
0
0

Hello All,

I am trying to track programmatically status of Create Deployment operation in order to show created role/vm on our custom interface. Unfortunately as I could see GetOperationStatus for deployment with role return Succeeded before role/vm is really fully created (it has status creating or something like this). What is the correct way to detect when all related tasks for   Create Deployment finished? Or I should create empty deployment, wait until it is finished then add role to deployment and track status of it ( Not sure  that such case supported)?

Win2012 R2, SC 2012 R2; Cannot create VM template

$
0
0

Scenario:

Hardware: HP DL360G7 fully updated with 80GB RAM, 32 Procs, 120GB as boot from SAN, 750GB P2000 G3 SAN LUN as CSV

Windows Server 2012 R2 DE installed and updated, then installed and configured MPIO, Hyper-V and Fail Over Cluster (1 node cluster)
Installed 3 VMs running Windows Server 2012 R2 SE with:
1 Gen2 VM with SQL 2012 SP1 SE
1 Gen2 VM with System Center Virtual Machine Manager 2012 R2
1 Gen1 VM with only Windows Server 2012 R2 SE to fully updated (to be used as template)

SCVMM installed no errors, imported cluster with no error, create VM with no error. When I try to create a VM template from I get this error.


Error (2912)
An internal error has occurred trying to contact the cloudmgmt01.cloud.priv server: : .

WinRM: URL: [http://cloudmgmt01.cloud.priv:5985], Verb: [INVOKE], Method: [HWScoutOffline], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/P2VServerJob]

The configuration registry database is corrupt (0x800703F1)

Recommended Action
Check that WS-Management service is installed and running on server cloudmgmt01.cloud.priv. For more information use the command "winrm helpmsg hresult". If cloudmgmt01.cloud.priv is a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.


What have I Done so far?

-uninstall and re-import host node
-winrm quickconfig
-firewall with 443,5985 and 5986
-reinstalled whole SCVMM
-reboot host node
-check event viewer, no errors
-check cluster node on vmm, no errors


Help please!


Problems after upgrade from SCVMM 2012 Sp1 to SCVMM 2012 R2

$
0
0

I did a in-place (uninstall VMM2012 Sp1, retain the database, and install VMM2012 R2 point to old database) upgrade. All the steps work fine.

The only problem (so far) is that when I create a new VM using a custom template (for example, Windows 2008 R2), the deploy fail with the following error:

Error (2912)
An internal error has occurred trying to contact the vm-scvmm2012.domain.com server: NO_PARAM: NO_PARAM.

WinRM: URL: [http://vm-scvmm2012.domain.com:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={56B8E488-5DB9-4CC1-BEFA-AFF76E1E4D2D}]

Unknown error (0x80072f0d)

Recommended Action
Check that WS-Management service is installed and running on server vm-scvmm2012.domain.com. For more information use the command "winrm helpmsg hresult". If vm-scvmm2012.domain.com is a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.


Information (26278)
VMM could not offload transfer the file \\vm-scvmm2012.domain.com\MSSCVMMLibrary\VHDs\Template_Windows_2008_R2_SP1.vhdx to C:\ClusterStorage\Volume1\VM-NEWVM\Template_Windows_2008_R2_SP1.vhdx.

Any ideas?

Viewing all 728 articles
Browse latest View live