AIX network diagnostics and solutions for on-site instances

Source: Internet
Author: User
Article title: AIX network diagnosis and solution for on-site instances. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Problem: There are two aix test machines, one for applications and the other for databases, all under the same network segment (no dual-host). The application network is correct, there is a problem with the network of the database, and the intranet download is only 30 kB.
Solution: comparison
Because the two machines belong to the same network segment and the models are the same, you can carefully compare the network settings of the two machines to see what is the difference, and then change it.
  
Run the netstat-v ent0 | grep-p "Specific Statistics" command to view the two machines respectively.
Application:
Netstat-v ent0 | grep-p "Specific Statistics"
10/100 Mbps Ethernet PCI Adapter II (1410ff01) Specific Statistics:
--------------------------------------------------------------------
Link Status: Up
Media Speed Selected: Auto negotiation
Media Speed Running: 100 Mbps Full Duplex
Receive Pool Buffer Size: 1024
Free Receive Pool Buffers: 1024
No Receive Pool Buffer Errors: 0
Receive Buffer Too Small Errors: 0
Entries to transmit timeout routine: 0
Transmit IPsec packets: 0
Transmit IPsec packets dropped: 0
Receive IPsec packets: 0
Receive IPsec packets dropped: 0
Inbound IPsec SA offload count: 0
Transmit Large Send packets: 0
Transmit Large Send packets dropped: 0
Packets with Transmit collisions:
1 collisions: 0 6 collisions: 0 11 collisions: 0
2 collisions: 0 7 collisions: 0 12 collisions: 0
3 collisions: 0 8 collisions: 0 13 collisions: 0
4 collisions: 0 9 collisions: 0 14 collisions: 0
5 collisions: 0 10 collisions: 0 15 collisions: 0
Database:
Netstat-v ent0 | grep-p "Specific Statistics"
10/100 Mbps Ethernet PCI Adapter II (1410ff01) Specific Statistics:
--------------------------------------------------------------------
Link Status: Up
Media Speed Selected: 100 Mbps Half Duplex
Media Speed Running: 100 Mbps Half Duplex
Receive Pool Buffer Size: 1024
Free Receive Pool Buffers: 1024
No Receive Pool Buffer Errors: 0
Receive Buffer Too Small Errors: 0
Entries to transmit timeout routine: 0
Transmit IPsec packets: 0
Transmit IPsec packets dropped: 0
Receive IPsec packets: 0
Receive IPsec packets dropped: 0
Inbound IPsec SA offload count: 0
Transmit Large Send packets: 0
Transmit Large Send packets dropped: 0
Packets with Transmit collisions:
1 collisions: 233543413 6 collisions: 0 11 collisions: 0
2 collisions: 0 7 collisions: 0 12 collisions: 0
3 collisions: 0 8 collisions: 0 13 collisions: 0
4 collisions: 0 9 collisions: 0 14 collisions: 0
5 collisions: 0 10 collisions: 0 15 collisions: 0
  
After careful comparison, it is found that the database is obviously a duplex mode different from the application. the application machine is adaptive and the runtime is a m full duplex mode, while the database machine is limited to a M half duplex mode, now I want to change the database to the same as the application.
Command to change duplex mode to smitty chgenet
But before that, you need to remove the NIC to be changed and stop all services that pass through the NIC.
The procedure is as follows:
Ifconfig-
Output:
En0: flags = 5e080863, 80
Inet 10.100.10.6 netmask 0xffffff00 broadcast 10.100.10.255
Enter:
Ifconfig en0 down
Ifconfig en0 detach
Smitty chgennt
Output:
[Entry Fields]
Ethernet Adapter ent0
Description 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
Status Available
Location 1L-08
Transmit descriptor queue size [512] + #
Receive descriptor queue size [512] + #
Software transmit queue size [8192] + #
Receive buffer pool size [1024] + #
Media Speed Auto_Negotiation +
IPsec Offload no +
Enable hardware transmit and receive checksum yes +
Enable TCP Large Send Offload no +
Enable Link Polling no +
Time interval for Link Polling [500] + #
Enable alternate ethernet address no +
Alternate ethernet address [0x000000000000] +
Apply change to DATABASE only no +
After the changes, you need to reset the default gateway (the original one will be lost)
Smitty tcpip
Minimum Configuration & Startup
Output:
HOSTNAME [TEST1-CRM-APP-CLS]
* Internet ADDRESS (dotted decimal) [10.100.10.6]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en0
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default Gateway
Address (dotted decimal or symbolic name) [10.100.10.1]
Cost [0] #
Do Active Dead Gateway Detection? No +
Your CABLE Type N/A +
START TCP/IP daemons Now no +
Enable the NIC
Ifconfig en0 up
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.