to resolve the issue, an update to the infradb must be made.
On the application server, do the following:
[root@lab94as cgi-bin]#
. /etc/voyence.conf[root@lab94as cgi-bin]#
./cflist.cgi > file.txt[root@lab94as cgi-bin]#
cp file.txt 6-16-2017_infradb.txt <<this is your backup copy, use the current date in the file name to easily identify.
[root@lab94as cgi-bin]#
vi file.txt <<modify this file
Search for the device server IP or hostname (old name). You should see an entry similar to the following:
POP 1000 "
ncm94.smrtsupport.local" NetList= RsrcList= DevList=1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1026,1027,1028,1029,1030,1031,1032,1033,1034,1036,1038,1039,1040,1041,1106,1044,1045 EmsList= : ADDR="
10.241.215.98" AGE_DAYS=730 CLEANUP_DAYS=90 AD_ENABLE=0 AD_ARPCACHE=0 AD_DFLTROUTE=0 AD_AUTO_RESOURCE=0 AD_DEFAULT_POLL=0 SNMP_TIMEOUT=500
Using vi commands, edit the hostname and IP address values. Save the file and quit.
[root@lab94as cgi-bin]#
./cfwrite.cgi < file.txtStatus: 200 Success.
These changes will be replicated to the infradb files on each DS.
Next, log into the controldb:
[root@lab94as cgi-bin]#
su - pgdba-bash-4.1$
psql voyencedb voyencePassword for user voyence: <enter password>
To see the attached device servers, use the following statement:
voyencedb=#
select * from cm_device_server; device_server_id | device_server_name | device_server_idx | version
---------------------------------------------------+-------------------------+-------------------+---------
\012\361\327y\357\011\345?4!\333\272M\001\000\000 | ncm94.smrtsupport.local | 1000 | 0
(1 row)
To modify the entry, use the following statement:
update cm_device_server SET device_server_name='<new_ds_fqdn>' WHERE device_server_idx= POP IDX ;In this example,
update cm_device_server SET device_server_name='ncm94NewDS.smrtsupport.local' WHERE device_server_idx= 1000 ;voyencedb=#
select * from cm_device_server; device_server_id | device_server_name | device_server_idx | version
---------------------------------------------------+-------------------------+-------------------+---------
\012\361\327y\357\011\345?4!\333\272M\001\000\000 | ncm94NewDS.smrtsupport.local | 1000 | 0
(1 row)
voyencedb=#
\q-bash-4.1$
exitlogout