docs/doc/source/deploy_install_guides/release/modify-the-kernel-in-the-cli-39f25220ec1b.rst
Elisamara Aoki Goncalves ed8ceb4bc3 Debian OS Improvements and Cleanup
Add section on how to configure kernel.

Story: 2010731
Task: 50142

Change-Id: I902d0475427aba31cc136e262c9a6ca83f83d364
Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com>
2024-10-31 13:40:55 +00:00

2.6 KiB

Modify the Kernel using the CLI

The Kernel can be configured during runtime as [ standard <-> lowlatency ].

  1. Lock the Controller or Worker Node.

    ~(keystone_admin)]$ system host-lock <controller | worker>
  2. Verify if there are no alarms.

    ~(keystone_admin)]$ fm alarm-list
  3. Modify the Kernel.

    ~(keystone_admin)]$ system host-kernel-modify <controller | worker> < standard | lowlatency>

    For example:

    ~(keystone_admin)]$ system host-kernel-modify controller-0 lowlatency
    ~(keystone_admin)]$ system host-kernel-show controller-0
    +--------------------+--------------+
    |Property            | Value        |
    +--------------------+--------------+
    | hostname           | controller-0 |
    | kernel_provisioned | lowlatency   |
    | kernel_running     | standard     |
    +--------------------+--------------+
  4. Unlock the Controller or Worker Node.

    ~(keystone_admin)]$ system host-unlock <controller | worker>
  5. Verify if there are no alarms, and if the Kernel is running.

    ~(keystone_admin)]$ fm alarm-list
    ~(keystone_admin)]$ system host-kernel-show controller-0
    +--------------------+--------------+
    |Property            | Value        |
    +--------------------+--------------+
    | hostname           | controller-0 |
    | kernel_provisioned | lowlatency   |
    | kernel_running     | lowlatency   |
    +--------------------+--------------+

Modify Kernel using the Ansible Bootstarp yaml

Add the following line to you localhost.yaml file that is used to bootstrap an controller If the line is missing the default kernel is standard.

kernel : lowlatency

Modify the Kernel using the Development Manager yaml

Add the following line to the deployment-config.yaml.

Default Kernel is standard.

Warning

The subfunctions section must contain lowlatency.

kernel: lowlatency
subfunctions:
- controller
- worker
- lowlatency