Databases Reference
In-Depth Information
Getting ready
There is no need to start Oracle JRockit Mission Control to configure the Flight Recorder.
It is enabled by changing parameters using the Administration Console. So make sure the
Administration Server is running.
How to do it...
To enable the Managed Servers to record the Flight Recorder's events, follow these steps:
1. Access the Administration Console by pointing your web browser to
http://adminhost.domain.local:7001/console .
2. Click on the Lock & Edit button to start a new edit session.
3. Expand the Environment tree on the left and then click on Servers.
4. Click on the PROD_Server01 link and then click on the Server Start tab.
5. Add the following line of code to the Arguments field and click on the Save button:
-XX:FlightRecorderOptions=defaultrecording=true,disk=true,
repository=./jfr/PROD_Server01,maxage=1440m,size=100m
6. Click on the Activate Changes button.
7. Restart PROD_Server01 .
8. Repeat the previous steps for the Managed Servers PROD_Server02 , PROD_
Server03 , and PROD_Server04 , and define the corresponding path for the
repository=./jfr/PROD_ServerXX repository parameter of each server.
How it works...
The repository=./jfr/PROD_ServerXX parameter sets the file location of the
recordings. In this case, it will save the recording to the $DOMAIN_HOME/jfr/PROD_
ServerXX directory. The directory will be created automatically if it does not exist.
 
Search WWH ::




Custom Search