This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Node Status update thru SWIS reverts back to previous status when Failover occurs.

Hello,

I am updating a node status by SWIS, however, when an HA Failover occurs, the node status reverts back to the prior status.  I can't figure out what I am missing.  I've verified it isn't being polled when it fails over, it is just reverted to the previous status.

Below is the script I am using for testing.

# Connect to SWIS


$hostname = "localhost"
$username = "xxxxxxx"
$password = "xxxxxxx"
$swis = Connect-Swis -host $hostname -UserName $username -Password $password -IgnoreSslErrors

$status = @{
Status="1";
StatusDescription="Testing API"
StatusIcon="Up.gif"

}

$uri = "swis://localhost/Orion/Orion.Nodes/NodeID=11362";

$setNodeStatus = Set-SwisObject $swis -URI $uri -Properties $status

Any clue on how I can get past this would be very very appreciated, going crazy on this.

Thanks for the help,

Tom