Set Scope for Virtual Machine in 2012 R2 WMI v2 Namespace
Basically, I want to know how to set the scope for a hyper-v vm in Server 2012 R2 so users see only the specific vm's assigned to them. I work at an academic institution, we intend to upgrade our 2008 R2 servers to 2012 R2 but before we can do that we
need our vm creation script to work properly. In older editions that have the WMI v1 namespace it used to be to set the scope for a vm you did so by modifying Msvm_VirtualSystemGlobalSettingData.ScopeOfResidence. In the WMI v2 namespace Msvm_VirtualSystemGlobalSettingData
has been removed and most of its features have been placed in Msvm_VirtualSystemSettingData. ScopeOfResidence however is not in there and I can't find it or anything that sounds the same in any of the virtual system classes. Below is the unedited portion of
the old script I am having trouble converting to the v2 namespace. Someone please help, I need this working by the end of the month or I am going to have to abandon the server upgrade entirely.
# Set Scope!
$VM_Service = get-wmiobject -namespace root\virtualization Msvm_VirtualSystemManagementService
$ListofVMs = get-wmiobject -namespace root\virtualization Msvm_ComputerSystem -filter "ElementName <> Name " | `
where { $_.ElementName -like $vmName }
foreach ($VirtualMachine in $ListofVMs) {
if ($VirtualMachine -ne $Null)
$VMGlobalSetting = get-wmiobject -namespace root\virtualization Msvm_VirtualSystemGlobalSettingData | where `
{ $_.ElementName -like "*$($VirtualMachine.ElementName)*" }
$VMGlobalSetting.ScopeOfResidence = $scope
$VM_Service.ModifyVirtualSystem($VirtualMachine.__PATH, $VMGlobalSetting.psbase.Gettext(1))
Write-Host "Virtual Machine" $vmName "Added to Scope" $scope
# End of Set Scope
HI,
I have the exact same problem, and it totally prevents me from finishing my virtual environment.
I would like to be able to move some VM in specific scopes in order to apply access right on them, but nothing in the V2 tree seems to help...Is there an other way to do it on Hyper-V Server 2012 ?
Also, all modification using azman.msc are totally useless, and adding new groups and/or user in the Administrator role doesn't help.
Any advice will be welcome !
Similar Messages
-
I've got an idea that processor(CPU) would use an instruction set like java virtual machine instead of assembly language whose instruction includes MOV ,INC ,ADD AX, ....
Thus this type of processor(CPU) can support any java program just like Windows with a java virtual mache software package.
Thus the operating system like Android, Windows Phone can be writen in Java. For embeding system with no operating system , programs can also be writen in Java directly.Well, this is rather off-topic but… Sun once designed a Java-Core that was running Java natively, but they never went anywhere with it. Java code, when created well, runs reasonably fast. It seems just that most of todays programmers don't know, what they're doing, when they're writing Java code.
-
Virtual Machine Manager 2012 R2 migrate from standalone to cluster - no starting
Hello,
we have migrated our Virtual Machine Manager 2012 R2 UR1 installatin from a standalone machine to a clustered version.
But now the cluster instance won't startup.
- uninstall the standalone virtual machine manager 2012 with the retain database option.
- created failover cluster
- installed vmm into cluster and pointed to existing database.
- added second node
The error we now get is out of the report.txt:
------------------- Error Report -------------------
Error report created 17.04.2014 19:38:57
CLR is not terminating
--------------- Bucketing Parameters ---------------
EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=3.2.7620.0
P3(assemblyName)=ImgLibEngine.dll
P4(assemblyVer)=3.2.7620.0
P5(methodName)=Microsoft.VirtualManager.DB.Adhc.StoredCertificate.CacheVMConnectCertificate
P6(exceptionType)=System.AggregateException
P7(callstackHash)=7b6a
SCVMM Version=3.2.7620.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=3.2.7620.0
Executable Name=vmmservice.exe
Executable Version=3.2.7510.0
Base Exception Target Site=140721289766296
Base Exception Assembly name=mscorlib.dll
Base Exception Method Name=System.Security.Cryptography.CryptographicException.ThrowCryptographicException
Exception Message=One or more errors occurred.
EIP=0x00007ffc469c43c8
Build bit-size=64
------------ exceptionObject.ToString() ------------
System.AggregateException: One or more errors occurred. ---> System.Security.Cryptography.CryptographicException: The specified network password is not correct.
at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)
at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
at Microsoft.VirtualManager.DB.Adhc.StoredCertificate.CacheVMConnectCertificate(StoredCertificate cert)
at Microsoft.VirtualManager.DB.Adhc.StoredCertificate.ImportCertificates(List`1 certificates, ReportCertImportFailure ReportImportFailure)
at Microsoft.VirtualManager.DB.Adhc.StoredCertificate.ImportAllCertificates(ReportCertImportFailure ReportImportFailure)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadCertificates()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.VirtualManager.Engine.VirtualManagerService.WaitForStartupTasks()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at Microsoft.VirtualManager.Engine.VirtualManagerService.ExecuteRealEngineStartup()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TryStart(Object stateInfo)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
---> (Inner Exception #0) System.Security.Cryptography.CryptographicException: The specified network password is not correct.
at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)
at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
at Microsoft.VirtualManager.DB.Adhc.StoredCertificate.CacheVMConnectCertificate(StoredCertificate cert)
at Microsoft.VirtualManager.DB.Adhc.StoredCertificate.ImportCertificates(List`1 certificates, ReportCertImportFailure ReportImportFailure)
at Microsoft.VirtualManager.DB.Adhc.StoredCertificate.ImportAllCertificates(ReportCertImportFailure ReportImportFailure)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadCertificates()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()<---
Maybe someone has an idea where to look at.
Best Regards,
Marcus
Marcus LehmannHi,
nope, we solved it.
It seems that this behavior occurs only under special circumstances.
Scenario is:
1. RDP Gateway connection to our Hyper-V Hosts (We need it for our Windows Azure Pack installation). A certificate is needed to encrypt the connection between RDPGW and Hyper-V host. This certificate is distributed by the VMM to the Hyper-V Hosts with the
private key.
2. Migrating from standalone installation to High Availability therefore migrating from DPAPI to DKM
It looks like that the key or the password to unencrypt the private key, which is stored in the database, is itself stored in the DPAI/DKM.
So when you try to get the migrated Service online the error report in my first post is generated.
What we did was fiddeling around in the database. Make sure you have a backup !!
You need two tables:
tbl_ADHC_Host
tbl_VMM_CertificateStore
1. Go to the table "tbl_ADHC_Host" and edit the key fk_ADHC_Host_VMM_CertificateStore and set "Enfore Foreign Key Constraint" to "No".
2. get the value "VMConnectCertficateID" from the table "tbl_ADHC_Host"
3. Go to the table "tbl_VMM_CertificateStore" and delete the Certficate with the value which equals the "VMConnectCertificateID". Note: Corresponding Certificate in the CErtificatestore table should have something in the column "PrivatekeyPassword"
and an ObjectType of 6.
4. The service should now start and you can reconfigure the certificate used for the encryption between your RDPGW and Hyper-V Hosts, like you did before.
5. Go to the table "tbl_ADHC_Host" and edit the key fk_ADHC_Host_VMM_CertificateStore and set "Enfore Foreign Key Constraint" back to "Yes".
Hope that helps. ;)
Best Regards,
Marcus
Marcus Lehmann -
I have a 3 node cluster that has replica setup to replicate to another cluster off-site.
Suddenly one of the servers is not replicating with the error:
Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE). (Virtual Machine ID CC0FD4CC-F9B7-4C68-ABE8-B7D52A87899F)
All other servers are replicating fine so there cannot be a permissions or connectivity issue between the 2 clusters.
This server has 2TB of data so I'd rather not have to start the replication again.
Does anyone have any pointers?
Thanks.Hi drensta,
Based on my knowledge , "hyper-v replica broker " is needed for failover cluster replica .
Here is a link for "Why is the "Hyper-V Replica Broker" required?"
http://blogs.technet.com/b/virtualization/archive/2012/03/27/why-is-the-quot-hyper-v-replica-broker-quot-required.aspx
Hope this hleps
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Error loading Virtual Machine Manager 2012 and Data Protection Manager 2012 modules together
Hi.
Very strange issue: when i try to load together Virtual Machine Manager 2012 and Data Protection Manager 2012 modules - script fails. If first loaded Virtual Machine Manager 2012 module:
Import-Module : Cannot load Windows PowerShell snap-in C:\Program Files\Microsoft Data Protection Manager\DPM2012\bin\ObjectModelCmdlet.dll because of the following error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property
for more information.
Loader Exceptions:
Could not load type 'Microsoft.Internal.EnterpriseStorage.Dls.Utils.AlertTypes.AlertEnum' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
At C:\Program Files\Microsoft Data Protection Manager\DPM2012\bin\Modules\DataProtectionManager\DataProtectionManager.psm1:2 char:14
+ Import-Module <<<< (Join-Path $cmdletDllPath ObjectModelCmdlet.dll)
+ CategoryInfo : ResourceUnavailable: (:) [Import-Module], PSSnapInException
+ FullyQualifiedErrorId : PSSnapInLoadFailure,Microsoft.PowerShell.Commands.ImportModuleCommand
If first loaded DPM 2012 module::
Import-Module : Cannot load Windows PowerShell snap-in C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\Microsoft.SystemCenter.VirtualMachineManager.dll because of the following error: Unable to load one or more of the requested
types. Retrieve the LoaderExceptions property for more information.
Loader Exceptions:
Could not load type 'Microsoft.VirtualManager.Utils.TypeConverterEnumHelper`1' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.TypeConverterEnumHelper`1' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineException' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Method 'get_BootOrder' in type 'Microsoft.SystemCenter.VirtualMachineManager.ClientObjectHWSettingsSourceAdapter' from assembly 'Microsoft.SystemCenter.VirtualMachineManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have
an implementation.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Method 'get_BootOrder' in type 'HardwareConfigSettingsAdapter' from assembly 'Microsoft.SystemCenter.VirtualMachineManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMSCSIControllerType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMSCSIControllerType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.ServicingTypeValues' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.FabricCapabilityType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.SKUType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
At \\team\dfs\scripts\Admin\Scvmm\Move-VirtualMachine.ps1:103 char:16
+ Import-Module <<<< 'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\psModules\virt
ualmachinemanager\virtualmachinemanager.psd1';
+ CategoryInfo : ResourceUnavailable: (:) [Import-Module], PSSnapInException
+ FullyQualifiedErrorId : PSSnapInLoadFailure,Microsoft.PowerShell.Commands.ImportModuleCommandVote if you have same problem:
https://connect.microsoft.com/PowerShell/feedback/details/873348/scvmm-and-scdpm-powershell-modules-cant-work-together -
System Center Virtual Machine Manager 2012 R2 trial ISO - Technet Evaluation Center
Hello,
I have checked the Technet Evaluation Center for the System Center Virtual Machine Manager 2012 R2 - 180 days trial ISO but nowhere to be found.
I see that Microsoft has put a eval VHD on the following URL: http://www.microsoft.com/en-us/download/details.aspx?id=40843.
Microsoft: Can you please upload the: System Center Virtual Machine Manager 2012 R2 iso 180 day trial to the Technet Evaluation Center since you have cancelled the technet subscribtion :)
Thank you in advance
//Robert DiegoHi Sir,
System Center products were gathered in System Center products , you can download 12R2 VMM :
http://www.microsoft.com/en-us/evalcenter/evaluate-system-center-2012-r2
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
When enabling replication on several VM's, I receive Hyper-V failed to enable replication for virtual machine "virtualmachinename": Incorrect funciton. (0x8007001). However this error doesn't happen to all VM's and it isn't related to any
particular host.
I've traced this down to a VSS error, however when running ">vssadmin list providers", I receive the following indicating there are no errors:
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.
Writer name: 'Task Scheduler Writer'
Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
State: [1] Stable
Last error: No error
Writer name: 'VSS Metadata Store Writer'
Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
State: [1] Stable
Last error: No error
Writer name: 'Performance Counters Writer'
Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
State: [1] Stable
Last error: No error
Writer name: 'Cluster Shared Volume VSS Writer'
Writer Id: {1072ae1c-e5a7-4ea1-9e4a-6f7964656570}
Writer Instance Id: {fab685fb-d333-4744-b46a-c63fc6360737}
State: [1] Stable
Last error: No error
Writer name: 'Microsoft Hyper-V VSS Writer'
Writer Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
Writer Instance Id: {5583acc3-a218-4ce6-bce9-93ff551ad8aa}
State: [1] Stable
Last error: No error
Writer name: 'System Writer'
Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Instance Id: {dd5f1635-d7ce-434b-84f7-9aaf216d5339}
State: [1] Stable
Last error: No error
Writer name: 'Cluster Database'
Writer Id: {41e12264-35d8-479b-8e5c-9b23d1dad37e}
Writer Instance Id: {0a0f16ab-b57a-4403-9059-1ea7aa3abc90}
State: [1] Stable
Last error: No error
Writer name: 'ASR Writer'
Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
Writer Instance Id: {ce09aaff-1515-4240-b5a5-8c2710a4163a}
State: [1] Stable
Last error: No error
Writer name: 'Shadow Copy Optimization Writer'
Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
Writer Instance Id: {faee5f76-086d-454c-afdb-4f8391c0ed7d}
State: [1] Stable
Last error: No error
Writer name: 'BITS Writer'
Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
Writer Instance Id: {2b649ed6-9451-40d8-b45d-e11f171aca87}
State: [1] Stable
Last error: No error
Writer name: 'Registry Writer'
Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
Writer Instance Id: {3cd0e01a-62a9-4ba4-b6dc-277a66719ae0}
State: [1] Stable
Last error: No error
Writer name: 'WMI Writer'
Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
Writer Instance Id: {f10f17aa-c8e7-42ee-84df-ed2bbf3ac187}
State: [1] Stable
Last error: No error
Writer name: 'COM+ REGDB Writer'
Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
Writer Instance Id: {45e94e87-c253-45d5-942a-462f3fece288}
State: [1] Stable
Last error: No error
The providers I'm using are:
Provider name: 'Microsoft CSV Shadow Copy Helper Provider'
Provider type: Software
Provider Id: {26d02d81-6aac-4275-8504-b9c6edc5261d}
Version: 1.0.0.1
Provider name: 'Microsoft CSV Shadow Copy Provider'
Provider type: Software
Provider Id: {400a2ff4-5eb1-44b0-8a05-1fcac0bcf9ff}
Version: 1.0.0.1
Provider name: 'Microsoft File Share Shadow Copy provider'
Provider type: Fileshare
Provider Id: {89300202-3cec-4981-9171-19f59559e0f2}
Version: 1.0.0.1
Provider name: 'Microsoft Software Shadow Copy provider 1.0'
Provider type: System
Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
Version: 1.0.0.7
Provider name: 'Dell EqualLogic VSS HW Provider'
Provider type: Hardware
Provider Id: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
Version: 4.6.0
Has anyone run into this before?
-Jeremy HoupHi Jeremy,
Hyper-v replica broker is needed if you want to enable replica for hyper-v cluster .
Please refer to following link:
http://technet.microsoft.com/en-us/library/jj134153.aspx
Also:
http://blogs.technet.com/b/yungchou/archive/2013/01/10/hyper-v-replica-explained.aspx
Best Regards
Elton JI
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Our test environment is quite simple one Operations Server 2012 R2; with the database and SSRS instance on another server; Service Manager 2012 is on it’s own virtual machine; and the Service Manager Data Warehouse on it’s own. I’ve been trying to demo chargeback
with scvmm and I’m having issues with the chargeback reporting.
I’ve followed this process to install chargeback reports:http://technet.microsoft.com/en-us/library/jj614406.aspx which
completed successfully. All of the cubes seem to process correctly in Service Manager and I can create a chargeback analysis excel sheet with no issues in service manager. I still do not get any chargeback reports in the Operations console though. I get some
reports under the “Microsoft System Center Virtual Machine Manager 2012 R2 Reports” heading like Capacity, Host Group Forecasting, Host Utilization, etc but no chargeback report.
I can see the chargeback report in the SSRS website but cannot get it to appear in the Operations console. If anyone has any tips or troubleshooting they can point me at I would appreciate it.Hi,
Hope the below link could be helpful:
Enabling Chargeback in a Service Provider Cloud by Kristian Nese
http://blogs.technet.com/b/privatecloud/archive/2013/04/12/enabling-chargeback-in-a-service-provider-cloud-by-kristian-nese.aspx
Regards,
Yan Li
Regards, Yan Li -
Licensing for Personal Multiparty Basic for Virtual Machine
Hello,
we have ordered the Personal Multiparty Basic for Virtual Machine (free with CUWL Pro).
Now, we have received these PAKs:
LIC-TMS-APL-S80100 -
LIC-CNDTR-PMP-K9 -
SKU Quantity Available
LIC-CNDTR-PMP-K9 1
LIC-CNDTR-PMP-K9 -
SKU Quantity Available
LIC-CNDTR-PMP-K9 1
LIC-VTS-PMP-PAK -
SKU Quantity Available
LIC-VTS-PMP-PAK 1
LIC-VTS-PMPUWL-1SL 9
LIC-VTS-PMP-K9 2
LIC-AES-VTS-PMP-K9 2
LIC-VTS-PMP-INTOP 2
LIC-VMCNDTR-PMP-PK -
SKU Quantity Available
LIC-VMCNDTR-PMP-PK 1
LIC-CNDR-PMP-C2400 2
LIC-CNDTR-PMP-CL 2
LIC-CNDTR-PMP-B30 2
As you can see, there are:
2 "LIC-CNDTR-PMP-K9" PAKs.
Several SKUs inside the PAKs "LIC-VTS-PMP-PAK" and "LIC-VMCNDTR-PMP-PK" with Quantity Available = 2.
Now, since currently we have only 1 Cisco TelePresence Server and 1 Cisco TelePresence Conductor (so, no clusters at the moment), what we want to know is the following:
Which PAKs do we have to use? In particular, do we have to use only 1 "LIC-CNDTR-PMP-K9" PAK, or both?
Which exact quantities do we have to use from the various PAKs?
In other words, are the second "LIC-CNDTR-PMP-K9" PAK and the SKUs with Quantity Available = 2 only for redundancy/clustering, or are they needed for other purposes?
TIA and regards.There's no limitation in licensing Telepresence Server but the platform capacity itself.
As far as you have the hardware that supports a such amout of screen licenses, you can fulfill them to this TS or vTS.
In the At-a-Glance document, Cisco refers to several hardware platforms that goes from the least to the uttermost deployments. (from BE6K MD to Cisco TS MSE 8710) -
How to access for Virtual machines in System Center 2012 r2 by remote console through code?
Hi All,
I am new in System Center. I am using System Center 2012 R2. I have a web application written by dot net, which shows the list of virtual machines created in the SCVMM. Now, I need to select a Virtual Machine from the list, and click a link named "console
access". This will allow the console access to the virtual machine. How can I perform this task?
Thanks in advance,
MoohakThe SCVMM VM console is an ActiveX application.
It is installed with the SCVMM Console application.
If you search around for the old SCVMM Self Service portal, you will discover how MSFT originally enabled this from a web front end.
If you look at Windows Azure Pack you will find a new pattern using RDP gateway.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat. -
SPLA licensing for Virtual Machines & Microsoft Hyper-V Server 2012 R2 ( Free Edition )
How to report Virtual machines running on Microsoft Hyper-V Server 2012 R2 ( Free Edition ). Please see the below details.
I have Server with Xeon E5450 (1 Socket , 4 Cores & 4 Logical Processors)and running Microsoft Hyper-V Server 2012 R2( Free Edition) on it Now I have created some VPS with different config
including virtual processors. My question is how many licence i have to report and core os is free.
Akshay PateHi Akshay Pate,
Hyper-V Server 2012 is a FREE (yes, completely free!) purpose-built product that includes the core of Windows Server 2012 and Hyper-V.
The result is a streamlined Type-1 hypervisor that is optimized for remote management and provides the same virtualization scalability and high availability features as the Hyper-V role in the full version of Windows Server - including up to 320 logical
processors per Hyper-V host, up to 4TB of physical memory, Live Migration, Storage Migration, Virtual Machine Replication, Clustering and more!
More detail information please refer the following article:
Building a Private Cloud VM Compute Foundation with the FREE Hyper-V Server 2012
http://blogs.technet.com/b/keithmayer/archive/2013/04/05/getting-started-with-hyper-v-server-2012-hyperv-virtualization-itpro.aspx
I’m glad to be of help to you!
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Pricing and plans for setting up new virtual machines
Hi,
We are having our dedicated servers with below mentioned configurations and now we are planning to move them to Microsoft Azure virtual machines.
we would like to have your suggestions and plans to move our all applications to Azure virtual machines.
We are having
8 different web applications,
1 Scheduler service,
Mobile push Notifications for mobile apps,
1 BI Server,
4 databases
Currently we are using 4 servers for all the above mentioned applications/services applications.
Our current server details are as below
S.No Server Details
1 Processor 2x
Xeon CPU E5-2620 @ 2.00GHz
2 CORE 2x
12 Core
3 HDD 3x
1TB (RAID 5)
4 RAM 16
GB RAM
5 Bandwidth
50,000 GB
6 Windows Server Windows Server 2008 R2 Standard
7 IIS Version
7.5
8 SQL Server
Microsoft SQL Server 2012
9 Services
Web Server,database and BI server.
Looking forward for valuable suggetions and response.
Regards
DeniseHi,
As I know, you need to create an Azure VM with IIS installed to host your 8 web application, create an azure oracle VM to host BI server, and create an Azure SQL Server VM to host your 4 database, for Scheduler service, please try to use Azure Scheduler
service:
http://azure.microsoft.com/en-gb/documentation/services/scheduler/Azure Notification Hubs provide an easy-to-use infrastructure that enables you to send mobile push notifications from any backend (in the cloud or on-premises) to any mobile platform, see
more: https://msdn.microsoft.com/en-us/library/azure/jj927170.aspx
Please try to estimate your bill at azure pricing calculator:
http://azure.microsoft.com/en-us/pricing/calculator/
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Why does increasing logical processors in Hyper-V for virtual machine increase performance.
To my understanding, virtual machines (assuming relative weight is even) get an equal share of the processor. When the VM is given some processing time, it shouldn't matter if the VM is seeing a single core for it to use or multiple cores, since
the processing comes out of an array of processors on the hyper-v host regardless. However, when I set the "logical processor" setting from 1 to 4 in hyper-v for a particular VM, I see a huge performance increase.
Specs on my current setup are approximately: Hyper-V host has 32 gb ram, 24 logical processors (wrong word?), a few TB of space.
VM's are allocated 6 gb ram, 1 or 4 cores, a few hundred GB of space and running 2008 R2.
I've experience a similar thing on past Hyper-V setups.Virtual machines in every hypervisor that I know of are able to use additional virtual CPUs on which to schedule additional concurrent threads of execution.
It's exactly that layer of abstraction between physical machine and virtual machine that makes it not work the way you describe. The VM is
not aware of how many cores the physical machine has. The VM does not "see" the physical CPUs (or cores) on the physical machine. The hypervisor gives the VM how ever many virtual CPUs, and the guest OS uses those virtual CPUs to schedule additional concurrent
threads... The total number of virtual CPUs the hypervisor hands out to the virtual machines can even exceed the number of physical CPUs/cores in the machine.
Said another way, a virtual machine, when assigned a single vCPU, schedules its threads as if it only had one CPU. It doesn't matter how many cores are in the underlying physical machine. (Though it is worth noting that the physical machine may schedule that
one VM thread on one physical core for one thread quantum, or time slice, and then run it on a different physical core the next time it's scheduled to run. The virtual machine has no idea any of that is happening though. All it knows is that it can only schedule
one thread at a time, one after the other, because it only has one virtual CPU.)
And let's be very clear about our terms here. You assign vCPUs, or virtual CPUs, to VMs, not "cores". Cores (by which I assume you mean physical processing units that share a single physical socket) do not equal vCPUs. There is a layer of abstraction between
them. If a VM only has 1 vCPU assigned to it, it can only schedule one thread to run at a time. That is why your VM runs faster with 2 -4 virtual CPUs assigned to it - because it is now able to schedule more than one thread to run concurrently.
However, there is definitely a law of diminishing returns here, as an excessive number of virtual CPUs incur a higher and higher overhead cost in
things like synchronization, etc.
There are slight differences between how Hyper-V and VMware hypervisors schedule virtual machine threads for execution, and they differ in their approach to physical resource "oversubscription," but this is a good general concept to start with. -
New External Drive how do I set it for Time Machine?
I just bought a new 250g firewire to back up my hard drive - I formatted it and it's ok and all but I want to use it to back up my entire hard drive.
I thought I was supposed to make a Disk Image?? but browsing these forums it seems I was supposed to designate it for Time Machine? I didn't know that. Can I still do that? If so what do I do? and how do I do it?
also what is disk image? I thought that was supposed to be the back up feature -
and if anyone else knows and I'm allowed more questions - I really wanted to install Final Cut Studio Pro on the external drive because apparently it ***** up disk space like a --- -well you know ----- - but it says it has to be on my regular drive - does that mean I have to uninstall some programs? can I set other software to work off the external or am I going to have the same problem?
I'm so ******!! I bought the 120 g drive thinking it was enough to run programs off of and use the other for data storage - apparently not!
I'm about 10 gigs short right now and that doesn't even count leaving something for extra space.
I'm in a time crunch too - ok who isn't I know - but really - I'm on vaca now and was supposed to be working on my projects but instead am babysitting this freakin' computer and am really getting ******!!
so anyone that can jump in here and help please do so. I appreciate it very much am used to windows machines am new to mac in case that wasn't already blatantly apparent!No disc image is required. Prepare the drive as follows:
Extended Hard Drive Preparation
1. Open Disk Utility in your Utilities folder. If you need to reformat your startup volume, then you must boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger or Leopard.)
2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
3. Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
Connect the drive to a Firewire port. Open Time Machine preferences and select the drive as the TM backup drive and turn on TM.
If you use the external drive for backups you should not use it for installing applications or storing other files. It should be used as a dedicated backup drive. If you need additional storage space get another external drive.
See Disk Image for discussion of what a disc image is.
Visit The XLab FAQs and read the FAQ on Backup and Restore.
Hopefully the next vacation you go on you will prepare for more thoroughly in advance. And, don't swear at the computer - it's a machine and only does what you tell it to do. If you need to swear at something look in the mirror! -
How to get Virtual Network name for Virtual Machine in Azure PowerShell?
I want to know what Virtual Network name is for specific Virtual Machine.
How can I get this through Azure PowerShell?If this is SCVMM (since SCVMM has things called 'virtual networks') you would:
$vm = Get-SCVirtualMachine -Name foo
$vm.virtualNetworkAdapters will display the VM network adapter objects. Each VM Network Adapter object has a "VM Network" and a "Logical Network" property.
So you can walk the chain of objects.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.
Maybe you are looking for
-
Delivery Status in VBUP/VBUK is showing as 'C' completely processed though
Hi All, Delivery Status in VBUP/VBUK is showing as 'C' completely processed though invoice for the delivery is already cancelled, and delivery in document flow says being process. So now I cannot invoice this delivery. Is there any utility to correct
-
Help needed regarding SUM keyword in an ITAB loop
Hello, I am maintaining a code as given below. LOOP AT itab INTO totwa. SUM. ENDLOOP. totwa is defined as a workarea which is needed to hold the sum totals of the fields in the itab. According to the documentation of SUM, it should calculate the sum
-
Salve, per la mia applicazione uso un crate PXIe (1062Q) con un RT-module 8102 ed una FlexRIO 7962R. Alla FlexRIO è connesso un AM custom. Nella mia applicazione genero un IP-core con il coregen di xilinx da importare come CLIP nel mio progetto (è un
-
Open ogg (Vorbis) in AME and convert to mp3
I'm looking for a way to convert around 1000+ ogg audio files to mp3. Just wondering why ogg files can't be opened with AME because Audition can. Who can help? Thank you! KunoTV BTW: I'm using CS6 updated to newest version.
-
I am attempting to install a 10.2.0.1 database and companion disk onto an XP pro laptop. In theory it should be supported. The databse goes on sweet as a nut. The companion disk starts installing OK until it gets to starting Apache when microsoft giv