Skip to content

Commit e08204f

Browse files
authored
Merge pull request #990 from ethereum-optimism/conductor-fixes
small fixes to op-conductor page
2 parents 0961700 + f840ece commit e08204f

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

pages/builders/chain-operators/tools/op-conductor.mdx

+26-23
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ At OP Labs, op-conductor is deployed as a kubernetes statefulset because it
8484
requires a persistent volume to store the raft log. This guide describes
8585
setting up conductor on an existing network without incurring downtime.
8686

87+
You can utilize the [op-conductor-ops](https://github.com/ethereum-optimism/infra/tree/main/op-conductor-ops) tool to confirm the conductor status between the steps.
88+
8789
### Assumptions
8890

8991
This setup guide has the following assumptions:
@@ -138,7 +140,7 @@ This setup guide has the following assumptions:
138140
139141
{<h3>Pause two conductors</h3>}
140142
141-
Pause `sequencer-0` &` sequencer-1` conductors with [conductor\_pause](#conductor_pause)
143+
Pause `sequencer-0` &` sequencer-2` conductors with [conductor_pause](#conductor_pause)
142144
RPC request.
143145

144146
{<h3>Update op-node configuration and switch the active sequencer</h3>}
@@ -150,7 +152,7 @@ This setup guide has the following assumptions:
150152
* all sequencer op-node configs:
151153

152154
```yaml
153-
OP_NODE_CONDUCTOR_ENABLED: "true"
155+
OP_NODE_CONDUCTOR_ENABLED: "true" # this is what commits unsafe blocks to the raft logs
154156
OP_NODE_RPC_ADMIN_STATE: "" # this flag cant be used with conductor
155157
```
156158

@@ -162,7 +164,7 @@ This setup guide has the following assumptions:
162164

163165
{<h3>Add voting nodes</h3>}
164166

165-
Add voting nodes to cluster using [conductor\_AddServerAsVoter](#conductor_addServerAsVoter)
167+
Add voting nodes to cluster using [conductor_AddServerAsVoter](#conductor_addserverasvoter)
166168
RPC request to the leader conductor (`sequencer-1`)
167169

168170
{<h3>Confirm state</h3>}
@@ -188,11 +190,11 @@ This setup guide has the following assumptions:
188190

189191
{<h3>Confirm state</h3>}
190192

191-
Confirm all conductors successfully resumed with [conductor\_paused](#conductor_paused)
193+
Confirm all conductors successfully resumed with [conductor_paused](#conductor_paused)
192194

193195
{<h3>Tranfer leadership</h3>}
194196

195-
Trigger leadership transfer to `sequencer-0` using [conductor\_transferLeaderToServer](#conductor_transferLeaderToServer)
197+
Trigger leadership transfer to `sequencer-0` using [conductor_transferLeaderToServer](#conductor_transferleadertoserver)
196198

197199
{<h3>Confirm state</h3>}
198200

@@ -357,7 +359,7 @@ It is configured via its [flags / environment variables](https://github.com/ethe
357359
Conductor exposes [admin RPCs](https://github.com/ethereum-optimism/optimism/blob/develop/op-conductor/rpc/api.go#L17)
358360
on the `conductor` namespace.
359361

360-
#### conductor\_overrideLeader
362+
#### conductor_overrideLeader
361363

362364
`OverrideLeader` is used to override the leader status, this is only used to
363365
return true for `Leader()` & `LeaderWithID()` calls. It does not impact the
@@ -382,7 +384,7 @@ manually started sequencer.
382384
</Tabs.Tab>
383385
</Tabs>
384386

385-
#### conductor\_pause
387+
#### conductor_pause
386388

387389
`Pause` pauses op-conductor.
388390

@@ -402,7 +404,7 @@ manually started sequencer.
402404
</Tabs.Tab>
403405
</Tabs>
404406

405-
#### conductor\_resume
407+
#### conductor_resume
406408

407409
`Resume` resumes op-conductor.
408410

@@ -422,7 +424,7 @@ manually started sequencer.
422424
</Tabs.Tab>
423425
</Tabs>
424426

425-
#### conductor\_paused
427+
#### conductor_paused
426428

427429
Paused returns true if the op-conductor is paused.
428430

@@ -442,7 +444,7 @@ Paused returns true if the op-conductor is paused.
442444
</Tabs.Tab>
443445
</Tabs>
444446

445-
#### conductor\_stopped
447+
#### conductor_stopped
446448

447449
Stopped returns true if the op-conductor is stopped.
448450

@@ -482,7 +484,7 @@ SequencerHealthy returns true if the sequencer is healthy.
482484
</Tabs.Tab>
483485
</Tabs>
484486

485-
#### conductor\_leader
487+
#### conductor_leader
486488

487489
<Callout type="info">
488490
API related to consensus.
@@ -506,7 +508,7 @@ Leader returns true if the server is the leader.
506508
</Tabs.Tab>
507509
</Tabs>
508510

509-
#### conductor\_leaderWithID
511+
#### conductor_leaderWithID
510512

511513
<Callout type="info">
512514
API related to consensus.
@@ -530,13 +532,13 @@ LeaderWithID returns the current leader's server info.
530532
</Tabs.Tab>
531533
</Tabs>
532534

533-
#### conductor\_addServerAsVoter
535+
#### conductor_addServerAsVoter
534536

535537
<Callout type="info">
536-
API related to consensus.
538+
API related to consensus. The address parameter is the raft consensus address, not the RPC address.
537539
</Callout>
538540

539-
AddServerAsVoter adds a server as a voter to the cluster.
541+
AddServerAsVoter adds a server as a voter to the cluster.
540542

541543
<Tabs items={['curl', 'cast']}>
542544
<Tabs.Tab>
@@ -549,12 +551,12 @@ AddServerAsVoter adds a server as a voter to the cluster.
549551

550552
<Tabs.Tab>
551553
```sh
552-
cast rpc conductor_addServerAsVoter --rpc-url http://127.0.0.1:50050 <id> <addr> <version>
554+
cast rpc conductor_addServerAsVoter --rpc-url http://127.0.0.1:50050 <id> <raft-consensus-addr> <version>
553555
```
554556
</Tabs.Tab>
555557
</Tabs>
556558

557-
#### conductor\_addServerAsNonvoter
559+
#### conductor_addServerAsNonvoter
558560

559561
<Callout type="info">
560562
API related to consensus.
@@ -579,7 +581,7 @@ The non-voter will not participate in the leader election.
579581
</Tabs.Tab>
580582
</Tabs>
581583

582-
#### conductor\_removeServer
584+
#### conductor_removeServer
583585

584586
<Callout type="info">
585587
API related to consensus.
@@ -603,7 +605,7 @@ RemoveServer removes a server from the cluster.
603605
</Tabs.Tab>
604606
</Tabs>
605607

606-
#### conductor\_transferLeader
608+
#### conductor_transferLeader
607609

608610
<Callout type="info">
609611
API related to consensus.
@@ -627,7 +629,7 @@ TransferLeader transfers leadership to another server.
627629
</Tabs.Tab>
628630
</Tabs>
629631

630-
#### conductor\_transferLeaderToServer
632+
#### conductor_transferLeaderToServer
631633

632634
<Callout type="info">
633635
API related to consensus.
@@ -651,7 +653,7 @@ TransferLeaderToServer transfers leadership to a specific server.
651653
</Tabs.Tab>
652654
</Tabs>
653655

654-
#### conductor\_clusterMembership
656+
#### conductor_clusterMembership
655657

656658
ClusterMembership returns the current cluster membership configuration.
657659

@@ -671,7 +673,7 @@ ClusterMembership returns the current cluster membership configuration.
671673
</Tabs.Tab>
672674
</Tabs>
673675

674-
#### conductor\_active
676+
#### conductor_active
675677

676678
<Callout type="info">
677679
API called by `op-node`.
@@ -695,7 +697,7 @@ Active returns true if the op-conductor is active (not paused or stopped).
695697
</Tabs.Tab>
696698
</Tabs>
697699

698-
#### conductor\_commitUnsafePayload
700+
#### conductor_commitUnsafePayload
699701

700702
<Callout type="info">
701703
API called by `op-node`.
@@ -725,3 +727,4 @@ layer.
725727
* Checkout [op-conductor-mon](https://github.com/ethereum-optimism/infra):
726728
which monitors multiple op-conductor instances and provides a unified interface
727729
for reporting metrics.
730+
* Get familiar with [op-conductor-ops](https://github.com/ethereum-optimism/infra/tree/main/op-conductor-ops)to interact with op-conductor.

0 commit comments

Comments
 (0)