9.6.4 oclumon localrepo

Use the oclumon localrepo command to view and change the configuration of local repository.

9.6.4.1 oclumon localrepo getconfig

Use the oclumon localrepo getconfig to get the configuration of repositories for all the nodes.

Syntax

oclumon localrepo getconfig [-reposize] [-repopath] [-retentiontime] [-local | -n <node1> ...]

Parameters

Parameter Description

-reposize

Gets the repository size in MB.

-repopath

Gets the repository path.

-retentiontime

Gets an estimation of local repository retention in time units based on the historical data of the currently configured repository size.

-local

Gets the configuration only for the local node.

-n

Gets the configuration for a desired list of nodes.

Example 9-132 To view full configuration of repositories for all nodes

oclumon localrepo getconfig
Node: <node-name1>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name1>/crf/db/json
Repository retention time: 246 Hours

Node: <node-name2>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name2>/crf/db/json
Repository retention time: 240 Hours

Example 9-133 To view only the repository path and size of repositories in all nodes

oclumon localrepo getconfig -reposize -repopath
Node: <node-name1>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name1>/crf/db/json

Node: <node-name2>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name2>/crf/db/json

Example 9-134 To view full configuration of the repository for the local node

oclumon localrepo getconfig -local
Node: <node-name>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name>/crf/db/json
Repository retention time: 246 Hours

Example 9-135 To view full configuration for the repositories on specific nodes <node-name1> and <node-name2>

oclumon localrepo getconfig -n <node-name1> <node-name2>
Node: <node-name1>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name1>/crf/db/json
Repository retention time: 246 Hours

Node: <node-name2>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name2>/crf/db/json
Repository retention time: 240 Hours

9.6.4.2 oclumon localrepo setconfig

Use the oclumon localrepo setconfig command to change the configuration of local repository.

Syntax

oclumon localrepo setconfig -reposize <size>

Where, setconfig sets the repository size in MB for all the nodes.

Example 9-136 To set the repository size for all the nodes

oclumon localrepo setconfig -reposize 200
json dump log event is sent successfully on <node-name1>
json dump log event is sent successfully on <node-name2>