Open denisshevchenko opened 4 years ago
@jbgi ^
in epic: input-output-hk/iohk-monitoring-framework#323
Done.
Now required certificate and keys will be copied to explorer
machine automatically, during nixops deploy
command. They are:
/var/lib/keys/cardano-node-delegation-cert
- delegation certificate, will be passed to --delegation-certificate
CLI parameter./var/lib/keys/cardano-node-signing-gen
- first signing key delegate-keys.000.key
, will be passed to --sig-key
CLI parameter./var/lib/keys/cardano-node-signing-src
- second signing key delegate-keys.001.key
, will be passed to --sig-key
CLI parameter./var/lib/keys/cardano-node-signing-rec
- third signing key delegate-keys.002.key
, will be passed to --sig-key
CLI parameter.Only roles/explorer.nix
script was changed (both in local-dev-cluster
and in remote-dev-cluster
).
These keys will be passed to cardano-cli generate-txs
during its start (see https://github.com/input-output-hk/cardano-ops/issues/28).
Currently the cluster
local-dev-cluster
contains three machinesa
,b
andc
for core nodes andexplorer
machine forcardano-explorer-node
and for transaction generator as well. But we need both keys and certificates to be able to run transaction generator (because it should sign generated transactions). Particularly, we need:delegate-keys.000.key
delegate-keys.001.key
delegate-keys.002.key
delegation-cert.000.json
Currently these keys/certificate aren't presented on
explorer
machine by default, so they were copied toexplorer
machine manually, usingnixops scp
. So, nix scripts should be improved in order these keys/certificate will be published toexplorer
machine automatically during deployment.