9.6.4 oclumon localrepo
Use the oclumon localrepo
command to view and change the configuration of local repository.
- oclumon localrepo getconfig
Use theoclumon localrepo getconfig
to get the configuration of repositories for all the nodes. - oclumon localrepo setconfig
Use theoclumon localrepo setconfig
command to change the configuration of local repository.
Parent topic: OCLUMON Command Reference
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 |
---|---|
|
Gets the repository size in MB. |
|
Gets the repository path. |
|
Gets an estimation of local repository retention in time units based on the historical data of the currently configured repository size. |
|
Gets the configuration only for the local node. |
|
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
Parent topic: oclumon localrepo
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>
Parent topic: oclumon localrepo