Home

 

Disabling metrics collection

By default metrics are collected for Wikis. You can disable metrics collection in the wikis-config.xml properties file.

For Wikis, a set of metrics is collected once per day and stored in one row in the database. Metric data only requires a few kilobytes of space, so in most cases there is no need to disable metric collection. You might want to disable metrics if collecting them affects performance. But if you disable metric collection there is no way to retrieve data from the days on which it was disabled.

  1. Start the wsadmin client.

  2. Access the Wikis configuration files...

  3. Network deployment:

    If you are asked to select a server, you can select any server.

  4. Check out the Wikis configuration files...

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

    where:

    • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied. The files are kept in this working while you make changes to them.

    • 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. If you do not know the cell name, do one of the following to determine it:

      • Stand-alone deployment: Look at the name after the following in the file system:

          WAS_HOME\profiles\profile_name\config\cells\
          

    • Network deployment: Type the following command while in the wsadmin command processor:

        print AdminControl.getCell()
        

    For example:

    • AIX/Linux:

        WikisConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell")
        

  5. Microsoft Windows:

      WikisConfigService.checkOutConfig("c:/temp","foo01Cell01")
      

  6. Optional: To view the current configuration settings use the following command:

      WikisConfigService.showConfig()
      

  7. To set the metrics.collectionTask.enabled property to

    false

    ..

      WikisConfigService.updateConfig("metrics.collectionTask.enabled", "false")
      

  8. Check in the changed configuration property file using the following wsadmin client command:

      WikisConfigService.checkInConfig()
      

  9. To exit the wsadmin client, type exit at the prompt.

  10. Stop and restart the server hosting the Wikis feature.


Administer Wikis

 

Related tasks

Start the wsadmin client


+

Search Tips   |   Advanced Search