Oracle X6-2-HA Deployment And User's Manual page 310

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

Syntax
To list jobs and view job details and status:
odacli create-auto-logclean-policy [-h] [-c] [-o] [-u] [-uMB] [-f] [-
uPer]
Parameters
Parameter
,
--help
-h
,
--components
-c
,
--olderthan
-o
,
--olderThanUnit
-u
--freeSpaceBelowPercentage
,
--usageOverMB
-uMB
--usageOverPercentage
Example 13-94
Creating Automatic Jobs to Purge Logs
To create a policy for automatic jobs to purge logs:
# odacli create-auto-logclean-policy -c 'dcs' -o 30 -uPer 30
Component UsageOverPercentage freeSpaceBelowPercentage UsageOverMB
OlderThan
OlderThanUnit
-------------------- -------------- --------------------
-------------------- -------------
dcs
30
0
30
Description
(Optional) Displays help for using the
command.
(Optional) Specifies the list of components,
separated by comma. The values are
database|dcs
(Optional) Cleans logs older than specified
time interval. Default is 30 if it is not
specified.
(Optional) Unit for the
parameter. Default is
Starts purge when free disk space is below
,
-f
the specified number of percentage of the
total partition size. Valid range is 20-50.
Default is 20.
Starts purge when log usage is over the
specified number of MB. Valid range is
10%-50% of partition size.
Starts purge when log usage is over the
,
-uPer
specified number of percentage of total
partition space. Valid range is 10-50.
20
Day
Chapter 13
Log Commands
gi|
For example,
.
gi|dcs
--olderthan
if it is not specified.
Day
13-101

Advertisement

Table of Contents
loading

Table of Contents