Hi,
I get a question for Thin LUN reclaim on SCVMM, I believe the recourse can be reclaimed at OS level like windows 2012 R2, but besides this, may I know if SCVMM can reclaim Thin LUN without OS? No matter manually or automatically.
Hi,
I get a question for Thin LUN reclaim on SCVMM, I believe the recourse can be reclaimed at OS level like windows 2012 R2, but besides this, may I know if SCVMM can reclaim Thin LUN without OS? No matter manually or automatically.
We are running SCVMM 2012 R2. The VMM Server service is installed on a VM which runs Windows Server 2012.
After upgrading SCVMM to 2012 R2 UR11 Hotfix1, Fabric/Infrastructure servers/VMM Server doesn't list our vmm servers anymore. Re-adding the vmm server does not work. Error 20561: ...is not running an operating system that is supported for infrastructure
servers in VMM. To perform this operation, choose a server that is running Windows Server 2012 R2.
This should not happen? Afaik, Windows Server 2012 is still supported for VMM server (2012 R2) deployment, but apparently the latest patch doesn't seem to think so.
Is there a release note I have missed about this, or do you think it is a bug?
SCVMM 2016 version: 4.0.1968.10, SQL Server 2012 SP3: 11.0.6020
SQL installed on a different machine
While adding a stroage provider, the job throws error:
Error (20413)
VMM encountered a critical exception and created an exception report at C:\ProgramData\VMMLogs\SCVMM.3489304f-2032-4979-aad4-891711d96841\report.txt.
The report.txt has following (part of the file)
----------------------------------------------------
------------------- Error Report -------------------
----------------------------------------------------
Error report created 1/18/2017 3:46:33 AM
CLR is not terminating
----------------------------------------------------
--------------- Bucketing Parameters ---------------
----------------------------------------------------
EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=4.0.1968.10
P3(assemblyName)=Utils.dll
P4(assemblyVer)=4.0.1968.0
P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery
P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException
P7(callstackHash)=9e7d
SCVMM Version=4.0.1968.10
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=4.0.1968.0
Executable Name=vmmservice.exe
Executable Version=4.0.1968.0
Base Exception Target Site=140733768080216
Base Exception Assembly name=System.Data.dll
Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
Exception Message=Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again.
EIP=0x00007fff397e7788
Build bit-size=64
----------------------------------------------------
------------ exceptionObject.ToString() ------------
----------------------------------------------------
Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'Address', table 'VirtualManagerDB.dbo.tbl_ST_StorageEndpoint'; column does not
allow nulls. INSERT fails.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite,
Boolean inRetry)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
--- End of inner exception stack trace ---
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.Engine.ImageLibrary.StrgEndpoint.AddOrUpdateDB(IVmmDbTransaction tx)
at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectBase.AddOrUpdateObjectInDB(IVmmDbTransaction tx)
at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(Boolean audit, IVmmDbTransaction tx)
at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.UpdateChildObjects(IVmmDbTransaction tx)
at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(Boolean audit, IVmmDbTransaction tx)
at Microsoft.VirtualManager.Engine.Deployment.SetStorageArraySubtask.<>c__DisplayClass14.<RunSubtask>b__7(IVmmDbTransaction _tx)
at Microsoft.VirtualManager.DB.SqlContext.Transact(CallSite callSite, String connectionString, WindowsIdentity identity, Action`1 action)
at Microsoft.VirtualManager.DB.TransactableDbContext.Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(Action`1 action)
at Microsoft.VirtualManager.Engine.Deployment.SetStorageArraySubtask.RunSubtask(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.Engine.Deployment.SetStorageProviderSubtask.RunSubtask(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
*** Carmine error was: DatabaseFailure (2605); SQLServer;
I see that a similar error was seen in SCVMM 2012 R2 too:
Has anyone faced similar issue and found a solution? Your help is appreciated.
Hello!
We have orchestrator runbook:
Trouble with the second stage extend VMM disk.
Virtual disk ID periodic change.
_______________________
Why is this happening?
How do we fix it?
A couple of days ago I ran into an issue where VDI Created VMs VM fail to show up in the System Center 2012 Virtual Machine Manager. I found KB2974441 (Text below) on the MS Support site yesterday... I wanted to double check the KB so I went back to the MS support site, just to find that the KB is no longer listed.
I did what KV2974441 suggested. Removed the #Cluster-Invariant# GUID from the VMs and Refreshed the Host that contains the VM) but the machines are not showing on SCVMM
Any suggestions.
KB2974441
After you create Virtual Desktop Infrastructure (VDI) based virtual machines (VM) in new Collections by using Remote Desktop Services (RDS), the VM intermittently fails to show up in the System Center 2012 Virtual Machine Manager (VMM 2012) console.
This is a known issue in System Center 2012 Virtual Machine Manager, System Center 2012 Virtual Machine Manager Service Pack 1 (SP1), and System Center 2012 R2 Virtual Machine Manager.
Resolution
To resolve this issue follow the steps below.
More information
VMM adds a #CLUSTER-INVARIANT#:{<guid> } entry to the description of the VM in Hyper-V. This GUID is the VM ID SCVMM uses to track the VM. If the RDS"source" VM is managed by SCVMM, #CLUSTER-INVARIANT#:{<guid> } entry is added to the “source” VM. When a NEW Collection is created through RDS, the #CLUSTER-INVARIANT#:{<guid> } entry of the "source" VM is passed to the VDI VM during the RDS deployment process. Therefore, it causes a duplicate #CLUSTER-INVARIANT#:{<guid> } entry. Intermittently, the GUID is not overwritten with a new GUID when SCVMM discovers the newly deployed VDI VM. The duplicate #CLUSTER-INVARIANT#:{<guid> } entry causes SCVMM to skip the refresh of the VDI VM because another VM contains the same #CLUSTER-INVARIANT#:{<guid> }
Hi.
Is there a simple way to migrate vmm data of vm's between vmm installations?
The scenario is that i today have a 2012 r2 vmm installation which includes several hyperv clusters. I also have a new 2016 vmm installation that i want to move to. I preferr not to do an upgrade of the existing environment.
I have tried to just export the parameters i need using powershell and then import them using powershell but some parameters seems not editable. like for instance addedtime.
anyone have any great ideas?
Hello,
I currently have an issue where one of my recently deployed service templates is flagged with a red cross icon and its status is set as "Needs Attention". The thing is as far as I can tell the service has successfully deployed.
I do not wish to redeploy the service from scratch and refreshing the VM's does not clear the issue.
Is there anything I can set in the database to change this services status to "OK"?
Thanks.
Hi,
I have an error in the Jobs of System Center Virtual Machine Manager 2016.
Error (2601)
Unable to connect to the VMM database.
Recommended Action
Ensure that the SQL Server is running and configured correctly.
I receive this error since I moved SCVMM to a new server:
I made a backup of the SCVMM 2012R2, installed a new server (same name, same ip, same...) and installed SCVMM 2016 with the existing database. Everything is working I can create machines, move machines, change machines etc.
However I can't find a solution to this error. The owner of the job is the SCVMM service account (svc-scvmm) which I made sysadmin on the SQL server (Just to test). The SQL server is hosted on the same server where SCVMM is installed.
Any idea's on how to solve this?
Kind Regards,
Sven.
Some time last month (December) we have configured a package in VMM/Update Baselines with 3 updates. Updates are KB3201845, KB3199986 & KB890830.
Issue I have is that when I try and run scan on new Server 2016 hosts, they come back as Compliant. Servers currently do not have any updates installed yet I am confused why this is not working.
Does Server 2016 somehow knows there are newer updates and ignore these?
Ok, so I have a design /architecture question here:
How do people make sure that their VMM server is available, in case their production site has to fail over to the Disaster Recovery (DR) site?
Our situation:
Production datacenter:
DR datacenter (under construction):
I still have many questions in my mind on how all this will work together:
-Rajeev rajdude.com
Hi,
I want to build an Hyper-V cluster with 4 node, with S2D, with System Center VMM 2016.
There's my steps but I don't know if it's correct.
1) Each node has 2 10GB NICs.
2) Install all roles (Clustering, Hyper-V....).
3) Create logical networks on SCVMM :
- Management Network (172.16.1.0/24).
- Cluster Network (172.16.2.0/24).
- LiveMigration Network : (172.16.3.0/24).
- SMB1 Network : (172.16.4.0/24).
- SMB2 Network (172.16.5.0/24).
4) Define the Uplink Port Profile for my new switch (need to specify which networks are reachable by the switch).
5) Create en Set Embedded Teaming Switch.
6) Add node, create cluster, join the SET Switch to the node, enable S2D, create pool, create CSV..
Do you think everything is correct ? By the way, I have a second question :
On the step 2, when I create the logical network, I don't know what I am supposed to do here, for each network :
Hi all,
I have updated applied roll up 11 hotfix for SCVMM 2012 R2 . From then, during vm creation NICs are not getting ip address but few cases.
Any help?
Thanks in advance.
Mohak
Hello All,
I have updated my SCVMM 2012 r2 lab with Hotfix1 for UR11 to bothAdministrator Console & VMM Server(KB3199246).
I can create Windows 2016 VM
all existing templates (Windows server 2012 &CenTos7templates) are working fine.I am able to create/clone VMs, Butnone of the created VMs is getting IPs assigned to the network adaptors from the VLANs defined in the template.
IPv4 addresses are showing blank/169 IPs(Set as Static & connected to a specifiic VM Network in templates)
Note : I have installed all the latest updates(Important) in both my Hyper -v servers & SCVMM server.
Before these rollup updation IP assignments are working fine.
any help?
Thanks,
Sanjib Sarkar
Hello,
Got following error when try to discover server for Bare-Metal Deployment:
069C.06FC::01/28-10:00:18.055#00:DeepDiscoveryDataReader.cpp(433): IsOffline: false
069C.06FC::01/28-10:00:18.055#00:DeepDiscoveryDataReader.cpp(436):
069C.06FC::01/28-10:00:18.071#00:DeepDiscoveryDataReader.cpp(414): <--LogMsftDiskData
069C.06FC::01/28-10:00:18.071#00:DeepDiscoveryDataReader.cpp(747): <--CDeepDiscoveryDataReader::GetDisksData
069C.06FC::01/28-10:00:18.071#00:DeepDiscoveryDataReader.cpp(888): <--CDeepDiscoveryDataReader::GetDeepDiscoveryData
069C.06FC::01/28-10:00:18.071#00:RegUtils.cpp(281): RegGetVariantValue [Software\Microsoft\Microsoft System Center Virtual Machine Manager Agent\Settings]\[BareMetalRegistrationService]
069C.06FC::01/28-10:00:18.071#00:NativeWSChannel.cpp(20): ==>WSUtility::NativeWebServiceChannel::NativeWebServiceChannel
069C.06FC::01/28-10:00:18.071#00:NativeWSChannel.cpp(20): <--WSUtility::NativeWebServiceChannel::NativeWebServiceChannel
069C.06FC::01/28-10:00:18.071#00:NativeWSChannel.cpp(133): ==>WSUtility::NativeWebServiceChannel::RegisterClient
069C.06FC::01/28-10:00:18.071#00:NativeWSChannel.cpp(376): ==>WSUtility::NativeWebServiceChannel::CreateCertTokenMessageSecurityBinding
069C.06FC::01/28-10:00:18.134#00:NativeWSChannel.cpp(376): <--WSUtility::NativeWebServiceChannel::CreateCertTokenMessageSecurityBinding
069C.06FC::01/28-10:00:18.134#00:NativeWSChannel.cpp(543): ==>WSUtility::NativeWebServiceChannel::CreateSSLTransportSecurityBinding
069C.06FC::01/28-10:00:18.134#00:NativeWSChannel.cpp(543): <--WSUtility::NativeWebServiceChannel::CreateSSLTransportSecurityBinding
069C.06FC::01/28-10:00:18.375#00:NativeWSChannel.cpp(207)[0000000F5F6FEB: ThrowOnFailure : 803d000a. Operation attempted WSHttpBinding_IPhysicalMachineRegistrationService_RegisterPhysicalMachine( get(m_wsProxy), identifier, data, get(m_wsHeap), 0, 0, 0, get(m_wsError))
069C.06FC::01/28-10:00:18.375#00:exceptions.cpp(97)[0000000F5F6FEB: CarmineException::CarmineException: CarmineError: 1051488, hr: 0x803d000a
069C.06FC::01/28-10:00:18.391#00:NativeWSChannel.cpp(580): Failure: errorCode=0x803d000a
069C.06FC::01/28-10:00:18.391#00:NativeWSChannel.cpp(601): An unsecured fault was received on a secure channel.
069C.06FC::01/28-10:00:18.391#00:NativeWSChannel.cpp(601): A security header with local name 'Security' and namespace 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' was required, but was not present in the message.
The sender may not have been configured with message security.
069C.06FC::01/28-10:00:18.391#00:NativeWSChannel.cpp(133): <--WSUtility::NativeWebServiceChannel::RegisterClient
Any ideas?
Already checked at:
ADSI OK, WDS config OK, but from
"The VMM OSD provider is installed, but can't talk back to the VMM server. Is this an all in one installation where VMM and WDS are running on the same machine? From the WDS server what happens when you open a browser and connect to the URL in the Server key referenced above (substitute "http" for "net.tcp" in the URL)"
Doesn`t display web page
Latest patched WS 2k16, VMM 2016
Hi
I have installed SCVMM 2016 and "Azure Pack Portal and API Express".
All installs went fine, VM's showing in VMM Console, Clouds showing in Azure Pack Service Management Portal. Problem is no virtual machines show in the Azure Pack Service Management Portal.
VM's show in VMM Console ok under the correct cloud but not in the portal.
I am logged in as the installer, everything is on the one machine.
Any ideas would be appreciated.
Regards
Rohan
Hi,
I'm trying to create a capacity report for all our Hyper-V clusters with the following information - total RAM, free RAM, total disk, free disk, cluster name, cluster node, average CPU utilization on each node for the last 30 days.
With PowerShell I can extract all data except the average CPU utilization per node in the last 30 days. I know that Virtual Machine Manager is using performance counters on each host in order to display this information (in Virtual Machine Manager you go to VM's and Services - select a Hyper-V node, and Home tab select Overview).
https://blogs.technet.microsoft.com/m2/2010/03/29/virtual-machine-manager-and-performance-metrics-cpu-counters-part-1/
My question - where is all the data from performance counters saved and how can I manipulate it with PowerShell? Or does anyone have a better idea on how I can achieve this?
P.S. I'm running Virtual Machine Manager 2012 R2, and Hyper-V cluster nodes are running Windows Server 2008 R2 and Windows Server 2012 R2.
Mihai,
Hi,
Deploy VM error Error (802) The VirtualHardDisk Server255_disk_1 is already in use by another VirtualHardDisk.
The Story goes like this:
First we try to deploy an VM named "Server255" with an specific IP address, then we get an error that the IP was used in VMM.
Secund we try to deploy the VM "Server255" again with a new(other) IP address. Now we got the error Deploy VM error Error (802) The VirtualHardDisk Server255_disk_1 is already in use by another VirtualHardDisk for the Resource Name "Temporary
Template11ef26ce-a6bd-421b-86f2-9cacd0e0f484". If I run command "Get-SCVMTemplate -Name "Temporary Template11ef26ce-a6bd-421b-86f2-9cacd0e0f484" I get that this object is under Creation. Can I remove the ""Temporary
Template237c9f18-bb6d-4820-965d-61cf25dfb4f6"" and start over? Have the Temperary Templats any functions after the VM is deployed?
/SaiTech
I applied UR2 to VMM 2016 this morning and every VM that was set to use Dynamic memory had their start startup memory value set to 1MB. This is invalid though since it is below the minimum memory value.
I can shut down the VM (Not really acceptable) and change the startup memory back to a valid number but that value does not stick and gets reset back to 1mb.
Since the 1MB startup memory value is invalid I can't make any other hardware changes like adding disks. Is anyone else seeing this with VMM 2016 UR2?
A+, N+, MCP
Hi Experts
Trying to learn Hyper-V networking with Server 2016 and came across some important options available on SCVMM Logical Network Settings options.
I have 5 NICs and I would like to use according to below settings.
Management - 1 NIC
iSCSI - 1 NIC
Public Communication (External) - 2 NIC (Team)
CSV - 1 NIC
While creating Logical network I'm asked to select below options
(1) One Connected Network with Two check boxes (A) Allow new VM networks created on this logical network to use network virtualization. (B) Create a VM network with the same name to allow virtual Machine to access this logical network directly.
(2) VLAN based independent networks
(3) Private VLAN networks.
My concern/s
What are the use of these all three settings and how my Host network setup will fit on these three settings and their sub-settings? In another words, what setting will be suitable if I want to configure management network in my Hyper-V, Hosts? It One connected network then what are the significant of two check boxes available under this option.
Regards