Setting the interval at which storage resources are harvested

After its initial resource harvesting when the peer domain is brought online, the storage resource manager will then repeat the harvest operation at set intervals to detect changes in the storage configuration.

This interval is determined by the value of the HarvestInterval persistent resource attribute of the IBM®.Disk resource class. You can obtain the current value of HarvestInterval persistent resource attribute using the lsrsrc command, and can set it using the chrsrc command.

The following lsrsrc command displays the current harvest interval value. The value is always expressed in seconds.
lsrsrc -c IBM.Disk HarvestInterval
The following command output is displayed:
Resource Class Persistent Attributes for IBM.Disk
resource 1:
    HarvestInterval  = 7200
The following chrsrc command modifies the harvest interval value. When modifying the HarvestInterval property, be sure to express the value in seconds. The shortest harvest interval you can specify is 60 seconds.
chrsrc -c IBM.Disk HarvestInterval=1440
To completely disable the periodic resource harvesting, you can set the HarvestInterval to 0:
chrsrc -c IBM.Disk HarvestInterval=0
If you do disable the periodic resource harvesting, be aware that the storage resource manager will only perform the harvest operation when the peer domain is brought online or when you manually refresh the configuration (as described in Forcing immediate storage resource harvesting).