If you encounter this issue in your environment, do the following:
- Run the following SQL query on the Smarts NCM DB:
select * from cm_device_server;
- Review the output of the above command for duplicate Device Server (DS) entries in the Postgres database. If there a duplicate entry is found, see EMC KB article " target="_blank"> Link Error: for instructions on how to remove the duplicates.
- Once all duplicates are confirmed as removed from the Postgres DB, use the following command sequence on the infraDB on the Application Server (AS) to write out the cflist command output to a file (cflist.out):
service vcmaster stop
source /etc/voyence.conf
$VOYENCE_HOME/cgi-bin/cflist.cgi > cflist.out
- Open the cflist.out file and analyze it within the shell using the vi editor, or copy the file to client machine and open it with a text editor such as Notepad.
- Search the file for the hostname of the DS, and make note of the POP ID as in the following example for POP 3513:
POP 3513 "voyence_ds2" NetList= RsrcList=
(POP <ID> "<hostname>" NetList= RsrcList=)
- Locate the additional POP entry for the given hostname, which should be the last POP entry. The last/second POP entry for the hostname is the duplicate hostname entry.
- Ensure that you are at the second POP entry for the hostname (POP <ID> "<hostname>" NetList= RsrcList=).
- Delete the last POP entry starting at POP <ID> and ending just before the following line:
NET 999 "Default Network" RsrcList= PopList= :
IMPORTANT! Do NOT delete the NET 999 line.
- Use the following command sequence to write back in the cflist into the infraDB on the AS:
$VOYENCE_HOME/cgi-bin/cwrite.cgi < cflist.out
service vcmaster start
- Log into the Smarts NCM console and verify that the duplicate DS has been removed.
- Proceed to install/register the Device Server.
- Run a test job on a device that is managed with newly installed/registered DS.