[AIX 네트워크 관리 25] TCP/IP (19) EtherChannel 변경, IEEE 802.3ad 구성, 상호 운용, 지원 어댑터, 문제 해결

핵심 정리

  • DAM(5200-03 이후)으로 인터페이스를 분리하지 않고 어댑터·백업 어댑터를 더하고 빼며, 거의 모든 속성을 실행 중에 바꿉니다. 예외는 Enable Gigabit Ethernet Jumbo Frames이며, Apply change to DATABASE only=yes로 ODM만 바꾼 뒤 재부팅이나 rmdev -l·mkdev -l 때 반영할 수 있습니다. 실행 중 더하는 어댑터는 기존 어댑터의 기능(체크섬 오프로드, large send 등)을 모두 지원해야 합니다.
  • 대체 주소를 쓰지 않으면 EtherChannel MAC은 첫 어댑터가 "소유"하며, 그 어댑터를 빼면 다음 어댑터의 MAC으로 바뀌어 잠깐 연결이 끊길 수 있습니다. LPAR에서 어댑터를 빼면 스위치의 EtherChannel에서도 그 포트를 빼야 합니다.
  • 802.3ad: Mode를 8023ad로 하고 스위치에서 LACP를 켭니다. 같은 속도·전이중 어댑터만 묶고, 분배는 언제나 standard 방식입니다. entstat -d 장치의 상태: Inactive, Negotiating(1분 넘게 머물면 스위치 확인), Aggregated, Failed.
  • 조합: 8023ad와 스위치 LACP, standard·round_robin과 스위치 EtherChannel은 정상. (6.1) 8023ad와 스위치 EtherChannel은 LACPDU가 없어 연결을 잃고, standard·round_robin과 스위치 LACP는 집계되지 않습니다.
  • 지원: PCI-X·PCIe 이더넷, 가상 이더넷은 주·백업 두 가지 구성만(ping 주소 필수), HEA·SR-IOV는 조건부. 속도가 다른 어댑터를 섞는 것은 지원하지 않습니다. 문제 해결: 추적 훅 2FA(송신)·2FB(기타), entstat -d, 느린 장애 조치는 STP와 forwarding delay(10초 이하), 원격 덤프는 EtherChannel 위에서 지원하지 않습니다.
항목 내용
버전 AIX 5.3, AIX 6.1 (6.1에서 상호 운용 결과와 지원 어댑터 설명이 크게 바뀜)
원문 Networks and communication management — 5.3판 270280쪽, 6.1판 372382쪽
관련 명령어 smitty etherchannel, smitty chinet, smitty chgenet, entstat -d, rmdev, mkdev, tcpdump, iptrace
관련 속성 poll_link, use_jumbo_frame, adapter_names, netaddr

EtherChannel이나 링크 집계에서 어댑터를 더하고, 빼고, 바꾸는 방법은 두 가지입니다.

한 방법은 EtherChannel이나 링크 집계 인터페이스를 분리해야 하고, 다른 방법(AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package 이후의 동적 어댑터 구성원 사용)은 분리하지 않아도 됩니다.

동적 어댑터 구성원으로 EtherChannel 바꾸기

동적 어댑터 구성원으로 바꾸면 인터페이스를 분리해 EtherChannel로 가는 모든 트래픽을 멈출 필요가 없습니다.

진행하기 전에 다음을 생각합니다.

  1. 실행 중에 어댑터를 더할 때, 이더넷 어댑터마다 지원하는 기능(예: 체크섬 오프로드, private segment 사용, large send 등)이 다르다는 점에 유의합니다. 한 EtherChannel에 종류가 다른 어댑터를 쓰면 인터페이스 계층에 보고되는 기능은 모든 어댑터가 지원하는 기능입니다(예를 들어 한 어댑터만 빼고 모두 private segment를 지원하면 EtherChannel은 private segment를 지원하지 않는다고 하고, 모든 어댑터가 large send를 지원하면 채널은 large send를 지원한다고 합니다). 실행 중에 EtherChannel에 어댑터를 더할 때는 그 어댑터가 EtherChannel에 이미 있는 다른 어댑터와 적어도 같은 기능을 지원하는지 확인합니다. EtherChannel이 지원하는 기능을 모두 지원하지 않는 어댑터를 더하려 하면 추가가 실패합니다. 그러나 EtherChannel의 인터페이스가 분리되어 있으면 (지원 기능과 관계없이) 어떤 어댑터든 더할 수 있고, 인터페이스를 다시 활성화할 때 EtherChannel이 새 어댑터 목록을 바탕으로 지원 기능을 다시 계산합니다.
  2. 대체 주소를 쓰지 않고 있고 EtherChannel에 쓰인 MAC 주소의 어댑터를 지우려 한다면(EtherChannel에 쓰이는 MAC 주소는 어댑터 하나가 "소유"합니다), EtherChannel은 다음으로 쓸 수 있는 어댑터, 곧 지운 뒤 첫 어댑터가 되는 어댑터나 주 어댑터가 모두 지워졌다면 백업 어댑터의 MAC 주소를 씁니다. 예를 들어 EtherChannel에 주 어댑터 ent0와 ent1, 백업 어댑터 ent2가 있으면 기본으로 ent0의 MAC 주소를 씁니다(이때 ent0가 MAC 주소를 "소유"한다고 합니다). ent0를 지우면 EtherChannel은 ent1의 MAC 주소를 씁니다. 이어서 ent1을 지우면 ent2의 MAC 주소를 씁니다. 나중에 ent0를 EtherChannel에 다시 더해도, 이제 ent2가 MAC 주소의 소유자이므로 계속 ent2의 MAC 주소를 씁니다. 그다음 ent2를 EtherChannel에서 지우면 다시 ent0의 MAC 주소를 쓰기 시작합니다. EtherChannel에 쓰인 MAC 주소의 어댑터를 지우면, EtherChannel의 모든 어댑터가 새 하드웨어 주소를 익히도록 재설정해야 하므로 잠깐 연결이 끊길 수 있습니다. 일부 어댑터는 초기화에 몇 초가 걸립니다. EtherChannel이 대체 주소(지정한 MAC 주소)를 쓰고 있으면 어떤 어댑터를 더하거나 지우든 그 MAC 주소를 계속 씁니다. 또 어떤 어댑터도 EtherChannel의 MAC 주소를 "소유"하지 않으므로 어댑터를 더하거나 지울 때 잠깐 연결이 끊기는 일도 없습니다.
  3. 이제 거의 모든 EtherChannel 속성을 실행 중에 바꿀 수 있습니다. 유일한 예외는 Enable Gigabit Ethernet Jumbo Frames입니다. 이 속성을 바꾸려면 값을 바꾸기 전에 먼저 EtherChannel의 인터페이스를 분리해야 합니다.
  4. 실행 중에 바꿀 수 없는 속성(지금은 Enable Gigabit Ethernet Jumbo Frames뿐)에는 Apply change to DATABASE only라는 필드가 있습니다. 이 속성을 yes로 하면 보통 실행 중에 바꿀 수 없는 속성의 값을 실행 중에 바꿀 수 있습니다. Apply change to DATABASE only를 yes로 하면 속성은 ODM에서만 바뀌고, (인터페이스를 분리하고 rmdev -l EtherChannel_device와 mkdev -l EtherChannel_device 명령으로) 메모리에 다시 올리거나 기계를 다시 부팅할 때까지 실행 중인 EtherChannel에는 반영되지 않습니다. 실행 중인 EtherChannel을 방해하지 않고 다음 부팅 때 속성이 바뀌도록 하는 편리한 방법입니다.
  5. (6.1) 논리 파티션에서 EtherChannel의 어댑터를 빼면 스위치의 EtherChannel에서도 연결된 스위치 포트를 빼야 합니다. 그렇지 않으면 스위치가 같은 스위치 포트로 통신할 수 있어 연결이 끊길 수 있습니다.

동적 어댑터 구성원으로 EtherChannel이나 링크 집계를 바꾸려면 다음 단계를 따릅니다.

  1. 명령행에 smitty etherchannel을 입력합니다.
  2. Change / Show Characteristics of an EtherChannel / Link Aggregation을 고릅니다.
  3. 바꿀 EtherChannel이나 링크 집계를 고릅니다.
  4. 다음 지침에 따라 필수 필드를 채웁니다.
    • Add adapter나 Remove adapter 필드에서 더하거나 뺄 이더넷 어댑터를 고릅니다.
    • Add backup adapter나 Remove backup adapter 필드에서 백업으로 쓰기 시작하거나 그만 쓸 이더넷 어댑터를 고릅니다.
    • 거의 모든 EtherChannel 속성을 실행 중에 바꿀 수 있지만 Enable Gigabit Ethernet Jumbo Frames 속성은 바꿀 수 없습니다.
    • 보통 EtherChannel을 IEEE 802.3ad 링크 집계로 바꾸려면 Mode 속성을 8023ad로 바꿉니다. IEEE 802.3ad 링크 집계를 EtherChannel로 바꾸려면 Mode 속성을 standard나 round_robin으로 바꿉니다.
  5. 필요한 데이터를 채우고 Enter를 누릅니다.

5200-01 이하에서 EtherChannel 바꾸기

5200-01 이하에서 인터페이스를 분리하고 EtherChannel을 바꾸는 절차입니다.

  1. smitty chinet을 입력하고 EtherChannel에 속한 인터페이스를 고릅니다. Current STATE 속성을 detach로 바꾸고 Enter를 누릅니다.
  2. 명령행에 smitty etherchannel을 입력합니다.
  3. Change / Show Characteristics of an EtherChannel / Link Aggregation을 고르고 Enter를 누릅니다.
  4. 바꿀 EtherChannel이나 링크 집계를 고릅니다.
  5. EtherChannel이나 링크 집계에서 바꿀 속성을 고치고 Enter를 누릅니다.
  6. 필요한 필드를 채우고 Enter를 누릅니다.

EtherChannel이나 링크 집계 제거

  1. smitty chinet을 입력하고 EtherChannel에 속한 인터페이스를 고릅니다. Current STATE 속성을 detach로 바꾸고 Enter를 누릅니다.
  2. 명령행에 smitty etherchannel을 입력합니다.
  3. Remove an EtherChannel을 고르고 Enter를 누릅니다.
  4. 지울 EtherChannel을 고르고 Enter를 누릅니다.

기존 EtherChannel이나 링크 집계에 백업 어댑터 구성하거나 제거하기

다음 절차는 EtherChannel이나 링크 집계에 백업 어댑터를 구성하거나 제거합니다.

  1. smitty chinet을 입력하고 EtherChannel에 속한 인터페이스를 고릅니다. Current STATE 속성을 detach로 바꾸고 Enter를 누릅니다.
  2. 명령행에 smitty etherchannel을 입력합니다.
  3. Change / Show Characteristics of an EtherChannel / Link Aggregation을 고릅니다.
  4. 백업 어댑터를 더하거나 바꿀 EtherChannel이나 링크 집계를 고릅니다.
  5. Backup Adapter 필드에 백업 어댑터로 쓸 어댑터를 입력하거나, 백업 어댑터를 그만 쓰려면 NONE을 고릅니다.
영어 원문

Adapter additions, removals, or changes in an EtherChannel or Link Aggregation

There are two ways to add, remove, or change an adapter in an EtherChannel or Link Aggregation.

One method requires the EtherChannel or Link Aggregation interface to be detached, while the other does not (using Dynamic Adapter Membership, which is available in AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package and later).

Making changes to an EtherChannel using Dynamic Adapter Membership:

Making changes using Dynamic Adapter Membership does not require you to stop all traffic going over the EtherChannel by detaching its interface.

Consider the following before proceeding:

  1. When adding an adapter at runtime, note that different Ethernet adapters support different capabilities (for example, the ability to do checksum offload, to use private segments, to do large sends, and so forth). If different types of adapters are used in the same EtherChannel, the capabilities reported to the interface layer are those supported by all of the adapters (for example, if all but one adapter supports the use of private segments, the EtherChannel will state it does not support private segments; if all adapters do support large send, the channel will state it supports large send). When adding an adapter to an EtherChannel at runtime, be sure that it supports at least the same capabilities as the other adapters already in the EtherChannel. If you attempt to add an adapter that does not support all of the capabilities the EtherChannel supports, the addition will fail. Note,

however, that if the EtherChannel's interface is detached, you may add any adapter (regardless of the capabilities it supports), and when the interface is reactivated the EtherChannel will recalculate the capabilities it supports based on the new list of adapters.

  1. If you are not using an alternate address and you plan to delete the adapter whose MAC address was used for the EtherChannel (the MAC address used for the EtherChannel is "owned" by one of the adapters), the EtherChannel will use the MAC address of the next adapter available. In other words, the one that becomes the first adapter after the deletion, or the backup adapter in case all main adapters are deleted. For example, if an EtherChannel has main adapters ent0 and ent1 and backup adapter ent2, it uses by default ent0's MAC address (it is then said that ent0 "owns" the MAC address). If ent0 is deleted, the EtherChannel then uses ent1's MAC address. If ent1 is then deleted, the EtherChannel uses ent2's MAC address. If ent0 is later re-added to the EtherChannel, it continues to use ent2's MAC address because ent2 is now the owner of the MAC address. If ent2 were then deleted from the EtherChannel, it starts using ent0's MAC address again. Deleting the adapter whose MAC address was used for the EtherChannel may cause a temporary loss of connectivity, because all of the adapters in the EtherChannel need to be reset so they learn of their new hardware address. Some adapters take a few seconds to be initialized. If your EtherChannel is using an alternate address (a MAC address you specified), it keeps using this MAC address regardless of which adapters are added or deleted. Furthermore, it means that there is no temporary loss of connectivity when adding or deleting adapters because none of the adapters "owns" the EtherChannel's MAC address.

  2. Almost all EtherChannel attributes can now be modified at runtime. The only exception is Enable Gigabit Ethernet Jumbo Frames. To modify the Enable Gigabit Ethernet Jumbo Frames attribute, you must first detach the EtherChannel's interface before attempting to modify this value.

  3. For any attribute that cannot be changed at runtime (currently, only Enable Gigabit Ethernet Jumbo Frames), there is a field called Apply change to DATABASE only. If this attribute is set to yes, it is possible to change, at runtime, the value of an attribute that usually cannot be modified at runtime. With the Apply change to DATABASE only field set to yes the attribute will only be changed in the ODM and will not be reflected in the running EtherChannel until it is reloaded into memory (by detaching its interface, using rmdev -l EtherChannel_device and then mkdev -l EtherChannel_device commands), or until the machine is rebooted. This is a convenient way of making sure that the attribute is modified the next time the machine boots, without having to disrupt the running EtherChannel.

  4. In a logical partition, when you remove an adapter from an EtherChannel, you must also remove the associated switch port from the EtherChannel in the switch. Otherwise, the connectivity might be lost because the switch might be using the same switch port for communication.

To make changes to the EtherChannel or Link Aggregation using Dynamic Adapter Membership, follow these steps:

  1. At the command line, type smitty etherchannel.

  2. Select Change / Show Characteristics of an EtherChannel / Link Aggregation.

  3. Select the EtherChannel or Link Aggregation that you want to modify.

  4. Fill in the required fields according to the following guidelines:

  • In the Add adapter or Remove adapter field, select the Ethernet adapter you want to add or remove.

  • In the Add backup adapter or Remove backup adapter fields, select the Ethernet adapter you want to start or stop using as a backup.

  • Almost all of the EtherChannel attributes can be modified at runtime, although the Enable Gigabit Ethernet Jumbo Frames attribute cannot.

  • To turn a regular EtherChannel into an IEEE 802.3ad Link Aggregation, change the Mode attribute to 8023ad. To turn an IEEE 802.3ad Link Aggregation into an EtherChannel, change the Mode attribute to standard or round_robin.

  1. Fill in the necessary data, and press Enter.

Making changes to an EtherChannel with 5200-01 and earlier

Use this procedure to detach the interface and make changes to an EtherChannel with 5200-01 and earlier.

  1. Type smitty chinet and select the interface belonging to your EtherChannel. Change the Current STATE attribute to detach, and press Enter.

  2. On the command line type, smitty etherchannel.

  3. Select Change / Show Characteristics of an EtherChannel / Link Aggregation and press Enter.

  4. Select the EtherChannel or Link Aggregation that you want to modify.

  5. Modify the attributes you want to change in your EtherChannel or Link Aggregation and press Enter.

  6. Fill in the necessary fields and press Enter.

Removing an EtherChannel or Link Aggregation

