Updating the user-config.properties file in NCM does not seem to be honored
search cancel

Updating the user-config.properties file in NCM does not seem to be honored

book

Article ID: 450580

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

Updating the user-config.properties file with a higher timeout (or lower) does not seem to be honored and the default setting is taking place. 

Reviewing the database, the default setting is still there even though a different value exists in the file:

voyencedb=# SELECT config_type, name, value, default_value, editable

voyencedb-# FROM cm_config_item

voyencedb-# WHERE name IN (

voyencedb(# 'com.powerup.configmgr.server.security.login.authentication_cache_timeout',

voyencedb(# 'com.powerup.configmgr.server.security.login.authentication_cache_timeout_warning'

voyencedb(# );

  config_type  |                                       name                                       | value | default_value | editable

---------------+----------------------------------------------------------------------------------+-------+---------------+----------

config.server | com.powerup.configmgr.server.security.login.authentication_cache_timeout         |       | 1800          | t

config.server | com.powerup.configmgr.server.security.login.authentication_cache_timeout_warning |       | 300           | t

(2 rows)

 

Cause

This is functioning as designed and the documentation will be updated.

Resolution

1. Login to the postgres database (password is seting during installation and there is no default - Broadcom Support will not know your password):

./psql -U voyence -p 5435 voyencedb

2. Once in the database, check the entries will this query:

SELECT config_type, name, value, default_value, editable
FROM cm_config_item
WHERE name IN (
'com.powerup.configmgr.server.security.login.authentication_cache_timeout',
'com.powerup.configmgr.server.security.login.authentication_cache_timeout_warning'
);

If the value differs from what is being set in the file, continue to step 3.

3. Put in these update queries into psql to update the settings:

UPDATE cm_config_itemSET value = '5400'WHERE name = 'com.powerup.configmgr.server.security.login.authentication_cache_timeout';
UPDATE cm_config_itemSET value = '300'WHERE name = 'com.powerup.configmgr.server.security.login.authentication_cache_timeout_warning';

Adjust the values accordingly to what you would like them to be set to. 

4. Restart vcmaster services