Can you create or recreate the store file of a RVRD by copying the configuration of the tab “XML configuration” from an old RVRD to the new RVRD with a new store file?

Can you create or recreate the store file of a RVRD by copying the configuration of the tab “XML configuration” from an old RVRD to the new RVRD with a new store file?

book

Article ID: KB0094215

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
Description
= = = = = =

Recreating an RVRD store file can be needed when, for example, the store file is corrupted and needs to be recreated.

Resolution
= = = = = =

You can copy the contents of the “XML configuration” tab, but there could be some neighbor connections that are dynamic and not static. When copying the contents of one RVRD that is running you can copy some of the dynamic links that will become static in the new RVRD which can lead to potential problems.

For example, when you use “ACCEPT ANY” in the RVRD neighbor configuration, while the RVRD is running and new neighbors are being added and new dynamic links created, these dynamic links will disappear if you re-start the RVRD. These links will be recreated again if the neighbors are still running when you restart the RVRD. At this point you cannot copy these links from the “XML configuration” tab to the new RVRD because those links will have become static.


Here are the options you have to copy from the “XML Configuration”:

Start the RVRD (the one you are going to copy the “XML Configuration” from) with the –idle option. When you start the RVRD with –idle, only the static links will be viewable and the dynamic links will not be seen.

1). Stop the old RVRD and start the new RVRD with the –idle parameter.

2). Copy from the RVRD started with the –idle parameter the part of the “XML Configuration” for RVRD parameters (you do not need security-parameters if you do not use SSL for the connection between RVRDs). Copy from:

&ltrvrd-parameters>
to:
</rvrd-parameters>

3). Start a new RVRD with a new store file.

4). Change the “XML configuration” this “&ltrvrd-parameters/>” for the information you have copied from the old RVRD:

&ltrvrd-parameters>

</rvrd-parameters>


There is also another solution to create the new store file, and in this case you do not need to start the RVRD as –idle. Here are the steps for this other option:

1). Extract the configuration information with:

tibrvcfg -url &lthttp interface of old RVRD> dumpXML &ltname of the output file>

For example:

tibrvcfg -url "http://PCAabajo00446.emea.tibco.com:2017" dumpXML file.out.xml

2). Open the output file with a text editor and delete the security parameters (if you  do not use SSL between neighboring RVRDs).

Delete this:
&ltsecurity-parameters>

</security-parameters>

3). Start a new RVRD with a new empty store file.

4). Update the configuration of the new RVRD with the configuration of the old.

The following command would be used for the update:

tibrvcfg -url &lthttp interface of new RVRD> mergeXML &ltname of the modified output file>

For example:

tibrvcfg -url "http://PCAabajo00446.emea.tibco.com:2206/" mergeXML file2.out.xml

The following benign error will be displayed. The error indicates that you  have not added any security configuration options.

Parse error at line 15.
The content of element type "configuration" is incomplete, it must match "(((secure-daemon-parameters|(rvrd-parameters,secure-daemon-parameters?)|(secure-daemon
-parameters?,rvrd-parameters)|rva-parameters|rvcache-parameters),security-parameters)|(security-parameters,(secure-daemon-parameters|(rvrd-parameters,secure-dae
mon-parameters?)|(secure-daemon-parameters?,rvrd-parameters)|rva-parameters|rvcache-parameters)))".

* In all the process for both solutions you will need to do extra steps in case you have passwords for access to the http interface or in case you use SSL for the neighbor connections.

Issue/Introduction

Can you create or recreate the store file of a RVRD by copying the configuration of the tab “XML configuration” from an old RVRD to the new RVRD with a new store file?