Smarts NCM: Slow response time from GUI across WAN; How to increase performance across WAN?
search cancel

Smarts NCM: Slow response time from GUI across WAN; How to increase performance across WAN?

book

Article ID: 331266

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Slow response time from GUI across WAN

How to increase performance across WAN? The documentation doesn't outline methods for increasing performance, are there some high levels recommendations which can be made?

Environment

VMware Smart Assurance - NCM

Resolution

The following steps are approximate and can be used as high level guidelines and are not meant as a design methodology or a means of ongoing maintenance

1.) Stop all NCM related services on all the Smarts NCM Application Server (AS), Database Server (DB), Report Advisor server (RA) and Device Servers (DS) using the command:

service vcmaster stop

2.) On DB server, perform the following steps:
a.) Take a backup of $VOYENCE_HOME/db/controldb/data/postgresql.conf

b.) Open the $VOYENCE_HOME/db/controldb/data/postgresql.conf file for editing.

c.) Locate the line shared_buffers = 32MB.

d.) Replace the above line with shared_buffers = 512MB.

e.) Locate the line effective_cache_size=128MB

f.) Replace the above line as effective_cache_size=512MB (and uncomment it by removing '#' character).

g.) Locate the line wal_buffers = 20

h.) Replace the above line as wal_buffers = 32

i.) Save, and then Exit the $VOYENCE_HOME/db/controldb/data/postgresql.conf file.   

j.) Set the shared memory max for Linux to 600MB using the following command:

echo 600000000 > /proc/sys/kernel/shmmax

k.) Open the /etc/sysctl.conf file for editing.

l.) Locate the line kernel.shmmax = 100000000.

m.) Replace the above line with kernel.shmmax = 600000000.

n.) Save, and then Exit the /etc/sysctl.conf file.
                                
3.) On NCM Application server (AS) server, perform below steps:
 
a.) Take a backup of $VOYENCE_HOME/cm/daemon/conf/cdaemon-config.properties

b.) Open the $VOYENCE_HOME/cm/daemon/conf/cdaemon-config.properties file for editing.

c.) Locate the line devsvc.daemon.deviceupdate.max_notif_threads=2.

d.) Replace the above line with devsvc.daemon.deviceupdate.max_notif_threads=8
                             
e.) Save, and then Exit the $VOYENCE_HOME/cm/daemon/conf/cdaemon-config.properties file.
                                
4.) Start all NCM related services using the command service vcmaster start in the following order:
  • Smarts NCM Database server (DB)
  • Smarts NCM Application server (AS)
  • Smarts NCM Device servers (DS)
  • Smarts NCM Report Advisor server (RA)