Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
Hi All,
Trying to acquire 2 Vcenters separately, and getting same error message for both :
Get-VMHostHba
Object reference not set to an instance of an object.
WFA 3.1P1
Vcenter 5.5 latest update.
VMware powerCLI 5.5 installed on WFA server.
Increased timeout to 6000 seconds. however, operation fails after a lot less then that.
Using user with admin credentials on Vcenter. Also don't find any credential errors or permissions denied messages.
error messages in wfa_acquisition.log attached here.
From searching other posts here, It looks like problems with acquisitions of FC data, but it was supposed to be solved already, right?
Thank you for your kind help!
Blando
Yea, Let me know if you need separate discussion for this problem:
While trying to acquire OCUM 6.3 , I get this error message: "Table 'cm_storage.snapmirror_metrocluster' doesn't exist"
What does it mean?
Thanks!
Solved! See The Solution
I obviously wasn't checking my environment well enough. I had this issue start on one of my vCenters. I believe our VMWare team was doing hardware changes that made this start happening.
FOR NETAPP: Here is how you can fix it in the certified version. Line 315 is currently " $hbas = Get-VMHostHba -VMHost $globalVmhosts" Append " -ErrorAction SilentlyContinue" to the end, and it will solve the issue.
Blando: Until Netapp fixes the certified Datasource, you can do the following to get around it.
I obviously wasn't checking my environment well enough. I had this issue start on one of my vCenters. I believe our VMWare team was doing hardware changes that made this start happening.
FOR NETAPP: Here is how you can fix it in the certified version. Line 315 is currently " $hbas = Get-VMHostHba -VMHost $globalVmhosts" Append " -ErrorAction SilentlyContinue" to the end, and it will solve the issue.
Blando: Until Netapp fixes the certified Datasource, you can do the following to get around it.
Thanks Corey ! It solved the Vcenter acquire issue.
Do you have an idea for the second problem, Or should I open new discussion?
While tryint to acquire OCUM 6.3, I get the error message: "Table 'cm_storage.snapmirror_metrocluster' doesn't exist"
What can Be done here?
Blando
blando,
This -ErrorAction SilentlyContinue has got to pass your DataSource acquistion, but kindly verify if the WFA has actually obtained all the data that you wanted into the DB. Especially the Luns.
SilentlyContinue can be dangererous thing.
sinhaa
How do I actually check what was acquired?
I wanted it to successed so I can connect to Vcenter- for example in the "create NFS datastore" workflow.
Blando
Take the attached txt file. Modify its extension to .ps1 for a powershell script.
In code the modify the below as per your settings
==
$VCHostName = "1.2.3.4"
$VCUserName = "administrator"
$VCPassword = "mypass"
$VCPort = "443"
===
Execute it. It will fail as its similar to VC5.5 script given by WFA. I want to know the exception thrown. Kindly send them to me in email if you can: sinhaa at netapp dot com
How check the data?
Login to WFA DB using a mysql client User: wfa, password: Wfa123
You can see the vc scheme
sinhaa
Response to the original post
==================
This is NOT a WFA error. The error is thrown by VMWare Powershell toolkit when a ESX Host dosn't have any HBAs and the cmdlet
Get-VMHostHba
is executed for this particular ESX host.
This is a toolkit bug. If there were no HBAs on an ESX host, the cmdlet should have returned empty instead of throwing an Object Referance Error. This case is not handled gracefully in the Vmware PowerCLI toolkit. I'll check if this is fixed in the new VMware PowerCLI 6.0
Else I'll log a bug with VMware.
WFA code can only ignore this error as described by Corey.
sinhaa
On the 6.3 acquisition issue, have you validated what version of OCUM you are running? I don't believe in pre OCUM 6.3 they had the metro cluster tables. If your OCUM install is anything other than 6.3, you will need to delete the datasource from your configs and re-add it with the proper version.
Hi.
Yea. It's OCUM 6.3 , for sure.
It was already running and acqired well, When I started with this WFS couple of weeks ago.
Even if try again to add this OCUM as data source, immediately I get this error message.
Blando
I will open new discussion, about the "Table 'cm_storage.snapmirror_metrocluster' doesn't exist" Not to confuse things around here.
Thank you!
Blando