ã¯ããã«
ååã«ç¶ããä»å㯠Nutanix CE ã®åææ§ç¯æã«CLIã§LACPã®è¨å®ããã¦ããã¾ããååã®è¨äºã§ã¯ããªã³ã¯ã¯ï¼æ¬ã§ç¹ãã§ãããã¨ãæ³å®ãã¦ãã¾ãããããããªã³ã¯ãï¼æ¬ç¹ãã§ããå ´åã§ã¯ãLACPã®è¨å®ãªãã«æ¥ç¶ã¯ã§ãã¾ããã
Nutanix CE ã§ã¯10GbEãªã³ã¯ã使ç¨ãããã¨ãæ¨å¥¨ãã¦ãã¾ãããæå
ã«1GbEãããªãå ´åãç°å¢ãç¨æãããã¨ãé¢åãªå ´å(ç§ã§ãã)ã¯ããªã³ã¯ãæãã¦å¸¯åãå¢ãããã¨ãæ¨å¥¨ãã¦ãã¾ãã
If 10 GbE or faster uplinks are available, Nutanix recommends that you use them instead of 1 GbE uplinks.
If you must use only 1GbE uplinks, add them into a bond to increase bandwidth and use the balance-TCP (LACP) or balance-SLB bond mode.
å¼ç¨å ï¼AHV 6.8 - Host Network Management1
ç°å¢
ã·ã³ãã«ã«ã¹ã¤ããï¼å°ã¨ãµã¼ãï¼å°éãï¼æ¬ã®1GbEãªã³ã¯ã§æãã¦ããã¾ããã¹ã¤ããã¯Ciscoã®Catalystã使ç¨ãã¦ãã¾ãã
è¨å®(ãµã¼ãå´)
è¨å®ã¯CVMã§å®æ½ãã¾ãã®ã§ãAHVããCVMã¸SSHãã¦ããã¾ããã¾ããaCLIã³ãã³ãã使ç¨ãããã Acropolis ãèµ·åãã¦ããå¿
è¦ãããã¾ããã¯ã©ã¹ã¿ãèµ·åãã¦ããã° Acropolis ãèµ·åãã¦ããã®ã§ä½æ¥ã®éã¯ã¯ã©ã¹ã¿ãèµ·åãã¦ããã¾ãã
以ä¸ã®åºåã®ããã«åææ§ç¯æã«ä½æããã vs0 ã«ã¯ãã¹ã¦ã®NIC(ä¾ï¼eth0ï½eth5)ãç´ã¥ãã¦ãã¾ããæå
ã®ç°å¢ã§LACPã¨ãã¦æ±ãã¤ã³ã¿ã¼ãã§ã¼ã¹ãçµãã¾ããè¨å®å¾ã¯ãvs0 ã«ç´ã¥ã uplink_list ãå°ãªããªã£ã¦ãããã¨ãåããã¾ãã
### è¨å®åã®ç¶æ nutanix@CVM$ acli net.get_virtual_switch vs0 config { cluster_configuration_list { cluster_uuid: "00062254-83be-d3da-1b06-************" default_uplink_grouping: "kMixed" host_configuration_list { config_failed: False host_uuid: "2e178a51-916c-408c-bcf4-************" internal_bridge: "br0" route_table: 1000 uplink_list: "eth0" uplink_list: "eth1" uplink_list: "eth2" uplink_list: "eth3" uplink_list: "eth4" uplink_list: "eth5" } } default: True description: "Default Virtual Switch" lacp_config { lacp: False } logical_timestamp: 1 mtu: 1500 name: "vs0" nic_team_policy: "kActiveBackup" partially_done: False vswitch_uuid: "229028f8-4c09-4dd4-abd7-************" } ### è¨å®ã³ãã³ãï¼acli net.update_virtual_switch vs0 host_uplink_config="{<host_uuid>:[<NIC>,<NIC>]}"ï¼ nutanix@CVM$ acli net.update_virtual_switch vs0 host_uplink_config="{2e178a51-916c-408c-bcf4-************:[eth0,eth1]}" ### è¨å®å¾ã®ç¶æ nutanix@CVM$ acli net.get_virtual_switch vs0 config { cluster_configuration_list { cluster_uuid: "00062254-83be-d3da-1b06-************" default_uplink_grouping: "kMixed" host_configuration_list { config_failed: False host_uuid: "2e178a51-916c-408c-bcf4-************" internal_bridge: "br0" route_table: 1000 uplink_list: "eth0" uplink_list: "eth1" } } default: True description: "Default Virtual Switch" lacp_config { lacp: False } logical_timestamp: 1 mtu: 1500 name: "vs0" nic_team_policy: "kActiveBackup" partially_done: False vswitch_uuid: "229028f8-4c09-4dd4-abd7-************" }
vs0 ã«ç´ã¥ãNICã®çµãè¾¼ã¿å¾ã¯ãnet.update_virtual_switch
ã§LACPã®è¨å®ãè¡ãã¾ãã
### vs0 ã®LACPè¨å® nutanix@CVM$ acli net.update_virtual_switch vs0 bond_type=kBalanceTcp lacp_fallback=true lacp_timeout=kFast nutanix@CVM$ acli net.get_virtual_switch vs0 config { cluster_configuration_list { cluster_uuid: "00062254-83be-d3da-1b06-************" default_uplink_grouping: "kMixed" host_configuration_list { config_failed: False host_uuid: "2e178a51-916c-408c-bcf4-************" internal_bridge: "br0" route_table: 1000 uplink_list: "eth0" uplink_list: "eth1" } } default: True description: "Default Virtual Switch" lacp_config { lacp: True lacp_fallback: True lacp_timeout: "kFast" } logical_timestamp: 5 mtu: 1500 name: "vs0" nic_team_policy: "kBalanceTcp" partially_done: False update_in_progress: False vswitch_uuid: "229028f8-4c09-4dd4-abd7-************" }
è¨å®(ã¹ã¤ããå´)
ã¹ã¤ããã®ã³ã³ãã£ã°ãè¨è¼ãã¦ããã¾ããè¨å®ããéã¯ãAHVãã¼ãã«æ¥ç¶ããæ¨å¥¨æ§æãããããã§ãCisco Catalyst ã§ã¯ä»¥ä¸ã®ããã«è¨è¼ããã¦ãã¾ãã
Cisco Catalyst:
no port-channel standalone-disable
**Fallback mode is enabled by default
å¼ç¨å ï¼How to Enable, Disable, and Verify LACP on AHV hosts2
! interface Port-channel1 switchport access vlan 10 switchport mode access no port-channel standalone-disable ! ! interface GigabitEthernet1/0/1 switchport access vlan 10 switchport mode access channel-protocol lacp channel-group 1 mode active ! interface GigabitEthernet1/0/2 switchport access vlan 10 switchport mode access channel-protocol lacp channel-group 1 mode active !
æ£å¸¸ã«æ¥ç¶ã§ãã¦ãããã¨ã確èªãã¾ããæå ã®PCããCVMã¸Pingãæã£ã¦ã¿ãããSSHããã©ã¦ã¶ããWeb管çç»é¢ã«ãã°ã¤ã³ããã¦ã¿ã¦ãã ããã
#show etherchannel summary Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator M - not in use, minimum links not met u - unsuitable for bundling w - waiting to be aggregated d - default port A - formed by Auto LAG Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SU) LACP Gi1/0/1(P) Gi1/0/2(P) #show etherchannel port-channel Port-channel: Po1 (Primary Aggregator) ------------ Age of the Port-channel = 0d:0h:23m:58s Logical slot/port = 12/1 Number of ports = 1 HotStandBy port = null Port state = Port-channel Ag-Inuse Protocol = LACP Port security = Disabled Standalone = Enabled (independent mode) Ports in the Port-channel: Index Load Port EC state No of bits ------+------+------+------------------+----------- 0 00 Gi1/0/1 Active 0 0 00 Gi1/0/2 Active 0 Time since last port bundled: 0d:00h:29m:21s Gi1/0/1 Time since last port Un-bundled: 0d:0h:53m:46s Gi1/0/2
追è¨ï¼2024/11/10ï¼
è¨å®ã³ãã³ããå®è¡ããéã«è¨å®ãåæ ãããã¾ã§ã«å°ãæéããããã¾ãããã®éã«ã¿ã¹ã¯ç¶æ³ã確èªã§ããã³ãã³ãã以ä¸ã«è¨è¼ãã¦ãã¾ãã
### ã¿ã¹ã¯å®è¡ç¶æ³ç¢ºèª nutanix@CVM$ ecli task.list include_completed=false Task UUID Parent Task UUID Component Sequence-id Type Status Creation Time(UTC) Completion Time(UTC)