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

SCVMM 2019

$
0
0

Hi,

From where i can download SCVMM 2019 version?

I need details for its evaluation version and licensing part.

Thanks,

Krupal.



VM is sysprepped but even then error 10659: template doesn't have generalized VHD

$
0
0

Hi,

We patch a VM then sysprep it and create VHDX using Export-VM command. This VHDX is used to create a VM Template on SCVMM. After we create a template successfully when trying to create a VM from this Template we get error; 10659 Cannot run Sysprep on virtual machine <servername> because the template does not have a virtual hard disk attached that has been generalized.

Help needed...

Thanks, Kishor

SCVMM 2012 - A Hardware Management error has occurred trying to contact server. Unknown error (0x803381a6)

$
0
0

Hi,

Just recently I have been experiencing a problem where all the virtual hosts I am monitoring in SCVMM will go from responding to Needs Attention and all the VMs have the status of Host Not Responding.

The errors in the job log are all the same for each of the virtual hosts (there are 3 in a cluster).

Error (2927)
A Hardware Management error has occurred trying to contact server RC-HYPERV-1.riddlesdown.local  .
Unknown error (0x803381a6)

Recommended Action
Check that WinRM is installed and running on server RC-HYPERV-1.riddlesdown.local. For more information use the command "winrm helpmsg hresult".

I've checked the WinRM service on all servers and it is started on all of them, there are no firewalls between the SCVMM server and cluster nodes, VMM service account is a member of the local administrators on the cluster nodes.  I can't see anything in any of the events logs around the time everything has stopped.

I can fix it by forcibly stopping the WinRM service (when I try to stop it normally it times out), restarting the WinRM and VMM agent services, then refreshing the host cluster.

Any ideas why all the nodes suddenly stop responding and what I can do about fixing it?


Getting Operating System Name, VM Running Status and Status values from VirtualManagerDB

$
0
0

Hello,

I have the below query to fecth all VM details. Below is the query:

select 
--VM Info
hg.Name as [Host Group],
h.ComputerName as [Host Name],
CONVERT(varchar,vo.CreationTime,105)as[Created On],
vo.Name as [VM Name],
vmi.ComputerName as [Computer Name],

--Generation Info
hwp.Generation,
vmi.VMAddition,

--Boot Options
vmi.StartAction,
vmi.StopAction,
ISNULL(hwp.BootOrder,'Not Applicable')as[Boot Order],
CASE ISNULL(hwp.SecureBootEnabled,0) When 0 Then 'No' When 1 Then 'Yes' End as [Secure Boot Enabled],
ISNULL(hwp.FirstBootDevice,'Not Applicable')as [FirstBootDevice],


/*Hardware Info*/

--Processor Info
hwp.ProcessorCount as [Processor Count],
hwp.CPUPerVirtualNumaNodeMaximum,
CONVERT(decimal(5,2),hwp.MemoryPerVirtualNumaNodeMaximumMB/1024.0) as [MemoryPerVirtualNumaNodeMaximum (GB)],
ISNULL(hwp.CPUPerVirtualNumaNodeMaximum,0) as [CPUPerVirtualNumaNodeMaximum],
CONVERT(decimal(5,2),ISNULL(hwp.MemoryPerVirtualNumaNodeMaximumMB,0)/1024.0) as [MemoryPerVirtualNumaNodeMaximum (GB)],

--Memory Info
hwp.RAM/1024 as [RAM (GB)],
CASE hwp.DynamicMemoryEnabled
	When 0 Then 'No'
	When 1 Then 'Yes'
END as [Dynamic Memory Enabled],
ISNULL(hwp.DynamicMemoryMinimumMB,0) as [DynamicMemoryMinimumMB],

--Disk Info
vmi.VMTotalSize/1024/1024/1024 as [VMTotalSize (GB)],
vmi.VMTotalMaxSize/1024/1024/1024 as [VMTotalMaxSize (GB)],


--Network Info
vna.VirtualNetwork,
vna.IPv4AddressType,
vna.IPv4Addresses,
vna.DefaultGateways,
vna.DNSServers

from tbl_WLC_VObject vo
inner join tbl_ADHC_Host h on vo.HostId = h.HostID
inner join tbl_BTBS_HostGroup hg  on h.HostGroupID = hg.ID
inner join tbl_WLC_VMInstance vmi on vo.ObjectId = vmi.ObjectId
inner join tbl_WLC_HWProfile hwp on vo.HWProfileId = hwp.HWProfileId
inner join tbl_WLC_VNetworkAdapter vna on vo.HWProfileId = vna.HWProfileId

