Closed igorbarinov closed 6 years ago
First part is addressed here https://github.com/poanetwork/poa-devops/pull/4 (checking that netstats service file exists)
Second part needs some more time to investigate.
Turned out to be rather straightforward:
you can add multiple ips under [hf-spec-change]
section and explicitly set their roles if needed:
[hf-spec-change]
192.0.2.1 poa_role=explorer
192.0.2.2
192.0.2.3 poa_role=moc
192.0.2.4
when poa_role
is not set explicitly, value from group_vars/all
is used as default.
Added a note in documentation.
I'm not sure is it a good solution or not. But it worked for me on explorer node
Also, it's not convenient to update multiple roles... you script should support enumeration of nodes and IP