How do I tune VxAM polling rates in CommandCentral Storage (CCS) for good performance?

Article:TECH158949  |  Created: 2011-04-27  |  Updated: 2011-08-15  |  Article URL http://www.symantec.com/docs/TECH158949
Article Type
Technical Solution

Product(s)

Environment

Issue



The Devices are being polled too often in CCS when monitoring is enabled.


Solution



 Change the logging intervals to be less frequent as follows (In CCS UI, go to Monitoring >> Configuration):

"Day" Sample Logging Interval
The interval in days for reporting "day" numeric sample values
1
1
"Hour" Sample Logging Interval [make it 4 , which gives you 6 samples a day of the hourly collectors instead of 24 samples]
The interval in hours for reporting "hour" numeric sample values
1
4
"Minute" Sample Logging Interval [make it something like 60 to make it really hourly. Nothing looks at this data, you can shut it all off, see below . 5 minutes is CRAZY! One can make it every day also, how much ps trending do you need of our leaks?]
The interval in minutes for reporting "minute" numeric sample values
5
60
State Sample Logging Refresh Interval [Change it to be once a day since logging of unchanged values is pointless since every change is already logged
The interval in seconds for reporting unchanged state sample values
3600
86400

 Modify Self Monitoring intervals as follows (In CCS UI, go to Monitoring >> Configuration):
 Note: Even if you disable logging you should do this since this avoids running ps every 5 minutes on every agent it also disables generating lots of numeric samples that are not logged that often!

Key
Description
Default Value
Set it to
Process Monitoring Interval [change this to every hour or twice a day] 
Interval in minutes for running self monitoirng scripts
5
60 or even 720

The sicl explorers settings, for Applications that scrape some data, run much less often, as it is unnecessary to run every few minutes for data updates that occur twice a day.
Modified "vxsicl.conf" on the MS and increase value for "_INTERVAL" for "SCRIPT:DB"
 
I executed the following query to shut off all the minute collectors for every object type and every collector type:
All the configuration settings above can be done via a sql script while vxam is not running instead of using the gui page if desired.
Note: Stop VxAM server on the MS before executing the query script and start it after downloading and running this script. You can run this and the script. fix_vxam_configuration.sql  by extracting a script from the attached archive
 
Note: Stop VxAM server on the MS before executing the following query and start it after
update vxam.object_type_collector set log_minute=0;
commit;
 
All the disable actions the one above and all the ones below can be done via a sql script for state, minute, 'Environment', 'Administration','Other' which you can get by extracting a script from the attached archive
  • fix_vxam_collectors.sql:
Disabling minute collector logging allows for the option to reduce the retention period for numeric collector minute retention as follows:

Name
Description
Default Value
Set it as
Numeric Collector Minute Retention
The number of days worth of minute numeric collector log statistics to retain
          7
      1

The following categories of collectors need logging enabled for trending and peformance reports:
'Error','Performance','Traffic','Availability','Capacity'

An Administrator can safely disable numeric collectors of the following remaining categories:
  1. Environment
  2. Administration: Don't disable the following self monitoring collectors:
    1. CommandCentral_CPU
    2. CommandCentral_MemoryUsed
    3. CommandCentral_VirtualMemory
    4. CPU
    5. MemoryUsed
    6. VirtualMemory
  3. Other
An Administrator can disable the collectors from CCS UI.
 
Note: Make sure that you have all the rows visible by adjusting table settings, because when you select all rows by clicking top left checkbox it selects only the visible rows.
  • Go to Monitoring >> Collectors >> <collector_category>
  • Make all the rows visible by clicking on the table icon  and setting rows per page to 1000 and pushing ok
  • Select all the numeric collectors (use top left check box)
  • The top box only works on the visible rows so make sure that you have all the rows visible
  • Select operation "Configure Numeric Logging" from the drop down. Click "Go"
  • Click the radio button "Disable Logging" and click OK
You can disable State collectors as follows:
  • Go to Monitoring >> Collectors >> All
  • Make all the rows visible no numbers like by clicking on the table icon and setting rows per page to 1000 and pushing ok
     
  • Select all the State collectors (use top left check box)
  • Select operation "Configure State Logging" from the drop down. Click "Go"
  • Click the radio button "Disable Logging" and click OK
Reduce collector log retention periods as appropriate in the "Ageing and Retention" table in CCS UI on Monitoring >> Configuration page
 

Attachments

Scripts mentioned in the Body are contained in the attachment.
vxam.zip (2 kBytes)


Article URL http://www.symantec.com/docs/TECH158949


Terms of use for this information are found in Legal Notices