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

TypeDB Cluster management #179

Open
lolski opened this issue Nov 2, 2021 · 2 comments
Open

TypeDB Cluster management #179

lolski opened this issue Nov 2, 2021 · 2 comments

Comments

@lolski
Copy link
Member

lolski commented Nov 2, 2021

This comment was originally posted by @haikalpribadi on 2018-01-08 19:10:36+01:00.

We should provide Cluster users with a dedicated Cluster console, as there will be lots of interactions for Cluster, as well as Cluster coordination commands.
 
Goals

  • To provide a command-line user interface targeted at system administrator
  • Must provide an interface for a sysadmin be able to orchestrate a cluster
  • The interface must align with the authentication requirements
     
    Approach For Starting A Server / Cluster
    Server / Cluster management can be performed using the following commands:
  1. cluster server start
  2. cluster server start --join $EXISTING_CLUSTER_IP (when it is ran, it will prompt for a superuser-level credential)
  3. cluster server start --join $EXISTING_CLUSTER_IP --user $USER --password $PASSWORD (supply superuser-level credentials directly)
     
    Approach For User Management
    This can be served once the user starts the console: cluster console. When it is ran, it will prompt for a superuser-level credential, and open a special console for user management. this is useful since you don't have to enter to command multiple times)
     
    Open Questions
  • Revisit the syntax of showing cluster status to a user
  • Revisit what information to display on the cluster status message
@lolski
Copy link
Member Author

lolski commented Nov 2, 2021

This comment was originally posted by @lolski on 2018-01-26 11:56:14+01:00.

Goals

  • To provide a command-line user interface targeted at system administrator
  • Must provide an interface for a sysadmin be able to orchestrate a cluster
  • The interface must align with the authentication requirements
     
    Approach
  • "typedb cluster configure " - tell typedb to join a cluster. it should communicate with the cluster via the specified listen adress
  • "typedb cluster status" - display cluster status
  • "typedb cluster status " - display status of the specified node
     
    Open Questions
  • Revisit the syntax of configuring a cluster
  • Revisit the syntax of showing cluster status to a user
  • Revisit what information to display on the cluster status message

@lolski
Copy link
Member Author

lolski commented Nov 2, 2021

The proposal above was made a long time ago back when the product was still called KGMS. The general idea is still valid, however, we have to update the design according to what we have / will have in TypeDB Cluster.

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

No branches or pull requests

1 participant