Quantcast
Channel: VMware Communities : Popular Discussions - vSphere Management Assistant (vMA)
Viewing all articles
Browse latest Browse all 25377

VIMA esxcfg-mpath -a bug

$
0
0

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


Viewing all articles
Browse latest Browse all 25377

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>