From 28de19051bc8f9f7e8f2681ef1f6688b11c2305a Mon Sep 17 00:00:00 2001 From: egoncalv Date: Mon, 9 Aug 2021 15:49:37 -0300 Subject: [PATCH] Update: WRO Install Guides Added step for AIO Controllers and Workers. Fixed merge conflict. Added hostname and fixed command lines. Signed-off-by: egoncalv Change-Id: I39daa268ab0693d06f3891fe20cec80d15a86ec1 --- .../bare_metal/aio_duplex_extend.rst | 22 +++++++++++++ .../aio_duplex_install_kubernetes.rst | 33 +++++++++++++++++++ .../aio_simplex_install_kubernetes.rst | 17 ++++++++++ .../controller_storage_install_kubernetes.rst | 22 +++++++++++++ .../dedicated_storage_install_kubernetes.rst | 22 +++++++++++++ 5 files changed, 116 insertions(+) diff --git a/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_extend.rst b/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_extend.rst index b62a17bb6..20c8edc1b 100644 --- a/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_extend.rst +++ b/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_extend.rst @@ -168,6 +168,28 @@ Configure worker nodes done + #. **For OpenStack Only:** Optionally configure the number of host CPUs in + NOVA’s dedicated CPU Pool for this host. By default, all remaining host + CPUs, outside of platform and vswitch host CPUs, are assigned to NOVA’s + shared CPU Pool for this host. List the number of host cpus and function + assignments and configure the required dedicated host CPUs. + + .. code-block:: bash + + # list the number and function assignments for host’s CPUs + # ‘application’ function → in NOVA’s shared CPU Pool + # ‘application-isolated’ function → in NOVA’s dedicated CPU Pool + ~(keystone)admin)$ system host-cpu-list worker-0 + ~(keystone)admin)$ system host-cpu-list worker-1 + + # Configure the required number of host CPUs in NOVA’s dedicated CPU Pool for each processor/socket + for NODE in worker-0 worker-1; do + + system host-cpu-modify -f application-isolated -p0 10 $NODE + system host-cpu-modify -f application-isolated -p1 10 $NODE + + done + #. **For OpenStack only:** Setup disk partition for nova-local volume group, needed for stx-openstack nova ephemeral disks. diff --git a/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_install_kubernetes.rst b/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_install_kubernetes.rst index 6437ff36b..3dbaa88c0 100644 --- a/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_install_kubernetes.rst +++ b/doc/source/deploy_install_guides/r6_release/bare_metal/aio_duplex_install_kubernetes.rst @@ -380,6 +380,23 @@ Configure controller-0 After controller-0 is unlocked, changing vswitch_type requires locking and unlocking controller-0 to apply the change. + #. **For OpenStack Only:** Optionally configure the number of host CPUs in + NOVA’s dedicated CPU Pool for this host. By default, all remaining host + CPUs, outside of platform and vswitch host CPUs, are assigned to NOVA’s + shared CPU Pool for this host. List the number of host cpus and function + assignments and configure the required dedicated host CPUs. + + .. code-block:: bash + + # list the number and function assignments for host’s CPUs + # ‘application’ function → in NOVA’s shared CPU Pool + # ‘application-isolated’ function → in NOVA’s dedicated CPU Pool + ~(keystone)admin)$ system host-cpu-list controller-0 + + # Configure the required number of host CPUs in NOVA’s dedicated CPU Pool for each processor/socket + ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p0 10 controller-0 + ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p1 10 controller-0 + #. **For OpenStack only:** Set up disk partition for nova-local volume group, which is needed for stx-openstack nova ephemeral disks. @@ -793,6 +810,22 @@ Configure controller-1 # assign 10x 1G huge page on processor/numa-node 1 on controller-1 to applications system host-memory-modify -f application -1G 10 controller-1 1 + #. **For OpenStack Only:** Optionally configure the number of host CPUs in + NOVA’s dedicated CPU Pool for this host. By default, all remaining host + CPUs, outside of platform and vswitch host CPUs, are assigned to NOVA’s + shared CPU Pool for this host. List the number of host cpus and function + assignments and configure the required dedicated host CPUs. + + .. code-block:: bash + + # list the number and function assignments for host’s CPUs + # ‘application’ function → in NOVA’s shared CPU Pool + # ‘application-isolated’ function → in NOVA’s dedicated CPU Pool + ~(keystone)admin)$ system host-cpu-list controller-1 + + # Configure the required number of host CPUs in NOVA’s dedicated CPU Pool for each processor/socket + ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p0 10 controller-1 + ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p1 10 controller-1 #. **For OpenStack only:** Set up disk partition for nova-local volume group, which is needed for stx-openstack nova ephemeral disks. diff --git a/doc/source/deploy_install_guides/r6_release/bare_metal/aio_simplex_install_kubernetes.rst b/doc/source/deploy_install_guides/r6_release/bare_metal/aio_simplex_install_kubernetes.rst index bde6af605..0def787cf 100644 --- a/doc/source/deploy_install_guides/r6_release/bare_metal/aio_simplex_install_kubernetes.rst +++ b/doc/source/deploy_install_guides/r6_release/bare_metal/aio_simplex_install_kubernetes.rst @@ -351,6 +351,23 @@ The newly installed controller needs to be configured. After controller-0 is unlocked, changing vswitch_type requires locking and unlocking controller-0 to apply the change. + #. **For OpenStack Only:** Optionally configure the number of host CPUs in + NOVA’s dedicated CPU Pool for this host. By default, all remaining host + CPUs, outside of platform and vswitch host CPUs, are assigned to NOVA’s + shared CPU Pool for this host. List the number of host cpus and function + assignments and configure the required dedicated host CPUs. + + .. code-block:: bash + + # list the number and function assignments for host’s CPUs + # ‘application’ function → in NOVA’s shared CPU Pool + # ‘application-isolated’ function → in NOVA’s dedicated CPU Pool + ~(keystone)admin)$ system host-cpu-list controller-0 + + # Configure the required number of host CPUs in NOVA’s dedicated CPU Pool for each processor/socket + ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p0 10 controller-0 + ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p1 10 controller-0 + #. **For OpenStack only:** Set up disk partition for nova-local volume group, which is needed for stx-openstack nova ephemeral disks. diff --git a/doc/source/deploy_install_guides/r6_release/bare_metal/controller_storage_install_kubernetes.rst b/doc/source/deploy_install_guides/r6_release/bare_metal/controller_storage_install_kubernetes.rst index 21600ff0c..87b1768f8 100644 --- a/doc/source/deploy_install_guides/r6_release/bare_metal/controller_storage_install_kubernetes.rst +++ b/doc/source/deploy_install_guides/r6_release/bare_metal/controller_storage_install_kubernetes.rst @@ -695,6 +695,28 @@ Configure worker nodes done + #. **For OpenStack Only:** Optionally configure the number of host CPUs in + NOVA’s dedicated CPU Pool for this host. By default, all remaining host + CPUs, outside of platform and vswitch host CPUs, are assigned to NOVA’s + shared CPU Pool for this host. List the number of host cpus and function + assignments and configure the required dedicated host CPUs. + + .. code-block:: bash + + # list the number and function assignments for host’s CPUs + # ‘application’ function → in NOVA’s shared CPU Pool + # ‘application-isolated’ function → in NOVA’s dedicated CPU Pool + ~(keystone)admin)$ system host-cpu-list worker-0 + ~(keystone)admin)$ system host-cpu-list worker-1 + + # Configure the required number of host CPUs in NOVA’s dedicated CPU Pool for each processor/socket + for NODE in worker-0 worker-1; do + + system host-cpu-modify -f application-isolated -p0 10 $NODE + system host-cpu-modify -f application-isolated -p1 10 $NODE + + done + #. **For OpenStack only:** Setup disk partition for nova-local volume group, needed for stx-openstack nova ephemeral disks. diff --git a/doc/source/deploy_install_guides/r6_release/bare_metal/dedicated_storage_install_kubernetes.rst b/doc/source/deploy_install_guides/r6_release/bare_metal/dedicated_storage_install_kubernetes.rst index 4d43cf30a..5b3100a53 100644 --- a/doc/source/deploy_install_guides/r6_release/bare_metal/dedicated_storage_install_kubernetes.rst +++ b/doc/source/deploy_install_guides/r6_release/bare_metal/dedicated_storage_install_kubernetes.rst @@ -348,6 +348,28 @@ Configure worker nodes done + #. **For OpenStack Only:** Optionally configure the number of host CPUs in + NOVA’s dedicated CPU Pool for this host. By default, all remaining host + CPUs, outside of platform and vswitch host CPUs, are assigned to NOVA’s + shared CPU Pool for this host. List the number of host cpus and function + assignments and configure the required dedicated host CPUs. + + .. code-block:: bash + + # list the number and function assignments for host’s CPUs + # ‘application’ function → in NOVA’s shared CPU Pool + # ‘application-isolated’ function → in NOVA’s dedicated CPU Pool + ~(keystone)admin)$ system host-cpu-list worker-0 + ~(keystone)admin)$ system host-cpu-list worker-1 + + # Configure the required number of host CPUs in NOVA’s dedicated CPU Pool for each processor/socket + for NODE in worker-0 worker-1; do + + system host-cpu-modify -f application-isolated -p0 10 $NODE + system host-cpu-modify -f application-isolated -p1 10 $NODE + + done + #. **For OpenStack only:** Setup disk partition for nova-local volume group, needed for stx-openstack nova ephemeral disks.