HP minicomputer software fault Diagnosis

Source: Internet
Author: User
Tags net
Software fault Diagnosis
Due to the complexity of the software failure situation, not to repeat this one by one, here are several common commands to view the system state.
1. # IOSCAN-FN
Lists all I/O cards and equipment related information: such as logical unit number, hardware address and device filename.
2. # Ps-ef
Lists information about all the processes that are running: such as process numbers and process names.
3. # Netstat-rn
Lists network card status and routing information, and so on.
4. # Lanscan
Lists the NIC status and network configuration information.
5. # BDF
Lists the loaded logical volumes and their size information.
6. # mount
Lists the loaded logical volumes and their loading locations.
7. # uname-a
Lists information such as System ID number, OS version, and user rights.
8. # hostname
Lists the system network name.
9. # pvdisplay-v/dev/dsk/c*t*d*
Displays various information about the disk, such as the size of the disk, the logical volumes included, the device name, and so on.
10.# vgdisplay-v/dev/vg00
Displays logical volume group information, such as which physical disks and logical volumes are included.
11.# lvdisplay-v/dev/vg00/lvol1
Displays various information about logical volumes, such as which disks are included, whether they are mirrored, and so on.






Network failure 1. If you need to modify the network address, host name, etc., be sure to use the set_parms command
# set_parms hostname

# set_parms IP_Address
2. View NIC Status: Lanscan
Hardware station CRD Hardware Net-interface

Path address in# State Nameunit State

8/20/5/1 0X0800097843FB 0 up Lan0 up
3. Confirm Network Address:
# ifconfig Lan0
4. Start Network card:
# ifconfig Lan0 up
5. The network does not pass the diagnosis process:
Lanscan to see if the NIC starts (UP)

Ping your own network card address (IP address)

Ping other machine address, if not, on its machine with the Lanscan command to learn station addresses, and then Linkloop station_address to confirm the network cable and the integrator has problems.

In the same net, the SubnetMask should be consistent.
6. Configure the Gateway
Manual plus Gateway:

/usr/sbin/route Add default 20.08.28.98 1

Automatically joins the gateway into the system

Vi/etc/rc.config.d/netconf

:

route_destination [0]=default

Route_gateway [0]=20.08.28.98

Route_count [0]=1

:

/sbin/init.d/net will perform:

/usr/sbin/route Add default 20.08.28.98 1

Command NETSTAT-RN View routing table

Alternatively, you can use the Set_parms addl_netwrk to set the default route.




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.