Quando temos um ambiente rodando Oracle RAC, uma das configurações que a documentação da Oracle pede é que as interfaces de intercomunicação do “cluster” estejam com “jumbo frame” habilitado, ou seja que o MTU da interface esteja configurado com o valor de 9000, vamos ver como ativar o “jumbo frame” em uma interface de rede do AIX:
Listando as interfaces:
1 2 3 4 5 6 7 8 9 |
[root@srv-oracle:/]# ifconfig -a en5: flags=5e080863,18c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN> inet 192.168.1.90 netmask 0xffffff00 broadcast 192.168.100.255 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN> inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255 inet6 ::1%1/0 tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1 [root@srv-oracle:/]# |
Verificando o valor do MTU configurado em uma interface:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
[root@srv-oracle:/]# lsattr -El en5 alias4 IPv4 Alias including Subnet Mask True alias6 IPv6 Alias including Prefix Length True arp on Address Resolution Protocol (ARP) True authority Authorized Users True broadcast Broadcast Address True monitor off Enable/Disable monitor for virtual Ethernet True mtu 1500 Maximum IP Packet Size for This Device True mtu_bypass off Enable/Disable largesend for virtual Ethernet True netaddr 192.168.1.90 Internet Address True netaddr6 IPv6 Internet Address True netmask 255.255.255.0 Subnet Mask True prefixlen Prefix Length for IPv6 Internet Address True remmtu 576 Maximum IP Packet Size for REMOTE Networks True rfc1323 Enable/Disable TCP RFC 1323 Window Scaling True security none Security Level True state up Current Interface Status True tcp_mssdflt Set TCP Maximum Segment Size True tcp_nodelay Enable/Disable TCP_NODELAY Option True tcp_recvspace Set Socket Buffer Space for Receiving True tcp_sendspace Set Socket Buffer Space for Sending True thread off Enable/Disable thread attribute True [root@srv-oracle:/]# |
Alterando o valor do MTU de uma interface:
1 2 |
[root@srv-oracle:/]#chdev -Pl en5 -a mtu=9000 en5 changed |
Verificando novamente o valor do MTU:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
[root@srv-oracle:/]# lsattr -El en5 alias4 IPv4 Alias including Subnet Mask True alias6 IPv6 Alias including Prefix Length True arp on Address Resolution Protocol (ARP) True authority Authorized Users True broadcast Broadcast Address True monitor off Enable/Disable monitor for virtual Ethernet True mtu 9000 Maximum IP Packet Size for This Device True mtu_bypass off Enable/Disable largesend for virtual Ethernet True netaddr 192.168.1.90 Internet Address True netaddr6 IPv6 Internet Address True netmask 255.255.255.0 Subnet Mask True prefixlen Prefix Length for IPv6 Internet Address True remmtu 576 Maximum IP Packet Size for REMOTE Networks True rfc1323 Enable/Disable TCP RFC 1323 Window Scaling True security none Security Level True state up Current Interface Status True tcp_mssdflt Set TCP Maximum Segment Size True tcp_nodelay Enable/Disable TCP_NODELAY Option True tcp_recvspace Set Socket Buffer Space for Receiving True tcp_sendspace Set Socket Buffer Space for Sending True thread off Enable/Disable thread attribute True [root@srv-oracle:/]# |
Com isso o valor do MTU da interface en5 foi definido para 9000.
É isso ae, até a próxima. 😉