Use this procedure to remove an EtherChannel or Link Aggregation.

  1. Type smitty chinet and select the interface belonging to your EtherChannel. Change the Current STATE attribute to detach, and press Enter.

  2. On the command line type smitty etherchannel.

  3. Select Remove an EtherChannel and press Enter.

  4. Select the EtherChannel that you want to remove and press Enter.

Configuring or removing a backup adapter on an existing EtherChannel or Link Aggregation:

The following procedure configures or removes a backup adapter on an EtherChannel or Link Aggregation.

  1. Type smitty chinet and select the interface belonging to your EtherChannel. Change the Current STATE attribute to detach, and press Enter.

  2. On the command line, type smitty etherchannel.

  3. Select Change / Show Characteristics of an EtherChannel / Link Aggregation.

  4. Select the EtherChannel or Link Aggregation that you are adding or modifying the backup adapter on.

  5. Enter the adapter that you want to use as your backup adapter in the Backup Adapter field, or select NONE if you wish to stop using the backup adapter.

IEEE 802.3ad 링크 집계 구성

IEEE 802.3ad는 링크 집계의 표준 방법입니다. 개념상 EtherChannel과 같이 여러 이더넷 어댑터를 가상 어댑터 하나로 묶어 더 큰 대역폭과 고장 보호를 줍니다.

예를 들어 ent0와 ent1을 ent3라는 IEEE 802.3ad 링크 집계로 묶으면, 인터페이스 ent3에 IP 주소를 구성합니다. 시스템은 이렇게 묶은 어댑터를 어댑터 하나로 봅니다. 그래서 다른 이더넷 어댑터처럼 그 위에 IP를 구성합니다.

IEEE 802.3ad에는 스위치의 지원이 필요합니다.

EtherChannel 대신 IEEE 802.3ad 링크 집계를 쓰는 장점은, IEEE 802.3ad 표준은 지원하지만 EtherChannel은 지원하지 않는 스위치를 쓸 수 있고 어댑터 고장에 대한 보호를 준다는 것입니다.

IEEE 802.3ad 집계를 구성하면 서버 기계(호스트 시스템)와 인접 스위치 사이에 LACPDU(link aggregation control protocol data unit)를 주고받습니다. 주 채널이든 백업 어댑터든 활성 채널만 인접 스위치와 LACPDU를 주고받습니다.

어댑터를 집계하려면(곧 스위치가 같은 집계에 속하도록 허용하려면) 회선 속도가 같아야 하고(예: 모두 100 Mbps나 모두 1 Gbps) 모두 전이중이어야 합니다. 회선 속도나 이중 모드가 다른 어댑터를 넣으려 하면 AIX 시스템에서는 집계 생성이 성공하지만 스위치가 어댑터를 함께 집계하지 않을 수 있습니다. 스위치가 어댑터를 집계하지 못하면 네트워크 성능이 떨어질 수 있습니다. 스위치에서 집계가 성공했는지 판단하는 방법은 IEEE 802.3ad 링크 집계 문제 해결을 봅니다.

IEEE 802.3ad 규격에 따라 같은 IP 주소로 보내는 패킷은 같은 어댑터로 보냅니다. 그래서 802.3ad 모드로 동작할 때 패킷은 언제나 standard 방식으로 분배되며 라운드 로빈 방식으로는 분배되지 않습니다.

백업 어댑터 기능은 EtherChannel과 똑같이 IEEE 802.3ad 링크 집계에도 있습니다. 백업 어댑터도 IEEE 802.3ad LACP를 따릅니다. 백업 어댑터에 연결된 스위치 포트에도 IEEE 802.3ad가 켜져 있어야 합니다.

참고: IEEE 802.3ad를 켜는 단계는 스위치마다 다릅니다. 스위치에서 LACP를 켜려면 어떤 초기 단계가 필요한지 스위치 문서를 봐야 합니다.

IEEE 802.3ad 집계 구성 방법은 아래 IEEE 802.3ad 링크 집계 구성 절차를 봅니다.

IEEE 802.3ad 링크 집계를 구성하기 전에 다음을 생각합니다.

  • 공식적으로 지원하지는 않지만, AIX의 IEEE 802.3ad 구현은 링크 집계에 회선 속도가 다른 어댑터를 넣는 것을 허용합니다. 그러나 같은 회선 속도와 전이중으로 설정된 어댑터만 집계해야 합니다. 그래야 스위치에서 링크 집계를 구성할 때 생길 수 있는 문제를 피합니다. 스위치가 허용하는 집계 종류는 스위치 문서를 봅니다.

  • 링크 집계에 10/100 이더넷 어댑터를 쓴다면 집계에 더하기 전에 그 어댑터에서 링크 폴링을 켜야 합니다. 명령행에 smitty chgenet을 입력합니다. Enable Link Polling 값을 yes로 바꾸고 Enter를 누릅니다. 링크 집계에 더할 모든 10/100 이더넷 어댑터에 이렇게 합니다.

    참고: AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package 이후에는 링크 폴링 메커니즘을 켤 필요가 없습니다. 링크 폴러가 자동으로 시작됩니다.

IEEE 802.3ad 링크 집계 구성 절차

  1. 명령행에 smitty etherchannel을 입력합니다.

  2. 목록에서 Add an EtherChannel / Link Aggregation을 고르고 Enter를 누릅니다.

  3. 링크 집계에 넣을 주 이더넷 어댑터를 고르고 Enter를 누릅니다. 백업 어댑터를 쓸 계획이면 이 단계에서 백업으로 쓸 어댑터는 고르지 않습니다.

    참고: Available Network Adapters에는 모든 이더넷 어댑터가 표시됩니다. 이미 쓰고 있는(인터페이스가 정의된) 이더넷 어댑터를 고르면 오류 메시지가 나옵니다. 그 어댑터를 쓰려면 먼저 인터페이스를 분리해야 합니다.

  4. 다음 지침에 따라 필드에 정보를 입력합니다.

    • Parent Adapter: EtherChannel의 부모 장치 정보(예: EtherChannel이 Shared Ethernet Adapter에 속할 때)를 보여 줍니다. 다른 어댑터 안에 들어 있지 않으면(기본) NONE, 들어 있으면 부모 어댑터 이름(예: ent6)이 표시됩니다. 정보용이며 고칠 수 없습니다. 부모 어댑터 옵션은 AIX 5.3 이후에 있습니다.

    • EtherChannel / Link Aggregation Adapters: 링크 집계에서 쓰는 주 어댑터가 모두 보여야 합니다. 앞 단계에서 고른 어댑터입니다.

    • Enable Alternate Address: 선택 필드입니다. yes로 하면 링크 집계가 쓸 MAC 주소를 지정할 수 있습니다. no로 하면 첫 어댑터의 MAC 주소를 씁니다.

    • Alternate Address: Enable Alternate Address를 yes로 했다면 쓸 MAC 주소를 지정합니다. 0x로 시작하는 12자리 16진수 주소(예: 0x001122334455)여야 합니다.

    • Enable Gigabit Ethernet Jumbo Frames: 선택 필드입니다. 스위치가 점보 프레임을 지원해야 합니다. Standard Ethernet(en) 인터페이스에서만 동작하며 IEEE 802.3(et) 인터페이스에서는 동작하지 않습니다. 켜려면 yes로 설정합니다.

    • Mode: 8023ad를 입력합니다.

    • Hash Mode: 나가는 어댑터를 정하는 알고리즘에 쓸 데이터 값을 정하는 해시 모드를 고릅니다.

      • default: 패킷의 목적지 IP 주소로 나가는 어댑터를 정합니다. IP가 아닌 트래픽(ARP 등)은 목적지 MAC 주소의 마지막 바이트로 계산합니다. 패킷을 받은 순서대로 내보내는 것을 보장하지만 대역폭을 다 쓰지 못할 수 있습니다.
      • src_port: 패킷의 출발지 UDP나 TCP 포트 값을 씁니다. UDP나 TCP가 아니면 목적지 IP 주소의 마지막 바이트를, IP가 아니면 목적지 MAC 주소의 마지막 바이트를 씁니다.
      • dst_port: 패킷의 목적지 UDP나 TCP 포트 값을 씁니다. UDP나 TCP가 아니면 목적지 IP의 마지막 바이트를, IP가 아니면 목적지 MAC 주소의 마지막 바이트를 씁니다.
      • src_dst_port: 출발지와 목적지 UDP나 TCP 포트 값을 모두 씁니다(정확히는 두 포트를 더해 2로 나눈 뒤 알고리즘에 넣습니다). UDP나 TCP가 아니면 목적지 IP의 마지막 바이트를, IP가 아니면 목적지 MAC 주소의 마지막 바이트를 씁니다. 클라이언트와 서버 모두 대부분의 상황에서 분배가 좋습니다.

      패킷 분배와 부하 분산은 EtherChannel load-balancing options를 봅니다.

    • Backup Adapter: 선택 필드입니다. 백업으로 쓸 어댑터를 입력합니다.

    • Internet Address to Ping: 선택 필드이며 주 집계에 어댑터 하나 이상과 백업 어댑터가 있을 때 쓸 수 있습니다. 링크 집계는 여기 지정한 IP 주소나 호스트 이름에 ping합니다. Number of Retries에 지정한 횟수만큼, Retry Timeout에 지정한 간격으로 ping하지 못하면 어댑터를 바꿉니다.

    • Number of Retries: 링크 집계가 어댑터를 바꾸기 전에 허용하는 ping 응답 실패 횟수입니다. 기본값은 3입니다. Internet Address to Ping을 설정했을 때만 유효합니다.

    • Retry Timeout: 링크 집계가 Internet Address to Ping에 ping하는 간격(초)입니다. 기본값은 1초입니다. Internet Address to Ping을 설정했을 때만 유효합니다.

  5. 원하는 필드를 바꾼 뒤 Enter를 눌러 링크 집계를 만듭니다.

  6. 명령행에 smitty chinet을 입력해 새로 만든 링크 집계 장치 위에 IP를 구성합니다.

  7. 목록에서 새 링크 집계 인터페이스를 고릅니다.

  8. 필수 필드를 모두 채우고 Enter를 누릅니다.

