CLI: View Server Status

Comments

4 comments

  • Avatar
    Jmodran

    This script, along with the start and stop scripts, are neither on the management host nor the database servers.  Have they been removed in favor of using the 's9s' command?

     

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    Oh, that is very outdated information. May I ask where you did found this?
    Those scripts are deprecated in favour of the s9s command line tool.

     

    BR
    johan

    0
    Comment actions Permalink
  • Avatar
    Johan

    Okay, i have found it, that section is deprecated. We will clean this up. Sorry about this.

    For the s9s CLI you need a user to authenticate against the cmon service. On the controller host:

    s9s user --create --generate-key --controller="https://localhost:9501" --group=admins  USERNAME

    Replace USERNAME with a proper user name that you want to use.

    Then you can e.g do:

    s9s node --list --long

    BR
    johan

    0
    Comment actions Permalink
  • Avatar
    Jmodran

    Ya, when I couldn't find the scripts I looked at the online docs and section 6.8 references the CLI and the 's9s-tools' package.  I created an account and can run commands.

    Also, FYI, when I first look at the online documentation, under 's9s node', the commands stop, start, restart are missing, whereas when I do a MAN page on the management system, the commands are there.

    Thank again!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk