Tag Archives: VMware

install vmware on kvm

sudo virt-install --name esxi70 --ram 4384 --cpu SandyBridge,+pclmuldq,+aes,+xsave,+avx,+vmx --disk path=/var/lib/libvirt/images/vmware.qcow2,size=80,bus=sata --vcpus=4 --os-type linux --os-variant=fedora10 --network bridge=virbr0,model=vmxnet3 --graphics vnc,listen=0.0.0.0 --noautoconsole --video qxl --cdrom /tmp/VMware-VMvisor-Installer-7.0b-16324942.x86_64.iso --features kvm_hidden=on

vmware get hdd information

esxcfg-scsidevs -l | egrep -i ‘display name|vendor’

t10.ATA_____ST2000DM0012D9YN164__________________________________W240RSE6
Device Type: Direct-Access
Size: 1907729 MB
Display Name: Local ATA Disk (t10.ATA_____ST2000DM0012D9YN164__________________________________W240RSE6)
Multipath Plugin: NMP
Console Device:
Devfs Path:
Vendor: ATA Model: ST2000DM001-9YN1 Revis: CC4B
SCSI Level: 5 Is Pseudo: false Status: not connected
Is RDM Capable: false Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.01000000002020202020202020202020205732343052534536535432303030
VAAI Status: unknown

VMware Installation Bundle

VMware uses a file package called a VIB (VMware Installation Bundle) as the mechanism for installing or upgrading software packages, drivers on an ESX server.

The file may be installed directly on an ESX server from the command line or we can deploy using VMware update manager. Here I am going to mention about the command line method of doing the upgrade.

Install or update a patch/driver on the host using these esxcli commands:

COMMAND LINE INSTALLATION

New Installation

For new installs, you should perform the following steps, Issue the following command (full path to the file must be specified):

esxcli software vib install -v {VIBFILE} or esxcli software vib install -d {OFFLINE_BUNDLE}

Upgrade Installation

The upgrade process is similar to a new install, except the command that should be issued is the following:

esxcli software vib update –v {VIBFILE} or esxcli software vib update -d {OFFLINE_BUNDLE}

Notes:

To install or update a .zip file, use the -d option. To install or update a .vib file use the -v option.
The install method has the possibility of overwriting existing drivers. If you are using 3rd party ESXi images, VMware recommends using the update method to prevent an unbootable state.
Depending on the certificate used to sign the VIB, you may need to change the host acceptance level. To do this, use the following command: esxcli software acceptance:
esxcli software acceptance set –level=