Customizing OnCommand/DFM server for Performance Advisor (PA) only functionality.

by adaikkap Former NetApp Employee on ‎2012-01-04 03:18 PM

Performance Adviser (PA)  is resource intensive and having PA enabled along with other monitoring on single server monitoring close to 200+ controllers on a VM or a low end hardware might slow down OnCommand/DFM response times. If a customer has decided to load balance his OnCommand/DFM server based on functionality and trying to find a way to have PA only enabled and no capacity or space monitoring, continue reading.

Step 1:

Install OnCommand/DFM server and do your usual setting like setting up https, disabling rsh and enabling ssh etc.

Step 2:

Turn off all monitoring interval by doing a list of options and greping for moninterval.

[root@]# for i in `dfm options list | grep -i moninterval| awk '{print $1}'`;do dfm options set $i=off;done

Changed agent monitoring interval to Off.

Error: autosupportMonInterval: off is not a valid interval.

Specify a positive number, optionally followed by a time period

suffix to indicate seconds, minutes, hours, days, or weeks.

Examples: 4m, "2.5 hours", "15 secs", 1week.

Changed backup directory monitoring interval to Off.

Changed config conformance monitoring interval to Off.

Changed cluster failover monitoring interval to Off.

Changed cluster monitoring interval to Off.

Changed CPU monitoring interval to Off.

Changed disk free space monitoring interval to Off.

Changed disk monitoring interval to Off.

Changed dataset conformance monitoring interval to Off.

Changed dataset disaster recovery status monitoring interval to Off.

Changed dataset protection status monitoring interval to Off.

Changed environmental monitoring interval to Off.

Changed fibre channel monitoring interval to Off.

Changed file system monitoring interval to Off.

Changed host RBAC monitoring interval to Off.

Changed interface monitoring interval to Off.

Changed license monitoring interval to Off.

Changed LUN monitoring interval to Off.

Changed NDMP monitoring interval to Off.

Changed operation count monitoring interval to Off.

Changed performance advisor threshold violation monitoring interval to Off.

Changed ping monitoring interval to Off.

Changed qtree monitoring interval to Off.

Changed resource pool space monitoring interval to Off.

Changed SAN host monitoring interval to Off.

Changed share monitoring interval to Off.

Changed SnapMirror monitoring interval to Off.

Changed snapshot monitoring interval to Off.

Changed SnapVault monitoring interval to Off.

Changed SRM host monitoring interval to Off.

Changed global status monitoring interval to Off.

Changed system information monitoring interval to Off.

Changed user quota monitoring interval to Off.

Changed vFiler monitoring interval to Off.

Changed virtual server monitoring interval to Off.

STEP 3:

Set the following options

dfm option set snapDeltaMonitorEnabled=0


Enable only those monitors that are required for PA functionality to work

[root@]# dfm option set pingMonInterval=

Changed ping monitoring interval to 1 minute.

PingMon is required otherwise OnCommand/DFM does not monitor a host as it considers them to be down.

[root@]# dfm option set diskMonInterval=

Changed disk monitoring interval to 4 hours.

Disk Mon is required for discovery of disk so that performance data for disk can be collected and show in NMC.

[root@]# dfm option set fsMonInterval=

Changed file system monitoring interval to 15 minutes.

FS Mon is required for discovery of volume, qtree, aggr so that corresponding  performance data can be collected and show in NMC.

[root@]# dfm option set ifMonInterval=

Changed interface monitoring interval to 15 minutes.

IF Mon is required for discovery of Interfaces so that corresponding  performance data can be collected and show in NMC.

[root@]# dfm option set licenseMonInterval=

Changed license monitoring interval to 4 hours.

Though its weird, license Mon  is required for discovery of some objects.

[root@]# dfm option set lunMonInterval=

Changed LUN monitoring interval to 30 minutes.

Lun Mon is required for discovery of LUN  so that corresponding  performance data can be collected and show in NMC

[root@]# dfm option set perfAdvThreshViolationMonInterval=15m

Changed performance advisor threshold violation monitoring interval to 15 minutes.

PerfAdvThresholdViolation Mon is required for PA threshold generation

[root@]# dfm option set vFilerMonInterval=

Changed vFiler monitoring interval to 1 hour.

[root@]#

vFiler Mon is required for discovery of vFiler so that corresponding  performance data can be collected and show in NMC

STEP 4:

Check for the list of MonIntervals that are enabled, using the below command.

Windows world run the command as follows (dfm options list | findstr /i moniterval)

[root@]# dfm options list | grep -i moninterval

agentMonInterval                      Off

autosupportMonInterval                2 minutes

backupDirMonInterval                  Off

ccMonInterval                         Off

cfMonInterval                         Off

clusterMonInterval                    Off

cpuMonInterval                        Off

dfMonInterval                         Off

diskMonInterval                       4 hours

dsConformanceMonInterval              Off

dsDRMonInterval                       Off

dsProtectionMonInterval               Off

envMonInterval                        Off

fcMonInterval                         Off

fsMonInterval                         15 minutes

hostRBACMonInterval                   Off

ifMonInterval                         15 minutes

licenseMonInterval                    4 hours

lunMonInterval                        30 minutes

ndmpMonInterval                       Off

opsMonInterval                        Off

perfAdvThreshViolationMonInterval     15 minutes

pingMonInterval                       1 minute

qtreeMonInterval                      Off

respoolSpaceMonInterval               Off

SANHostMonInterval                    Off

shareMonInterval                      Off

snapmirrorMonInterval                 Off

snapshotMonInterval                   Off

snapvaultMonInterval                  Off

srmMonInterval                        Off

statusMonInterval                     Off

sysInfoMonInterval                    Off

userQuotaMonInterval                  Off

vFilerMonInterval                     1 hour

vserverMonInterval                    Off

[root@]#

STEP 5:

Optional, if required disable auto-discover options in  by disabling all the below listed discovery options in BOLD

[root@]# dfm options list |grep -i discover

discoverAgents                        Enabled

discoverClusters                      Enabled

discoverEnabled                       Enabled

discoverHostInitEnabled               Enabled

discoverHosts                         Enabled

discoverInterval                      15 minutes

discoverNetworks                      Disabled

discoverSAN                           Enabled

discoverTimeout                       5 seconds

discoverVfilers                       Enabled

hostEnclosureDiscoveryEvents          Disabled

networkDiscoveryLimit                 15

snapshotDiscoveryEventsEnabled        No

[root@]#

STEP 6:

Now add your controllers/filer and set the credentials for API access so that OnCommand/DFM server can start collecting only performance data.

Regards

adai

Comments
reide Former NetApp Employee

Adai,

Great post!  Can we get the same for configuring DFM for Provision/Protection Manager functionality only? 

adaikkap Former NetApp Employee

Soon on the card reid.

Adai

Great article, and highly helpful in my pursuits.  Quick question regarding Step 5.  You have discoverInterval showing as one of the settings to disable.  In Oncommand 5, it is not possible to disable this setting.  The only valid settings are seconds, minutes, hours, days or weeks.  Is it necessary to do anything with this setting since we've already disabled discoverEnabled?

Thanks in advance.

bt

adaikkap Former NetApp Employee

Thanks bt you caught it. If options the option discoverEnabled is disabled,

Option discoverInterval is redundant to disable and also it cant be disabled. Nice catch. Let me update it right away.

Regards

adai

Hi BT,

     I am moving your question to following post.

No data to display in "Full Soon Storage" or "Fastest Growing Storage" panes of the Dashboard

Regards

adai

Warning!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary. All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.

In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner

Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.