.. incl-config-controller-0-storage-start

#. Acquire admin credentials:

   ::

     source /etc/platform/openrc

#. Configure the |OAM| interface of controller-0 and specify the
   attached network as "oam".

   The following example configures the |OAM| interface on a physical untagged
   ethernet port, use the |OAM| port name that is applicable to your deployment
   environment, for example eth0:

   .. code-block:: bash

     OAM_IF=<OAM-PORT>
     system host-if-modify controller-0 $OAM_IF -c platform
     system interface-network-assign controller-0 $OAM_IF oam

   To configure a vlan or aggregated ethernet interface, see
   |node-interfaces-index|.

#. Configure the MGMT interface of controller-0 and specify the attached
   networks of both "mgmt" and "cluster-host".

   The following example configures the MGMT interface on a physical untagged
   ethernet port, use the MGMT port name that is applicable to your deployment
   environment, for example eth1:

   .. code-block:: bash

     MGMT_IF=<MGMT-PORT>

     # De-provision loopback interface and
     # remove mgmt and cluster-host networks from loopback interface
     system host-if-modify controller-0 lo -c none
     IFNET_UUIDS=$(system interface-network-list controller-0 | awk '{if ($6=="lo") print $4;}')
     for UUID in $IFNET_UUIDS; do
         system interface-network-remove ${UUID}
     done

     # Configure management interface and assign mgmt and cluster-host networks to it
     system host-if-modify controller-0 $MGMT_IF -c platform
     system interface-network-assign controller-0 $MGMT_IF mgmt
     system interface-network-assign controller-0 $MGMT_IF cluster-host

   To configure a vlan or aggregated ethernet interface, see
   |node-interfaces-index|.

#. Configure |NTP| servers for network time synchronization:

   ::

     system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org

   To configure |PTP| instead of |NTP|, see |ptp-server-config-index|.

#. If required, configure Ceph storage backend:

   A persistent storage backend is required if your application requires |PVCs|.

   .. only:: openstack

      .. important::

         The StarlingX OpenStack application **requires** |PVCs|.

   ::

     system storage-backend-add ceph --confirm

.. incl-config-controller-0-storage-end: