Skip to content

Commit

Permalink
docs: new features and updates for Backend.AI 22.03 (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonghyun Park <jpark@lablup.com>
  • Loading branch information
lizable and adrysn committed May 17, 2022
1 parent 031b965 commit cfe897c
Show file tree
Hide file tree
Showing 89 changed files with 1,969 additions and 1,690 deletions.
2 changes: 1 addition & 1 deletion docs/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.03.2
22.03.0
Binary file added docs/admin_menu/active_user_selection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/add_registry_dialog.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 98 additions & 13 deletions docs/admin_menu/admin_menu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,19 @@ already exists. User's name, password, activation state, etc. can be changed. Us

Each of the two items at the bottom of the dialog has the following functions.

* Active user?: Indicates the user's active status. Inactive users cannot log
in. You can toggle this option to change the user to active or inactive state.
Note that the inactive users are listed in the Inactive tab separately.
* User Status: Indicates the user's status. Inactive users cannot log
in. Before Verification is a status indicates that a user needs an additional
step to activate the account such as email verification or an approval from an
admin. Note that the inactive users are listed in the Inactive tab separately.

.. image:: active_user_selection.png
:width: 350
:align: center
* Require password change?: If the admin has chosen random passwords while
creating users in batches, this field can be set to ON to indicate that password change is required.
This is a kind of descriptive flag and has no effect on actual use.
creating users in batches, this field can be set to ON to indicate that
password change is required. The users will see the top bar that notify user
to update their password, but this is a kind of descriptive flag which has no
effect on actual use.

Inactivate user account
-----------------------
Expand All @@ -79,10 +86,10 @@ you can inactivate the user by clicking the OKAY button.
:align: center
:alt: Deactivating user account

To re-activate users, go to Users - Inactive tab, and edit the target user to
turn on "Active user?" field.
To re-activate users, go to Users - Inactive tab, and select the status of
the target user to ``Active``.

.. note::
.. warning::

Please note that inactivating the user changes all of credentials to be inactive,
but reactivating the user does not reactivate the inactivated credentials, since the user
Expand Down Expand Up @@ -234,6 +241,11 @@ About details of each option in resource policy dialog, see the description belo
* Concurrent Jobs: Maximum number of concurrent compute session per keypair.
If this value is set to 3, for example, users bound to this resource policy
cannot create more than 3 compute sessions simultaneously. (max value: 100)
* Session Lifetime (sec.): Limits the maximum lifetime of a compute session
from the reservation in the active status, including ``PENDING`` and
``RUNNING`` statuses. After this time, the session will be force-terminated
even if it is fully utilized. This will be useful to prevent the session
from running indefinitely.

* Folders
* Allowed hosts: Backend.AI supports many NFS mountpoint. This field limits
Expand All @@ -243,7 +255,7 @@ About details of each option in resource policy dialog, see the description belo
feature is only effective for special type of storages/filesystems such as
FlashBlade. (max value: 1024)
* Max. #: the maximum number of storage folders that can be created/invited.
(max value: 50)
(max value: 100)

In the resource policy list, check that the Resources value of the default
policy has been updated.
Expand Down Expand Up @@ -359,6 +371,9 @@ registry.
:align: center
:alt: Add registry dialog

You can also update the information of an existing registry, except the
hostname.

Even if you created a registry and update meta information, users cannot use the
images in the registry, immediately. Just as you had to register the allowed hosts
to use the storage host, you must register the registry in the allowed docker
Expand Down Expand Up @@ -412,21 +427,26 @@ each resource preset.
:alt: Create resource preset dialog


Query agent nodes
-----------------
Manage agent nodes
------------------

Superadmins can view the list of agent worker nodes, currently connected to
Backend.AI, by visiting the Resources page. You can check agent node's IP,
connecting time, actual resources currently in use, etc. The Web-UI does
not provide the function to manipulate agent nodes.

Query agent nodes
~~~~~~~~~~~~~~~~~

.. image:: agent_list.png
:alt: Agent node list

Also You can see exact usage about the resources in the agent worker node
by Click note icon in the Control panel.

.. image:: detailed_agent_node_usage_information.png
:width: 350
:align: center
:alt: Detailed agent node usage information

On Terminated tab, you can check the information of the agents that has been
Expand All @@ -437,6 +457,19 @@ that there's no disconnection or termination occurred.
.. image:: terminated_agent_list.png
:alt: Terminated agent node list

Set schedulable status of agent nodes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You may want to prevent new compute sessions from being scheduled to an Agent
service without stopping it. In this case, you can disable the Schedulable
status of the Agent. Then, you can block the creation of a new session while
preserving the existing sessions on the Agent.

.. image:: agent_settings.png
:width: 350
:align: center
:alt: Agent settings

.. _scheduling-methods:

Manage resource group
Expand All @@ -449,7 +482,7 @@ V100 agents into one resource group, and the remaining two P100 agents into
another resource group.

Adding a specific agent to a specific resource group is not currently handled in
the UI, and it can be done by editing agent config file from the installation
the Web-UI, and it can be done by editing agent config file from the installation
location and restart the agent daemon. Management of the resource groups is
possible in Resource Group tab of the Resource page.

Expand All @@ -465,8 +498,41 @@ Fairness, and it aims to provide resources as fair as possible for each user.
You can deactivate a resource policy by turning off Active Status.

.. image:: modify_resource_group.png
:width: 350
:align: center
:alt: Modify resource group dialog

WSProxy Server Address sets the WSProxy address for the resource group's Agents
to use. If you set a URL in this field, WSProxy will relay the traffic of an app
like Jupyter directly to the compute session via Agent bypassing Manager (v2
API). By enabling the v2 API, you can lower the Manager's burden when using app
services. This also achieves the better efficiency and scalability in deploying
the services. If a direct connection from WSProxy to the Agent node is not
available, however, please leave this field blank to fall back to the v1 API,
which relays the traffic through Manager in a traditional way.

The resource group has further Scheduler Options. The details are described below.

* Allowed session types:
Since user can choose the type of session, resource group can allow certain type of session.
You can allow both type, or allow interactive or batch only.
* Pending timeout:
A compute session will be canceled if it stays ``PENDING`` status for longer
than the Pending timeout. When you wish to prevent a session from remaining
PENDING indefinitely, set this time. Set this value to zero (0) if you do not
want to apply the pending timeout feature.
* The number of retries to skip pending session:
The number of retries the scheduler tries before skipping a PENDING session.
It can be configured to prevent the situation where one PENDING session blocks
the scheduling of the subsequent sessions indefinitely (Head-of-line blocking,
HOL). If no value is specified, the global value in Etcd will be used (``num
retries to skip``, default three times).

.. image:: modify_resource_group_scheduler_options.png
:width: 350
:align: center
:alt: Modify resource group scheduler options

You can create a new resource policy by clicking the CREATE button.
Likewise other creating options, you cannot create a resource policy with the name
that already exists, since name is the key value.
Expand Down Expand Up @@ -529,7 +595,22 @@ You can also change settings for scaling and plugins.
.. image:: system_setting_about_scaling_plugins.png
:alt: System setting about scaling and plugins

You can edit the configuration per job scheduler by clicking the config button.
When a user launches a multi-node cluster session, which is introduced at
version 20.09, Backend.AI will dynamically create an overlay network to support
private inter-node communication. Admins can set the value of the Maximum
Transmission Unit (MTU) for the overlay network, if it is certain that the value
will enhance the network speed.

.. image:: overlay_network_setting_dialog.png
:width: 350
:align: center
:alt: Overlay network setting dialog

.. seealso::
For more information about Backend.AI Cluster session, please refer to
:ref:`Backend.AI Cluster Compute Session<backendai-cluster-compute-session>` section.

You can edit the configuration per job scheduler by clicking the Scheduler's config button.
The values in the scheduler setting are the defaults to use when there is no scheduler
setting in each :ref:`resource group<scheduling-methods>`. If there is a resource
group-specific setting, this value will be ignored.
Expand All @@ -549,6 +630,10 @@ only possible when the scheduler is FIFO.
.. note::
We will continue to add broader range of setting controls.

.. note::
System settings are default settings. If resource group has certain value,
then it overrides configured value in system settings.


Server management
-----------------
Expand Down
Binary file modified docs/admin_menu/admin_user_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/agent_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/admin_menu/agent_settings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/create_resource_group.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/credential_list_tab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/credentials.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/detailed_agent_node_usage_information.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/export_csv_user.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/export_session_dialog.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/group_folder_listed_in_B.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/image_list_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/image_registries_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/information_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/information_page_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/maintenance_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/modify_resource_group.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/modify_resource_group_scheduler.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/admin_menu/modify_resource_preset.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/resource_policy_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/scaling_group_tab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/storage_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/admin_menu/system_setting_about_scaling_plugins.png
Binary file modified docs/admin_menu/terminated_agent_list.png
Binary file modified docs/admin_menu/update_image_resource_setting.png
Binary file modified docs/admin_menu/update_resource_policy.png
Binary file modified docs/admin_menu/user_update_dialog.png
2 changes: 2 additions & 0 deletions docs/cluster_session/cluster_session.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Backend.AI Cluster Compute Session
==================================

.. _backendai-cluster-compute-session:

.. note::
Cluster compute session feature is supported from Backend.AI server 20.09 or
higher.
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.local.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# -- Project information -----------------------------------------------------

project = 'Backend.AI Web-UI User Guide'
copyright = '2020, Lablup Inc.'
copyright = '2022, Lablup Inc.'
author = 'Lablup Inc.'
version = '21.03'
release = '21.03'
version = '22.03'
release = '22.03'

# -- General configuration ---------------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# -- Project information -----------------------------------------------------

project = 'Backend.AI Web-UI User Guide'
copyright = '2020, Lablup Inc.'
copyright = '2022, Lablup Inc.'
author = 'Lablup Inc.'
version = '21.03'
release = '21.03'
version = '22.03'
release = '22.03'

# -- General configuration ---------------------------------------------------

Expand Down
Binary file modified docs/import_run/import_github_repository.png
Binary file added docs/import_run/import_gitlab_repository.png
37 changes: 25 additions & 12 deletions docs/import_run/import_run.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=============================================
Import & Run notebooks and github repository
=============================================
=====================================================
Import & Run notebooks and web based Git repositories
=====================================================

Backend.AI supports executing Jupyter notebook files and importing github repository
on the fly. You don't need to create or download into your local storage and re-upload
it. The only thing you have to do is input a valid URL you want to execute or import,
Backend.AI supports executing Jupyter notebook files and importing web based Git repositories
such as GitHub and GitLab on the fly. You don't need to create or download into your local storage
and re-upload it. The only thing you have to do is input a valid URL you want to execute or import,
and click the button on the right side.

Import and run Jupyter notebooks
Expand Down Expand Up @@ -50,7 +50,7 @@ Create executable Jupyter notebook button
You can also create HTML or Markdown button about Jupyter notebook URL, too.
Input a valid Jupyter notebook URL and click CREATE button. It will show code blocks that directly
links to creating a session with notebook. You can see the badge code working by inserting it in
the Github repositories or where it supports html or markdown.
the GitHub repositories or where it supports html or markdown.

.. note::

Expand All @@ -61,15 +61,17 @@ the Github repositories or where it supports html or markdown.
:align: center
:alt: Create a Jupyter notebook button

Importing Github Repositories
.. _importing-github-repositories:

Importing GitHub Repositories
-----------------------------

Importing a Github repository is similar to import and running jupyter notebook.
Importing a GitHub repository is similar to import and running jupyter notebook.
All you have to do is to fill out with github repository URL and click GET TO
FOLDER button.
FOLDER button. If you can access to more than one storage host, you can select one from the list.

.. image:: import_github_repository.png
:alt: Import Github repository
:alt: Import GitHub repository

.. warning::

Expand All @@ -81,7 +83,18 @@ You can see the repository is successfully imported as a data folder with its
name.

.. image:: import_github_repository_result.png
:alt: Import Github repository result
:alt: Import GitHub repository result


Importing GitLab Repositories
-----------------------------

From 22.03, Backend.AI supports importing from GitLab. It's almost the same as
:ref:`Importing GitHub Repositories<importing-github-repositories>`,
but you need to explicitly set the branch name to import.

.. image:: import_gitlab_repository.png
:alt: Import GitLab repository

.. note::

Expand Down
Binary file modified docs/import_run/session_launcher_in_importing_notebook.png
Binary file modified docs/import_run/sessions_page_with_imported_notebook.png

0 comments on commit cfe897c

Please sign in to comment.