Install guide issues

Worked on bugs

Fixed upstream command and added partner only

Applied same updates to other install guides as requested

Applied updated to r6_release

Fixed indentation

Applied requested changes in commands

Signed-off-by: egoncalv <elisamaraaoki.goncalves@windriver.com>
Change-Id: I7bca7253c288e335d035a621afdb86e3790ebb55
This commit is contained in:
egoncalv
2021-07-27 16:29:46 -03:00
parent 5626ddfe04
commit 541989253c
9 changed files with 167 additions and 114 deletions

View File

@@ -0,0 +1,5 @@
.. ref1-begin
.. ref1-end
.. ref2-begin
.. ref2-end

View File

@@ -0,0 +1,2 @@
.. ref1-begin
.. ref1-end

View File

@@ -0,0 +1,2 @@
.. ref1-begin
.. ref1-end

View File

@@ -264,7 +264,7 @@ Configure controller-0
system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org
To configure |PTP| instead of |NTP|, see ref:`PTP Server Configuration To configure |PTP| instead of |NTP|, see :ref:`PTP Server Configuration
<ptp-server-config-index>`. <ptp-server-config-index>`.
.. only:: openstack .. only:: openstack
@@ -281,6 +281,8 @@ Configure controller-0
#. **For OpenStack only:** Assign OpenStack host labels to controller-0 in #. **For OpenStack only:** Assign OpenStack host labels to controller-0 in
support of installing the stx-openstack manifest and helm-charts later. support of installing the stx-openstack manifest and helm-charts later.
.. only:: starlingx
:: ::
system host-label-assign controller-0 openstack-control-plane=enabled system host-label-assign controller-0 openstack-control-plane=enabled
@@ -288,6 +290,12 @@ Configure controller-0
system host-label-assign controller-0 openvswitch=enabled system host-label-assign controller-0 openvswitch=enabled
system host-label-assign controller-0 sriov=enabled system host-label-assign controller-0 sriov=enabled
.. only:: partner
.. include:: /_includes/aio_duplex_install_kubernetes.rest
:start-after: ref1-begin
:end-before: ref1-end
#. **For OpenStack only:** Due to the additional openstack services running #. **For OpenStack only:** Due to the additional openstack services running
on the |AIO| controller platform cores, a minimum of 4 platform cores are on the |AIO| controller platform cores, a minimum of 4 platform cores are
required, 6 platform cores are recommended. required, 6 platform cores are recommended.
@@ -306,9 +314,9 @@ Configure controller-0
.. code-block:: bash .. code-block:: bash
# check existing size of docker fs # check existing size of docker fs
system host-fs-list controller-1 system host-fs-list controller-0
# check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located # check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located
system host-lvg-list controller-1 system host-lvg-list controller-0
# if existing docker fs size + cgts-vg available space is less than 60G, # if existing docker fs size + cgts-vg available space is less than 60G,
# you will need to add a new disk partition to cgts-vg # you will need to add a new disk partition to cgts-vg
@@ -316,22 +324,22 @@ Configure controller-0
# ( if not use another unused disk ) # ( if not use another unused disk )
# Get device path of ROOT DISK # Get device path of ROOT DISK
system host-show controller-1 --nowrap | fgrep rootfs system host-show controller-0 --nowrap | fgrep rootfs
# Get UUID of ROOT DISK by listing disks # Get UUID of ROOT DISK by listing disks
system host-disk-list controller-1 system host-disk-list controller-0
# Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response # Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response
# Use a partition size such that youll be able to increase docker fs size from 30G to 60G # Use a partition size such that youll be able to increase docker fs size from 30G to 60G
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol controller-1 <root-disk-uuid> ${PARTITION_SIZE} system system host-disk-partition-add -t lvm_phys_vol controller-0 <root-disk-uuid> ${PARTITION_SIZE}
# Add new partition to cgts-vg local volume group # Add new partition to cgts-vg local volume group
system host-pv-add controller-1 cgts-vg <NEW_PARTITION_UUID> system host-pv-add controller-0 cgts-vg <NEW_PARTITION_UUID>
sleep 2 # wait for partition to be added sleep 2 # wait for partition to be added
# Increase docker filesystem to 60G # Increase docker filesystem to 60G
system host-fs-modify controller-1 docker=60 system host-fs-modify controller-0 docker=60
#. **For OpenStack only:** Configure the system setting for the vSwitch. #. **For OpenStack only:** Configure the system setting for the vSwitch.
@@ -445,7 +453,7 @@ Configure controller-0
# root disk, if that is what you chose above. # root disk, if that is what you chose above.
# Additional PARTITION(s) from additional disks can be added later if required. # Additional PARTITION(s) from additional disks can be added later if required.
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to nova-local local volume group # Add new partition to nova-local local volume group
system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID> system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID>
@@ -484,8 +492,6 @@ Configure controller-0
# Create Data Networks that vswitch 'data' interfaces will be connected to # Create Data Networks that vswitch 'data' interfaces will be connected to
DATANET0='datanet0' DATANET0='datanet0'
DATANET1='datanet1' DATANET1='datanet1'
system datanetwork-add ${DATANET0} vlan
system datanetwork-add ${DATANET1} vlan
# Assign Data Networks to Data Interfaces # Assign Data Networks to Data Interfaces
system interface-datanetwork-assign ${NODE} <data0-if-uuid> ${DATANET0} system interface-datanetwork-assign ${NODE} <data0-if-uuid> ${DATANET0}
@@ -599,10 +605,6 @@ For host-based Ceph:
# List OSD storage devices # List OSD storage devices
system host-stor-list controller-0 system host-stor-list controller-0
# Add disk as an OSD storage
system host-stor-add controller-0 osd <disk-uuid>
.. only:: starlingx .. only:: starlingx
For Rook container-based Ceph: For Rook container-based Ceph:
@@ -720,6 +722,8 @@ Configure controller-1
#. **For OpenStack only:** Assign OpenStack host labels to controller-1 in #. **For OpenStack only:** Assign OpenStack host labels to controller-1 in
support of installing the |prefix|-openstack manifest and helm-charts later. support of installing the |prefix|-openstack manifest and helm-charts later.
.. only:: starlingx
:: ::
system host-label-assign controller-1 openstack-control-plane=enabled system host-label-assign controller-1 openstack-control-plane=enabled
@@ -727,6 +731,12 @@ Configure controller-1
system host-label-assign controller-1 openvswitch=enabled system host-label-assign controller-1 openvswitch=enabled
system host-label-assign controller-1 sriov=enabled system host-label-assign controller-1 sriov=enabled
.. only:: partner
.. include:: /_includes/aio_duplex_install_kubernetes.rest
:start-after: ref2-begin
:end-before: ref2-end
#. **For OpenStack only:** Due to the additional openstack services running #. **For OpenStack only:** Due to the additional openstack services running
on the |AIO| controller platform cores, a minimum of 4 platform cores are on the |AIO| controller platform cores, a minimum of 4 platform cores are
required, 6 platform cores are recommended. required, 6 platform cores are recommended.
@@ -826,6 +836,8 @@ Configure controller-1
.. code-block:: bash .. code-block:: bash
export NODE=controller-1
# Create nova-local local volume group # Create nova-local local volume group
system host-lvg-add ${NODE} nova-local system host-lvg-add ${NODE} nova-local
@@ -847,7 +859,7 @@ Configure controller-1
# Additional PARTITION(s) from additional disks can be added later if required. # Additional PARTITION(s) from additional disks can be added later if required.
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to nova-local local volume group # Add new partition to nova-local local volume group
system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID> system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID>
@@ -885,8 +897,6 @@ Configure controller-1
# Create Data Networks that vswitch 'data' interfaces will be connected to # Create Data Networks that vswitch 'data' interfaces will be connected to
DATANET0='datanet0' DATANET0='datanet0'
DATANET1='datanet1' DATANET1='datanet1'
system datanetwork-add ${DATANET0} vlan
system datanetwork-add ${DATANET1} vlan
# Assign Data Networks to Data Interfaces # Assign Data Networks to Data Interfaces
system interface-datanetwork-assign ${NODE} <data0-if-uuid> ${DATANET0} system interface-datanetwork-assign ${NODE} <data0-if-uuid> ${DATANET0}
@@ -932,8 +942,6 @@ Optionally Configure PCI-SRIOV Interfaces
# will be connected to # will be connected to
DATANET0='datanet0' DATANET0='datanet0'
DATANET1='datanet1' DATANET1='datanet1'
system datanetwork-add ${DATANET0} vlan
system datanetwork-add ${DATANET1} vlan
# Assign Data Networks to PCI-SRIOV Interfaces # Assign Data Networks to PCI-SRIOV Interfaces
system interface-datanetwork-assign ${NODE} <sriov0-if-uuid> ${DATANET0} system interface-datanetwork-assign ${NODE} <sriov0-if-uuid> ${DATANET0}
@@ -982,10 +990,6 @@ For host-based Ceph:
# List OSD storage devices # List OSD storage devices
system host-stor-list controller-1 system host-stor-list controller-1
# Add disk as an OSD storage
system host-stor-add controller-1 osd <disk-uuid>
.. only:: starlingx .. only:: starlingx
For Rook container-based Ceph: For Rook container-based Ceph:

