tibrvcfg
Command
Syntax
tibrvcfg [-http-only]
[-loginname:password]
[-urlbase_url]
command arg1 arg2 ...
Purpose
Connect to a daemon component and run one configuration command.
Remarks
This tool lets you send one configuration command to a component. The set of configuration commands parallels the methods of the configuration API. For details about any command, see page in this book that documents the corresponding method. For XML commands, see XML Commands.
The script tibrvcfg resides in the bin directory under TIBRV_HOME.
|
Parameter |
Description |
|
|
When present, the configuration tool uses non-secure HTTP protocols to connect to the component, instead of secure HTTPS protocols. You must specify |
|
|
When present, the configuration tool supplies this administrator name and password when the component requests them. For more information, see SecurityProxy.useCredentials(). |
|
|
When present, the configuration tool connects to the browser administration interface of the component at this URL. When loading an XML file, this parameter (if present) overrides the URL in the XML file. When absent, the configuration tool seeks the component at the default URL, Construct the URL from the IP address of the daemon’s host computer, and its HTTP port. |
|
|
The remaining parameters specify the command to the component, and its arguments. If you omit the command, or supply an invalid command, the configuration tool outputs a lengthy help message that lists all valid commands. |
Execution as a Java Object
The tibrvcfg script is the most convenient way to use this tool, because it automatically arranges the environment properly. However, you can bypass the script, executing the tool as a Java object; for example:
java com.tibco.tibrv.config.tools.TibrvConfigurationTool ...
XML Commands
|
Command |
Description |
|
|
When |
|
|
The parameter |
|
|
The parameter |
To illustrate the difference between mergeXML and matchXML, consider an example in which the existing configuration of rvrd has two routers, R1 and R2; the XML document specifies a change to R2 and a new router R3:
| • | With mergeXML, R1 remains unchanged, R2 is modified, and R3 is added. |
| • | With matchXML, R1 is removed, R2 is modified, and R3 is added. |
You may edit the XML output of dumpXML, and supply the edited file as input to mergeXML or matchXML. The edited file must conform to the DTD.