The Boot Orchestration Service (BOS) is responsible for booting, configuring, and shutting down collections of nodes. This is accomplished using BOS session templates and sessions.
BOS users create a BOS session template, and then create a BOS session, which applies an action to the session template. The available actions are boot, reboot, shutdown, and configure. The session can be monitored to determine the status of the request.
For more information, see BOS Workflows.
BOS is made up of a number of different sub-services that combine to provide its functionality.
The API is the point of contact for the user and all other services that want to query or update BOS data.
For more information, see BOS API.
BOS data is stored in an etcd database.
For more information, see BOS Database.
BOS uses a Boot Orchestration Agent (BOA) to fulfills boot requests. After a BOS session is created, BOS will create a Kubernetes BOA job to apply an action. BOA coordinates with the underlying subsystems to complete the action requested.
For more information, see Boot Orchestration Agent (BOA).
The source for BOA is located in the
Cray-HPE/boa open source GitHub repository.
The Cray CLI supports BOS commands, providing a more user friendly front-end for the BOS API.
The first CLI argument specifies the BOS version.
For ease of interactive CLI use, specifying the BOS version is optional; it defaults to v1.
However, explicitly specifying the version in scripts or documentation is highly recommended,
because the default BOS version for the CLI is subject to change.
For context-specific usage information, append --help to the CLI command. For example:
cray bos --helpcray bos v1 --helpcray bos session --helpcray bos v1 sessiontemplate list --helpAPI information, including the version, can be found with the following command:
ncn-mw# cray bos list --format json
Example output:
{
"links": [
{
"href": "https://api-gw-service-nmn.local/apis/bos/v1",
"rel": "self"
}
],
"major": "1",
"minor": "0",
"patch": "0"
}
This is a forewarning of the following changes to the BOS API in CSM 1.2.0:
--template-body option for the Cray CLI BOS command is deprecated./v1/session/{session_id}/status/{boot_set_name}) is 200.
There is only one supported API version for BOS – v1. In CSM 1.3, BOS v1 is deprecated and BOS v2 is introduced. BOS v1 is removed in CSM 1.6.
BOS depends on each of the following services to complete its tasks:
The source code and Helm charts for BOS are located in the following open source GitHub repositories:
| Repository | Contents |
|---|---|
Cray-HPE/bos |
BOS API server, API specification, and database. |
Cray-HPE/boa |
BOA. |
Cray-HPE/craycli |
The Cray CLI, including the BOS subcommands. |
Cray-HPE/cms-tools |
Health checks and utilities for several CSM services, including BOS. |