You have to use drag & drop for coping files to and from your VM, clipboard is only for text.
Ah, no. I copy files with copy/paste from host to guest and vice versa all the time.
You have to use drag & drop for coping files to and from your VM, clipboard is only for text.
Ah, no. I copy files with copy/paste from host to guest and vice versa all the time.
こんにちは。
NICのモデル、ESXiバージョン、ドライバ(ixgben)を
VMware Compatibility Guide で確認すると、タイプに「Partner Async」も含まれていました。
念のため、利用されているサーバ ベンダの推奨しているドライバが利用できているか確認しておくとよいと思います。
(たとえば、ベンダのカスタム イメージの ESXi があるならそれを利用しているか、推奨されるNICドライバのVIBをインストールしたか、など)
https://www.vmware.com/resources/compatibility/detail.php?deviceCategory=io&productid=20396
あと、10Gbpsのリンクで利用する想定のようですのでケーブルはCAT6のほうがよいかもしれません。
以上です。参考になるかどうか・・・
This is more of a PowerShell question, but I am hoping someone can help anyway. We have a custom annotation on each VM that tracks its last backup.
Get-VM -Name vm1 | Get-Annotation "Backup Time" | Select-Object Value
Value
-----
11/27/2019 10:08:07 PM
It is this type of object
IsPublic IsSerial Name | BaseType | ||
-------- -------- ---- | -------- | ||
True | False | PSCustomObject | System.Object |
I have been trying too many ways to even post here to try to convert this to a date object so that I can compare. Ultimately I am writing a script to output any backup times more than 24 hours old. I am weak with dates, but I know I can get write the compare code probably once I can get this output in a state I can compare with today date. Thank you very much for any assistance!
Try something like this
I did, but I am having the issue on both a converted drive and a new image. I did restart. I did uninstall and reinstall vmware tools on the VMs.
$report=@()
foreach($dcinGet-Datacenter){
$dcVm=Get-View-ViewType VirtualMachine -Property Name -SearchRoot $dc.ExtensionData.MoRef
foreach($clusterinGet-Cluster-Location $dc){
$vms=Get-view-ViewType VirtualMachine -SearchRoot $cluster.ExtensionData.MoRef
foreach($vmin$vms){
$info=""| select Datacenter, Name, ToolsStatus, NumCpu, MemoryMB, guestos, IPAddress,
Datastore, DatastoreUsedGB,NrVMperDC,NrVMperCluster
$info.IPAddress=($vm.Guest.net.IPAddress|where{$_}|Sort-Object-Unique)-join'|'
$info.Datastore=(Get-View-Id $vm.Datastore-Property Name).Name -join'|'
$info.DatastoreUsedGB=[math]::Round(($vm.Storage.PerDatastoreUsage.Committed|Measure-Object-Sum).Sum/1GB,1)
$info.datacenter=$dc.name
$info.Name=$vm.name
$info.toolsstatus=$vm.guest.toolsstatus
$info.NumCpu=$vm.Summary.config.NumCpu
$info.MemoryMB=$vm.Summary.config.memorySizeMB
$info.guestos=$vm.guest.guestfullname
$info.NrVMperDC=$dcVm.Count
$info.NrVmperCluster=$vms.Count
$report+=$info
}
}
}
$report|export-csv"\Report.csv"
the same script but i need to get a single vm report
My old vCenter crashed and I'm trying to add custom certificates on the new one however when I complete the CSR generation on the web UI there are just two options, copy and download.
Copy does what it says, copies the CSR to the clipboard and download downloads it, just the CSR, no private key. The CSR, naturally, is enough to get the signed certificate but at import time I have no private key to match and thus it won't accept the certificate.
How can I get a hold of the private key? Why after so many iterations can't VMware get it right--I mean, vCenter is really expensive, you sort of expect it to be flawless. What's the point of the web UI if you still have to hunt down files in the CLI. I tried using this wildcard certificate I'm using in several places but it won't accept it, I assume it's because it doesn't explicitly has the hostname.
I looked it up (the private key) on /usr/lib/vmware-vmca/bin already expecting it not to be there, and surely it wasn't. I went to /tmp and looked up anything with today's timestamp (/tmp/jna-root) but it was empty. The rest on /tmp are .part files.
Anyway, I appreciate your help on this -- and thanks !
Hi Lars,
Yeah, I saw it, too.
I looked in AMI Bios again. The energy saving option is on high perfomance (previously non top performance) and I have disabled all available C.Modes (C1 to C3).
But I already have the improvement and the system is now at least stable.
Thanks for the help
That worked!! And my powershell compare code worked with it. Thank you very much. I will now be able to finish this today!!
Use the Filter parameter on the Get-View cmdlet.
$vmName='MyVM'
foreach($dcinGet-Datacenter){
$dcVm=Get-View-ViewType VirtualMachine -Property Name -SearchRoot $dc.ExtensionData.MoRef
foreach($clusterinGet-Cluster-Location $dc){
$vms=Get-view-ViewType VirtualMachine -SearchRoot $cluster.ExtensionData.MoRef-Filter @{Name="^$vmName$"}
foreach($vmin$vms){
$info=""| select Datacenter, Name, ToolsStatus, NumCpu, MemoryMB, guestos, IPAddress,
Datastore, DatastoreUsedGB,NrVMperDC,NrVMperCluster
$info.IPAddress=($vm.Guest.net.IPAddress|where{$_}|Sort-Object-Unique)-join'|'
$info.Datastore=(Get-View-Id $vm.Datastore-Property Name).Name -join'|'
$info.DatastoreUsedGB=[math]::Round(($vm.Storage.PerDatastoreUsage.Committed|Measure-Object-Sum).Sum/1GB,1)
$info.datacenter=$dc.name
$info.Name=$vm.name
$info.toolsstatus=$vm.guest.toolsstatus
$info.NumCpu=$vm.Summary.config.NumCpu
$info.MemoryMB=$vm.Summary.config.memorySizeMB
$info.guestos=$vm.guest.guestfullname
$info.NrVMperDC=$dcVm.Count
$info.NrVmperCluster=$vms.Count
$report+=$info
}
}
}
$report|export-csv"\Report.csv"
In the HTML5 UI, you are able to (easily) create a configuration that cannot be used, and that's the problem that everyone here not using vSphere is running into.
The common case is that a new (separate) vswitch is created and you want to use it for some sort of communication between the ESXi host and the virtual machine, e.g. a virtual machine providing iSCSI consumed by the ESXi host.
If you create the virtual switch and the port group, then add a vmkernel to that port group and give it an IP address, it all goes fine until you try to then add a virtual machine to this network. The UI does not allow you to associate a port group that has a VMkernel in it with a VM's virtual network adapter. To have communication between a virtual machine and the ESXi host on a separate virtual switch, you need to create one virtual switch with two port groups, one of which has a VMkernel and the other is used by the virtual machines.
Try reinstall VMware Tools and Horizon Agent after optimization.
Hi
In my case on option "Storage size" was only "X-Large" available. It was because of an active snapshot.
As I removed the snap, i was able to choose "large"
Hi
Same on 6.5 U1 --> 6.7 U3
In my case on option "Storage size" was only "X-Large" available. It was because of an active snapshot of vCenter VM.
As I removed the snap, i was able to choose "large"
I am also facing similar issue. Do let me know as well if you find any helpful guide.
You won’t be able to resize the disks while you have an active snapshot. You will have to remove all snapshots, resize the VMDK, and then take a snapshot for a backup if you want one.
once you get the disk expanded, I would just copy/paste those commands and save them in the script to make it pretty easy/painless.
Hi danci1973
thats easy...
The first...
1x Windows Server 2016/2019 Standard 16 Core
If you buy a cheap OEM the windows license is bind to the phys. Host when you install the Windows OSE and youre legaly not allowed to move the VM(s) away after installation. So no HA, vMotion , Cold Migration or whatever!!!!! This is true for the last 20 years.
If you buy OpenLicense or better... youre allowed to move every 60 (or 90 i cant remember) days. So... if you have an HA related event every 60(90) days youre fine!
If you buy OpenLicense or better together with Software Assurance (SA) you get the permission to run the OSE in a farm and the rights to move around. So HA, vMotion and is allowed and you can move VM every second to a new pyhs. Host if you like.
The second...
To run 2 Windows VMs you need
1x Windows Std. 16 Cores
8x Windows Std. 2. add.AddOn Cores
which gives you 32 licensed CPUs. (Notice: There is also a 24 Cores license.. with that you need 1x 24 and 4x 2add. Addon Cores)
To run 10 VMs you need the package from above 5x. The break even for Windows Datacenter comes into sight....
Add the info about OEM, OpenLicense or SA. So if you have a need for HA... you need Microsoft SA for that 32 CPU License package. Keep in mind that both VMs from the license package have to run on the same Hosts and during HA they have to restart on the same Host.
If you buy OpenLicense+SA the software assurance is valid for 2 years and than you need to renewal the SA.
Regards,
Joerg
With vSphere Web Client (Flash based) the Edit button is missing.
With vSphere Client (HTML5 based) the Edit button is greyed-out and when hovered-over gets a red forbidden symbol over it
It can be edited with the built-in webserver under Autostart, but that interface is, let's say, cumbersome.
This is a single Essentials host, not a cluster, so not HA, so that's not preventing it.
It used to work last week when it was 5.5U3, and the configuration is still set, but can't be edited.
Under Permissions every line has Administrator role.
Why is VM Startup / Shutdown configuration disabled?
You need some level of access at the parent object, which in your case is the host - that's why you're seeing those 2 behaviours.
You would need vCenter Server managing your host to achieve what you want, as then you can create folders as parent objects.
I have already tried setting "__amazon.Image.ID" on a PRE VMPSMasterWorkflow32.BuildingMachine & PRE VMPSMasterWorkflow32.Requested subscription and it didn't change the image that was deployed. Running vRA v7.5.