VMWare: Unterschied zwischen den Versionen
6vffdh (Diskussion | Beiträge) |
6vffdh (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
+ | |||
+ | == CC == | ||
+ | |||
+ | [https://customerconnect.vmware.com/ VMware Customer Connect] | ||
+ | |||
== HCL == | == HCL == |
Aktuelle Version vom 6. Juli 2022, 10:53 Uhr
Inhaltsverzeichnis
CC
HCL
LENOVO System x3650 M5 its compatible for 7.0 update 3 according to HCL below.
When confirming compatibility, I would check these link below to confirm if hardware is supported for specific esxi build.s
Checking host hardware with specific ESXi versions. https://www.vmware.com/resources/compatibility/search.php
Vsan storage controller and disks compatibility. https://www.vmware.com/resources/compatibility/search.php?deviceCategory=vsan
Network card HCl https://www.vmware.com/resources/compatibility/search.php?deviceCategory=io
Player
- compact
- Die “compact” Funktionalität auch im VMWare Player (6.x) eingebaut ist. Sie ist etwas versteckt, deswegen zeige ich hier nochmal den Pfad auf:
VMWare Player -> Virtuelle Maschine auswählen -> Virtual Machine -> Virtual Machine Settings… (Ctrl + D) -> Hardware -> Hard disk -> Utilities -> Compact
Logs
NUC
Conventer
ESXI
- Update
- ESXi Patches
- ESXi 6.0 Free
- Allgemeine Befehle
Shows all volumes, mounted and unmounted, that are resolved, that is, that are not snapshot volumes.
esxcli storage filesystem list
Alle registrierten VMs anzeigen/ [VmID] erheben
vim-cmd vmsvc/getallvms Vmid Name File Guest OS Version Annotation 1 thorgal [sea3TB] thorgal/thorgal.vmx rhel6_64Guest vmx-08 2 kajko [sea3TB] kajko/kajko.vmx ubuntu64Guest vmx-08
Registrieren einer VM
vim-cmd solo/registervm /vmfs/volumes/…/Ordner/VM_Hostname.vmx
Deregisitrieren/ Unregistrieren von eine VM
vim-cmd vmsvc/unregister [VmId]
- Einschalten, Ausschalten
Um die virtuelle Maschine einzuschalten, auszuschalten oder sich Details der Konfiguration anzusehen einschalten:
vim-cmd vmsvc/power.on 3
ausschalten:
vim-cmd vmsvc/power.off 3
config details anzeigen
vim-cmd vmsvc/get.summary 3 vim-cmd vmsvc/get.summary 3 | grep ipA ipAddress = "192.168.22.67",
vim-cmd vmsvc -h
Commands available under vmsvc/:
acquiremksticket get.snapshotinfo acquireticket get.spaceNeededForConsolidation connect get.summary convert.toTemplate get.tasklist convert.toVm getallvms createdummyvm gethostconstraints destroy login device.connection logout device.connusbdev message device.disconnusbdev power.getstate device.diskadd power.hibernate device.diskaddexisting power.off device.diskremove power.on device.getdevices power.reboot device.toolsSyncSet power.reset device.vmiadd power.shutdown device.vmiremove power.suspend devices.createnic power.suspendResume disconnect queryftcompat get.capability reload get.config setscreenres get.config.cpuidmask snapshot.create get.configoption snapshot.dumpoption get.datastores snapshot.get get.disabledmethods snapshot.remove get.environment snapshot.removeall get.filelayout snapshot.revert get.filelayoutex snapshot.setoption get.guest tools.cancelinstall get.guestheartbeatStatus tools.install get.managedentitystatus tools.upgrade get.networks unregister get.runtime upgrade
Snapshot löschen:
vim-cmd vmsvc/snapshot.remove Usage: snapshot.remove vmid snapshotId [removeChildren] vim-cmd vmsvc/snapshot.remove 3 2
Snapshot erstellen:
vim-cmd vmsvc/snapshot.create Usage: snapshot.create vmid [snapshotName] [snapshotDescription] [includeMemory] [quiesced] vim-cmd vmsvc/snapshot.create 2 vor-splunk
Snapshot auflisten:
vim-cmd vmsvc/snapshot.get 3 Get Snapshot: |-ROOT --Snapshot Name : AD-DND-DHCP --Snapshot Id : 1 --Snapshot Desciption : --Snapshot Created On : 2/5/2018 20:49:37 --Snapshot State : powered off --|-CHILD ----Snapshot Name : vor-splunk ----Snapshot Id : 2 ----Snapshot Desciption : ----Snapshot Created On : 2/6/2018 18:6:3 ----Snapshot State : powered off
- Route
- To add a static route, run the command: esxcfg-route -a target_network_IP netmask default_gateway
- For example, to add a route to the 192.168.100.0 network with a /24 bit subnet mask (255.255.255.0) through a router with an IP address of 192.168.0.1, run one of these commands:
esxcfg-route -a 192.168.100.0/24 192.168.0.1
- Or
esxcfg-route -a 192.168.100.0 255.255.255.0 192.168.0.1
- Hostname
- Run these commands to change the hostname in ESXi 5.x and 6.x using the command line:
esxcli system hostname set --host=hostname esxcli system hostname set --fqdn=fqdn
Quelle: 1
KB Performing common virtual machine-related tasks with command-line utilities (2012964)
Provisionierung
Drei Provisionierungsarten:
1. „Thin-Provisioning“
2. „Thick Provisioning Eager Zeroed“
3. „Thick Provisioning Lazy Zeroed“
1. und 2. „sieht“ das Gastsystem die angegebene Speichermenge. 2. Thin-Provisioning reserviert allerdings beim Erstellen der virtuellen Festplatte keinen Speicherplatz im Datastore, sondern wächst dynamisch mit der im Gastsystem beanspruchten Datenmenge. 3. Thick Provisioning Eager Zereod hingegen (eager heißt so viel wie „fleißig“) reserviert beim Erstellen den gewünschten Speicherplatz im Datastore nicht nur komplett, sondern überschreibt auch gleich sämtliche Blöcke mit Nullen. https://www.datacenter-insider.de/tipp-thin-und-thick-provisioning-erklaert-a-530855/
Cannot Login to WebAccess but to ESXi console
Note:- Starting with vSphere 6.x, account locking is supported for access through SSH and through the vSphere Web Services SDK. The Direct Console Interface (DCUI) and the ESXi Shell do not support account lockout.
1. Try to login through SSH/WinScp/VI-Client/host UI on host after checked "lock-down mode"
2. If step #1 fail; Login on vCenter >>> Select Host >>> Security Profile >> Restart SSH service
3. Try to login through SSH/WinScp/VI-Client/host UI on host and root password would be working.
A maximum failed attempts is allowed before the account is locked (login on host UI - https://hostname/ui >>>System>>>Advanced settings>>>Check "SecurityLockFailures" and "SecurityAccountUnlockTime")
Security.AccountUnlockTime Security.AccountLockFailures
VMware Remote Console
C:\Program Files (x86)\VMware\VMware Remote Console>vmrc.exe vmrc://root@zi-esx01/?moid=2
Tools Offline
installing-vmware-tools-on-debian-linux
Anleitung Patchen von vCenter Server
- vCenter Server Appliance Management Interface to check which updates are available for your VCSA (vCenter Server Appliance). The URL is https://your_appliance_ip_or_dns:5480
- Anleitung - Link - Update vCenter Appliance via CLI
- Suchen und Bereitstellen von Patches in der vCenter Server Appliance
Update Info
- Bei Z: 6.5.0.5600 Build Number 5705665 [https://docs.vmware.com/en/VMware-vSphere/6.5/rn/vsphere-vcenter-server-650d-release-notes.html vermutlich das ja. Update möglich auf VMware-vCenter-Server-Appliance-6.5.0.35000-17994927-updaterepo.zip