In deze post som ik een paar commando’s op die je kunt gebruiken in het Service Console van ESX 3.0.x.
HOSTD | HOSTD is de vervanger van de vmware-serverd daemon. |
Met het volgende commando herstart je de daemon | service mgmt-vmware restart |
VPXA | VPXA is de vervanger van de vmware-ccagent daemon. |
Met het volgende commando herstart je de daemon | service vmware-vpxa restart |
ESXCFG-NICS | ESXCFG-NICS is de vervanger van de mii-tool, mui (esx 2.5.x) en de modules.cfg |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-nics <options> [nic] -s|–speed <speed> Set the speed of this NIC to one of 10/100/1000/10000. Requires a NIC parameter. -d|–duplex <duplex> Set the duplex of this NIC to one of ‘full’ or ‘half’. Requires a NIC parameter. -a|–auto Set speed and duplexity automatically. Requires a NIC parameter. -l|–list Print the list of NICs and their settings. -r|–restore Restore the nics configured speed/duplex settings (INTERNAL ONLY) -h|–help Display this message. |
ESXCFG-FIREWALL | ESXCFG-FIREWALL is nieuw sinds ESX 3.0 en kun je gebruiken om de Firewall van ESX te configureren |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-firewall -l start (load) de firewall
esxcfg-firewall -u stopt (unload) de firewall esxcfg-firewall -q kun je zien welke services ingeschakeld zijn. esxcfg-firewall -s kun je de volgende services inschakellen. nfsClient
Let op! deze service benamingen zijn cAsE sEnSiTiVe.
esxcfg-firewall -e kun je een specifieke service inschakellen. esxcfg-firewall -d kun je een specifieke service uitschakellen. |
ESXCFG-RESGRP | ESXCFG-RESGRP is nieuw binnen VMware ESX 3.0.x. Hiermee kun je Resource groups beheren. |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-resgrp [options] [resgrp path] -a, –add rgname Add a new group under the path -d, –delete Delete the resource group -l, –list List all the resource groups Or stats about a specific resource group –restore Restore all resource groups from configuration file (FOR INTERNAL USE ONLY). -h, –help Show this message |
ESXCFG-NAS | ESXCFG-NAS is nieuw binnen VMware ESX 3.0.x. Hiermee kun je een NAS aankopellen en beheren. |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-nas <options> [<label>] -a|–add Add a new NAS filesystem to /vmfs volumes. Requires –host and –share options. -o|–host <host> Set the host name or ip address for a NAS mount. -s|–share <share> Set the name of the NAS share on the remote system. -d|–delete Unmount and delete a filesystem. -l|–list List the currently mounted NAS file systems. -r|–restore Restore all NAS mounts from the configuration file. (FOR INTERNAL USE ONLY). -h|–help Show this message. |
ESXCFG-ROUTE | ESXCFG-ROUTE is nieuw binnen VMware ESX 3.0.x. Hiermee kun je default route instellen voor de vmkernel. |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-route [ip-address] stelt de default gateway in voor de vmkernel.
esxcfg-route |
ESXCFG-VMKNIC | ESXCFG-VMKNIC is nieuw binnen VMware ESX 3.0.x. Hiermee kun je het ip address instellen voor de vmkernel. |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-vmknic <options> [[<portgroup>]] -a|–add Add a VMkernel NIC to the system, requires IP parameters and portgroup name. -d|–del Delete VMkernel NIC on given portgroup. -e|–enable Enable the given NIC if disabled. -D|–disable Disable the given NIC if enabled. -l|–list List VMkernel NICs. -i|–ip <X.X.X.X> The IP address for this VMkernel NIC. Setting an IP address requires that the –netmask option be given in same command. -n|–netmask <X.X.X.X> The IP netmask for this VMkernel NIC. |
ESXCFG-SWISCSI | ESXCFG-SWISCSI is nieuw binnen VMware ESX 3.0.x. Hiermee kun je de iSCSI Software Initiator configureren. |
Met het volgende commando kun je het e.e.a. configureren. | esxcfg-swiscsi options -e, –enable Enable sw iscsi -d, –disable Disable sw iscsi -q, –query Check if sw iscsi is on/off -s, –scan Scan for disk available through sw iscsi interface -k, –kill Try to forcibly remove iscsi sw stack -r, –restore Restore sw iscsi configuration from file (FOR INTERNAL USE ONLY) -h, –help Show this message |