So there is a bug in the VIMA 1.0. When you run esxcfg-mpath -a on a host with a service console, it out puts the WWPNs on the FC cards (good). When you run it on the VIMA against a host, you get the WWNN (bad).
Here is a diff to fix it:
sub list_hbas {
my ($ss, $lunName) = @_;
my $hbas = $ss->storageDeviceInfo->hostBusAdapter;
foreach my $hba (@$hbas) {
if (defined($hba)) {
next if $hba->isa("HostBlockHba");
next if $hba->isa("HostParallelScsiHba");
my $pciString = get_pci_string($hba);
printf("%s %s%s\n",
$hba->device,
-$hba->isa("HostFibreChannelHba") ? $hba->nodeWorldWideName . " " : "",
+$hba->isa("HostFibreChannelHba") ? $hba->portWorldWideName . " " : "",
$pciString);
}
}
}
Is this the right place for asuch a bug report?
--Matt
VCP, vExpert, Unix Geek