Automation

 View Only
Expand all | Collapse all

Error deleting NMP SATP RULE

  • 1.  Error deleting NMP SATP RULE

    Posted Dec 20, 2022 04:27 PM

    Hi,

    I am unable to delete the nmp satp rule as I am getting error. Please help!!

    $esxcli.storage.nmp.satp.rule.list.Invoke() | where {$_.vendor -eq "Nimble"}

    ganapa2000_0-1671553494153.png

     

    Get-VMHost "myesx12" | ForEach-Object -Process {
    $esxcli = Get-EsxCli -VMHost $_ -V2
    $Nimble = @{
    satp = 'VMW_SATP_ALUA'
    psp = 'NIMBLE_PSP_DIRECTED'
    vendor = 'Nimble'
    options='disable_action_OnRetryErrors'
    RuleGroup='user'
    }
    $esxcli.storage.nmp.satp.rule.remove.Invoke($Nimble)
    }

     

    I am getting the below errors

    ganapa2000_1-1671553567124.png

     



  • 2.  RE: Error deleting NMP SATP RULE
    Best Answer

    Posted Dec 20, 2022 07:10 PM

    Try like this

     



  • 3.  RE: Error deleting NMP SATP RULE

    Posted Dec 22, 2022 04:00 AM

    That worked. Thank you LucD.