Article Title: Practice: troubleshooting of AIX servers. Linux is a technology channel of the IT lab in China. Some basic categories include desktop applications, Linux system management, kernel research, embedded systems, and open source. In this article, we will learn how to solve ibm aix in a similar way? . You will be familiar with related tools and knowledge, so as to improve the skills to solve some difficult problems that may occur. This article provides two interesting scenarios that I have encountered and steps for detecting exceptions. Then stop, let you guess what went wrong, and finally give the answer.
Example
First, describe the two problems I encountered as a system administrator.
Problem 1: the server is larger, but the computing power is reduced.
At that time, I needed to migrate an AIX 5.3 LPAR from a POWER4-based? Old IBM pSeries? P670 server migration to POWER6-based? PSeries p570 server. The old server resources are insufficient (using Workload Manager to manage the resources of main applications on the server). Therefore, the new dynamic processor resources on the new hardware should provide the computing power I need. I performed mksysb on this LPAR, and then used Network Installation Manager to restore it on the new hardware and map it through the SAN disk.
I started this LPAR until it seemed everything went well before I started the application. Suddenly, the user started to call. They cannot access their products at all. When I log on, I find that the server is completely idle. There are no processes that consume a lot of resources on the server. Why are users having problems?
Problem 2: The image cannot be removed from the faulty hard disk.
One of my servers has an image root disk. One day, the error report indicates that bad blocks on one of the disks cannot be located again. I knew this was a precursor to a hardware failure, so I began to remove the image. However, the server says that the image cannot be completely removed, because one of the logical volumes has only one good copy, and it is on a faulty disk. How can I solve this problem and change the hardware?
Troubleshooting Process
Remember these two example problems. Now let's take a look at the process of solving them.
Step 1: Do not tamper
Once you find yourself in trouble, the best way to do it is to stop it. Just like Indiana Jones in the "Raiders of the ship", if you find that there will be a dart to you when you step on the floor, then stop in the same place and do not move on. More changes will only complicate the problem and may make the situation worse. It is meaningless to solve multiple problems when a problem affects the normal operation of the system.
For the first example, I asked the user to exit the system immediately and then I terminated the application. I know that when the performance is poor, users' queries and input will be interrupted, which may damage their data and I do not want further changes to their environment before I check the system. Although users do not want to hear that they cannot use the new server now, they will be very happy to know why I am looking for the problem. In addition, this allows me to perform other troubleshooting steps in my own way.
Step 2: start with the basic command and then increase the complexity
When I was studying Kung Fu, I heard the story of a second-level black belt making thieves at the bus station. The students all wanted to know which tricks she used to drop the defender. Is it a Jinhu style? Or are you still in the middle of the market? We even imagined that she was so powerful that she was able to put the other party down. None of the results: She used one of the first techniques that the white band learned in the class-elbow in the front of the chest, then blow the nose.
[1] [2] [3] [4] [5] [6] Next page