ESXI Konsole: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 21: Zeile 21:
 
  esxcfg-vmknic -a -i 172.20.0.101 -n 255.255.0.0 pGroup0
 
  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
 
  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===
 
===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
 
  esxcli software vib install -v http://192.168.240.27/VMware_bootbank_scsi-megaraid-sas_5.34-1vmw.500.0.0.406165.vib

Version vom 23. September 2020, 13:54 Uhr

links


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

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