Skip to content

Commit 06abca3

Browse files
DR docs command correction and clarification
Signed-off-by: tarikBensalem-DA <[email protected]>
1 parent 32473b0 commit 06abca3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/src/validator_operator/validator_disaster_recovery.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ of at least one of the parties hosted on your node. To address this, you can usu
226226
.. code::
227227
228228
val syncId = participant.synchronizers.list_connected().head.synchronizerId
229-
participant.topology.party_to_participant_mappings.list(syncId, filterNamespace = <namespace>)
229+
participant.topology.party_to_participant_mappings.list(syncId, filterParticipant = <namespace>)
230230
231231
If all parties are on the same node, proceed to the next step. If some are on the old node and some are on the new node, migrate the ones on the old node to the new node by opening a console to the new node and running the following command
232232
(adjust the parameters as required for your parties):
@@ -236,6 +236,20 @@ of at least one of the parties hosted on your node. To address this, you can usu
236236
val participantId = participant.id // ID of the new participant
237237
participant.topology.party_to_participant_mappings.propose(<party-id>, Seq((participantId, <participant-permission>)), store = syncId)
238238
239+
For this command a list of all parties can be found by running <party-id> can be found by first running:
240+
241+
.. code::
242+
243+
val parties = participant.parties.list (<participantIdentifier>)
244+
245+
Then you can map the party to a variable using a command asa such where <index> is the 0 based index of the party in the list:
246+
247+
.. code::
248+
249+
val partyId = parties(<index>).party
250+
251+
The available options for <participant-permission> are ``Submission``, ``Confirmation``, and ``Observation``.
252+
239253
2. If your parties are still on the original node that you took identities backup from, you can use your existing backup.
240254
If your parties have been migrated to the new node already, take a new identities dump from the new node.
241255
If the new node is in a state where you cannot take a fresh dump, use the old dump but edit the ``id`` field to the participant ID of the new node.

0 commit comments

Comments
 (0)