|Oracle® Traffic Director Administrator's Guide
11g Release 1 (22.214.171.124.0)
Part Number E21036-04
|PDF · Mobi · ePub|
When you create an Oracle Traffic Director configuration, statistics collection is enabled by default, with five seconds as the update interval. You can disable, enable, and configure statistics collection by using either the administration console or the CLI.
The CLI examples in this section are shown in shell mode (
tadm>). For information about invoking the CLI shell, see Section 2.3.1, "Accessing the Command-Line Interface."
To configure statistics-collection settings by using the administration console, do the following:
Log in to the administration console, as described in Section 2.3.2, "Accessing the Administration Console."
Click the Configurations button that is situated at the upper left corner of the page.
A list of the available configurations is displayed.
Select the configuration for which you want to configure statistics-collection settings.
In the navigation pane, expand Advanced Settings, and select Monitoring.
The Monitoring Settings page is displayed.
Go to the Statistics Collection section of the page.
Specify the parameters that you want to change.
When deciding the statistics-collection interval, remember that frequent collection of statistics affects performance.
On-screen help and prompts are provided for all of the parameters.
When you change the value in a field or tab out of a text field that you changed, the Save button near the upper right corner of the page is enabled.
At any time, you can discard the changes by clicking the Reset button.
After making the required changes, click Save.
A message, confirming that the updated configuration was saved, is displayed in the Console Messages pane.
In addition, the Deployment Pending message is displayed at the top of the main pane. You can either deploy the updated configuration immediately by clicking Deploy Changes, or you can do so later after making further changes as described in Section 4.3, "Deploying a Configuration."
To view the current statistics-collection properties, run the
get-stats-prop command, as shown in the following example:
tadm> get-stats-prop --config=soa enabled=true interval=15 profiling=true
To configure statistics-collection properties, run the
For example, the following command changes the interval at which statistics are updated for the configuration
soa to 10 seconds.
tadm> set-stats-prop --config=soa interval=10OTD-70201 Command 'set-stats-prop' ran successfully.
For the updated configuration to take effect, you should deploy it to the Oracle Traffic Director instances by using the
For more information about
set-stats-prop, see the Oracle Traffic Director Command-Line Reference or run the commands with the