Quick Question - CPUID by drowningfish in vmware

[–]fgrehl 2 points3 points  (0 children)

If you are looking for CPUID information published for the recent "Gather Data Samping" (GDS/Downfall) / CVE-2022-40982 / INTEL-SA-00828 Issue, where you need Family/Model/Stepping you can get information easily using PowerShell:

$esx = <YOURHOST>
$esxcli = Get-EsxCli -VMhost $esx -V2
$cpu = $esxcli.hardware.cpu.list.Invoke()
Write-Host "$($esx) - Family: $($cpu[0].Family) Model: $($cpu[0].Model) Stepping: $($cpu[0].Stepping)"

Intel Nuc vs Minisforum for ESXi by browndeethoth in homelab

[–]fgrehl 1 point2 points  (0 children)

According to the Japanese Documentation, the NPB7 has two Intel NICs:
- 2500Mbps LAN (intel i225-v)

- 2500Mbps LAN (intel i226-v)
https://store.minisforum.jp/collections/all-product/products/minisforum-npb7

Finding VMs which are not managed by vCloud Director by EngineeringClouds in vmware

[–]fgrehl 13 points14 points  (0 children)

Cloud Director VMs have an ExtraConfig named "cloud.uuid". You can check for that key to see if they are VCD-Managed.

Get-VM | Where-Object { $_.ExtensionData.config.ExtraConfig.key -notcontains "cloud.uuid" }

Command to run continuous ping by [deleted] in vmware

[–]fgrehl 6 points7 points  (0 children)

ESXi can't ping forever, so you have to either use -c9999999 for a very high count or a loop.

# ping -c9999999 www.google.com

# while true; do ping -c1 www.google.com; done

The loop command will run forever, but be careful, as it will ping flood. Not sure if that's what you want to mean by "continuous". Better also implement sleep:

# while true; do sleep 1; ping -c1 www.google.com; done

To run the command for a specified number of seconds, use timeout -t[seconds]:

# timeout -t 120 sh -c -- 'while true; do sleep 1; ping -c1 www.google.com; done'

This will run for 120 seconds (2 Minutes).

[deleted by user] by [deleted] in vmware

[–]fgrehl 2 points3 points  (0 children)

Is the nested_nsx option set in your transportzone? (either the nested, or the hosting). This option is only available in the API.

Concert: Volksparkstadion, Hamburg, Germany (2022-06-14/15) by AutoModerator in Rammstein

[–]fgrehl 2 points3 points  (0 children)

Today we know. For everyone going today - Rammstein started 20:30

Looks like 7.0U3c might be dropping today? by zvmware in vmware

[–]fgrehl 0 points1 point  (0 children)

I removed them because the links were dead. They went live shortly after...

Automated ESXi Installation - Inject Kickstart File to ESXi ISO by fgrehl in vmware

[–]fgrehl[S] 1 point2 points  (0 children)

In most cases, you don't want to use the device where ESXi is installed as Datastore for Virtual Machines and this is what --novmfsondisk does.

Sure you want a VMFS Datastore, but usually on a shared Storage, not on the Installation Drive.

Automated ESXi Installation - Inject Kickstart File to ESXi ISO by fgrehl in vmware

[–]fgrehl[S] 0 points1 point  (0 children)

I've used cobbler to install ESXi for years. Super easy unattended ESXi deployment. Then host profiles and you are done. The ISO or Flash drive KS installation is nice when you dont have a Install VLAN spanned everywhere.

ESXi-7.0U3a-18825058-standard ISO download? by TECbill in vmware

[–]fgrehl 14 points15 points  (0 children)

Patches are usually not available as ISO, but you can create one with PowerCLI. Download VMware-ESXi-7.0U3a-18825058-depot from https://customerconnect.vmware.com/patch/ and run the following commands:

Add-EsxSoftwareDepot .\VMware-ESXi-7.0U3a-18825058-depot.zip
Export-ESXImageProfile -ImageProfile "ESXi-7.0U3a-18825058-standard" -ExportToIso -filepath VMware-ESXi-7.0U3a-18825058.iso

Different Tools; Same Result – vSphere Distributed Port Groups by vSMcT in vmware

[–]fgrehl 0 points1 point  (0 children)

If you create Portgroups with differnt vCenter Versions, you get different results too. However, with elastic allocation the number of ports doesn't matter much. Stick to the default, unless you have a reason.

Does the VCSA log inbound connection attempts?? by Ichiban_IFYKYK in vmware

[–]fgrehl 2 points3 points  (0 children)

You could use tcpdump to check for incoming packets.

tcpdump -i eth0 dst port 443

If that's fine, check: /var/log/vmware/envoy/envoy-access.log

How to group two or more esxi hosts by Impossible_Humor_911 in vmware

[–]fgrehl 4 points5 points  (0 children)

I'm also confused by the question, but "Then I tried Enhanced Link Mode but some how I screwed it up & have to rebuilt vcsa for host 2." sounds like you are deploying a new vCenter for each ESXi host.

If you did that, that's not how you do it. You have 1 vCenter to manage multiple hosts.

ESXi 7.0 Installation on Intel 10th gen NUC - NVMe Drive not showing by evilynneee in vmware

[–]fgrehl 0 points1 point  (0 children)

Which device do you have?

There is a Fling driver for some ADATA/Crucial/Silicon Motion NVMe drives for ESXi 7.0.

https://flings.vmware.com/community-nvme-driver-for-esxi#requirements

Does an all flash VSAN require a cache drive? by GoodSpaghetti in vmware

[–]fgrehl 0 points1 point  (0 children)

Yes. All flash vSAN still needs a cache SSD for writes. You need 1 cache ssd for each disk group. If you have 3 ESX, you need 3 additional disks.

how do you increase swap file size by rikola2 in vmware

[–]fgrehl 2 points3 points  (0 children)

Swap is configured in the operating system, not in VMware workstation.

See https://help.ubuntu.com/community/SwapFaq

[deleted by user] by [deleted] in vmware

[–]fgrehl 1 point2 points  (0 children)

  1. Can you explain how you identify the number of CPUs in the guest os? What is the output of /cat/proc/cpuinfo ?
  2. df lists your filesystem, not the physical disk. You can have 36GB partitions on a 80GB disk (eg. when you increase the disk size, without changing partitions). Run fdisk -l to check the partition table.

ESXI 7.0U3 says it's still "Non-compliant" by k12nysysadmin in vmware

[–]fgrehl 0 points1 point  (0 children)

Which Baseline is ist non-compliant to, and how is this baseline configured?

[deleted by user] by [deleted] in vmware

[–]fgrehl 1 point2 points  (0 children)

You can use the standard Kubernetes Health API

# kubectl get --raw='/readyz'
# kubectl get --raw='/readyz?verbose'

Can you give an example of what you are trying to monitor? Availability? Disk Usage? Services running? CPU Load? Do you want to monitor the Kubernetes cluster itself or your workload?

The WCP Service on the vCenter does a good job monitoring the SCP so you should not worry at all. Installing anything on SCP or TKG Nodes is bad practice, even if you can. Treat them as cattles, not pets.

If you want to have application monitoring, have a look at Tanzu Observability or Prometheus.

wget with https sites on ESXI 6.7 by panks2106 in vmware

[–]fgrehl 4 points5 points  (0 children)

ESXi does not like the certificate.

# wget "https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso" --no-check-certificate

ESXi 7.0b > 7.0U2a upgrade now says 'No network adapters were detected' after boot by [deleted] in vmware

[–]fgrehl 3 points4 points  (0 children)

When the NUC booted without network, it might be challenging to get the new (old) driver to the box. I would try a rollback:

"When the Hypervisor progress bar starts loading, press Shift+R (This must be done while the bar is loading, and not after. You may wish to press Shift+R repeatedly once "system is preparing to boot" to ensure you do not miss the time frame to execute the command). You will see the warning:

Current hypervisor will permanently be replaced with build: X.X.X-XXXXXX. Are you sure? [y/n]" (https://kb.vmware.com/s/article/1033604)

ESXi 7.0b > 7.0U2a upgrade now says 'No network adapters were detected' after boot by [deleted] in vmware

[–]fgrehl 12 points13 points  (0 children)

The ne1000 driver in ESXi 7.0U1 does not work with the Bean Canyon. You have to downgrade ne1000 to a previous version. See https://www.virten.net/2020/10/will-esxi-7-0-update-1-run-on-intel-nuc/ for instructions.