IEEE 802.3ad 링크 집계 문제 해결

IEEE 802.3ad 링크 집계 문제는 entstat 명령으로 해결합니다.

IEEE 802.3ad 링크 집계에 문제가 있으면 다음 명령으로 링크 집계의 동작 모드를 확인합니다.

text
entstat -d device

여기서 device는 링크 집계 장치입니다.

이 명령은 스위치에서 받은 LACPDU를 바탕으로 LACP 진행 상태도 최선 노력으로 판단합니다. 상태 값은 다음과 같습니다.

  • Inactive: LACP가 시작되지 않았습니다. 아직 IP 주소를 받지 않았거나 인터페이스가 분리되어 링크 집계가 아직 구성되지 않았을 때의 상태입니다.
  • Negotiating: LACP가 진행 중이지만 스위치가 아직 어댑터를 집계하지 않았습니다. 링크 집계가 1분보다 오래 이 상태에 머물면 스위치가 올바르게 구성되었는지 확인합니다. 예를 들어 포트에서 LACP가 켜져 있는지 확인해야 합니다.
  • Aggregated: LACP가 성공했고 스위치가 어댑터를 함께 집계했습니다.
  • Failed: LACP가 실패했습니다. 집계의 어댑터가 서로 다른 회선 속도나 이중 모드로 설정되었거나 서로 다른 스위치에 꽂혀 있는 것이 원인일 수 있습니다. 어댑터 구성을 확인합니다. 또 일부 스위치는 이어진 포트만 집계할 수 있고 집계할 수 있는 어댑터 수에 제한이 있을 수 있습니다. 스위치 문서에서 제한을 확인한 뒤 스위치 구성을 확인합니다.

참고: 링크 집계 상태는 진단용 값이며 AIX 쪽 구성에 영향을 주지 않습니다. 이 상태 값은 최선 노력으로 얻은 것입니다. 집계 문제를 디버그하려면 스위치 구성을 확인하는 것이 가장 좋습니다.

다음 IEEE 802.3ad 링크 집계 통계는 집계의 각 포트에서의 LACP 상태를 나타냅니다. Actor(IEEE 802.3ad 링크 집계)와 Partner(스위치 포트) 모두에 대해 보여 줍니다.

항목 뜻
System Priority: 이 시스템의 우선순위 값
System: 이 시스템을 고유하게 식별하는 값
Operational Key: 어떤 포트를 함께 집계할 수 있는지 나타내는 값
Port Priority: 이 포트의 우선순위 값
Port: 집계 안에서 이 포트를 식별하는 고유 값
State LACP activity: Active나 Passive. LACPDU를 언제나 먼저 보낼지, 다른 LACPDU에 응답할 때만 보낼지. IEEE 802.3ad 링크 집계는 언제나 Active 모드로 동작합니다.
State LACP timeout: Long이나 Short. LACPDU를 보내기 전에 기다리는 시간. IEEE 802.3ad 링크 집계는 언제나 long timeout을 씁니다.
State Aggregation: Individual이나 Aggregatable. 이 포트가 다른 포트와 집계를 이룰 수 있는지, 자기 자신하고만 이룰 수 있는지. 어댑터 하나짜리 IEEE 802.3ad 링크 집계의 포트는 Individual, 포트가 둘 이상이면 Aggregatable로 표시됩니다.
State Synchronization: IN_SYNC나 OUT_OF_SYNC. 집계가 상대와 동기화에 이르렀다고 판단했는지
State Collecting: Enabled나 Disabled. IEEE 802.3ad 링크 집계가 패킷을 수집(수신)하고 있는지
State Distributing: Enabled나 Disabled. IEEE 802.3ad 링크 집계가 패킷을 분배(송신)하고 있는지
State Defaulted: True나 False. 상대 정보에 기본값을 쓰고 있는지
State Expired: True나 False. expired 모드로 동작하는지

다음 통계는 포트별과 집계 전체 기준으로 모두 보여 줍니다.

항목 뜻
Received LACPDUs: 받은 LACPDU 패킷
Transmitted LACPDUs: 보낸 LACPDU 패킷
Received marker PDUs: 받은 marker PDU
Transmitted marker PDUs: 보낸 marker PDU. 이 버전의 프로토콜은 marker 프로토콜을 구현하지 않으므로 언제나 0입니다.
Received marker response PDUs: 받은 marker PDU(원문 그대로. marker response PDU의 뜻)
Transmitted marker response PDUs: 보낸 marker response PDU. 이 버전의 프로토콜은 marker 프로토콜을 구현하지 않으므로 언제나 0입니다.
Received unknown PDUs: 종류를 알 수 없는 PDU를 받은 수
Received illegal PDUs: 종류는 알지만 형식이 잘못되었거나, 길이가 예상과 다르거나, 하위 종류를 알 수 없는 PDU를 받은 수
영어 원문

IEEE 802.3ad Link Aggregation configuration

IEEE 802.3ad is a standard way of doing link aggregation. Conceptually, it works the same as EtherChannel in that several Ethernet adapters are aggregated into a single virtual adapter, providing greater bandwidth and protection against failures.

For example, ent0 and ent1 can be aggregated into an IEEE 802.3ad Link Aggregation called ent3; interface ent3 would then be configured with an IP address. The system considers these aggregated adapters as one adapter. Therefore, IP is configured over them as over any Ethernet adapter.

IEEE 802.3ad requires support in the switch.

The advantages of using IEEE 802.3ad Link Aggregation instead of EtherChannel are that you can use switches that support the IEEE 802.3ad standard but do not support EtherChannel and it provides protection against adapter failures.

When an IEEE 802.3ad aggregation is configured, link aggregation control protocol data units (LACPDUs) are exchanged between the server machine (host system) and the adjacent switch. Only the active channel, which could be either the primary channel or the backup adapter, exchanges LACPDU with the adjacent switch.

To be able to aggregate adapters (meaning that the switch allows them to belong to the same aggregation) they must be of the same line speed (for example, all 100 Mbps, or all 1 Gbps) and they must all be full duplex. If you attempt to place adapters of different line speeds or different duplex modes, the creation of the aggregation on the AIX system succeeds, but the switch might not aggregate the adapters together. If the switch does not successfully aggregate the adapters together, you might notice a decrease in network performance. For information on how to determine whether an aggregation on a switch was successful, see IEEE 802.3ad Link Aggregation troubleshooting.

According to the IEEE 802.3ad specification, packets that are being sent to the same IP address are sent over the same adapter. Thus, when being operated in 802.3ad mode, the packets are always distributed in the standard fashion, never in a round-robin fashion.

