Fixed procedural steps
Change-Id: I2b6a4ddf992dab5810883ac991e87160f8f8388d Signed-off-by: Ngairangbam Mili <ngairangbam.mili@windriver.com>
This commit is contained in:
parent
f96f1239d3
commit
71dd4cc4b1
@ -30,48 +30,48 @@ refer to `https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ <ht
|
||||
|
||||
.. _assigning-node-labels-from-the-cli-steps-s5l-jsy-thb:
|
||||
|
||||
- To assign a label to a host, use the :command:`host-label-assign` command.
|
||||
To assign a label to a host, use the :command:`host-label-assign` command.
|
||||
|
||||
This command accepts a list of labels to assign. There can be one or
|
||||
many key-value pairs. Each added label will be returned.
|
||||
This command accepts a list of labels to assign. There can be one or
|
||||
many key-value pairs. Each added label will be returned.
|
||||
|
||||
The command format is:
|
||||
The command format is:
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
system host-label-assign (<hostName> | <hostID>) <key>=<value> [<key>=<value> ...]
|
||||
system host-label-assign (<hostName> | <hostID>) <key>=<value> [<key>=<value> ...]
|
||||
|
||||
For example:
|
||||
For example:
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone)admin)$ system host-label-assign controller-0 openstack-compute-node=enabled openvswitch=enabled sriov=enabled
|
||||
+-------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+--------------------------------------+
|
||||
| uuid | 2909d775-cd6c-4bc1-8268-27499fe38d5e |
|
||||
| host_uuid | 1f00d8a4-f520-41ee-b608-1b50054b1cd8 |
|
||||
| label_key | openstack-compute-node |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
+-------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+--------------------------------------+
|
||||
| uuid | 8dafcfcf-e417-4fd0-8829-8baadb3a3981 |
|
||||
| host_uuid | 1f00d8a4-f520-41ee-b608-1b50054b1cd8 |
|
||||
| label_key | openvswitch |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
+-------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+--------------------------------------+
|
||||
| uuid | d8e29e62-4173-4445-886c-9a95b0d6fee1 |
|
||||
| host_uuid | 1f00d8a4-f520-41ee-b608-1b50054b1cd8 |
|
||||
| label_key | SRIOV |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
~(keystone)admin)$ system host-label-assign controller-0 openstack-compute-node=enabled openvswitch=enabled sriov=enabled
|
||||
+-------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+--------------------------------------+
|
||||
| uuid | 2909d775-cd6c-4bc1-8268-27499fe38d5e |
|
||||
| host_uuid | 1f00d8a4-f520-41ee-b608-1b50054b1cd8 |
|
||||
| label_key | openstack-compute-node |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
+-------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+--------------------------------------+
|
||||
| uuid | 8dafcfcf-e417-4fd0-8829-8baadb3a3981 |
|
||||
| host_uuid | 1f00d8a4-f520-41ee-b608-1b50054b1cd8 |
|
||||
| label_key | openvswitch |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
+-------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-------------+--------------------------------------+
|
||||
| uuid | d8e29e62-4173-4445-886c-9a95b0d6fee1 |
|
||||
| host_uuid | 1f00d8a4-f520-41ee-b608-1b50054b1cd8 |
|
||||
| label_key | SRIOV |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
|
||||
|
||||
.. note::
|
||||
You can look up host names and IDs using the :command:`host-list`
|
||||
command.
|
||||
.. note::
|
||||
|
||||
You can look up host names and IDs using the :command:`host-list` command.
|
||||
|
@ -22,25 +22,25 @@ to `https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ <https://
|
||||
|
||||
.. _listing-node-labels-from-the-cli-steps-s5l-jsy-thb:
|
||||
|
||||
- To list labels currently assigned to a host, use the
|
||||
:command:`host-label-list` command.
|
||||
To list labels currently assigned to a host, use the
|
||||
:command:`host-label-list` command.
|
||||
|
||||
The command format is:
|
||||
The command format is:
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
system host-label-list (<hostName> | <hostID>)
|
||||
system host-label-list (<hostName> | <hostID>)
|
||||
|
||||
For example:
|
||||
For example:
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone)admin)$ system host-label-list controller-0
|
||||
+--------------+-------------------------+-------------+
|
||||
| hostname | label key | label value |
|
||||
+--------------+-------------------------+-------------+
|
||||
| controller-0 | openstack-compute-node | enabled |
|
||||
| controller-0 | openstack-control-plane | enabled |
|
||||
| controller-0 | openvswitch | enabled |
|
||||
| controller-0 | SRIOV | enabled |
|
||||
+--------------+-------------------------+-------------+
|
||||
~(keystone)admin)$ system host-label-list controller-0
|
||||
+--------------+-------------------------+-------------+
|
||||
| hostname | label key | label value |
|
||||
+--------------+-------------------------+-------------+
|
||||
| controller-0 | openstack-compute-node | enabled |
|
||||
| controller-0 | openstack-control-plane | enabled |
|
||||
| controller-0 | openvswitch | enabled |
|
||||
| controller-0 | SRIOV | enabled |
|
||||
+--------------+-------------------------+-------------+
|
||||
|
@ -29,22 +29,21 @@ to `https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ <https://
|
||||
|
||||
.. _removing-node-labels-from-the-cli-steps-s5l-jsy-thb:
|
||||
|
||||
- To remove a label from a host, use the :command:`host-label-remove`
|
||||
command.
|
||||
To remove a label from a host, use the :command:`host-label-remove` command.
|
||||
|
||||
One or more labels can be removed.
|
||||
One or more labels can be removed.
|
||||
|
||||
The command format is:
|
||||
The command format is:
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
system host-label-remove (<hostName> | <hostID>) <key> [<key> ...]
|
||||
system host-label-remove (<hostName> | <hostID>) <key> [<key> ...]
|
||||
|
||||
For example:
|
||||
For example:
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone)admin)$ system host-label-remove worker-0 openstack-compute-node openvswitch sriov
|
||||
Deleted host label openstack-compute-node for host worker-0
|
||||
Deleted host label openvswitch for host worker-0
|
||||
Deleted host label SRIOV for host worker-0
|
||||
~(keystone)admin)$ system host-label-remove worker-0 openstack-compute-node openvswitch sriov
|
||||
Deleted host label openstack-compute-node for host worker-0
|
||||
Deleted host label openvswitch for host worker-0
|
||||
Deleted host label SRIOV for host worker-0
|
||||
|
@ -117,14 +117,14 @@ You can activate the Intel |PMU| plugin with the following command:
|
||||
.. code-block:: none
|
||||
|
||||
[sysadmin@controller-0 ~(keystone_admin)]$ system helm-override-update power-metrics telegraf power-metrics --set pmu_enabled=true
|
||||
+----------------+-------------------+
|
||||
| Property | Value |
|
||||
+----------------+-------------------+
|
||||
| name | telegraf |
|
||||
| namespace | power-metrics |
|
||||
| user_overrides | pmu_enabled: true |
|
||||
| | |
|
||||
+----------------+-------------------+
|
||||
+----------------+-------------------+
|
||||
| Property | Value |
|
||||
+----------------+-------------------+
|
||||
| name | telegraf |
|
||||
| namespace | power-metrics |
|
||||
| user_overrides | pmu_enabled: true |
|
||||
| | |
|
||||
+----------------+-------------------+
|
||||
|
||||
Override Input Plugins
|
||||
----------------------
|
||||
@ -666,4 +666,4 @@ a container, it is exposed as ``container_perf_events_total``.
|
||||
|
||||
It also reports the scaling ratio, which calculates the ratio of performance
|
||||
events in a container, it is exposed as
|
||||
``container_perf_events_scaling_ration``.
|
||||
``container_perf_events_scaling_ration``.
|
||||
|
@ -93,10 +93,10 @@ to platform networks using the CLI.
|
||||
+-----------------+--------------------------------------+
|
||||
|
||||
~(keystone_admin)$ system host-if-list controller-0
|
||||
+------------+----------+-----------+----------+------+---------------+-------------+---------------------------------+------------+
|
||||
+----------+----------+-----------+----------+------+---------------+-------------+---------------------------------+------------+
|
||||
| uuid | name | class | type | vlan | ports | uses i/f | used by i/f | attributes |
|
||||
| | | | | id | | | | |
|
||||
+------------+----------+-----------+----------+------+---------------+-------------+---------------------------------+------------+
|
||||
+----------+----------+-----------+----------+------+---------------+-------------+---------------------------------+------------+
|
||||
| 0c4b1cc | sriov00 | pci-sriov | vf | None | [] | [u'sriov0'] | [] | MTU=1500 |
|
||||
| 1a51169 | pxeboot0 | platform | ethernet | None | [] | [u'sriov0'] | [] | MTU=1500 |
|
||||
| 3a191c4 | oam0 | platform | vlan | 200 | [] | [u'sriov0'] | [] | MTU=1500 |
|
||||
@ -107,7 +107,7 @@ to platform networks using the CLI.
|
||||
| | | | | | | | , u'mgmt0'] | |
|
||||
| | | | | | | | | |
|
||||
| e7bd04f | cluster0 | platform | vlan | 158 | [] | [u'sriov0'] | [] | MTU=1500 |
|
||||
+------------+----------+-----------+----------+------+---------------+-------------+---------------------------------+------------+
|
||||
+----------+----------+-----------+----------+------+---------------+-------------+---------------------------------+------------+
|
||||
|
||||
|
||||
#. Attach the ethernet interface to a platform network.
|
||||
|
@ -23,7 +23,7 @@ types of NIC classes (``pci-sriov``, ``data``, ``pci-passthrough``, and
|
||||
|
||||
~(keystone_admin)]$ system host-lock <hostname>
|
||||
|
||||
#. Wait for the host to be reported as locked.
|
||||
Wait for the host to be reported as locked.
|
||||
|
||||
#. Power down the host manually and make the NIC card replacement.
|
||||
|
||||
|
@ -89,7 +89,7 @@ See |datanet-doc|: :ref:`Add Data Networks using the CLI
|
||||
| host_uuid | 8c28fe10-8849-4597-8a5d-89a97ea8febf |
|
||||
| label_key | sriovdp-vhostnet |
|
||||
| label_value | enabled |
|
||||
+-------------+--------------------------------------+
|
||||
+-------------+--------------------------------------+
|
||||
|
||||
#. Identify the interfaces to be configured.
|
||||
|
||||
@ -162,7 +162,7 @@ See |datanet-doc|: :ref:`Add Data Networks using the CLI
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone_admin)$ system host-if-modify -m 1500 -n sriov1 -c pci-sriov -N 16 compute-0 ens787f3
|
||||
+----------------+--------------------------------------+
|
||||
+-----------------+--------------------------------------+
|
||||
| Property | Value |
|
||||
+-----------------+--------------------------------------+
|
||||
| ifname | sriov1 |
|
||||
|
@ -35,23 +35,23 @@ the system API and thru deployment manager.
|
||||
|
||||
System API:
|
||||
|
||||
#. Lock hosts
|
||||
#. Lock hosts.
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
system host-lock <host>
|
||||
system host-lock <host>
|
||||
|
||||
#. Set cores reserved to platform
|
||||
#. Set cores reserved to platform.
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
system host-cpu-modify -f platform -p<processor#> <#-of-physical-cores> <host>
|
||||
system host-cpu-modify -f platform -p<processor#> <#-of-physical-cores> <host>
|
||||
|
||||
#. Unlock host
|
||||
#. Unlock host.
|
||||
|
||||
.. code-block:: none
|
||||
.. code-block:: none
|
||||
|
||||
system host-unlock <host>
|
||||
system host-unlock <host>
|
||||
|
||||
.. only:: partner
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user