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

97 lines
2.6 KiB
ReStructuredText

.. WARNING: Add no lines of text between the label immediately following
.. and the title.
.. _modify-the-kernel-in-the-cli-39f25220ec1b:
===============================
Modify the Kernel using the CLI
===============================
.. rubric:: |context|
The Kernel can be configured during runtime as [ standard <-> lowlatency ].
.. rubric:: |proc|
#. Lock the |AIO| Controller or Worker Node.
.. code-block:: none
~(keystone_admin)]$ system host-lock <controller | worker>
#. Verify if there are no alarms.
.. code-block:: none
~(keystone_admin)]$ fm alarm-list
#. Modify the Kernel.
.. code-block:: none
~(keystone_admin)]$ system host-kernel-modify <controller | worker> < standard | lowlatency>
For example:
.. code-block:: none
~(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 |
+--------------------+--------------+
#. Unlock the |AIO| Controller or Worker Node.
.. code-block:: none
~(keystone_admin)]$ system host-unlock <controller | worker>
#. Verify if there are no alarms, and if the Kernel is running.
.. code-block:: none
~(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 |AIO| controller If the line is missing the default kernel is standard.
.. code-block:: none
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``.
.. code-block:: yaml
kernel: lowlatency
subfunctions:
- controller
- worker
- lowlatency