drops / VMFS-6 heap memory exhaustion on vSphere 7.0 ESXi hosts
0 gustos
0 bifurcaciones
1 archivos
Última actividad 3 months ago
- Datastores are showing "Not consumed" on hosts.
- VMs may fail to vMotion.
- VMs may become orphaned when powered off.
- Snapshot-based backups may fail.
- In vCenter/hosts, snapshot creation and consolidation may fail with: message = "Consolidation failed for disk node 'scsi0:1': 12 (Cannot allocate memory)."
Cause
This is a known issue in VMFS6. In certain workflows, the memory is allocated but not freed up resulting in VMFS heap exhaustion.
The memory allocated gets freed during VMFS resource allocation and hence, creating a eagerzeroedthick file on VMFS datastore is an effective workaround. See the workaround section below for more details.
drops / Prepare Debian golden image
0 gustos
0 bifurcaciones
1 archivos
Última actividad 4 months ago
- Install Debian
- Update and install necessary packages (or needed in template)
apt update
apt install open-vm-tools aptitude vim htop sudo -y
apt upgrade -y
- Add user to sudo group (in my scenario used for ansible)
usermod -aG sudo administrator
drops / Prepare Ubuntu golden image
0 gustos
0 bifurcaciones
1 archivos
Última actividad 4 months ago
- Install Ubuntu Server (in this scenario 24.04.2 LTS) Minimized
- Select Install OpenSSH server
- Update and install necessary packages (or needed in template)
apt update
apt install open-vm-tools aptitude vim htop util-linux-extra -y
apt upgrade -y
- Disable
cloud-init. NOTICE: Removingcloud-init, remove also necessary packages responsible for networking (e.g. netplan.io)
drops / Remove cloud-init from Ubuntu 24.04
0 gustos
0 bifurcaciones
1 archivos
Última actividad 4 months ago
| 1 | cloud-init clean --logs |
| 2 | touch /etc/cloud/cloud-init.disabled |
| 3 | rm -rf /etc/netplan/50-cloud-init.yaml |
| 4 | apt purge cloud-init -y |
| 5 | rm -rf /etc/cloud |
| 6 | apt purge unattended-upgrades |
| 7 | rm -rf /var/log/unattended-upgrades |
| 8 | apt autoremove -y |
| 9 | apt install netplan.io -y |
| 10 | apt install isc-dhcp-client -y |
drops / VMware add portgroup
0 gustos
0 bifurcaciones
1 archivos
Última actividad 2 years ago
adding portgroup on all hosts in cluster esx, esxi, vmware, portgroup, network
| 1 | Get-VirtualSwitch -name vSwitch2 | New-VirtualPortGroup -Name network_name -VLanId 1024 |
Siguiente
Anterior