Unregister eHealth from NPC Manually
search cancel

Unregister eHealth from NPC Manually

book

Article ID: 48853

calendar_today

Updated On:

Products

CA Application Delivery Analysis MTP (NetQoS / ADA) CA eHealth

Issue/Introduction

Description:

Under certain circumstances, it may be necessary to manually remove the eHealth datasource from NPC. This is usually due to NPC being re-installed or installed on another server and eHealth will complain about being registered to another instance of NPC.

Solution:

For a distributed eHealth environment run the following command on the distributed eHealth console:

./nhNpcSetup -clear

Now try re-adding the eHealth datasource to NPC.

For standalone eHealth environments, execute the query below to clear the NPC config from the eHealth DB:

$NH_HOME/bin/sys/nhisql "delete from nh_metadata where subject_area='NPC'"

If the change doesn't immediately allow for the datasource to be re-added, try the steps below to get it going.

  1. Bring down the ehealth web, httpd and tomcat. (maybe something is caching the value)
  2. Re-check to make sure there are still no NPC values in that table.
  3. Bring back up the ehealth web, httpd and tomcat.
  4. Try to join npc to ehealth again.

Alternate method:

  1. Log into Oracle SQL developer
  2. Expand "Tables"
  3. Select the NH_METADATA table from the tree on the left hand side
  4. In the right hand panel select the "Data" tab
  5. Use the shift key to multi-select the 5 entries that have "NPC" in the SUBJECT AREA field
  6. Hit the "Red X" at the top of the page to "Delete Selected Rows"
  7. Hit the "Green Check Mark" to "Commit Changes"

Environment

Release: PCSTAS99000-6.1-NetQoS-Performance Center-Stand-Alone-Server
Component: