Monday, December 1, 2014

Driver Install ESX

Driver installation:         
Copy the cxgb4 driver from meteor \\meteor\Projects\NIC\ESX\Builds\ESXi_5.0\T4\2011_12_27  to productLocker.
# cd productLocker/
# cp net-cxgb4-1.0.0-1OEM.500.0.0.4859.x86_64.vib /var/log/vmware/
# esxcli software vib install -v net-cxgb4-1.0.0-1OEM.500.0.0.4859.x86_64.vib --maintenance-mode //if it is installed then fine or if it gives error like [InstallationError]
('Chelsio_bootbank_net-cxgb4_1.0.0-1OEM.500.0.0.4859', 'Could not find a trusted signer.') then
# esxcli software vib install -v net-cxgb4-1.0.0-1OEM.500.0.0.4859.x86_64.vib --maintenance-mode --no-sig-check
#reboot
#vmkload_mod cxgb4
# esxcfg-module -d csiostor  //don’t load driver on boot
# esxcfg-module -e csiostor
~ # esxcfg-module -i csiostor  //Gives modules information
~ # vmkload_mod –l  //list the modules that are loaded
~ # vmkload_mod csiostor csio_loopback=1  //load with this param if you need it as loopback
# esxcfg-vswitch  //shows the available options
# esxcfg-vswitch  -a  <virtual switch name>
# esxcfg-vswitch -L <interface name> <vswitch name>
Uninstall:
esxcli software vib remove --maintenance-mode -f -n scsi-csiostor
# cd locker/
# cp libcsiostor_ima.so /usr/lib/vmware/ima_plugins/
# vmkload_mod csiostor
# /etc/init.d/hostd restart
# esxcli iscsi session list
# esxcli iscsi session remove -A vmhba34



No comments: