Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin CLI #169

Open
3 of 13 tasks
tock-ibm opened this issue May 23, 2023 · 1 comment
Open
3 of 13 tasks

Admin CLI #169

tock-ibm opened this issue May 23, 2023 · 1 comment
Assignees

Comments

@tock-ibm
Copy link
Contributor

tock-ibm commented May 23, 2023

The SDK provides a full set of admin tools. We want to create an admin CLI that clients can use to admin the Orion cluster w/o writing in Go.

  • Should compile to an executable called bcdbadmin
  • Get cluster config (to a folder specified by user)
  • Set cluster config (from a folder specified by user)
  • Set cluster config - cluster management tests
  • Should provide help to all commands
  • Load an admin private key it uses to sign the TX
  • Add a cluster node
  • Remove a cluster node
  • Update a cluster node
  • Add an admin
  • Remove an admin (cannot remove itself)
  • Update an admin (change certificate)
  • Update CAs (add/remove)

When getting a cluster config, the raw config object should be parsed and the respective certificates saved in a folder structure. The rest, could be saved in a yaml file, like we have for the initial shared config in the server package. The user can then replace some aspects of the configuration, for example change the Raft config,

You can draw inspiration from how the osnadmin was built in Fabric: https://github.com/hyperledger/fabric/tree/main/cmd/osnadmin

@tock-ibm
Copy link
Contributor Author

tock-ibm commented Nov 6, 2023

See PRs: #176 #178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants