Home

 

Scheduling statistics collection

Edit configuration property settings to change the frequency and duration of the jobs that collect server statistics.

To edit configuration files, use wsadmin. See Start the wsadmin client for details.


To change the schedule of the statistics jobs...

  1. Use wsadmin to access and check out the Activities configuration files.

    1. Access the Activities configuration file:

    2. Network deployment:

        execfile("profile_root/config/bin_lc_admin/activitiesAdmin.py")
        

      If prompted to specify which server to connect to, type 1.

      The information about which server to connect to is only used by wsadmin when you are running administrative commands to collect statistics.

    3. Check out the Activities configuration files...

        ActivitiesConfigService.checkOutConfig("<working_directory>",
        "cell_name")
        

      where:

      • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.

      • cell_name is the name of the WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. This argument is also case-sensitive, so type it with care. If you do not know the cell name, do one of the following to determine it:

        • Stand-alone deployment: From the file system...

            WAS_HOME\profiles\profile_name\config\cells\
            

      • Network deployment: From wsadmin...

          print AdminControl.getCell()
          

      For example:

      • AIX/Linux:

          ActivitiesConfigService.checkOutConfig("/opt/act/temp","foo01Cell01")
          

    4. Microsoft Windows:

        ActivitiesConfigService.checkOutConfig("c:/act/temp","foo01Cell01")
        

  2. From the temporary to which you checked out the Activities configuration files, open the oa-jobs.xml file in a text editor.

  3. Edit the file to make any of the following changes to the jobs that collect statistics:

    • To change the frequency with which the 30MinStats job runs, edit the <cron-expression> element in the <trigger> element. The default value is 0 0/30 * * * ?. This value specifies that the job should run every 30 minutes. Change the <name> and <job-name> elements to reflect the new frequency, if desired.

    • To change the start time of the DailyStats job starts, edit the <cron-expression> element in the <trigger element="">. The default value is 0 0 11 * * ?, which specifies that the job should run daily at 11 AM.

    • To change the frequency with which the DatabaseRuntimeStats job runs, edit the <cron-expression> element in the <trigger> element. The default value is 0 0 * * * ?, which specifies that the job should run once every hour, on the hour. Change the <name> and <job-name> elements to reflect the new frequency if desired.

    For information about how to format this value, see: http://www.opensymphony.com/quartz/api/org/quartz/CronTrigger.html

  4. Save and close the oa-jobs.xml file.

  5. After making changes, check the configuration files back in and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes for details.


Monitor statistics and metrics

Choosing a scheduler for a job

 

Related tasks

Checking out the Activities configuration files

Apply property changes

 

Related reference


Activity statistics


+

Search Tips   |   Advanced Search