order by [Host Group], [Host Name], [VM Name]

I was wondering if it is possible to get Operating System Name, VM Running Status and Status values from VirtualManagerDB?

Please help. Thanks in advance.


Thanks, Rajiv Iyer

Service Template - Set computer name based on creating user or other data

$
0
0

I want to allow my users to create VMs from a template in VMM and have the computer name of the deployed OS be generated from the user name and department (e.g. DEV-QA-BOB)

As I want to use application profiles to deploy some applications after initial OSD, I will need to use service templates.

How can I set the computer name? At the moment the only way I can see to do it is to run a script on the deployed VM to rename it. Is there any other way?

부천오피 ↖uuzoa2.com ↗ ↙유유닷컴↘ 부천오피

VLAN Trunk in SCVMM

$
0
0

Hi there

We are currently using  SCVMM 2012 to manage our infrastructure. What i wanted to check is its possible to setup a VLAN trunk on SCVMM. What i need is for VM's in a cluster to not be able to communicate with the other VLAN's in our network unless the VLAN ID has been manually specified on the actual VM Network Adapter. For instance i have VLAN 828 on 10.10.208.0/22 as well as VLAN 552 on 172.20.0/24. On the VM network Adapter i specify the vlan id 828 and i can only see that range, if i change the vlan id on the adapter and make it 552 the only see the 172.20 range  

Change MAC Address Pool - if addresses are already in use

$
0
0

Hi Everyone,

I have run into an issue with my SCVMM Implementation.  I forgot to change (and did not know about) the default MAC Address pool in two SCVMM Implementations:

2012 R2 

2016

Today I had my first overlap, where a new VM could not ping certain machines on the network.  Tracked it down to a duplicate MAC address, that was already in use by another VM - on the other SCVMM host cluster.

Is there a way I can modify the MAC address ranges without a major outage?  I shrank the MAC Address Pool on the 2012R2 side, which worked.

However when I attempted to modify on the 2016, some of the MAC addresses are already assigned to machines.  I would rather not have to shut shut the VM's down (I am guessing if I do that I have to detach the NIC, make my changes, and then attach the NIC again - which will require a shut down).

Thanks.


Available Memory and CPU Average stats are wrong

$
0
0

I have a few hosts in a Cluster that always seem to report 0KB Memory free and the CPU average as 255%.

The two anomalies don't always go hand in hand, for example in a single 8 node cluster I have 4 of the 8 showing 255% CPU but only 3 appear to be reporting incorrect Memory. I haven't observed it enough to be 100% sure but I don't believe it's always the same hosts showing these problems.

It doesn't appear to be affecting the cluster in any way, they appear as balanced as I'd expect them to be. I've just <g class="gr_ gr_499 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" data-gr-id="499" id="499">ran</g> a fresh job and looked at the host status within properties and they all appear to look good. 

We have a separate 3rd party that also monitors infrastructure and this reports things like CPU and Memory correctly so this appears specific to the way SCVMM gets the data rather than a generic host issue.


Updates for Semi-Annual Channel VMM

$
0
0
i would like to know if there is any hotfix or updates for Semi-Annual Channel (SAC) release of Virtual Machine Manager.
example, after VMM 1807 is released in july2018, is there any updates so far or we have to wait 6 months for the next SAC version.

Get SCVMM server name

$
0
0

Hi,

Is there any way (like Powershell command) to get SCVMM server name for SCVMM running on local computer?

Regards,

Krupal.

일산오피 ☞www닷uuzoa2,com☜ ↖유유닷컴↗ 일산건마

VMM PowerShell by non-admins

$
0
0

Is there any way to use the VMM PowerShell cmdlets if you are not in a VMM administrator role?

I was hoping to do some automation using VMM PowerShell but I didn't want to give admin rights to many users.

SCVMM2019 - Bare-metal OS Deployment fails every time at "Enabling Hyper-V"

$
0
0

I cannot get the bare-metal deployment of Windows 2019 by SCVMM2019 onto HP Blade servers.  It always fails on the same place, when it is "Enabling Hyper-V".  I have used the GUI and PowerShell it always stops/fails at the same place.

 

Scenario:

In SCVMM2019 with a sysprepped Win2019 Data Centre image published in the VMM Library.  All servers are running Win2019 DC - SQL Server is a remote SQL 2017.

