ESXI Konsole: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(23 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
=Version anzeigen=
+
*[[esxi konsole virtuell machines]]
vmware -vl
+
*[[esxi konsole snapshots]]
=virtuell machines=
+
*[[esxi konsole mount]]
==list==
+
*[[esxi konsole net]]
vim-cmd vmsvc/getallvms
+
*[[esxi konsole misc]]
==state==
+
*[[esxi password unlock]]
vim-cmd vmsvc/power.getstate <vmid>
+
*[[esxi konsole unvollständig]]
==power on==
+
*[[esxi konsole iscsi]]
vim-cmd vmsvc/power.on <vmid>
+
*[[esxi maintance Modus]]
==power off==
 
vim-cmd vmsvc/power.off <vmid>
 
=running vms=
 
*esxcli vm process list
 
 
 
=Switch=
 
==Switchs listen==
 
esxcfg-vswitch -l
 
==Switch löschen==
 
esxcfg-vswitch -d vSwitch1
 
==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
 
 
 
==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
 

Aktuelle Version vom 30. Mai 2023, 12:11 Uhr