View File

@@ -259,6 +259,9 @@ The newly installed controller needs to be configured.
#. **For OpenStack only:** Assign OpenStack host labels to controller-0 in #. **For OpenStack only:** Assign OpenStack host labels to controller-0 in
support of installing the stx-openstack manifest and helm-charts later. support of installing the stx-openstack manifest and helm-charts later.
.. only:: starlingx
:: ::
system host-label-assign controller-0 openstack-control-plane=enabled system host-label-assign controller-0 openstack-control-plane=enabled
@@ -266,6 +269,12 @@ The newly installed controller needs to be configured.
system host-label-assign controller-0 openvswitch=enabled system host-label-assign controller-0 openvswitch=enabled
system host-label-assign controller-0 sriov=enabled system host-label-assign controller-0 sriov=enabled
.. only:: partner
.. include:: /_includes/aio_simplex_install_kubernetes.rest
:start-after: ref1-begin
:end-before: ref1-end
#. **For OpenStack only:** Due to the additional openstack services running #. **For OpenStack only:** Due to the additional openstack services running
on the |AIO| controller platform cores, a minimum of 4 platform cores are on the |AIO| controller platform cores, a minimum of 4 platform cores are
required, 6 platform cores are recommended. required, 6 platform cores are recommended.
@@ -284,9 +293,9 @@ The newly installed controller needs to be configured.
.. code-block:: bash .. code-block:: bash
# check existing size of docker fs # check existing size of docker fs
system host-fs-list controller-1 system host-fs-list controller-0
# check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located # check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located
system host-lvg-list controller-1 system host-lvg-list controller-0
# if existing docker fs size + cgts-vg available space is less than 60G, # if existing docker fs size + cgts-vg available space is less than 60G,
# you will need to add a new disk partition to cgts-vg # you will need to add a new disk partition to cgts-vg
@@ -294,22 +303,22 @@ The newly installed controller needs to be configured.
# ( if not use another unused disk ) # ( if not use another unused disk )
# Get device path of ROOT DISK # Get device path of ROOT DISK
system host-show controller-1 --nowrap | fgrep rootfs system host-show controller-0 --nowrap | fgrep rootfs
# Get UUID of ROOT DISK by listing disks # Get UUID of ROOT DISK by listing disks
system host-disk-list controller-1 system host-disk-list controller-0
# Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response # Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response
# Use a partition size such that youll be able to increase docker fs size from 30G to 60G # Use a partition size such that youll be able to increase docker fs size from 30G to 60G
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol controller-1 <root-disk-uuid> ${PARTITION_SIZE} system hostdisk-partition-add -t lvm_phys_vol controller-0 <root-disk-uuid> ${PARTITION_SIZE}
# Add new partition to cgts-vg local volume group # Add new partition to cgts-vg local volume group
system host-pv-add controller-1 cgts-vg <NEW_PARTITION_UUID> system host-pv-add controller-0 cgts-vg <NEW_PARTITION_UUID>
sleep 2 # wait for partition to be added sleep 2 # wait for partition to be added
# Increase docker filesystem to 60G # Increase docker filesystem to 60G
system host-fs-modify controller-1 docker=60 system host-fs-modify controller-0 docker=60
#. **For OpenStack only:** Configure the system setting for the vSwitch. #. **For OpenStack only:** Configure the system setting for the vSwitch.
@@ -420,7 +429,7 @@ The newly installed controller needs to be configured.
# Additional PARTITION(s) from additional disks can be added later if required. # Additional PARTITION(s) from additional disks can be added later if required.
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to nova-local local volume group # Add new partition to nova-local local volume group
system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID> system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID>

View File

@@ -588,6 +588,9 @@ OpenStack-specific host configuration
#. **For OpenStack only:** Assign OpenStack host labels to the worker nodes in #. **For OpenStack only:** Assign OpenStack host labels to the worker nodes in
support of installing the stx-openstack manifest and helm-charts later. support of installing the stx-openstack manifest and helm-charts later.
.. only:: starlingx
.. code-block:: bash .. code-block:: bash
for NODE in worker-0 worker-1; do for NODE in worker-0 worker-1; do
@@ -596,6 +599,12 @@ OpenStack-specific host configuration
system host-label-assign $NODE sriov=enabled system host-label-assign $NODE sriov=enabled
done done
.. only:: partner
.. include:: /_includes/rook_storage_install_kubernetes.rest
:start-after: ref1-begin
:end-before: ref1-end
#. **For OpenStack only:** Set up disk partition for nova-local volume group, #. **For OpenStack only:** Set up disk partition for nova-local volume group,
which is needed for stx-openstack nova ephemeral disks. which is needed for stx-openstack nova ephemeral disks.

View File

@@ -264,7 +264,7 @@ Configure controller-0
system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org
To configure |PTP| instead of |NTP|, see ref:`PTP Server Configuration To configure |PTP| instead of |NTP|, see :ref:`PTP Server Configuration
<ptp-server-config-index>`. <ptp-server-config-index>`.
.. only:: openstack .. only:: openstack
@@ -281,6 +281,8 @@ Configure controller-0
#. **For OpenStack only:** Assign OpenStack host labels to controller-0 in #. **For OpenStack only:** Assign OpenStack host labels to controller-0 in
support of installing the stx-openstack manifest and helm-charts later. support of installing the stx-openstack manifest and helm-charts later.
.. only:: starlingx
:: ::
system host-label-assign controller-0 openstack-control-plane=enabled system host-label-assign controller-0 openstack-control-plane=enabled
@@ -288,6 +290,12 @@ Configure controller-0
system host-label-assign controller-0 openvswitch=enabled system host-label-assign controller-0 openvswitch=enabled
system host-label-assign controller-0 sriov=enabled system host-label-assign controller-0 sriov=enabled
.. only:: partner
.. include:: /_includes/aio_duplex_install_kubernetes.rest
:start-after: ref1-begin
:end-before: ref1-end
#. **For OpenStack only:** Due to the additional openstack services running #. **For OpenStack only:** Due to the additional openstack services running
on the |AIO| controller platform cores, a minimum of 4 platform cores are on the |AIO| controller platform cores, a minimum of 4 platform cores are
required, 6 platform cores are recommended. required, 6 platform cores are recommended.
@@ -306,9 +314,9 @@ Configure controller-0
.. code-block:: bash .. code-block:: bash
# check existing size of docker fs # check existing size of docker fs
system host-fs-list controller-1 system host-fs-list controller-0
# check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located # check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located
system host-lvg-list controller-1 system host-lvg-list controller-0
# if existing docker fs size + cgts-vg available space is less than 60G, # if existing docker fs size + cgts-vg available space is less than 60G,
# you will need to add a new disk partition to cgts-vg # you will need to add a new disk partition to cgts-vg
@@ -316,22 +324,22 @@ Configure controller-0
# ( if not use another unused disk ) # ( if not use another unused disk )
# Get device path of ROOT DISK # Get device path of ROOT DISK
system host-show controller-1 --nowrap | fgrep rootfs system host-show controller-0 --nowrap | fgrep rootfs
# Get UUID of ROOT DISK by listing disks # Get UUID of ROOT DISK by listing disks
system host-disk-list controller-1 system host-disk-list controller-0
# Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response # Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response
# Use a partition size such that youll be able to increase docker fs size from 30G to 60G # Use a partition size such that youll be able to increase docker fs size from 30G to 60G
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol controller-1 <root-disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to cgts-vg local volume group # Add new partition to cgts-vg local volume group
system host-pv-add controller-1 cgts-vg <NEW_PARTITION_UUID> system host-pv-add controller-0 cgts-vg <NEW_PARTITION_UUID>
sleep 2 # wait for partition to be added sleep 2 # wait for partition to be added
# Increase docker filesystem to 60G # Increase docker filesystem to 60G
system host-fs-modify controller-1 docker=60 system host-fs-modify controller-0 docker=60
#. **For OpenStack only:** Configure the system setting for the vSwitch. #. **For OpenStack only:** Configure the system setting for the vSwitch.
@@ -449,7 +457,7 @@ Configure controller-0
# Additional PARTITION(s) from additional disks can be added later if required. # Additional PARTITION(s) from additional disks can be added later if required.
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to nova-local local volume group # Add new partition to nova-local local volume group
system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID> system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID>
@@ -603,10 +611,6 @@ For host-based Ceph:
# List OSD storage devices # List OSD storage devices
system host-stor-list controller-0 system host-stor-list controller-0
# Add disk as an OSD storage
system host-stor-add controller-0 osd <disk-uuid>
.. only:: starlingx .. only:: starlingx
For Rook container-based Ceph: For Rook container-based Ceph:
@@ -724,6 +728,8 @@ Configure controller-1
#. **For OpenStack only:** Assign OpenStack host labels to controller-1 in #. **For OpenStack only:** Assign OpenStack host labels to controller-1 in
support of installing the |prefix|-openstack manifest and helm-charts later. support of installing the |prefix|-openstack manifest and helm-charts later.
.. only:: starlingx
:: ::
system host-label-assign controller-1 openstack-control-plane=enabled system host-label-assign controller-1 openstack-control-plane=enabled
@@ -731,6 +737,12 @@ Configure controller-1
system host-label-assign controller-1 openvswitch=enabled system host-label-assign controller-1 openvswitch=enabled
system host-label-assign controller-1 sriov=enabled system host-label-assign controller-1 sriov=enabled
.. only:: partner
.. include:: /_includes/aio_duplex_install_kubernetes.rest
:start-after: ref2-begin
:end-before: ref2-end
#. **For OpenStack only:** Due to the additional openstack services running #. **For OpenStack only:** Due to the additional openstack services running
on the |AIO| controller platform cores, a minimum of 4 platform cores are on the |AIO| controller platform cores, a minimum of 4 platform cores are
required, 6 platform cores are recommended. required, 6 platform cores are recommended.
@@ -832,6 +844,8 @@ Configure controller-1
.. code-block:: bash .. code-block:: bash
export NODE=controller-1
# Create nova-local local volume group # Create nova-local local volume group
system host-lvg-add ${NODE} nova-local system host-lvg-add ${NODE} nova-local
@@ -853,7 +867,7 @@ Configure controller-1
# Additional PARTITION(s) from additional disks can be added later if required. # Additional PARTITION(s) from additional disks can be added later if required.
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to nova-local local volume group # Add new partition to nova-local local volume group
system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID> system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID>
@@ -891,8 +905,6 @@ Configure controller-1
# Create Data Networks that vswitch 'data' interfaces will be connected to # Create Data Networks that vswitch 'data' interfaces will be connected to
DATANET0='datanet0' DATANET0='datanet0'
DATANET1='datanet1' DATANET1='datanet1'
system datanetwork-add ${DATANET0} vlan
system datanetwork-add ${DATANET1} vlan
# Assign Data Networks to Data Interfaces # Assign Data Networks to Data Interfaces
system interface-datanetwork-assign ${NODE} <data0-if-uuid> ${DATANET0} system interface-datanetwork-assign ${NODE} <data0-if-uuid> ${DATANET0}
@@ -938,8 +950,6 @@ Optionally Configure PCI-SRIOV Interfaces
# will be connected to # will be connected to
DATANET0='datanet0' DATANET0='datanet0'
DATANET1='datanet1' DATANET1='datanet1'
system datanetwork-add ${DATANET0} vlan
system datanetwork-add ${DATANET1} vlan
# Assign Data Networks to PCI-SRIOV Interfaces # Assign Data Networks to PCI-SRIOV Interfaces
system interface-datanetwork-assign ${NODE} <sriov0-if-uuid> ${DATANET0} system interface-datanetwork-assign ${NODE} <sriov0-if-uuid> ${DATANET0}
@@ -988,10 +998,6 @@ For host-based Ceph:
# List OSD storage devices # List OSD storage devices
system host-stor-list controller-1 system host-stor-list controller-1
# Add disk as an OSD storage
system host-stor-add controller-1 osd <disk-uuid>
.. only:: starlingx .. only:: starlingx
For Rook container-based Ceph: For Rook container-based Ceph:

View File

@@ -259,6 +259,8 @@ The newly installed controller needs to be configured.
#. **For OpenStack only:** Assign OpenStack host labels to controller-0 in #. **For OpenStack only:** Assign OpenStack host labels to controller-0 in
support of installing the stx-openstack manifest and helm-charts later. support of installing the stx-openstack manifest and helm-charts later.
.. only:: starlingx
:: ::
system host-label-assign controller-0 openstack-control-plane=enabled system host-label-assign controller-0 openstack-control-plane=enabled
@@ -266,6 +268,12 @@ The newly installed controller needs to be configured.
system host-label-assign controller-0 openvswitch=enabled system host-label-assign controller-0 openvswitch=enabled
system host-label-assign controller-0 sriov=enabled system host-label-assign controller-0 sriov=enabled
.. only:: partner
.. include:: /_includes/aio_simplex_install_kubernetes.rest
:start-after: ref1-begin
:end-before: ref1-end
#. **For OpenStack only:** Due to the additional openstack services running #. **For OpenStack only:** Due to the additional openstack services running
on the |AIO| controller platform cores, a minimum of 4 platform cores are on the |AIO| controller platform cores, a minimum of 4 platform cores are
required, 6 platform cores are recommended. required, 6 platform cores are recommended.
@@ -284,9 +292,9 @@ The newly installed controller needs to be configured.
.. code-block:: bash .. code-block:: bash
# check existing size of docker fs # check existing size of docker fs
system host-fs-list controller-1 system host-fs-list controller-0
# check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located # check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located
system host-lvg-list controller-1 system host-lvg-list controller-0
# if existing docker fs size + cgts-vg available space is less than 60G, # if existing docker fs size + cgts-vg available space is less than 60G,
# you will need to add a new disk partition to cgts-vg # you will need to add a new disk partition to cgts-vg
@@ -294,22 +302,22 @@ The newly installed controller needs to be configured.
# ( if not use another unused disk ) # ( if not use another unused disk )
# Get device path of ROOT DISK # Get device path of ROOT DISK
system host-show controller-1 --nowrap | fgrep rootfs system host-show controller-0 --nowrap | fgrep rootfs
# Get UUID of ROOT DISK by listing disks # Get UUID of ROOT DISK by listing disks
system host-disk-list controller-1 system host-disk-list controller-0
# Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response # Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response
# Use a partition size such that youll be able to increase docker fs size from 30G to 60G # Use a partition size such that youll be able to increase docker fs size from 30G to 60G
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol controller-1 <root-disk-uuid> ${PARTITION_SIZE} system hostdisk-partition-add -t lvm_phys_vol controller-0 <root-disk-uuid> ${PARTITION_SIZE}
# Add new partition to cgts-vg local volume group # Add new partition to cgts-vg local volume group
system host-pv-add controller-1 cgts-vg <NEW_PARTITION_UUID> system host-pv-add controller-0 cgts-vg <NEW_PARTITION_UUID>
sleep 2 # wait for partition to be added sleep 2 # wait for partition to be added
# Increase docker filesystem to 60G # Increase docker filesystem to 60G
system host-fs-modify controller-1 docker=60 system host-fs-modify controller-0 docker=60
#. **For OpenStack only:** Configure the system setting for the vSwitch. #. **For OpenStack only:** Configure the system setting for the vSwitch.
@@ -419,7 +427,7 @@ The newly installed controller needs to be configured.
# Additional PARTITION(s) from additional disks can be added later if required. # Additional PARTITION(s) from additional disks can be added later if required.
PARTITION_SIZE=30 PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE} system host-disk-partition-add -t lvm_phys_vol ${NODE} <disk-uuid> ${PARTITION_SIZE}
# Add new partition to nova-local local volume group # Add new partition to nova-local local volume group
system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID> system host-pv-add ${NODE} nova-local <NEW_PARTITION_UUID>