Process: 

After the "Bare-metal Deployment" process runs for a while....Transferring and Converting the vhd….the iLO screen shows it is "Enabling Hyper-V".  After a short while it stops and shows the error:

Error: 80004005: Unspecified error - [not much help there]

Press shift-F10 to open …….a log is at x:\vmm\vmmagentpe.exe.log

That file does not say much....but there is a DISM log file and that contains errors, which includes:

dism cbs error 0x800f0830 cbs_e_image_unserviceable - all other errors seem to relate to this topic.

If I manually build a VM with this sysprepped image, with nested virtualisation enabled, everything works as expected.  So it does not appear to be the image itself.

 

I have seen "https://social.technet.microsoft.com/Forums/en-US/97c7a195-6c88-4c74-82f6-70854297cb6a/hyperv-bare-m..." - but it is very difficult to understand what the steps are as it is in German.

 

Any suggestions?

 

Stephen

SCVMM Local Installation

$
0
0

Hello,

I am trying to install SCVMM on my machine in order to learn about this system.

Is there any server I can use in the configurations?


Updates for Semi-Annual Channel VMM

$
0
0
i would like to know if there is any hotfix or updates for Semi-Annual Channel (SAC) release of Virtual Machine Manager.
example, after VMM 1807 is released in july2018, is there any updates so far or we have to wait 6 months for the next SAC version.

Modifying "Connect via RDP" action in VMM console

$
0
0

Is it possible to modify the "Connection via RDP" action in the VMM console, or perhaps a way to add a new command to that drop-down menu?

I have an environment where VMM users do not have direct IP connectivity to the operating VMs.  RDP access is done via an RDP gateway.

So when the "Connection via RDP" action is executed, instead of:

mstsc /v:HOST

I'd like it to do:

mstsc /v:HOST /g:GATEWAY

If I could intercept the execution, I could insert an wrapper script to adjust the command line as required.  Is there a way of modifying the executable used for this action in the VMM console?

Updates for Semi-Annual Channel VMM

$
0
0
i would like to know if there is any hotfix or updates for Semi-Annual Channel (SAC) release of Virtual Machine Manager.
example, after VMM 1807 is released in july2018, is there any updates so far or we have to wait 6 months for the next SAC version.

Not able to create new Virtual Machine through VMM2016

$
0
0

When I try to deploy the VM it stuck on 1.2 Deploy File option and after some time throws the below error

Error (2912)
An internal error has occurred trying to contact the 'xxxxxxx' server: NO_PARAM: NO_PARAM.

WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={9E5F4249-5DA5-4E93-95C1-C2AE37100FA9}]

There are no more endpoints available from the endpoint mapper (0x800706D9)

Recommended Action
Check that WS-Management service is installed and running on server 'xxxxx'. For more information use the command "winrm helpmsg hresult". If 'xxxxx' 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.

I already tried below steps

Verified the certificate on host and VMM server --> Didn't work

Changed the BITS port to 8500 and still the issue same --> Didn't work

Changed the settings to allow unencrypted BITS option on All Hosts and Library Server --> Didn't work

Added a new Hyper V Host and able to create VM on it which means issue with the existing host.

I can not re-add the Hyper V Host/Cluster due to some reasons.

Enabled the debugging on VMM server and following are the logs

WinRM: URL: [http://xxxx:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]

CreateSession: going to use custom timeout for wsman operations: 300 secs.

Bits Client job (JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}) is in an error state.

