There are two ways to check firmware version in ESXi: The first is to run the /usr/lib/vmware/vm-support/bin/swfw.sh then search the hardware you are looking for. The second to to list the device, then find the detailed info. For FC HBA: esxcfg-scsidevs –als /proc/scsi/qla2xxx/* | xargs head –2 For network adapters: esxcli network nic listethtool –I … Continue reading Check FC HBA and Network Adapter firmware version in ESXi
Tag: VMware
vCO: Server Decommission Workflow
Comparing to the server provisioning and VM archive, this workflow is a little bit more complicated. What it does is Checking the power status –> Shutdown VM if it is running –> Archive the VM –> Send requester the archive results –> Ask user to confirm whether to remove the VM –> Send the result … Continue reading vCO: Server Decommission Workflow
vCO: Virtual Machine Backup/Archive Workflow
The purpose of having this workflow is to allow the user to backup or archive the virtual machine by themselves. In my example, I use TSM (Tivoli Storage Manager) as the backup/archive solution. This is a really simple workflow. The key step is to run TSM Virtual Machine backup from command line then send the … Continue reading vCO: Virtual Machine Backup/Archive Workflow
vCO: Server Provisioning Workflow
I have created the server provisioning workflow in vCO and used it to create couple Windows 2008 servers, really nice and neat! What it does is to Clone a template –> Sysprep it –> Configure it (IP address, hostname, admin password, join domain ….) –> Send an Email to notify the requester when the server … Continue reading vCO: Server Provisioning Workflow
ESXi PowerCLI Enable ssh service
1) Enable SSH service on all ESXi hosts.Get-VMHost | Foreach { Start-VMHostService -HostService ($_ | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”} ) }2) Enable SSH service on a single host.Start-VMHostService -HostService (Get-VMHostService -VMHost ESXi-01.my.lab | where {$_.Key -eq "TSM-SSH"})