Code Monkey home page Code Monkey logo

Comments (15)

CodeJACKz avatar CodeJACKz commented on June 20, 2024 1

Seems someone got there before me:
https://www.dell.com/community/VxRail-Education/Question-from-Class-How-do-I-know-if-it-s-a-quot-VxRail-quot/td-p/8193452

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024 1

Great, hit me up if you ever want stuff tested.

I just hit an issue now as a result of different vmnic sequence between the old an new clusters. vmnic2 doesnt exist on the old nodes so I get that same error as before :-(

So that error just means a failed attempt at reading the attribute

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

Any details of how to use this enhancement or has this made it into the script yet? Awesome project BTW!

from asbuiltreport.dellemc.vxrail.

tpcarman avatar tpcarman commented on June 20, 2024

Can you try something for me?

What is the output when you run this? Obscure any information if you need to, however I want to see if you get more than one result returned.

$VIServer = "<Your vCenter Server IP/FQDN>"
$Credential = Get-Credential
$vCenter = Connect-VIServer $VIServer -Credential $Credential
$si = Get-View ServiceInstance -Server $vCenter
$extMgr = Get-View -Id $si.Content.ExtensionManager -Server $vCenter
$VxRailMgr = $extMgr.ExtensionList | Where-Object { $_.Key -eq 'com.vmware.vxrail' }
$VxRailMgr.Server

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

Hey Tim, output below:

Url : https://x.x.x.x/download/vxrail-plugin
Description : VMware.Vim.Description
Company : VMware Inc.
Type : HTTPS
AdminEmail : {[email protected]}
ServerThumbprint : 21:67:9B:09:74:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

If it helps at all, there is a VxRail Manager IP address listed as a "Custom Attribute" on each cluster. Im no help with how to do this (sorry) but if there was a way to list this "VxRail-IP" custom attribute for all clusters connected to that vCenter, you would identify what clusters are actually VxRail and then run the report against only these cluster names. Probably way over simplified it :-)

from asbuiltreport.dellemc.vxrail.

tpcarman avatar tpcarman commented on June 20, 2024

Give v0.4.0 a try. You will need to download and install it from GitHub. If you find it works, then I will publish it to the PowerShell Gallery.

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

Failing each time at this same point:


New-AsBuiltReport : Message: EsxCLI.CLIFault.summary;
InnerText: unknown module ''EsxCLI.CLIFault.summary
At line:1 char:1

  • New-AsBuiltReport -Report DellEMC.VxRail -Target xxxxxxxxxxxxxxxxxxxxxxx ...
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
      • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

I've copied the Invoke public file into the 0.3.0 directory and its running now without error so I guess the issue is in another script in private.

from asbuiltreport.dellemc.vxrail.

tpcarman avatar tpcarman commented on June 20, 2024

FYI, I've moved the latest v0.4.0 commit to a new branch and updated the links in the comment above.

Could you add the -Verbose parameter to the command and share a screenshot of where it is failing?

Also, perhaps try and disable the Appliance InfoLevel by setting it to 0 in the report JSON configuration. Then run the report to see if it completes.

    "InfoLevel": {
        "_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Detailed",
        "Cluster": 1,
        "Appliance": 0,
        "Support": 1,
        "Network": 1
    },

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

Nah, setting Appliance to 0 didnt help. I got sucked in though and found the problem.
Get-AbrVxRailHostComponent.ps1
Line 33
$HbaDevice = $esxcli.hardware.pci.list.invoke() | Where-object {$_.modulename -eq 'lsi_msgpt3'}

The eq should be match :-)

This works:
$HbaDevice = $esxcli.hardware.pci.list.invoke() | Where-object {$_.modulename -match 'lsi_msgpt3'}

Thanks so much for the help and all the work in developing this!

from asbuiltreport.dellemc.vxrail.

tpcarman avatar tpcarman commented on June 20, 2024

So it was I who broke it!! :P

Glad to see you managed to find the issue. I've reverted my change.

So this now works OK for multiple VxRail clusters?

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

FYI for the newer 15G P and E VxRail nodes, the vmnic0 and 1 are taken up by two onboard 1G copper NICs. So the first interface used by VxRail is vmnic2.
So this works to get correct driver version for me:
$NicDevice = $esxcli.hardware.pci.list.invoke() | Where-Object {$_.VMkernelName -eq 'vmnic2'}

Not really ideal now that VxRails will all be different. Whoever decided to put them copper NICs in these new nodes should be shot :-)

from asbuiltreport.dellemc.vxrail.

CodeJACKz avatar CodeJACKz commented on June 20, 2024

So this now works OK for multiple VxRail clusters?

Yes, works great.
It doesnt really answer the original question but i prefer it this way. Having an option to choose a single cluster name would be nice but this works great for me. Thanks

from asbuiltreport.dellemc.vxrail.

tpcarman avatar tpcarman commented on June 20, 2024

It doesnt really answer the original question but i prefer it this way. Having an option to choose a single cluster name would be nice but this works great for me. Thanks

Let me keep looking into that. I've got an idea but I haven't tested it out yet. It is something I have been looking to do for the VMware vSphere report also.

from asbuiltreport.dellemc.vxrail.

tpcarman avatar tpcarman commented on June 20, 2024

OK, I've removed the NIC driver info for now, because I thought this might be an issue.

I've removed all releases from GitHub and PS Gallery back to 0.3.0, and have just pushed 0.4.1 to dev.

Maybe give that a test, and then all going well I will release it.

I should really not try and rush these things.

from asbuiltreport.dellemc.vxrail.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.