Showing results for 
Search instead for 
Did you mean: 

How to delete an erroneous secondary manager IP from a sensor

For some unknown reason, I've noticed that one of our sensors has a secondary IP address for the primary manager config.  I have no idea why or how this got there as we just moved this sensor from an NSM 8.1 instance to a new 8.2 instance via "deinstall" and "setup".  During the setup wizard when it prompts you for a secondary IP, none was listed and we selected "No" to that question.  However, it still has an extra IP.  This IP strangely belongs to our dev 8.2 instance, but that instance has never even had this sensor in it to the best of my (and my team's) knowledge, so it makes no sense to me.  I found the sensor CLI command "set manager secondary ip" and thought maybe using would remove it, but that fails of course.  Then I found the command "deletemgrsecintf" which seems to be exactly what I want but when I run that, I just get an error that reads "This operation is not allowed while in MDR mode. Please do this operation from the Manager."  So I'm not sure how to proceed as I don't know of a way to run sensor CLI commands from the Manager nor do I know how to find this IP address within the Manager.

Here's the trimmed output from the "show" command--the "" example IP is the one that doesn't belong in my case.

[Manager Config]

Manager IP addr         :          (primary intf)

Manager IP addr         :          (secondary intf)


[Peer Manager Config]

Manager IP addr         :           (primary intf)

Thanks in advance!

0 Kudos
3 Replies
Level 13

Re: How to delete an erroneous secondary manager IP from a sensor

Hi Allen,

I ran into the same issue recently, the secondary manager ip had been set in a previous version (possibly 6) and was never removed when we implemented MDR I assume.

Support advised that this was probably a bug and sent it to development.

The only work around they gave me was to perform a resetconfig on the sensor and then reinstall it into the manager.

I had asked them if breaking the MDR pair would allow me to run the command but they were unsure.

They did tell me there was no impact in having this value set and that it should be fixed in a future release.


0 Kudos

Re: How to delete an erroneous secondary manager IP from a sensor

Thanks for the response.  Unfortunately, I don't currently have physical access to this sensor, so a resetconfig is going to take me down.  I may try to break the MDR pair to fix it.  Will report back if I do that.

0 Kudos
Level 10

Re: How to delete an erroneous secondary manager IP from a sensor

Running 'deinstall' should trick the sensor into believing there is no MDR pair, which should allow you to remove the second IP address.  Just run 'setup' or 'set sensor sharedsecretkey' to reestablish trust with the manager.

0 Kudos