LACP active per ridondanza heartbeat cluster di storage

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

Rispondi
Guz
Cisco fan
Messaggi: 63
Iscritto il: gio 21 feb , 2013 2:34 pm

Ciao,
server1 è collegato alle porte Gi1/0/4 e Gi2/0/5
server2 è collegato alle porte Gi2/0/4 e Gi1/0/5

Gi1 e Gi2 sono 2 catalyst 2960s in stack

il collegamento tra server1 e server2 (192.168.4.128/25) è l'heartbeat di un cluster su cui dovrà passare il traffico di replica delle lun, per cui dovranno essere sulla stessa VLAN

Quello che vorrei, è aggregare i due cavi ethernet ( lacp active???) che vanno ad ogni server per raddoppiare la banda ed avere ridondanza anche nel caso si rompa uno switch.

Lato server ho già fatto la configurazione, mi potreste cortesemente aiutare con i comandi da fornire al cisco?
Grazie come sempre a tutti
Guz
Cisco fan
Messaggi: 63
Iscritto il: gio 21 feb , 2013 2:34 pm

di seguito incollo uno screenshot della configurazione che ho fatto e che successivamente ho provato come funzionante - sul server ho visto i link aggregati correttamente

User Access Verification

Username: marco
Password:

Cisco2960s-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Cisco2960s-1(config)#int gi1/0/4
Cisco2960s-1(config-if)#switchport
% Incomplete command.

Cisco2960s-1(config-if)#switchport mode access
Cisco2960s-1(config-if)#switchport access vlan 42
% Access VLAN does not exist. Creating vlan 42
Cisco2960s-1(config-if)#switchport access vlan42
^
% Invalid input detected at '^' marker.

Cisco2960s-1(config-if)#switchport access vlan 42
Cisco2960s-1(config-if)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION

%Portfast has been configured on GigabitEthernet1/0/4 but will only
have effect when the interface is in a non-trunking mode.
Cisco2960s-1(config-if)#
Cisco2960s-1(config-if)#channel-group 421 mode active
^
% Invalid input detected at '^' marker.

Cisco2960s-1(config-if)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1

Cisco2960s-1(config-if)#channel-protocol lacp
Cisco2960s-1(config-if)#exit
Cisco2960s-1(config)#int gi2/0/5
Cisco2960s-1(config-if)#switchport mode access
Cisco2960s-1(config-if)#switchport access vlan42
^
% Invalid input detected at '^' marker.

Cisco2960s-1(config-if)#switchport access vlan 42
Cisco2960s-1(config-if)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION

%Portfast has been configured on GigabitEthernet2/0/5 but will only
have effect when the interface is in a non-trunking mode.
Cisco2960s-1(config-if)#channel-group 1 mode active
Cisco2960s-1(config-if)#channel-protocol lacp
Cisco2960s-1(config-if)#exit
Cisco2960s-1(config)#exit
Cisco2960s-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Cisco2960s-1(config)#int gi1/0/5
Cisco2960s-1(config-if)#switchport mode access
Cisco2960s-1(config-if)#switchport access vlan 42
Cisco2960s-1(config-if)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION

%Portfast has been configured on GigabitEthernet1/0/5 but will only
have effect when the interface is in a non-trunking mode.
Cisco2960s-1(config-if)#channel-group 2 mode active
Creating a port-channel interface Port-channel 2

Cisco2960s-1(config-if)#channel-protocol lacp
Cisco2960s-1(config-if)#exit
Cisco2960s-1(config)#int gi2/0/4
Cisco2960s-1(config-if)#switchport mode access
Cisco2960s-1(config-if)#switchport access vlan 42
Cisco2960s-1(config-if)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION

%Portfast has been configured on GigabitEthernet2/0/4 but will only
have effect when the interface is in a non-trunking mode.
Cisco2960s-1(config-if)#channel-group 2 mode active
Cisco2960s-1(config-if)#channel-protocol lacp
Cisco2960s-1(config-if)#exit
Cisco2960s-1(config)#
Guz
Cisco fan
Messaggi: 63
Iscritto il: gio 21 feb , 2013 2:34 pm

Abilitando il JUMBO FRAME sulle schede del server mi si disattiva l'LACP.
Devo abilitare in qualche moto un MTU a 9000 anche lato switch?


il messaggio che mi da quando abilito il jumbo sul server è:
Description: Gi1/0/5: This port has been disabled because Ether Channel Misconfiguration has been detected.

Recommendation: Check configuration on both sides of ether channel. Make sure ports involved have consistent configurations- the same vlan, same trunk mode.
Guz
Cisco fan
Messaggi: 63
Iscritto il: gio 21 feb , 2013 2:34 pm

Ammesso che ci sia qualcuno in ascolto... :cry:
ho abilitato il jumbo frame con il comando
system mtu jumbo 9000
ma il risultato non è cambiato. appena setto l'MTU a 9000 sulle due interfacce del server l'etherchannel si "scompone" :roll:



User Access Verification

Username: marco
Password:

% Authentication failed

Username:
Username: marco
Password:

Cisco2960s-1#sh int port-channel 1
Port-channel1 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 8875.56d8.ea04 (bia 8875.56d8.ea04)
MTU 9000 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, link type is auto, media type is unknown
input flow-control is off, output flow-control is unsupported
Members in this channel: Gi2/0/5
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
707 packets input, 97391 bytes, 0 no buffer
Received 707 broadcasts (457 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 457 multicast, 0 pause input
0 input packets with dribble condition detected
21102 packets output, 2320451 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Cisco2960s-1#sh int port-channel 2
Port-channel2 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 203a.0700.5c84 (bia 203a.0700.5c84)
MTU 9000 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, link type is auto, media type is unknown
input flow-control is off, output flow-control is unsupported
Members in this channel: Gi2/0/4
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
875 packets input, 123012 bytes, 0 no buffer
Received 875 broadcasts (590 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 590 multicast, 0 pause input
0 input packets with dribble condition detected
25050 packets output, 2821868 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Cisco2960s-1#show system mtu

System MTU size is 1500 bytes
System Jumbo MTU size is 9000 bytes
System Alternate MTU size is 1500 bytes
Routing MTU size is 1500 bytes
Cisco2960s-1#show int status err-disabled

Port Name Status Reason Err-disabled Vlans
Gi1/0/4 err-disabled pagp-flap
Gi1/0/5 err-disabled pagp-flap
Cisco2960s-1#
Guz
Cisco fan
Messaggi: 63
Iscritto il: gio 21 feb , 2013 2:34 pm

- ok risolto -

Sembra un problema legato ai server che stavo usando.
Ho provato con altre schede di rete e funziona tutto
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Bene.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
Rispondi