The backup adapter feature is available for IEEE 802.3ad Link Aggregations just as it is for EtherChannel. The backup adapter also follows the IEEE 802.3ad LACP. The switch port connected to the backup adapter must also have IEEE 802.3ad enabled.

Note: The steps to enable the use of IEEE 802.3ad varies from switch to switch. You must consult the documentation for your switch to determine what initial steps, if any, must be performed to enable LACP in the switch.

For information in how to configure an IEEE 802.3ad aggregation, see “Configuring IEEE 802.3ad Link Aggregation.”

Consider the following before you configure an IEEE 802.3ad Link Aggregation:

  • Although not officially supported, the AIX implementation of IEEE 802.3ad allows the Link Aggregation to contain adapters of different line speeds. However, you must aggregate only those adapters that are set to the same line speed and are set to full duplex. This helps to avoid potential problems in configuring the Link Aggregation on the switch. For more information on the types of aggregation allowed by your switch, see the documentation of your switch.

  • If you are using 10/100 Ethernet adapters in the Link Aggregation, you must enable link polling on those adapters before you add them to the aggregation. Type smitty chgenet at the command line. Change the Enable Link Polling value to yes, and press Enter. Perform this action for every 10/100 Ethernet adapter that you are adding to your Link Aggregation.

Note: In AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package and later, enabling the link polling mechanism is not necessary. The link poller is started automatically.

Configuring IEEE 802.3ad Link Aggregation

Follow these steps to configure an IEEE 802.3ad Link Aggregation.

  1. Type smitty etherchannel at the command line.

  2. Select Add an EtherChannel / Link Aggregation from the list and press Enter.

  3. Select the primary Ethernet adapters that you want on your Link Aggregation and press Enter. If you are planning to use a backup adapter, do not select the adapter that you plan to use for the backup at this point.

Note: The Available Network Adapters displays all Ethernet adapters. If you select an Ethernet adapter that is already being used (has an interface defined), you will get an error message. You first need to detach these interfaces if you want to use them.

  1. Enter the information in the fields according to the following guidelines:
  • Parent Adapter: Provides information about an EtherChannel's parent device (for example, when an EtherChannel belongs to a Shared Ethernet Adapter). This field displays a value of NONE if the EtherChannel is not contained within another adapter (the default). If the EtherChannel is

contained within another adapter, this field displays the parent adapter's name (for example, ent6). This field is informational only and cannot be modified. The parent adapter option is available in AIX 5.3 and later.

  • EtherChannel / Link Aggregation Adapters: You should see all primary adapters that you are using in your Link Aggregation. You selected these adapters in the previous step.

  • Enable Alternate Address: This field is optional. Setting this to yes enables you to specify a MAC address that you want the Link Aggregation to use. If you set this option to no, the Link Aggregation uses the MAC address of the first adapter.

  • Alternate Address: If you set Enable Alternate Address to yes, specify the MAC address that you want to use here. The address you specify must start with 0x and be a 12-digit hexadecimal address (for example, 0x001122334455).

  • Enable Gigabit Ethernet Jumbo Frames: This field is optional. In order to use this, your switch must support jumbo frames. This only works with a Standard Ethernet (en) interface, not an IEEE 802.3 (et) interface. Set this to yes if you want to enable it.

  • Mode: Enter 8023ad.

  • Hash Mode: You can choose from the following hash modes, which determines the data value to be used by the algorithm to determine the outgoing adapter: – default: In this hash mode the destination IP address of the packet will be used to determine the outgoing adapter. For non-IP traffic (such as ARP), the last byte of the destination MAC address is used to do the calculation. This mode will guarantee packets are sent out over the EtherChannel in the order they were received, but it may not make full use of the bandwidth. – src_port: The source UDP or TCP port value of the packet is used to determine the outgoing adapter. If the packet is not UDP or TCP traffic, the last byte of the destination IP address is used. If the packet is not IP traffic, the last byte of the destination MAC address is used. – dst_port: The destination UDP or TCP port value of the packet is used to determine the outgoing adapter. If the packet is not UDP or TCP traffic, the last byte of the destination IP is used. If the packet is not IP traffic, the last byte of the destination MAC address is used. – src_dst_port: Both the source and destination UDP or TCP port values of the packet are used to determine the outgoing adapter (specifically, the source and destination ports are added and then divided by two before being fed into the algorithm). If the packet is not UDP or TCP traffic, the last byte of the destination IP is used. If the packet is not IP traffic, the last byte of the destination MAC address is used. This mode can give good packet distribution in most situations, both for clients and servers.

To learn more about packet distribution and load balancing, see EtherChannel load-balancing options.

  • Backup Adapter: This field is optional. Enter the adapter that you want to use as your backup.

  • Internet Address to Ping: This field is optional and is available if you have one or more adapters in the main aggregation and a backup adapter. The Link Aggregation pings the IP address or host name that you specify here. If the Link Aggregation is unable to ping this address for the number of times specified by the Number of Retries field and in the intervals specified by the Retry Timeout field, the Link Aggregation switches adapters.

  • Number of Retries: Enter the number of ping response failures that are allowed before the Link Aggregation switches adapters. The default is three. This field is optional and valid only if you have set an Internet Address to Ping.

  • Retry Timeout: Enter the number of seconds between the times when the Link Aggregation pings the Internet Address to Ping. The default is one second. This field is optional and valid only if you have set an Internet Address to Ping.

  1. Press Enter after changing the desired fields to create the Link Aggregation.

  2. Configure IP over the newly-created Link Aggregation device by typing smitty chinet at the command line.

  3. Select your new Link Aggregation interface from the list.

  4. Fill in all the required fields and press Enter.

IEEE 802.3ad Link Aggregation troubleshooting

Use the entstat command to troubleshoot IEEE 802.3ad Link Aggregation.

If you are having trouble with your IEEE 802.3ad Link Aggregation, use the following command to verify the mode of operation of the Link Aggregation:

text
entstat -d device

where device is the Link Aggregation device.

This will also make a best-effort determination of the status of the progress of LACP based on the LACPDUs received from the switch. The following status values are possible:

  • Inactive: LACP has not been initiated. This is the status when a Link Aggregation has not yet been configured, either because it has not yet been assigned an IP address or because its interface has been detached.

  • Negotiating: LACP is in progress, but the switch has not yet aggregated the adapters. If the Link Aggregation remains on this status for longer than one minute, verify that the switch is correctly configured. For instance, you should verify that LACP is enabled on the ports.

  • Aggregated: LACP has succeeded and the switch has aggregated the adapters together.

  • Failed: LACP has failed. Some possible causes are that the adapters in the aggregation are set to different line speeds or duplex modes or that they are plugged into different switches. Verify the adapters' configuration. In addition, some switches allow only contiguous ports to be aggregated and may have a limitation on the number of adapters that can be aggregated. Consult the switch documentation to determine any limitations that the switch may have, then verify the switch configuration.

Note: The Link Aggregation status is a diagnostic value and does not affect the AIX side of the configuration. This status value was derived using a best-effort attempt. To debug any aggregation problems, it is best to verify the switch's configuration.

The following IEEE 802.3ad Link Aggregation statistics represent the status of the LACP on each port of the aggregation.

They are shown for both the Actor (the IEEE 802.3ad Link Aggregation) and for the Partner (the switch port).

System Priority: priority value for this system System: value that uniquely identifies this system Operational Key: value that denotes which ports may be aggregated together Port Priority: priority value for this port Port: unique value that identifies this port in the aggregation State: LACP activity: Active or Passive - whether to initiate sending LACPDUs always, or only in response to another LACPDU: the IEEE 802.3ad Link Aggregation will always operate in Active mode LACP timeout: Long or Short - time to wait before sending LACPDUs: the IEEE 802.3ad Link Aggregation will always use the long timeout Aggregation: Individual or Aggregatable - whether this port can form an aggregation with other ports, or if it can only form an aggregation with itself:

the port in a one-adapter IEEE 802.3ad Link Aggregation will be marked as Individual, or Aggregatable if there are more than one ports Synchronization: IN_SYNC or OUT_OF_SYNC - whether the aggregation has determined it has reached synchronization with the partner Collecting: Enabled or Disabled - whether the IEEE 802.3ad Link Aggregation is collecting (receiving) packets Distributing: Enabled or Disabled - whether the IEEE 802.3ad Link Aggregation is distributing (sending) packets Defaulted: True or False - whether the IEEE 802.3ad Link Aggregation is using default values for the partner's information Expired: True or False - whether the IEEE 802.3ad Link Aggregation is operated in expired mode

