Jump to content

Recommended Posts

Posted

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? 

 

Posted

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...