WinRM: URL: [http://xxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]

CreateSession: going to use custom timeout for wsman operations: 300 secs.

private\product\engine\Deployment\BitsDeployer.cs,1028,WSManProviderException [ex#c2c5] caught by GetProgress (catch CarmineException) [[(WSManProviderException#[bafc]) { Microsoft.Carmine.WSManWrappers.WSManProviderException: An internal error has occurred trying to contact the 'xxxxx' server: NO_PARAM: NO_PARAM.  WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]  

Check that WS-Management service is installed and running on server 'xxxxx'. For more information use the command "winrm helpmsg hresult". If 'xxxxx' 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.     

at Microsoft.VirtualManager.Engine.Deployment.NativeDeploymentClientJob.GetProgress(UInt32& state, UInt64& fileSizeBytes, UInt64& transferredBytes)     at Microsoft.VirtualManager.Engine.Deployment.BitDeployer.GetProgress(UInt32& clientState, IVmmDbConnection dbConnection)  *** Carmine error was: HostAgentFail (2912); HR: 0x800706D9 *** \\shared-path\MSSCVMMLibrary\ISO\SW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO ** xxxxx ** 443 **

 WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}] ** xxxxx **  [s#246c2c5] 
 Task`1.SubtaskRun(this: (Task`1<NewVmFromTemplateSubtask>#[6]) { TBD }, TaskID: (guid) 2b590350-c1ef-47c4-aeb3-1a15a8282668) in t:\btvsts\2811\private\product\engine\TaskRepository\Task.cs:line 254 [s#1c6f680] RefreshDriver`1.RefreshThreadFunction(this: (RefreshDriver`1<HostClusterReference>#[3]) { tbd }, obj: (WaitCallbackState<HostClusterReference>#c05248) Microsoft.VirtualManager.Engine.RefreshDriver`1+WaitCallbackState[Microsoft.VirtualManager.DB.Adhc.HostClusterReference]) in s:\btvsts\4576\private\product\engine\Common\RefreshDriver.cs:line 566 Full call stack from when the exception was thrown:   at Microsoft.VirtualManager.Engine.Deployment.BitDeployer.Copy(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.Deployment.DeploySubtask.RunSubtask(IVmmDbConnection dbConnection)    at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.DeployFilesWithFallback(DeploySubtask mainSubtask, DeploymentHelper mainHelper, DeploySubtask fallbackSubtask, DeploymentHelper fallbackHelper, WindowsCopyCredentialFixup credentialFixup, Boolean useFallback, Boolean isSubtaskAlreadyChild, String traceMessage, IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.DeployVm(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.DeployVm(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunNewVmSubtasks(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunSubtask(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.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)     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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()  ; error = (ErrorInfo#83052e14) HostAgentFail (2912); HR: 0x800706D9 }]

private\product\engine\Deployment\BitsDeployer.cs,1034,Failed to transfer C:\Test-Piyush-VM\SW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO due to [There are no more endpoints available from the endpoint mapper (0x800706D9)], removing the entry from the current xfer list...

private\product\engine\Deployment\BitsDeployer.cs,1151,WSManProviderException [ex#c2c5] caught by GetProgress (catch WSManException) (exception already reported),

private\product\engine\Deployment\BitsDeployer.cs,802,Cancel a main job.,

private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1728,WinRM: URL: [http://xxxxx:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}],

private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1169,WsmanAPIWrapper::CreateSession: going to use custom timeout for wsman operations: 300 secs.,{00000000-0000-0000-0000-000000000000},

private\product\engine\Deployment\NativeDeploymentClientJob.cs,602,Suspending BitsClientJob (JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}).,{00000000-0000-0000-0000-000000000000},

private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,2586,WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [SetJobState], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}],{00000000-0000-0000-0000-000000000000},
[3]0C6C.33D8::‎2019‎-‎04‎-‎30 17:23:22.280 [Microsoft-VirtualMachineManager-Debug]4,4,private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1169,WsmanAPIWrapper::CreateSession: going to use custom timeout for wsman operations: 300  UrlGroup: https://shared-path:443/e7d3d115a66af3d7263b2bd5b3a9ea4dc6c002e6/, UrlSuffix: MSSCVMMLibraryA5cISOA5cSW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO/C:A5cTest-Piyush-VMA5cSW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO

Could not deploy VM files for VM Test-Piyush-VM using BITS, nothing to fallback to

Can anyone please advise on this?

Service Templates - Overview of application profile execution context

$
0
0

I've been trying to use a VMM service template as a method to deploy one (or more) VMs to a VMM Cloud with custom configuration.  I'm trying to findgood documentation on the application/scripting functions in the application profile section.

For each of the Script Application, Script to Applicationand Script to Application Profile items:

I'm trying to find out for each type of script (script application/script to application/script to application profile):

  • Where exactly does each script run in the build sequence?  I'm assuming it's on the VM itself, and the "pre-install"/"post-install" refers to the install of theapplications listed in the application profile.  Not sure about "Creation:" and "Deletion:" scripts.
  • In what user context does each script run if no run-as account is specified?  LocalSystem?
  • Is there an interactive session open when the script is running?  That is, could I connect to the console of the VM and observe what is happening?

Does anyone have any tips for debugging?

Really, what I'm looking for is something to give a good overview as to how VMM actually executes these steps, so I can understand the execution environment for my scripts.

Viewing all 2770 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>