Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

Remove-VmMigrationNetwork

$
0
0

Okay, I'm stumped.  I have tried every combination of formats I can think of, but I cannot seem to find the proper string to remove a network from use by live migration.  Maybe I'm trying to use the wrong cmdlet, but the description of Remove-VmMigrationNetwork seems to be what I am looking for -"The Remove-VMMigrationNetwork cmdlet removes a network from use with migration."  I have tried from a host within a cluster.  I have tried it from a remote host that I used to build the cluster with remote commands.  I have tried wild cards and /24 notation (which results in a syntax error).  I tied specifying a cluster name, a single host name, and all the host names in the cluster.  And on and on.

The primary error I end up with is this (executed from one of the cluster nodes):

Remove-VMMigrationNetwork : Failed to modify service settings.
Cluster migration network tags cannot be modified. Please ensure you are not trying to add or remove a cluster
migration network for '192.168.16.22/32' : One or more arguments are invalid (0x80070057).
A parameter that is not valid was passed to the operation.
At line:1 char:1
+ Remove-VMMigrationNetwork 192.168.16.*
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Remove-VMMigrationNetwork]
   , VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.RemoveVMMigrationNetworkCommand

What is strange is that I am using a Remove command and the error message asks me to ensure I am not trying to remove.


tim


Viewing all articles
Browse latest Browse all 19461

Trending Articles



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