Last updated
Last updated
The Weka system is now installed. Now let's learn how to view, manage and operate it using either the or the , and to a WekaFS filesystem.
The Weka CLI is installed on each Weka host and is available through the weka
command. It's possible tossh
one of the hosts and run the weka
command. This displays a list of all available top-level commands. You can go ahead and explore them.
The Weka GUI is accessible at port 14000. It can be accessed from any host or by using the cluster name. For example: https://weka01:14000
or https://WekaProd:14000
.
The Weka system supports a RESTful API. This is useful when automating the interaction with the Weka system and when integrating it into your workflows or monitoring systems.
The API is accessible at port 14000, via the /api/v2
URL, you can explore it via /api/v2/docs
when accessing from the cluster (e.g. https://weka01:14000/api/v2/docs
).
You must provide an access token to use the Weka REST API.
If you already obtained a refresh token, you can use the login/refresh
API to refresh the access token.
In response, you will get an access token (valid for 5 minutes), that can be used in the other APIs that require token authentication, along with the refresh token (valid for 1 year), for getting additional access tokens without using the username/password.
Now, that you have obtained an access token, you can call Weka REST API commands with it. For example, you can query the cluster status:
For more information about the CLI, refer to .
Note: If it's not possible to access the GUI, make sure that it has been opened in your firewall, as described on the page.
The initial default username/password is admin/admin, as described in It is enforced to change the admin password upon the first login.
For more information about the GUI, refer to .
Note: It is possible to set up external monitoring via Grafana. For more information, refer to .
Our static API documentation can be accessed from (the version can be selected from the drop-down list). The .json
file can also be used to create your client code, using an OpenAPI client generator.
To obtain access/refresh tokens via the CLI, refer to section (there you can also generate an access token with a longer expiry time). To obtain access/refresh tokens via the API, you can call the login
API, providing it a username
and password
.
This page describes the various ways to manage Weka system.