Skip to main content
Version: 2.4

Create a additional network provider from physical NIC

Note:#

  • This tunning should be applied to all compute nodes in the cluster

enable a NIC for extra network#

sky141> management cube set1: bonding2: vlan3: network4: cube system5: cube ha6: apply7: exitEnter index: 31: IF.12: IF.23: IF.34: IF.55: IF.76: mgmtEnter index: 2Enable this interface?1: Yes2: NoEnter index: 1Make this interface the default interface?1: Yes2: NoEnter index: 2Enter the IPv4 address: 0.0.0.0Enter the IPv4 subnet mask: 0.0.0.01: bonding2: vlan3: network4: cube system5: cube ha6: apply7: exitEnter index: 6
[Network Policy]IF.1    IPv4 Mode:  Manual    IPv4 Address:   0.0.0.0    IPv4 Netmask:   0.0.0.0    IPv6 Mode:  AutomaticIF.2    IPv4 Mode:  Manual    IPv4 Address:   0.0.0.0    IPv4 Netmask:   0.0.0.0    IPv6 Mode:  AutomaticIF.3    Interface disabledIF.5    Interface disabledIF.7    Interface disabledmgmt    Default interface.    IPv4 Mode:  Manual    IPv4 Address:   10.32.10.141    IPv4 Netmask:   255.255.0.0    IPv4 Gateway:   10.32.0.254    IPv6 Mode:  AutomaticApply the changes?Enter 'YES' to confirm: YESApplying policy changes.(01/21) committing: sys                                                                                                      (02/21) committing: cron cubesys debug syslog update                                                                         (03/21) committing: first                                                                                                    (04/21) committing: net time bootstrap fixpack iso password snapshot snapshotmgr support supportbase usb volume-meta         (05/21) committing: net_static net_dynamic                                                                                   (06/21) committing: sshd                                                                                                     (07/21) committing: standalone                                                                                               (08/21) committing: cube_scan                                                                                                (09/21) committing: corosync mysql cluster libvirtd dns kafka ntp opensearch prometheus                                      (10/21) committing: pacemaker rabbitmq docker logstash opensearch-dashboards telegraf                                        (11/21) committing: haproxy k3s                                                                                              (12/21) committing: keystone ceph keycloak                                                                                   (13/21) committing: memcache ceph_dashboard_idp k3s_last keystone_idp lmi rancher                                            (14/21) committing: barbican cinder glance heat horizon neutron nova masakari monasca swift designate influxdb octavia senlin(15/21) committing: manila cyborg grafana ironic kapacitor                                                                   (16/21) committing: apache2                                                                                                  (17/21) committing: last                                                                                                     (18/21) committing: ahg pacemaker_last                                                                                       (19/21) committing: monasca_setup neutron_last                                                                               (20/21) committing: cube_last                                                                                                (21/21) committing: donePolicy changes were successfully applied.

Check for available tunings#

sky141:tuning> dump
Published Tunings----------------------------------------------------------------Name                          Description                                                                                         Default|Min|Maxcubesys.provider.extra        Set extra provider interfaces ('pvd-' prefix and <= 15 chars) [IF.2:pvd-xxx,eth2:pvd-yyy,...].      ["" (Any)]----------------------------------------------------------------

Network Interfaces------------------------------------------------------------------------------------------------------------------------     Dev    Label        DevID/Cfg   BusID/Slaves               HWAddr     Driver  Link  State Speed(actual/advertised)------------------------------------------------------------------------------------------------------------------------    eth0     IF.1        8086.1533   0000:01:00.0    c4:00:ad:54:b9:68        igb   yes     UP        1000F/1000F    eth1     IF.2        8086.1533   0000:02:00.0    c4:00:ad:54:b9:69        igb   yes     UP        1000F/1000F    eth2     IF.3        8086.1533   0000:05:00.0    c4:00:ad:54:b9:6a        igb    no   DOWN           NA/1000F    eth3     IF.4        8086.37d0   0000:3e:00.0    c4:00:ad:54:b9:6b       i40e   yes     UP      10000F/10000F    eth4     IF.5        8086.37d0   0000:3e:00.1    c4:00:ad:54:b9:6c       i40e    no   DOWN          NA/10000F    eth5     IF.6        8086.37d0   0000:3e:00.2    c4:00:ad:54:b9:6d       i40e   yes     UP      10000F/10000F    eth6     IF.7        8086.37d0   0000:3e:00.3    c4:00:ad:54:b9:6e       i40e    no   DOWN          NA/10000F    mgmt     mgmt    fast,layer3+4      eth3,eth5    c4:00:ad:54:b9:6b    802.3ad   yes     UP      20000F/bonded------------------------------------------------------------------------------------------------------------------------sky141:tuning>

Set a tuning - cubesys.provider.extra#

sky141:tuning> configure enabled                            name                                 value--------------------------------------------------------------------------------------------------------------------------------------------------------------1: modify tunings2: apply3: exitEnter index: 1Select action:1: Add2: Delete3: UpdateEnter index: 1Enter tuning name: cubesys.provider.extraEnter tuning value: IF.2:pvd-if2Enable the tuning:1: Enabled2: DisabledEnter index: 1
Adding tuning: cubesys.provider.extra = IF.2:pvd-if2 (Enabled) enabled                            name                                 value-------------------------------------------------------------------------------     [x]          cubesys.provider.extra                          IF.2:pvd-if2-------------------------------------------------------------------------------1: modify tunings2: apply3: exitEnter index: 2 enabled                            name                                 value-------------------------------------------------------------------------------     [x]          cubesys.provider.extra                          IF.2:pvd-if2-------------------------------------------------------------------------------Apply the changes?Enter 'YES' to confirm: YESApplying policy changes.Policy changes were successfully applied.

Create new external network#

  1. Please navigate to Admin > Network > Networks > + CREATE NETWORK

    /assets/img/network_202.png

  2. Please follow the configuration below

    /assets/img/network_210.jpg

Last updated on by Roy Tan