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 set
1: bonding
2: vlan
3: network
4: cube system
5: cube ha
6: apply
7: exit
Enter index: 3
1: IF.1
2: IF.2
3: IF.3
4: IF.5
5: IF.7
6: mgmt
Enter index: 2
Enable this interface?
1: Yes
2: No
Enter index: 1
Make this interface the default interface?
1: Yes
2: No
Enter index: 2
Enter the IPv4 address: 0.0.0.0
Enter the IPv4 subnet mask: 0.0.0.0
1: bonding
2: vlan
3: network
4: cube system
5: cube ha
6: apply
7: exit
Enter index: 6
[Network Policy]
IF.1
IPv4 Mode: Manual
IPv4 Address: 0.0.0.0
IPv4 Netmask: 0.0.0.0
IPv6 Mode: Automatic
IF.2
IPv4 Mode: Manual
IPv4 Address: 0.0.0.0
IPv4 Netmask: 0.0.0.0
IPv6 Mode: Automatic
IF.3
Interface disabled
IF.5
Interface disabled
IF.7
Interface disabled
mgmt
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: Automatic
Apply the changes?
Enter 'YES' to confirm: YES
Applying 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: done
Policy changes were successfully applied.
Check for available tunings
sky141:tuning> dump
Published Tunings
----------------------------------------------------------------
Name Description Default|Min|Max
cubesys.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 tunings
2: apply
3: exit
Enter index: 1
Select action:
1: Add
2: Delete
3: Update
Enter index: 1
Enter tuning name: cubesys.provider.extra
Enter tuning value: IF.2:pvd-if2
Enable the tuning:
1: Enabled
2: Disabled
Enter 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 tunings
2: apply
3: exit
Enter index: 2
enabled name value
-------------------------------------------------------------------------------
[x] cubesys.provider.extra IF.2:pvd-if2
-------------------------------------------------------------------------------
Apply the changes?
Enter 'YES' to confirm: YES
Applying policy changes.
Policy changes were successfully applied.
Create new external network
Please navigate to Admin > Network > Networks >
+ CREATE NETWORK
Please follow the configuration below