-
Notifications
You must be signed in to change notification settings - Fork 95
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
Managing hosts adding network interfaces #3431
base: master
Are you sure you want to change the base?
Changes from all commits
03e4e12
61b7953
b2cbe40
298a9e4
0037b1f
ce7674d
0c9f97a
9fda19d
eab3a77
4caaec5
48184da
eb88742
4ea4748
f39cee4
8280430
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
include::modules/con_adding-network-interfaces.adoc[] | ||
include::modules/con_configuring-network-interfaces.adoc[] | ||
|
||
include::modules/proc_adding-a-physical-interface.adoc[leveloffset=+1] | ||
include::modules/con_network-interface-configuration-options.adoc[leveloffset=+1] | ||
|
||
include::modules/proc_adding-a-virtual-interface.adoc[leveloffset=+1] | ||
include::modules/proc_configuring-a-physical-interface.adoc[leveloffset=+1] | ||
|
||
include::modules/proc_adding-a-bonded-interface.adoc[leveloffset=+1] | ||
include::modules/proc_configuring-a-virtual-interface.adoc[leveloffset=+1] | ||
|
||
include::modules/proc_configuring-a-bonded-interface.adoc[leveloffset=+1] | ||
|
||
include::modules/ref_bonding-modes-available-in-project.adoc[leveloffset=+1] | ||
|
||
include::modules/proc_adding-a-bmc-interface.adoc[leveloffset=+1] | ||
include::modules/proc_configuring-a-bmc-interface.adoc[leveloffset=+1] |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,41 @@ | ||||||
[id="Network_interface_configuration_options_{context}"] | ||||||
= Network interface configuration options | ||||||
|
||||||
When adding a network interface, you need to specify several configuration options. The following lists provide information on the relevant options for the different types of interfaces. | ||||||
|
||||||
[id="Physical_interface_settings_{context}"] | ||||||
== Physical interface settings | ||||||
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.
Suggested change
I'd prefer informal headings to separate the options. |
||||||
|
||||||
*Device Identifier*:: The identifier is used to specify this physical interface when creating bonded interfaces, VLANs, and aliases. | ||||||
|
||||||
*DNS name*:: {Project} saves this name in {SmartProxyServer} associated with the selected domain (the "DNS A" field) and {SmartProxyServer} associated with the selected subnet (the "DNS PTR" field). | ||||||
A single host can therefore have several DNS entries. | ||||||
|
||||||
*Domain*:: Specifies the domain associated with the network interface. To create and manage domains, navigate to *Infrastructure* > *Domains*. | ||||||
|
||||||
*Subnet*:: Specifies the subnet associated with the network interface. To create and manage subnets, navigate to *Infrastructure* > *Subnets*. | ||||||
|
||||||
*Managed* interface:: If the interface is managed, configuration is pulled from the associated {SmartProxyServer} during provisioning, and DNS and DHCP entries are created. | ||||||
If using Kickstart provisioning, a configuration file is automatically created for the interface. | ||||||
|
||||||
*Primary* interface:: The DNS name from the primary interface is used as the host portion of the FQDN. | ||||||
|
||||||
*Provision*:: TFTP boot takes place using the provisioning interface. | ||||||
For image-based provisioning, the script to complete the provisioning is executed through the provisioning interface. | ||||||
|
||||||
[id="Virtual_interface_settings_{context}"] | ||||||
== Virtual interface settings | ||||||
|
||||||
* *Tag*. You can set a VLAN tag to trunk a network segment from the physical network through to the virtual interface. | ||||||
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.
Suggested change
Is there a reason for a different markup than the options above? |
||||||
** If you do not specify a tag, managed interfaces inherit the VLAN tag of the associated subnet. | ||||||
** User-specified entries from this field are not applied to alias interfaces. | ||||||
|
||||||
[id="Bonded_interface_settings_{context}"] | ||||||
== Bonded interface settings | ||||||
|
||||||
* *Mode*. The bonding mode defines a policy for fault tolerance and load balancing. | ||||||
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.
Suggested change
Same here. |
||||||
See xref:Bonding_Modes_Available_{context}[] for a brief description of each bonding mode. | ||||||
|
||||||
ifdef::satellite[] | ||||||
For more information on configuration options for bonded interfaces, see {RHELDocsBaseURL}8/html-single/configuring_and_managing_networking/index#configuring-network-bonding_configuring-and-managing-networking[Configuring network bonding] in _{RHEL}{nbsp}8 Configuring and Managing Networking_. | ||||||
endif::[] |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[id="Configuring_a_Bonded_Interface_{context}"] | ||
= Configuring a bonded interface | ||
|
||
You can combine multiple physical interfaces together by configuring a bonded interface for the host. | ||
|
||
[NOTE] | ||
==== | ||
Bonded interfaces currently require a MAC address of a physical device. | ||
Therefore, the configuration of these interfaces works only on bare-metal hosts. | ||
==== | ||
|
||
.Procedure | ||
. Navigate to the *Add Interface* form: | ||
.. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*. | ||
.. Click *Edit* next to the host you want to edit. | ||
.. On the *Interfaces* tab, click *Add Interface*. | ||
|
||
. Select *Bond* from the *Type* list. | ||
|
||
. Specify the general interface settings: | ||
.. In the *Device Identifier* field, specify the interface ID in the `bond0` format . | ||
.. Specify a *MAC address*. | ||
.. If you are configuring a secondary interface, select *Managed*. | ||
Otherwise, {Project} does not apply the configuration. | ||
|
||
. Add the configuration specific to bonded interfaces: | ||
.. *Mode*: Select the bonding mode. | ||
.. *Attached devices*: Specify a comma-separated list of identifiers of attached devices. | ||
These can be physical interfaces or VLANs. | ||
.. *Bond options*: Specify a space-separated list of configuration options, for example `miimon=100`. | ||
|
||
. Click *OK* to save the interface configuration. | ||
. Click *Submit* to apply the changes to the host. | ||
|
||
[id="cli-adding-a-bonded-interface_{context}"] | ||
.CLI procedure | ||
|
||
* To create a host with a bonded interface, enter the following command: | ||
+ | ||
[options="nowrap", subs="verbatim,quotes,attributes"] | ||
---- | ||
# hammer host create \ | ||
--ask-root-password yes \ | ||
--hostgroup _My_Host_Group_ \ | ||
--ip=_My_IP_Address_ \ | ||
--mac=_My_MAC_Address_ \ | ||
--managed true \ | ||
--interface="identifier=_My_NIC_1, mac=_My_MAC_Address_1_, managed=true, type=Nic::Managed, domain_id=_My_Domain_ID_, subnet_id=_My_Subnet_ID_" \ | ||
--interface="identifier=_My_NIC_2_, mac=_My_MAC_Address_2_, managed=true, type=Nic::Managed, domain_id=_My_Domain_ID_, subnet_id=_My_Subnet_ID_" \ | ||
--interface="identifier=_bondN_, ip=_My_IP_Address_2_, type=Nic::Bond, mode=active-backup, attached_devices=[_My_NIC_1_,_My_NIC_2_], managed=true, domain_id=_My_Domain_ID_, subnet_id=_My_Subnet_ID_" \ | ||
--location "_My_Location_" \ | ||
--name "_My_Host_Name_" \ | ||
--organization "_My_Organization_" \ | ||
--subnet-id=_My_Subnet_ID_ | ||
---- | ||
+ | ||
Replace `bondN` with `bond` and the ID of your device identifier, for example, `bond0`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[id="Configuring_a_Physical_Interface_{context}"] | ||
= Configuring a physical interface | ||
|
||
You can configure a physical interface for a host. | ||
|
||
.Procedure | ||
|
||
. Navigate to the *Add Interface* form: | ||
.. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*. | ||
.. Click *Edit* next to the host you want to edit. | ||
.. On the *Interfaces* tab, click *Add Interface*. | ||
|
||
. Specify the general interface settings: | ||
.. Specify a *MAC address*. | ||
This setting is required. | ||
.. Specify the *Device Identifier*, for example `eth0`. | ||
|
||
. Configure network and DNS settings: | ||
.. Specify the *DNS name* associated with the host's IP address. | ||
.. Select a domain from the *Domain* list. | ||
.. Select a subnet in the *IPv4 Subnet* or *IPv6 Subnet* list. | ||
.. Specify the *IPv4 address* or *IPv6 address*. | ||
+ | ||
[NOTE] | ||
==== | ||
Managed interfaces with an assigned DHCP {SmartProxyServer} require this setting for creating a DHCP lease. | ||
DHCP-enabled managed interfaces are automatically provided with a suggested IP address. | ||
==== | ||
|
||
. Specify interface management options: | ||
.. Select whether the interface is *Managed*. | ||
.. Select whether this is the *Primary* interface for the host. | ||
.. Select whether this is the *Provision* interface for the host. | ||
.. Select whether to use the interface for *Remote execution*. | ||
|
||
. Click *OK* to save the interface configuration. | ||
. Click *Submit* to apply the changes to the host. |
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.
I'd see this as a reference file
ref_
at the end of the assembly.