View File

@@ -118,7 +118,7 @@ Bootstrap system on controller-0
as shown in the example below. Use the OAM IP SUBNET and IP ADDRESSing as shown in the example below. Use the OAM IP SUBNET and IP ADDRESSing
applicable to your deployment environment. applicable to your deployment environment.
.. code-block:: bash ::
cd ~ cd ~
cat <<EOF > localhost.yml cat <<EOF > localhost.yml
@@ -589,7 +589,9 @@ OpenStack-specific host configuration
#. **For OpenStack only:** Assign OpenStack host labels to the worker nodes in #. **For OpenStack only:** Assign OpenStack host labels to the worker nodes in
support of installing the stx-openstack manifest and helm-charts later. support of installing the stx-openstack manifest and helm-charts later.
:: .. only:: starlingx
.. code-block:: bash
for NODE in worker-0 worker-1; do for NODE in worker-0 worker-1; do
system host-label-assign $NODE openstack-compute-node=enabled system host-label-assign $NODE openstack-compute-node=enabled
@@ -597,6 +599,12 @@ OpenStack-specific host configuration
system host-label-assign $NODE sriov=enabled system host-label-assign $NODE sriov=enabled
done done
.. only:: partner
.. include:: /_includes/rook_storage_install_kubernetes.rest
:start-after: ref1-begin
:end-before: ref1-end
#. **For OpenStack only:** Set up disk partition for nova-local volume group, #. **For OpenStack only:** Set up disk partition for nova-local volume group,
which is needed for stx-openstack nova ephemeral disks. which is needed for stx-openstack nova ephemeral disks.