From ed8ceb4bc3c242e4a1275e602ff5b12e8f67f29f Mon Sep 17 00:00:00 2001 From: Elisamara Aoki Goncalves Date: Wed, 30 Oct 2024 12:43:03 +0000 Subject: [PATCH] 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 --- .../release/index-install-r7-8966076f0e81.rst | 7 ++ ...ify-the-kernel-in-the-cli-39f25220ec1b.rst | 97 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 doc/source/deploy_install_guides/release/modify-the-kernel-in-the-cli-39f25220ec1b.rst diff --git a/doc/source/deploy_install_guides/release/index-install-r7-8966076f0e81.rst b/doc/source/deploy_install_guides/release/index-install-r7-8966076f0e81.rst index c462e036a..7c2eb3a52 100644 --- a/doc/source/deploy_install_guides/release/index-install-r7-8966076f0e81.rst +++ b/doc/source/deploy_install_guides/release/index-install-r7-8966076f0e81.rst @@ -151,3 +151,10 @@ Reinstall a system or a host ansible_bootstrap_configs +Modify the Kernel +***************** + +.. toctree:: + :maxdepth: 1 + + modify-the-kernel-in-the-cli-39f25220ec1b diff --git a/doc/source/deploy_install_guides/release/modify-the-kernel-in-the-cli-39f25220ec1b.rst b/doc/source/deploy_install_guides/release/modify-the-kernel-in-the-cli-39f25220ec1b.rst new file mode 100644 index 000000000..2614f8605 --- /dev/null +++ b/doc/source/deploy_install_guides/release/modify-the-kernel-in-the-cli-39f25220ec1b.rst @@ -0,0 +1,97 @@ +.. 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 + +#. 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 < 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 + +#. 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 \ No newline at end of file