-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS-14356-New: Added bond best practices info to networking docs #93160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA. |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA. |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA. |
dfitzmau marked this conversation as resolved.
Show resolved
Hide resolved
|
dfitzmau marked this conversation as resolved.
Show resolved
Hide resolved
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.TaskContents: The '.Procedure' block title is missing. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| // Module included in the following assemblies: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.TaskContents: The '.Procedure' block title is missing.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.TaskContents: The '.Procedure' block title is missing.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.TaskContents: The '.Procedure' block title is missing. |
||
| // | ||
| // * networking/advanced_networking/network-bonding-considerations.adoc | ||
|
|
||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="enable-active-backup-mode_{context}"] | ||
| = Enable active-backup mode for your cluster | ||
|
|
||
| [role="_abstract"] | ||
| The `active-backup` mode provides fault tolerance for network connections by switching to a backup link where the primary link fails. The mode specifies the following ports for your cluster: | ||
|
|
||
| * An active port where one physical interface sends and receives traffic at any given time. | ||
| * A standby port where all other ports act as backup links and continously monitor their link status. | ||
| During a failover process, if an active port or its link fails, the bonding logic switches all network traffic to a standby port. This standby port becomes the new active port. For failover to work, all ports in a bond must share the same Media Access Control (MAC) address. | ||
|
|
||
dfitzmau marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,6 +45,7 @@ endif::[] | |
| [id="installation-user-infra-machines-static-network_{context}"] | ||
| = Advanced {op-system} installation reference | ||
|
|
||
| [role="_abstract"] | ||
| This section illustrates the networking configuration and other advanced options that allow you to modify the {op-system-first} manual installation process. The following tables describe the kernel arguments and command-line options you can use with the {op-system} live installer and the `coreos-installer` command. | ||
|
|
||
| [id="installation-user-infra-machines-routing-bonding_{context}"] | ||
|
|
@@ -172,7 +173,6 @@ ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:enp1s0:none | |
| ip=::::core0.example.com:enp2s0:none | ||
| ---- | ||
dfitzmau marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| === Combining DHCP and static IP configurations | ||
|
|
||
| You can combine DHCP and static IP configurations on systems with multiple network interfaces, for example: | ||
|
|
@@ -183,7 +183,6 @@ ip=enp1s0:dhcp | |
| ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:enp2s0:none | ||
| ---- | ||
|
|
||
|
|
||
| === Configuring VLANs on individual interfaces | ||
|
|
||
| Optional: You can configure VLANs on individual interfaces by using the `vlan=` parameter. | ||
|
|
@@ -220,7 +219,9 @@ ifndef::ibm-z-kvm[] | |
|
|
||
| === Bonding multiple network interfaces to a single interface | ||
|
|
||
| Optional: You can bond multiple network interfaces to a single interface by using the `bond=` option. Refer to the following examples: | ||
| As an optional configuration, you can bond multiple network interfaces to a single interface by using the `bond=` option. To apply this configuration to your cluster, complete the procedure steps for each node that runs on your cluster. | ||
|
|
||
| .Procedure | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.
dfitzmau marked this conversation as resolved.
Show resolved
Hide resolved
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.
dfitzmau marked this conversation as resolved.
Show resolved
Hide resolved
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA. |
||
|
|
||
| * The syntax for configuring a bonded interface is: `bond=<name>[:<network_interfaces>][:options]` | ||
| + | ||
|
|
@@ -229,30 +230,28 @@ and _options_ is a comma-separated list of bonding options. Enter `modinfo bondi | |
|
|
||
| * When you create a bonded interface using `bond=`, you must specify how the IP address is assigned and other | ||
| information for the bonded interface. | ||
|
|
||
| + | ||
| ** To configure the bonded interface to use DHCP, set the bond's IP address to `dhcp`. For example: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| bond=bond0:em1,em2:mode=active-backup | ||
| ip=bond0:dhcp | ||
| ---- | ||
|
|
||
| + | ||
| ** To configure the bonded interface to use a static IP address, enter the specific IP address you want and related information. For example: | ||
| ifndef::ibm-z[] | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| bond=bond0:em1,em2:mode=active-backup | ||
| ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:bond0:none | ||
| ---- | ||
| endif::ibm-z[] | ||
| ifdef::ibm-z[] | ||
|
|
||
| + | ||
| [source,terminal] | ||
| ---- | ||
| bond=bond0:em1,em2:mode=active-backup,fail_over_mac=1 | ||
| ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:bond0:none | ||
| bond=bond0:em1,em2:mode=active-backup ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:bond0:none::AA:BB:CC:DD:EE:FF ip=em1:none::AA:BB:CC:DD:EE:FF | ||
| ip=em2:none::AA:BB:CC:DD:EE:FF | ||
| ---- | ||
|
|
||
| Always set the `fail_over_mac=1` option in active-backup mode, to avoid problems when shared OSA/RoCE cards are used. | ||
|
|
@@ -287,9 +286,9 @@ ifndef::ibm-z[] | |
|
|
||
| === Bonding multiple SR-IOV network interfaces to a dual port NIC interface | ||
|
|
||
| Optional: You can bond multiple SR-IOV network interfaces to a dual port NIC interface by using the `bond=` option. | ||
| As an optional configuration, you can bond multiple SR-IOV network interfaces to a dual port NIC interface by using the `bond=` option. | ||
|
|
||
| On each node, you must perform the following tasks: | ||
| .Procedure | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA. |
||
|
|
||
| ifndef::installing-ibm-power[] | ||
| . Create the SR-IOV virtual functions (VFs) following the guidance in link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_virtualization/managing-virtual-devices_configuring-and-managing-virtualization#managing-sr-iov-devices_managing-virtual-devices[Managing SR-IOV devices]. Follow the procedure in the "Attaching SR-IOV networking devices to virtual machines" section. | ||
|
|
@@ -308,12 +307,14 @@ The following examples illustrate the syntax you must use: | |
|
|
||
| * When you create a bonded interface using `bond=`, you must specify how the IP address is assigned and other information for the bonded interface. | ||
|
|
||
| ** To configure the bonded interface to use DHCP, set the bond's IP address to `dhcp`. For example: | ||
| ** To configure the bonded interface to use DHCP, set the `ip` parameter to `dhcp` as demonstrated in the following example: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| bond=bond0:eno1f0,eno2f0:mode=active-backup | ||
| ip=bond0:dhcp | ||
| ip=bond0:dhcp::AA:BB:CC:DD:EE:FF | ||
| ip=eno1f0:none::AA:BB:CC:DD:EE:FF | ||
| ip=eno2f0:none::AA:BB:CC:DD:EE:FF | ||
| ---- | ||
|
|
||
| ** To configure the bonded interface to use a static IP address, enter the specific IP address you want and related information. For example: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA.