|
|
| (11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| *[[esxi konsole virtuell machines]] | | *[[esxi konsole virtuell machines]] |
| *[[esxi konsole snapshots]] | | *[[esxi konsole snapshots]] |
| | | *[[esxi konsole mount]] |
| | | *[[esxi konsole net]] |
| =Switch=
| | *[[esxi konsole misc]] |
| ==Switchs listen==
| | *[[esxi password unlock]] |
| esxcfg-vswitch -l
| | *[[esxi konsole unvollständig]] |
| ==Switch löschen==
| | *[[esxi konsole iscsi]] |
| esxcfg-vswitch -d vSwitch1
| | *[[esxi maintance Modus]] |
| ==Netzwerkkarten listen==
| |
| esxcfg-vmknic -l
| |
| =Tcpdump=
| |
| ==Interface vmk1==
| |
| tcpdump-uw -i vmk1
| |
| | |
| =Time set=
| |
| esxcli system time set -H 15 -m 27 -s 40
| |
| =Arp=
| |
| ==Arptabelle anzeigen==
| |
| esxcli network ip neighbor list
| |
| | |
| *http://www.vserver-online.de/blog/mru/esxcfg | |
| *http://www.vserver-online.de/blog/mru/commandlineref
| |
| *http://www.vserver-online.de/blog/mru/vmkfstools
| |
| *http://www.vserver-online.de/blog/mru/vimsh
| |
| | |
| | |
| ==muss noch rein==
| |
| esxcfg-vswitch -a vSwitch0
| |
| esxcfg-vswitch -a vSwitch1
| |
| esxcfg-vswitch -L vmnic0 vSwitch0
| |
| esxcfg-vswitch -L vmnic1 vSwitch1
| |
| esxcfg-vswitch -A pGroup0 vSwitch0
| |
| esxcfg-vswitch -A pGroup1 vSwitch1
| |
| esxcfg-vmknic -a -i 172.20.0.101 -n 255.255.0.0 pGroup0
| |
| esxcfg-vmknic -a -i 172.21.0.101 -n 255.255.0.0 pGroup1
| |
| ==mount==
| |
| *[[esxi-console-mount]] | |
| | |
| ==ipadressen anzeigen==
| |
| esxcli network ip interface ipv4 get -i vmk1
| |
| | |
| ==esxcli==
| |
| Usage: esxcli [options] {namespace}+ {cmd} [cmd options]
| |
| | |
| Options:
| |
| --formatter=FORMATTER
| |
| Override the formatter to use for a given command. Available formatter: xml, csv, keyvalue
| |
| --debug Enable debug or internal use options
| |
| --version Display version information for the script
| |
| -?, --help Display usage information for the script
| |
| Available Namespaces:
| |
| esxcli Commands that operate on the esxcli system itself allowing users to get additional information.
| |
| fcoe VMware FCOE commands.
| |
| hardware VMKernel hardware properties and commands for configuring hardware.
| |
| iscsi VMware iSCSI commands.
| |
| network Operations that pertain to the maintenance of networking on an ESX host. This includes a wide variety of commands to manipulate virtual networking components (vswitch, portgroup, etc) as well as local host IP, DNS and general
| |
| host networking settings.
| |
| software Manage the ESXi software image and packages
| |
| storage VMware storage commands.
| |
| system VMKernel system properties and commands for configuring properties of the kernel core system.
| |
| vm A small number of operations that allow a user to Control Virtual Machine operations.
| |
|
| |
| ===install software packet===
| |
| esxcli software vib install -v http://192.168.240.27/VMware_bootbank_scsi-megaraid-sas_5.34-1vmw.500.0.0.406165.vib
| |
| | |
| =splitting disks merge=
| |
| esxcli system module load -m multiextent
| |
| vmkfstools -i old.vmdk new.vmdk
| |
| =vms list=
| |
| esxcli vm process list
| |
| =Power off one of the virtual machines from the list using this command=
| |
| esxcli vm process kill --type=[soft,hard,force] --world-id=WorldNumber
| |
| =Nameserver Handling=
| |
| *esxcli network ip dns server list | |
| *esxcli network ip dns server add --server=192.168.202.240 | |
| *esxcli network ip dns server remove --server=192.168.144.51 | |
| *esxcli network ip dns search add -d xinux.lan
| |
| =Links=
| |
| *https://pubs.vmware.com/vsphere-6-5/index.jsp?topic=%2Fcom.vmware.vcli.examples.doc%2FGUID-EB25E39D-A150-4627-9F6E-8F2C0C56ACE4.html
| |