User Tools

Site Tools


admin:esxi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:esxi [2023/03/21 09:21]
peppe [DL380ws lab 24h clones]
admin:esxi [2024/03/29 11:51] (current)
peppe
Line 109: Line 109:
 ==== DL380ws lab 24h clones ==== ==== DL380ws lab 24h clones ====
 - Create VM - Create VM
-  - OS Version: Linux/Ubuntu Linux 64-bit+  - Name: dl380wsXX 
 +  - Compatibility: ESXI 5.1 and later (VM version 9) 
 +  - Guest OS family: Linux 
 +  - Guest OS Version: Ubuntu Linux 64-bit 
 + 
 +  - Storage: 600GB datastore 
 + 
 +  - CPUs: 4
   - RAM: 2GB   - RAM: 2GB
   - HDD: 128GB thin provisioned   - HDD: 128GB thin provisioned
 +  - Network: VLAN74 Network
  
 - Setup drbl, scylla, uranus for boot/usage (see other guide) - Setup drbl, scylla, uranus for boot/usage (see other guide)
  
 - Boot from network (PXE) and restore ubuntu image - Boot from network (PXE) and restore ubuntu image
 +    - Copy MAC address (Edit settings->Network Adapter 1->MAC Address)
 +    - Add to drbl dhcpd.conf
 +    - service isc-dhcp-server restart
  
 - Install open-vm-tools (instead of vmware tools) - Install open-vm-tools (instead of vmware tools)
   apt -y install open-vm-tools   apt -y install open-vm-tools
  
-- Install cse updates (ubuntu 22.04, last update = openjdk8)+Stop and disable lightdm (gui not needed) 
 +  service lightdm stop 
 +  systemctl disable lightdm.service 
 + 
 +- Enable VM autostart (ESXi->VM->Autostart->Enable) 
 + 
 +- Set noshutdown flag 
 +  touch /etc/cse_updates/noshutdown 
 + 
 +Install cse updates (last update in ubuntu22.04-hp705ws02-2022-10-10-12-img = openjdk8)\\ 
 +\\ 
 +- Include updates: 
 +  python3-mysql-connector.sh cache-download.sh turnin-suid.sh ncal.sh nam-fixed.sh 2204extras.sh etc. 
 +- Exclude gui based/VM updates: 
 +  orcad-quartus.sh gns3lab.sh chrome.sh unity3d.sh texstudio.sh 
  
-Disable lightdm (gui not needed)+==== Convert thick vmdk disk files to thin ==== 
 +  vmkfstools -i vm01.vmdk -d thin thin-vm01.vmdk
  
 +==== Punchzero ("defrag") vmdk files ====
 +  vmkfstools -K <name>.vmdk
  
  
admin/esxi.1679383307.txt.gz · Last modified: 2023/03/21 09:21 by peppe