oclumon localrepo

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

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

  • -reposize
    Gets the repository size in MB.
  • -repopath
    Gets the repository path.
  • -retentiontime
    Gets an estimate of the local repository retention period based on the historical data and the currently configured repository size.
  • -local
    Gets the configuration only for the local node.
  • -n
    Gets the configuration for a specified list of nodes.

Example To view full configuration of repositories for all nodes

oclumon localrepo getconfig
Node: <node-name1>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata//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 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 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 To view full configuration for the repositories on specific nodes and

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

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 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>