Posts Tagged ‘ESX’

esxcfg-nics

This tool can be used to view and configure the speed and duplex settings of the physical network cards in the ESX Server. This tool can replace the mii-tool and modules.conf for network card management.In the following example, we run the list option to view all physical NICs and their properties.[root@esx1host etc]# esxcfg-nics -l Name PCI Driver Link Speed Duplex Description vmnic2 01:01.00 tg3 Up 1000Mbps Full Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet vmnic0 01:02.00...

esxcfg-hbadevs

The esxcfg-vmhbadevs command is used to list the equivalent Linux device names for the visible disk devices that the VMkernel references using vmhba notation.[root@esx1host root]# esxcfg-vmhbadevsvmhba0:0:0 /dev/sdavmhba0:0:1 /dev/sdb vmhba0:0:2 /dev/sdc vmhba0:0:3 /dev/sdd vmhba2:0:0 /dev/sde vmhba2:1:0 /dev/sdf If we use this command with the -m switch, then we only list the LUNs which contain VMFS partitions. Alongside the Linux device name, a long unique hexadecimal value is...

esxcfg-boot

Used to configure the GRUB options presented at boot time. One thing to note is that the new esxcfg commands will not run if you boot just into Linux. If you just want to query the boot settings, you can use the -q switch but this must be qualified with the keyword boot or vmkmod.[root@esx1host root]# esxcfg-boot -q boot272 2:;7:;10:; UUID=847199e4-d3c7-11da-8ef8-930e3d734c03 /vmlinuz-2.4.21-37.0.2.ELvmnix /initrd-2.4.21-37.0.2.ELvmnix.img [root@esx1host root]# esxcfg-boot -q vmkmod vmkapimod vmkapimod vmklinux...

esxcfg-mpath

Manages storage multi-pathing just as the vmkmultipath utility did in previous versions of ESX Server. In the example below we are using the -l switch to list the storage and paths.[root@esx1host tools-isoimages]# esxcfg-mpath -l Disk vmhba0:0:0 /dev/cciss/c0d0 (69459MB) has 1 paths and policy of Fixed Local 2:1.0 vmhba0:0:0 On active preferred Disk vmhba1:0:0 (0MB) has 1 paths and policy of Most Recently Used FC 10:1.0 210000e08b846a72<->5006016930221397 vmhba1:0:0 On active preferred Disk...

esxcfg-info

Produces an enormous amount of information about the state ESX host, often this tool is the one tool that can tell you what is really going on and not what is in some configuration file. If you run this command with no parameters, then you really need to pipe this to a file for closer examination! Over time, less information will be available in the proc nodes (the /proc/vmware directory structure), so the sooner we can get used to examining the current running configuration of ESX using this command,...

esxcfg-auth

Configures the service console user authentication options including NIS, LDAP, Kerberos and Active Directory. In the following command, we are configuring authentication for the Active Directory domain called taupoconsulting.com[root@esx1host root]# esxcfg-auth –enablead –addomain=taupoconsulting.com –adddc=dc1.taupoconsulting.comYou can also use this tool to set a password policy for service console user accounts.[root@esx1host root]# esxcfg-auth –maxpassdays=90 –minpassdays=30...

esxcfg-vswitch

This command is one of the most useful commands in the service console. This command allows you to list, add, modify or delete virtual Ethernet switches on an ESX host. The simplest option with this command is the -l option to list the virtual switches and portgroups defined on the host.[root@esx1host root]# esxcfg-vswitch -lIf you are having problems with your ESX server after an in-place upgrade, this tool is invaluable in resolving the problems with service console networking. The output of...

esxcfg-upgrade

esxcfg-upgrade -h –help-g –convert-grub-f –convert-fstab -r –upgrade-pre-vmkernel -o –upgrade-post-vmkernel The -g option may only be used with the -r option.

esxcfg-rescan

This command is used to perform a rescan of a host bus adapter (HBA). Specifically it scans a named vmkernel hba device, i.e. a vmhba. This command does a similar job to vmkfstools -rescan.In this example the esxcfg-rescan command is being used to rescan the VMkernel iSCSI software initiator vmhba. [root@esx1host]# esxcfg-rescan vmhba32

esxcfg-moduleesx

This command is used to view and set options for start-up on the VMkernel modules (drivers). When this command is used with the list option, it produces an output similar to vmkload_mod -list[root@esx1host root]# esxcfg-module -l Module Type Enabled Loaded vmkapimod vmkapimod true true vmklinux linux true true cciss.o scsi true false tg3.o nic true false qla2300_7xx.o fc true false This command is often used when we want to...
Twitter Delicious Facebook Digg Stumbleupon Favorites More
325 queries in 6.678 seconds.