9–Linux Configuration for Bonding Mode and Virtual LAN (VLAN) Linux Bonding Mode

After bonding, the MAC addresses for the two ports that were bonded appear to be the same when running the ifconfig command. This similarity is due to the formation of a bond to permit traffic to be passed between the ports.

After the bond has been brought down and the bonding driver removed, the QLogic adapter’s original MAC addresses will resume on the ports.

Active-Backup or Mode=1

The active-backup policy allows only one slave in the bond to be active. A different slave becomes active only if the active slave fails.

By setting mode=1, when ifenslave is executed, the bonding driver calls into the bond_enslave() function and sets the slave link modes for the corresponding two Ethernet ports to BOND_LINK_DOWN.

When the bond mode is 1 (BOND_MODE_ACTIVEBACKUP) and the primary device is indicated, one slave device is configured as the active slave. The dmesg command displays the primary port. Here is an example output of the dmesg command:

bonding: bond0: making interface eth16 the new active one 0 ms earlier

If the active connection goes down, then the slave port becomes the primary port. Type the following command to monitor the bonding process during the switch-over or port priority:

%cat /proc/net/bonding/bond0

The following message is displayed:

MII Status: up (for eth16)

The dmesg command shows the status of the slave port, for example:

bonding: bond0: link status up for interface eth15, enabling it in 50000 ms.

Type the following command to check the status of the primary port:

%cat /proc/net/bonding/bond0

The output for this command is:

MII Status: down (for eth16)

After 50 seconds, the dmesg command will print:

bonding: bond0: link status definitely up for interface eth15.

bonding: bond0: making interface eth15 the new active one.

Type the following command to check the status of the new primary port:

% cat /proc/net/bonding/bond0

9-2

NE0154601-00 C

Page 82
Image 82
Q-Logic 3100, 3000 manual Active-Backup or Mode=1, Following message is displayed, Output for this command is

3000, 3100 specifications

The Q-Logic 3100 and 3000 series are advanced networking solutions designed for high-performance data centers and enterprise environments. Known for their innovative technology, these switches and adapters are tailored for seamless integration in modern computing infrastructures, offering scalability and robustness essential for today's demanding applications.

One of the standout features of the Q-Logic 3100 and 3000 series is their support for high-speed data transmission, reaching up to 16 Gbps in Fibre Channel connections. This capability ensures minimal latency and exceptional throughput, which is critical for applications that require rapid data access and processing, like virtualization and cloud computing.

Both series incorporate cutting-edge virtualization technologies, enabling multiple environments to be managed efficiently through a single physical instance. This support for virtualization reduces hardware costs and maximizes resource utilization, a vital aspect for organizations looking to optimize their IT investments. Additionally, the series provides enhanced Quality of Service (QoS) features, which prioritize data traffic and ensure stable performance across various applications.

Security is another primary concern addressed by the Q-Logic 3100 and 3000 series. They offer advanced security features, including hardware-based encryption, which protects data in transit and at rest. Access control mechanisms are in place to prevent unauthorized access, making these solutions suitable for organizations that handle sensitive information.

The Q-Logic 3100 and 3000 series are built with reliability in mind. They include built-in redundancy features, such as dual power supplies and hot-swappable components, which reduce the risk of system failure and improve overall uptime. This reliability is crucial for businesses that operate around the clock, as downtime can lead to significant financial losses.

Configuration and management of the Q-Logic series are simplified through user-friendly interfaces and comprehensive management tools. These tools allow administrators to monitor performance, configure settings, and troubleshoot issues efficiently, thereby enhancing operational productivity.

In summary, the Q-Logic 3100 and 3000 series stand out as exemplary solutions for high-performance networking needs. With their impressive speed, support for virtualization, strong security features, and robust reliability, these products continue to solidify their position as leaders in the networking technology landscape. As businesses evolve and grow, these innovative solutions are poised to adapt and meet the challenges of the future.