The following statistics are shown on both a port-by-port and aggregate basis:

Received LACPDUs: LACPDU packets received Transmitted LACPDUs: LACPDU packets sent out Received marker PDUs: marker PDUs received Transmitted marker PDUs: marker PDUs sent: this version of the protocol does not implement the marker protocol, so this statistic will always be zero Received marker response PDUs: marker PDUs received Transmitted marker response PDUs: marker response PDUs sent: this version of the protocol does not implement the marker protocol, so this statistic will always be zero Received unknown PDUs: PDUs received of unknown type Received illegal PDUs: PDUs received of known type, but which were malformed, of unexpected length, or unknown subtype

상호 운용 시나리오

EtherChannel이나 IEEE 802.3ad 링크 집계를 구성할 때 다음 상호 운용 시나리오를 생각합니다.

각 시나리오의 추가 설명은 표 뒤에 있습니다.

표 83. AIX와 스위치 구성 조합과 각 조합이 만드는 결과

EtherChannel 모드 스위치 구성 결과
8023ad IEEE 802.3ad LACP 정상. AIX가 LACPDU를 시작하고, 이것이 스위치에서 IEEE 802.3ad 링크 집계를 일으킵니다.
standard 또는 round_robin EtherChannel 정상. 전통적인 EtherChannel 동작이 됩니다.
8023ad EtherChannel (6.1) 바람직하지 않음. AIX와 스위치가 집계할 수 없습니다. AIX는 LACPDU를 시작하지만 스위치는 이를 무시하고 AIX에 LACPDU를 보내지 않습니다. LACPDU가 없으므로 AIX는 그 링크·포트에 패킷을 분배하지 않습니다. 결과는 네트워크 연결 끊김입니다. (5.3) 정상. AIX가 LACPDU를 시작하지만 스위치가 무시합니다.
standard 또는 round_robin IEEE 802.3ad LACP 바람직하지 않음. 스위치가 집계할 수 없습니다. 스위치가 MAC 주소를 스위치 포트 사이로 옮기면서 성능이 나빠질 수 있습니다.

각 구성 조합의 간단한 설명은 다음과 같습니다.

  • (5.3) 8023ad와 IEEE 802.3ad LACP: 가장 흔한 IEEE 802.3ad 구성입니다. 스위치는 수동(passive)이나 능동(active) LACP로 설정할 수 있습니다.

  • 8023ad와 EtherChannel: (6.1) 이 경우 AIX는 LACPDU를 보내지만 스위치가 EtherChannel로 동작하므로 응답이 없습니다. 그 결과 LACPDU가 없어 AIX는 그 링크·포트를 패킷 분배에 쓰지 않습니다. 이 때문에 네트워크 연결이 끊깁니다. (5.3판은 이 조합에서도 스위치가 포트를 한 링크로 다루므로 동작한다고 적었습니다.)

    참고: 이 경우 entstat -d 명령은 집계가 언제나 Negotiating 상태라고 보고합니다. (6.1) 또 entstat 출력의 IEEE 802.3ad Port Statistics 부분에서 Actor의 Distributing이 disabled로 나옵니다.

  • standard 또는 round_robin과 EtherChannel: 가장 흔한 EtherChannel 구성입니다.

  • standard 또는 round_robin과 IEEE 802.3ad LACP: 이 구성은 잘못되었습니다. 스위치가 LACP로 집계를 만들려 해도 AIX가 LACPDU에 응답하지 않으므로 집계가 일어나지 않습니다. 올바르게 동작하려면 AIX에서 모드를 8023ad로 설정해야 합니다.

영어 원문

Interoperability scenarios

Consider the following interoperability scenarios when configuring your EtherChannel or IEEE 802.3ad Link Aggregation.

Additional explanation of each scenario is given after the table.

Table 83. Different AIX and switch configuration combinations and the results each combination will produce.

EtherChannel mode Switch configuration Result
8023ad IEEE 802.3ad LACP

OK - AIX initiates LACPDUs, which triggers an IEEE 802.3ad Link Aggregation on the switch.

standard or round_robin EtherChannel OK - Results in traditional EtherChannel behavior.

8023ad EtherChannel Undesirable - AIX and Switch cannot aggregate. AIX initates LACPDUs, but the switch ignores them and do not send LACPDUs to AIX. Due to missing LACPDU, AIX does not distribute packets on the link/port. The result is loss of network connectivity.

standard or round_robin IEEE 802.3ad LACP Undesirable - Switch cannot aggregate. The result might be from poor performance as the switch moves the MAC address between switch ports

A brief description of each configuration combination follows:

  • 8023ad with EtherChannel : In this case, AIX will send LACPDUs, but they will go unanswered because the switch is operating as an EtherChannel. As a result, due to missing LACPDU, AIX will not use the link/port for packets distribution. This will cause loss of network connectivity.

Note: In this case, the entstat -d command will always report the aggregation is in the Negotiating state. Also, in the entstat output, the section IEEE 802.3ad Port Statistics will show the Distributing is disabled for the Actor.

  • standard or round_robin with EtherChannel: This is the most common EtherChannel configuration.

  • standard or round_robin with IEEE 802.3ad LACP: This setup is invalid. If the switch is using LACP to create an aggregation, the aggregation will never happen because AIX will never reply to LACPDUs. For this to work correctly, 8023ad should be the mode set on AIX.

지원 어댑터

EtherChannel과 IEEE 802.3ad 링크 집계는 IBM Power Systems PCI-X(Peripheral Component Interconnect-X)와 PCIe(PCI Express) 이더넷 어댑터에서 지원됩니다.

추가 고려 사항은 다음과 같습니다.

가상 I/O 이더넷 어댑터

가상 I/O 이더넷 어댑터는 두 가지 EtherChannel 구성에서만 지원됩니다.

  • 가상 I/O 이더넷 어댑터 하나를 주로, 가상 I/O 이더넷 어댑터 하나를 백업으로. 이 구성에서는 EtherChannel이 원격 연결 고장을 감지하도록 Internet Address to Ping 속성을 켜야 합니다. 각 가상 I/O 이더넷 어댑터는 서로 다른 PVID(Port VLAN ID)로 구성해야 합니다. 또 각각 서로 다른 VIOS(Virtual I/O Server)가 브리지하도록 구성해야 합니다.
  • 지원되는 물리 이더넷 어댑터 하나를 주로, 가상 I/O 이더넷 어댑터 하나를 백업으로. 이 구성에서는 EtherChannel이 원격 연결 고장을 감지하도록 Internet Address to Ping 속성을 켜야 합니다.

HEA(Host Ethernet Adapter)

EtherChannel 안의 모든 어댑터가 HEA 논리 포트면 HEA 논리 포트를 EtherChannel에서 지원합니다. 전용 HEA 포트에서는 PCI/PCI-E 어댑터와의 링크 집계를 지원합니다. 또 (주 어댑터에 HEA가 있을 때) PCI/PCI-E와 가상 이더넷 어댑터를 백업 어댑터로 쓰는 것도 지원합니다. 여러 HEA 논리 포트를 EtherChannel의 주 어댑터로 쓸 때는 HEA 논리 포트와 연결된 물리 포트도 이더넷 스위치에서 EtherChannel로 묶어야 합니다. 따라서 같은 HEA 물리 포트로 가는 HEA 논리 포트를 쓰는 모든 파티션도 EtherChannel로 묶어야 합니다. 예를 들어 Partition 1이 다음과 같이 구성되어 있다고 합니다.

  • 물리 HEA 포트 0에서 나온 논리 HEA 포트
  • 물리 HEA 포트 1에서 나온 논리 HEA 포트
  • 위 논리 HEA 포트로 만든 EtherChannel

같은 시스템의 다른 파티션이 물리 HEA 포트 0이나 1에서 나온 논리 HEA 포트를 써야 한다면, Partition 1의 구성처럼 그 파티션에도 두 논리 HEA 포트 위에 EtherChannel을 만들어야 합니다. 그 논리 HEA 포트를 다른 파티션에서 독립 포트로 쓰려 하면 패킷이 올바른 논리 HEA 포트로 전달되지 않아 연결 문제가 생길 수 있습니다.

네트워크 인터페이스 백업 구성(주 1개와 백업 1개)에서 논리 HEA 포트를 쓸 때는 물리 HEA 포트에 이더넷 스위치의 특별한 구성이 필요 없으므로 이 제한이 없습니다.

참고: 물리 HEA 포트의 논리 포트를 LACP 집계(802.3ad)의 일부로 구성하면 그 물리 포트는 그 LPAR 전용이어야 합니다. HMC는 그 포트를 다른 LPAR에 할당하는 것을 막지 않지만 그런 구성을 지원하지 않습니다.

FCoE(Fibre Channel over Ethernet) 통합 네트워크 어댑터

공유 포트(이더넷과 파이버 채널 트래픽 모두에 쓰는 포트)와 다른 지원 어댑터 사이의 링크 집계는, 공유 포트에 연결된 스위치가 파이버 채널 트래픽에 영향을 주지 않고 링크 집계를 지원할 수 있을 때만 지원합니다.

SR-IOV(Single Root I/O Virtualization) 어댑터

SR-IOV 논리 포트의 링크 집계는 다음 방법 가운데 하나로 할 수 있습니다.

  • IEEE 802.3ad 링크 집계(LACP라고도 함)
  • 네트워크 인터페이스 백업(NIB)
  • LACP와 NIB 둘 다

포트 하나보다 큰 대역폭이 필요한 네트워크 응용 프로그램에는 IEEE 802.3ad 링크 집계로 여러 SR-IOV 논리 포트를 집계할 수 있습니다. IEEE 802.3ad 링크 집계로 집계하는 SR-IOV 논리 포트는 그 물리 포트에 구성된 유일한 논리 포트여야 합니다. 같은 물리 포트에 여러 SR-IOV 논리 포트를 구성하고 그 가운데 하나를 IEEE 802.3ad 링크 집계 구성에 넣으면, 물리 포트를 거쳐 둘 이상의 LACP 상대가 통신할 수 있어 스위치가 제대로 관리하지 못할 수 있습니다. IEEE 802.3ad 링크 집계 구성의 SR-IOV 논리 포트와 같은 물리 포트에 두 번째 SR-IOV 논리 포트가 구성되지 않도록, 논리 포트를 구성할 때 용량(capacity) 값을 100(100%)으로 설정해야 합니다. 포트 하나보다 작은 대역폭이 필요하면서 단일 네트워크 고장에 대한 보호가 필요한 네트워크 응용 프로그램에는 SR-IOV 논리 포트를 NIB 구성에 넣을 수 있습니다. SR-IOV 논리 포트를 NIB 구성의 주 어댑터나 백업 어댑터로 구성하면 물리 포트를 다른 SR-IOV 논리 포트와 나눠 쓸 수 있습니다. 이 구성에서는 원격 연결 고장을 감지하도록 Internet Address to Ping 속성을 켤 수 있습니다. SR-IOV 논리 포트는 다른 SR-IOV 논리 포트, 가상 이더넷 어댑터, 물리 어댑터 포트의 주 어댑터나 백업 어댑터가 될 수 있습니다.

새 어댑터에 관한 추가 릴리스 정보는 사용하는 AIX 수준에 해당하는 AIX Release Notes를 봅니다.

중요: 백업 어댑터로 동작하는 것이라도, 한 EtherChannel에 속도가 다른 어댑터를 섞는 것은 지원하지 않습니다. 그런 구성이 동작하지 않는다는 뜻은 아닙니다. EtherChannel 드라이버는 속도가 섞인 상황에서도 동작하도록 합리적인 시도를 다 합니다.

관련 정보: Single root I/O virtualization

(5.3판은 이 절에 10/100 Mbps Ethernet PCI Adapter, Gigabit Ethernet-SX PCI Adapter, 10/100/1000 Base-TX Ethernet PCI-X Adapter 같은 지원 어댑터 이름 목록과, PCI Ethernet BNC/RJ-45·AUI/RJ-45 어댑터는 백업 없이 standard나 라운드 로빈 모드의 기본 기능만 지원한다는 제한을 적었습니다.)

영어 원문

Supported adapters

EtherChannel and IEEE 802.3ad Link Aggregation are supported on IBM Power Systems™Peripheral Component Interconnect-X (PCI-X) and PCI Express (PCIe) Ethernet adapters.

Additional considerations are as follows:

  • Virtual I/O Ethernet Adapter Virtual I/O Ethernet Adapters are supported in only two possible EtherChannel configurations: – One Virtual I/O Ethernet Adapter as the primary, one Virtual I/O Ethernet Adapter as the backup. In this configuration, the Internet Address to Ping attribute must be enabled so that the EtherChannel can detect remote connectivity failures. Each Virtual I/O Ethernet Adapter must be configured with a different Port VLAN ID (PVID). In addition, each must be configured to be bridged by different Virtual I/O Servers (VIOSs). – One supported physical Ethernet adapter as the primary, one Virtual I/O Ethernet Adapter as the backup. In this configuration, the Internet Address to Ping attribute must be enabled so that the EtherChannel can detect remote connectivity failures.

  • Host Ethernet Adapter (HEA) HEA logical ports are supported under EtherChannel if all adapters within the EtherChannel are HEA logical ports. For dedicated HEA port, link aggregation with the PCI/PCI-E adapter is supported. In addition, a PCI/PCI-E and virtual Ethernet adapter as a backup adapter is also supported (when the primary adapter contain HEA). When using multiple HEA logical ports as primary adapters in an EtherChannel, the physical ports associated with the HEA logical ports must also be placed in an EtherChannel in the Ethernet switch. Consequently, all partitions that use HEA logical ports going to the same HEA physical ports must also be placed in an EtherChannel. For example, assume that Partition 1 is configured as follows: – A logical HEA port out of physical HEA port 0 – A logical HEA port out of physical HEA port 1 – An EtherChannel created using the logical HEA ports listed above If another partition on the same system needs to use a logical HEA port out of physical HEA port 0 or out of physical HEA port 1, you must create an EtherChannel for the partition over both of the logical HEA ports, similar to the configuration of Partition 1. Attempting to use either of those logical HEA ports as stand-alone ports in other partitions might cause connectivity problems because packets might not be delivered to the correct logical HEA port.

The restriction does not exist when using logical HEA ports in a Network interface backup configuration (1 primary and 1 backup), because the physical HEA ports do not require specific configuration on the Ethernet switch.

Note: If logical ports from physical HEA ports are configured as part of LACP aggregation (802.3ad), then those physical ports must be exclusive to that LPAR. HMC does not prevent the ports from being assigned to other LPARs, but does not support the configuration.

  • Fibre Channel over Ethernet converged network adapters Link aggregation between a shared port (a port that is used for both Ethernet and Fiber Channel traffic) and other supported adapters is only supported if the switch that is connected to the shared port can support the link aggregation without impacting the Fiber Channel traffic.

  • Single Root I/O Virtualization (SR-IOV) adapters Link aggregation with SR-IOV logical ports can be approached by using one of the following methods: – IEEE 802.3ad Link Aggregation, also known as Link Aggregation Control Protocol (LACP) – Network Interface Backup (NIB) – Both LACP and NIB For network applications where bandwidth of more than a single port is required, IEEE 802.3ad Link Aggregation can be used to aggregate multiple SR-IOV logical ports. An SR-IOV logical port that is aggregated by using IEEE 802.3ad Link Aggregation must be the only logical port that is configured for the physical port. Multiple SR-IOV logical ports that are configured for the same physical port, where one of the multiple SR-IOV logical ports is configured to be part of an IEEE 802.3ad Link Aggregation configuration, might not be managed properly by the switch because more than one LACP partner might be communicating across the physical port. To prevent configuration of a second SR-IOV logical port on the same physical port as SR-IOV logical port in an IEEE 802.3ad Link Aggregation configuration, the capacity value of the logical port must be set to 100 (100%) when the logical port is configured. For network applications where bandwidth of less than a single port is required along with protection against a single network failure, SR-IOV logical ports can be a part of NIB configuration. When an SR-IOV logical port is configured as either a primary or backup adapter in an NIB configuration, the physical port can be shared by other SR-IOV logical ports. In this configuration, the Internet Address to Ping attribute can be enabled to detect remote connectivity failures. SR-IOV logical ports can be the primary or backup adapter for another SR-IOV logical port, a virtual Ethernet adapter, or a physical adapter port.

For additional release information about new adapters, see the AIX Release Notes that correspond to your level of AIX.

Important: Mixing adapters of different speeds in the same EtherChannel, even if one of them is operating as the backup adapter, is not supported. This does not mean that such configurations will not work. The EtherChannel driver makes every reasonable attempt to work even in a mixed-speed scenario.

Related information

Single root I/O virtualization

EtherChannel 문제 해결

EtherChannel에 문제가 있으면 생각할 시나리오가 많습니다.

추적과 통계로 문제를 진단할 수 있으며, 장애 조치와 점보 프레임 문제가 관련될 수 있습니다.

EtherChannel 추적

EtherChannel 문제는 tcpdump와 iptrace로 해결합니다.

송신 패킷의 추적 훅 ID는 2FA이고 그 밖의 이벤트는 2FB입니다. EtherChannel 전체의 수신 패킷은 추적할 수 없지만 각 어댑터의 수신 추적 훅은 추적할 수 있습니다.

EtherChannel 통계

EtherChannel의 모든 어댑터의 통계 합계는 entstat 명령으로 얻습니다.

예를 들어 entstat ent3은 ent3의 통계 합계를 보여 줍니다. -d 플래그를 더하면 각 어댑터의 통계도 따로 보여 줍니다. 예를 들어 entstat -d ent3을 입력하면 EtherChannel의 통계 합계와 EtherChannel 안 각 어댑터의 통계를 보여 줍니다.

참고: General Statistics 부분의 Adapter Reset Count에 나오는 숫자는 장애 조치 횟수입니다. EtherChannel 백업에서 백업 어댑터에서 주 EtherChannel로 돌아오는 것은 장애 조치로 세지 않습니다. 주 채널에서 백업으로의 장애 조치만 셉니다.

Number of Adapters 필드에 표시되는 숫자에는 백업 어댑터도 들어갑니다.

느린 장애 조치

네트워크 인터페이스 백업 모드나 EtherChannel 백업을 쓸 때 장애 조치 시간이 길면 스위치가 STP(Spanning Tree Protocol)를 실행하고 있지 않은지 확인합니다.

스위치는 스위치 포트와 MAC 주소의 매핑이 바뀐 것을 감지하면 스패닝 트리 알고리즘을 실행해 네트워크에 루프가 있는지 봅니다. 네트워크 인터페이스 백업과 EtherChannel 백업은 포트와 MAC 주소의 매핑을 바꿀 수 있습니다.

스위치 포트에는 초기화 뒤 얼마나 빨리 각 포트가 패킷을 전달하거나 보내기 시작할지 정하는 forwarding delay 카운터가 있습니다. 그래서 주 채널이 다시 켜질 때는 연결이 다시 맺어지기까지 지연이 있지만, 백업 어댑터로의 장애 조치는 더 빠릅니다. 주 채널로 되도록 빨리 돌아오도록 스위치의 forwarding delay 카운터를 확인하고 되도록 작게 합니다.

EtherChannel 백업 기능이 올바르게 동작하려면 forwarding delay 카운터가 10초를 넘으면 안 되며, 그렇지 않으면 주 EtherChannel로 돌아오는 것이 올바르게 되지 않을 수 있습니다. forwarding delay 카운터를 스위치가 허용하는 가장 낮은 값으로 설정하기를 권합니다.

어댑터가 장애 조치하지 않음

어댑터 고장이 장애 조치를 일으키지 않고 AIX 5.2 with 5200-01 이하를 실행하고 있다면, 링크 고장을 감지하려면 어댑터 카드에서 링크 폴링을 켜야 하는지 확인합니다.

일부 어댑터는 링크 상태를 자동으로 감지하지 못합니다. 이 상태를 감지하려면 이 어댑터들은 링크 상태를 주기적으로 확인하는 타이머를 시작하는 링크 폴링 메커니즘을 켜야 합니다. 링크 폴링은 기본으로 꺼져 있습니다. 그러나 이 어댑터들에서 EtherChannel이 올바르게 동작하려면 EtherChannel을 만들기 전에 각 어댑터에서 링크 폴링 메커니즘을 켜야 합니다. AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package 이후를 실행하고 있으면 링크 폴링이 자동으로 시작되므로 문제가 되지 않습니다.

링크 폴링 메커니즘이 있는 어댑터에는 poll_link라는 ODM 속성이 있으며, 링크 폴링을 켜려면 yes로 설정해야 합니다. EtherChannel을 만들기 전에 채널에 넣을 모든 어댑터에서 다음 명령을 씁니다.

text
smitty chgenet

Enable Link Polling 값을 yes로 바꾸고 Enter를 누릅니다.

점보 프레임

EtherChannel에서 use_jumbo_frame 속성을 켜는 것 말고도, EtherChannel을 만들기 전에 각 어댑터에서 점보 프레임을 켜야 합니다.

그러려면 다음 명령을 실행합니다.

text
smitty chgenet

EtherChannel의 use_jumbo_frame 속성을 yes로 설정하면 밑의 모든 어댑터에서 점보 프레임이 자동으로 켜집니다.

원격 덤프

EtherChannel 위에서는 원격 덤프를 지원하지 않습니다.

영어 원문

EtherChannel troubleshooting

If you are having trouble with your EtherChannel, there are many scenarios to consider.

You can use tracing and statistics to help diagnose the problem, which can involve issues with failover and jumbo frames.

EtherChannel tracing

Use tcpdump and iptrace to troubleshoot the EtherChannel.

The trace hook ID for the transmission packets is 2FA and for other events is 2FB. You cannot trace receive packets on the EtherChannel as a whole, but you can trace each adapter's receive trace hooks.

EtherChannel statistics

Use the entstat command to get the aggregate statistics of all of the adapters in the EtherChannel.

For example, entstat ent3 will display the aggregate statistics of ent3. Adding the -d flag will also display the statistics of each adapter individually. For example, typing entstat -d ent3 will show you the aggregate statistics of the EtherChannel as well as the statistics of each individual adapter in the EtherChannel.

Note: In the General Statistics section, the number shown in Adapter Reset Count is the number of failovers. In EtherChannel backup, coming back to the main EtherChannel from the backup adapter is not counted as a failover. Only failing over from the main channel to the backup is counted.

In the Number of Adapters field, the backup adapter is counted in the number displayed.

Slow failover

If the failover time when you are using network interface backup mode or EtherChannel backup is slow, verify that your switch is not running the Spanning Tree Protocol (STP).

When the switch detects a change in its mapping of switch port to MAC address, it runs the spanning tree algorithm to see if there are any loops in the network. Network Interface Backup and EtherChannel backup may cause a change in the port to MAC address mapping.

Switch ports have a forwarding delay counter that determines how soon after initialization each port should begin forwarding or sending packets. For this reason, when the main channel is re-enabled, there is a delay before the connection is reestablished, whereas the failover to the backup adapter is faster. Check the forwarding delay counter on your switch and make it as small as possible so that coming back to the main channel occurs as fast as possible.

For the EtherChannel backup function to work correctly, the forwarding delay counter must not be more than 10 seconds, or coming back to the main EtherChannel might not work correctly. Setting the forwarding delay counter to the lowest value allowed by the switch is recommended.

Adapters not failing over

If adapter failures are not triggering failovers and you are running AIX 5.2 with 5200-01 or earlier, check to see if your adapter card needs to have link polling enabled to detect link failure.

Some adapters cannot automatically detect their link status. To detect this condition, these adapters must enable a link polling mechanism that starts a timer that periodically verifies the status of the link. Link polling is disabled by default. For EtherChannel to work correctly with these adapters, however, the link polling mechanism must be enabled on each adapter before the EtherChannel is created. If you are running AIX 5L Version 5.2 with the 5200-03 Recommended Maintenance package and later, the link polling is started automatically and this cannot be an issue.

Adapters that have a link polling mechanism have an ODM attribute called poll_link, which must be set to yes for the link polling to be enabled. Before creating the EtherChannel, use the following command on every adapter to be included in the channel:

text
smitty chgenet

Change the Enable Link Polling value to yes and press Enter.

Jumbo frames

Aside from enabling the use_jumbo_frame attribute on the EtherChannel, you must also enable jumbo frames on each adapter before creating the EtherChannel.

To do this, run the following command:

text
smitty chgenet

Jumbo frames are enabled automatically in every underlying adapter when the use_jumbo_frame attribute of an EtherChannel is set to yes.

Remote dump

Remote dump is not supported over an EtherChannel.