Sadako Hattori Posted September 27 Posted September 27 I have a Netscaler that is no longer online and has not been for a couple of years at this point. It was originally part of an HA pair, but the services on that changed and so the secondary node was removed and rebuilt and used elsewhere. Unfortunately, the secondary node was not removed from the console prior to it being deleted and now I cannot seem to be able to delete it from the console. It still shows up in the inventory and is taking a license. When I try to remove the license, I get an error saying it can't communicate with the Netscaler and it will not unassign the license. It will never be able to communicate with the Netscaler, as that instance is long gone and not recoverable. How can I remove the dead Netscaler from the inventory and release the license on the console?
Julian Jakob Posted September 29 Posted September 29 It's not listed in the list of your NetScaler in NSC - but in Inventory, correct? If so, you have to delete it from the Inventory via Database. SSH to NSC (Primary if HA): shell /mps/db_pgsql/bin/psql -U mpspostgres -p 5454 mpsdb set schema 'Owner'; select ip_address,instance_mode,id from managed_device where ip_address like '<NetScaler IP Address>'; the table should output Ip_address, instance_mode and id delete from managed_device where ip_address='<NetScaler IP Address>'; \q Notes : - No need to reboot NSC, it should directly work - No need to run this command on Secondary ADM if HA is present
Michael Morrison1709160082 Posted October 9 Posted October 9 I'm having the same issue. I used PuTTy to connect to the Netscaler Console and ran the commands to connect to the database. When I ran the "select" statement, no data was returned. Did I miss a step somewhere? Thanks, Mike
Michael Adam Posted October 9 Posted October 9 Hello @Michael Morrison1709160082 it looks like you miss the --> ; <-- at the end of the line. If you use the command correctly everything works fine: Best regards, Michael 1
Michael Morrison1709160082 Posted October 10 Posted October 10 Thanks, Michael--that was it. I knew it was something simple!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now