I'm trying to kickstart a bunch of Servers with CentOS 7.5.1804. Each server has two network connections to a switch and I have to use LACP port channeling.
The kickstart configurations are stored on a local web server, so I have to establish a network connection with kernel parameters in order to download the kickstart file. Since the switch will suspend the network ports when no LACP is detected I have to do channeling from the very beginning.
This post helped me a lot establishing the connection and run the kickstart installation successfully.
However, it uses the bonding driver. I'd like to setup the team driver instead.
Unfortunately, I did not find any documentation about using the team driver in LACP mode at boot time. The (Red Hat Documentation does not tell me how to set the teaming mode to LACP. I can only define it's slave members like so:
Code: Select all
team=master:slaves
Code: Select all
linuxefi /images/pxeboot/vmlinuz ip=x.x.x.x::y.y.y.y:24:servername:bond0:none nameserver=z.z.z.z bond=bond0:eno1,eno2:mode=802.3ad,miimon=100,lacp_rate=slow,updelay=200,downdelay=200,xmit_hash_policy=layer3+4 inst.ks=http://location.to/kickstart.cfg
Code: Select all
network --bootproto=static --device=team0 --gateway=y.y.y.y --ip=x.x.x.x --nameserver=z.z.z.z --netmask=255.255.255.0 --noipv6 --activate --teamslaves="eno1,eno2" --teamconfig="{\"runner\": {\"name\": \"lacp\",\"tx_hash\": [\"eth\",\"ipv4\"],\"active\": true,\"fast_rate\": false,\"agg_select_policy\": \"lacp_prio\"},\"link_watch\": {\"name\": \"ethtool\"}}"
Code: Select all
# nmcli c show
NAME UUID TYPE DEVICE
Team connection team0 15a9cee2-619e-4e84-abd3-f5b48e25c45a team team0
bond0 6eb04786-315a-493a-918e-9b9c96a36d76 bond bond0
eno1 72edcb1b-16cd-4f5c-9487-1a92f288348e ethernet eno1
team0 slave 2 38be5e24-e964-40ef-96c1-e653d2066a14 ethernet eno2
eno2 9537f9e3-227d-4fe0-9597-447d6c438e00 ethernet --
team0 slave 1 7bc5b3a0-37c0-41fa-8b24-cabc4a222085 ethernet --
What's the correct syntax to fire up LACP teaming with kernel parameters? Is it even supported (yet)?
Shouldn't the bond0 interface be deleted, after anaconda downloads the kickstart file and establishes the new teaming network connection?
Any help appreciated!
Cheers
Rene