Abcde - VMware https://www.abcde.im/category/10/ zh-CN Wed, 20 Feb 2019 01:34:18 +0000 Wed, 20 Feb 2019 01:34:18 +0000 vSphere 6.5 - DRS CPU Over-Commitment https://www.abcde.im/archives/49.html https://www.abcde.im/archives/49.html Wed, 20 Feb 2019 01:34:18 +0000 abcde

https://vspherecentral.vmware.com/t/resource-management-and-availability/vsphere-resources-and-availability/drs-additional-option-cpu-over-commitment/

https://www.vcdx200.com/2018/01/vsphere-65-drs-cpu-over-commitment.html

A lot of VMware vSphere architects and engineers are designing their vSphere clusters for some overbooking ratios to define some level of the service (SLA or OLA) and differentiate between different compute tiers. They usually want to achieve something like

  • Tier 1 cluster (mission-critical applications) - 1:1 vCPU / pCPU ratio
  • Tier 2 cluster (business-critical applications) - 3:1 vCPU / pCPU ratio
  • Tier 3 cluster (supporting applications) - 5:1 vCPU / pCPU ratio
  • Tier 4 cluster (virtual desktops) - 10:1 vCPU / pCPU ratio

Before vSphere 6.5 we have to monitor it externally by vROps or some other monitoring tool. Some time ago I have blogged how to achieve it with PowerCLI and LogInsight - ESXi host vCPU/pCPU reporting via PowerCLI to LogInsight.

[...]

]]>
0 https://www.abcde.im/archives/49.html#comments https://www.abcde.im/feed/archives/49.html
How to use VMware vSphere PowerCLI to find a virtual machine by MAC address https://www.abcde.im/archives/40.html https://www.abcde.im/archives/40.html Sun, 27 Jan 2019 14:21:11 +0000 abcde

原文:https://rvdnieuwendijk.com/2011/07/18/how-to-use-vmware-vsphere-powercli-to-find-a-virtual-machine-by-mac-address/

Sometimes you need to find a virtual machine by MAC address. This can be very time consuming if you have to do this by hand using the VMware vSphere Client. PowerCLI can do this task for you in only a few seconds. The script presented in this blogpost will retrieve the virtual machine that has a certain MAC address.

You can find the virtual machine with a certain MAC address by just using the PowerCLI Get-VM and Get-NetworkAdapter cmdlets and piping these together. E.g. to find the virtual machine with MAC address “00:0c:29:1d:5c:ec” you can give the following PowerCLI command:

 Get-VM | `
Get-NetworkAdapter | `
Where-Object {$_.MacAddress -eq "00:0c:29:1d:5c:ec"} | `
Format-List -Property *

[...]

]]>
0 https://www.abcde.im/archives/40.html#comments https://www.abcde.im/feed/archives/40.html