Hi aaronb1,
Would you please inform about the build number of High Sierra you have just installed?
Regards,
-Rick
Hi aaronb1,
Would you please inform about the build number of High Sierra you have just installed?
Regards,
-Rick
Is there a way to import a list of datastores and then for each datastore, find all host profiles that specify that this datastore should be mounted, and automatically update the host profile to NOT require that datastore to be mounted to the hosts it is applied to?
You may have to flush the DNS and NetBIOS cache.
ipconfig /flushdns
nbtstat -R
If you're curious to see if any NetBIOS names is in the cache, you can check it using
nbtstat -c
Hope that helps
Have a very odd issue here.
A workflow i created runs perfectly on the vRO client.
The first step has an input that displays as a list and that works very well.
the second step is supposed to display a list based on the selection of the first step but it just shows up as a test box.
on vRO, this is the presentation. Am i doing something wrong here?
Thanks!
Hi
PowerCLI C:\> Get-VM xxx | Get-VMResourceConfiguration | Select-Object Name, CpuReservationMhz, MemReservationMB
Name CpuReservationMhz MemReservationMB
---- ----------------- ----------------
0 8192
i was able to remove cpu reservation with below
foreach ($line in $csv) | ||||
{ | ||||
Get-VM $($line.name) |% {Get-View $_.ID} | % {
$spec = new-object VMware.Vim.VirtualMachineConfigSpec;
$spec.CPUAllocation = $_.ResourceConfig.CpuAllocation
$spec.CpuAllocation.Reservation = 0;
$_.ReconfigVM_Task($spec)
}
}
but it does not work for memory
for me even below did not work
1
|
Get-VM|Get-VMResourceConfiguration|where{$_.MemLimitMB-ne'-1'}|Set-VMResourceConfiguration-MemLimitMB$null
|
below did not work too
$VMs = Get-Cluster | Get-VM
Foreach ($VM in $VMs)
{
$configspec = New-Object VMware.Vim.VirtualMachineConfigSpec
$configspec.MemoryAllocation = New-Object VMware.Vim.ResourceAllocationInfo
# This will uncheck the box.
$configspec.MemoryReservationLockedToMax = $false
# This will put the reservation back to 0
$configspec.MemoryAllocation[0].Reservation = 0
$VM.ExtensionData.ReconfigVM($ConfigSpec)
}
i tried below too
$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
$spec.memoryReservationLockedToMax = $true
(Get-VM xxx).ExtensionData.ReconfigVM_Task($spec)
no luck
Please help
10.12.6 Beta (16G18a)
i think below worked for me
$spec = New-Object VMware.Vim.VirtualMachineConfigSpec |
$spec.memoryReservationLockedToMax = $false
$spec.memoryAllocation = New-Object VMware.Vim.ResourceAllocationInfo
$spec.memoryAllocation.Reservation = 0
NFS
Do you have any label on the hardware which tells the exact model ? Error says failed to initialize acpi subsystem, clearly indicates that this is due to hardware fault/incompatibility.
Hello Dreckly,
Glad you sorted this yourself, I intended to earlier but then RL called.
This all can be done from the command-line simply with 'esxcli vsan cluster leave' on two hosts then 'esxcli vsan cluster new' on one of them, and then just 'esxcli vsan cluster get' on the other standalone host to get the new vSAN Sub-cluster UUID so it can use 'esxcli vsan cluster join' to join it.
You *should* also reconfigure the cluster at the vCenter-level but the above would accomplish the vSAN-level clustering part.
Bob
-o- If you found this comment useful please click the 'Helpful' button and/or select as 'Answer' if you consider it so, please ask follow-up questions if you have any -o-
Hi LucD,
I am getting a different error now:
Reclaiming can be done only on supported devices. There are some work around to do if you have windows machine , worth to try
Check if there is any genuine task running on that virtual machine by taking direct esxi session from vsphere client, check the tasks in progress. If there are any task running on it or stuck in progress you may try to cancel it. If there are no pending task, then its an issue with vcenter server that did not sync properly with the host to update the task status. Restarting the vcenter service would help in that situation.
Getting error "Failed to create resource" in VROPS 6.3 when creating an object for monitoring a process using multiprocess. It worked before without any issues .
(Please have mercy, I am but a spectator)
My understanding is that virtualization software is designed to create many virtual hardware instances, so that a four core Xeon CPU can spawn 25 or more virtual CPUs.
I have three questions:
This would actually be a ‘unifying’ virtualization, combining multiple physical cores to virtualize a single-core CPU. If such an abstraction layer were developed, could it also possibly virtualize a CPU that does not yet exist physically? So, Intel could virtualize a future CPU that relies on manufacturing processes that haven’t yet been developed. Or could it virtualize a CPU that is too expensive to build, with, for example, 2 GB of L1 cache? Could a light-based photonic CPU be virtualized?
It seems like something that Intel would have to initiate and allow, like hyperthreading, but I am not sure about that.
I just wonder if someone has developed such a program – there are many single-threaded apps still in use, and it is frustrating to see all this Xeon horsepower unused.
A ‘reverse virtualization’ abstraction layer could be invoked just for a selected single-threaded program – once the program is closed, the cores on the CPU would be again available individually.
A relatively low-end Xeon could become much more powerful, depending on the CPU that is virtually created.
Such ‘reverse virtualization’, or ‘unifying virtualization’, would be a win for Intel, it would be a win for users, and it would reduce the pressure on software vendors to re-write their programs for multi-threading.
Thank you for your patience
1. The host does not have it's graphic configuration set to "Shared Direct." You can confirm this by going to the host configuration in vsphere web client and click on graphics.
THIS! Thank you very much. Saved me another days worth of headaches!
こんにちは。
ESXi にテープ装置を接続するのは、ESXi 6.0 でも VMware からは直接サポートされないようです。
※下記のKBの対象にESXi 6.0 が含まれるため。
Understanding support for tape devices with VMware ESXi and VMware ESX (2007904) | VMware KB
実際にストレージ側が完全にVTL(仮想テープライブラリ)の機能を持っているのであれば、ESXi からはテープ装置に見えると思います。
つまり、そのストレージ(VTL)ハードウェアのベンダ側が検証/サポートしているか、という確認が必要になると考えられます。
ただ、VTL製品にもいろいろあるようで、
バックアップサーバにする仮想マシン(のゲストOS)にソフトウェアをインストールしてVTLを構成するような
(ESXiからはFCストレージがただのデータストアとして見えて、そこに配置する仮想ディスク上にVTLを構成するような)製品かもしれないとも考えられます。
この場合は、物理的な「ESXi とテープ装置」のサポート状況ではなく
ESXiとVTLソフトウェアのサポート状況について確認することになると思います。
どちらにしても、VTLのベンダ側でESXi 6.0 (あるいは 6.5)をサポートするかについて
確認が必要になります。
具体的なバックアップソフト / VTL / ストレージ のベンダや、製品がわかると、
さらにヒントが得られるかもしれません。
Try something like this
$vmName='MyVM'
$time =Get-Date"23/06/17 18:00"
$si=Get-ViewServiceInstance
$scheduledTaskManager=Get-View$si.Content.ScheduledTaskManager
$vm=Get-View-ViewTypeVirtualMachine-Filter @{"Name"=$vmName}
$spec=New-ObjectVMware.Vim.ScheduledTaskSpec
$spec.Name ="Shutdown $($vmName)"
$spec.Description ="Shutdown $($vmName)"
$spec.Enabled =$true
$spec.Scheduler =New-ObjectVMware.Vim.OnceTaskScheduler
$spec.Scheduler.runat =$time
$spec.Action =New-ObjectVMware.Vim.MethodAction
$spec.Action.Name ="ShutdownGuest"
$scheduledTaskManager.CreateScheduledTask($vm.MoRef,$spec)
$spec=New-ObjectVMware.Vim.ScheduledTaskSpec
$spec.Name ="Power on $($vmName)"
$spec.Description ="Power on $($vmName)"
$spec.Enabled =$true
$spec.Scheduler =New-ObjectVMware.Vim.OnceTaskScheduler
$spec.Scheduler.runat =$time.AddMinutes(20)
$spec.Action =New-ObjectVMware.Vim.MethodAction
$spec.Action.Name ="PowerOnVM_Task"
$scheduledTaskManager.CreateScheduledTask($vm.MoRef,$spec)
Thanks, Graham, that worked like a charm :-)
That seems to indicate that one of the datastores can not be found?!?
The script tries to obtain the datastore from the path to the VMX file.
For example, for "[DS1] TestVM/TestVM.vmx", the datastorename would be DS1.
Are there any VMX files in the resulting CSV, that have a datastore in the path that can not be retrieved with Get-Datastore?