Software troubleshooting
Since the software failure situation is intricus, it cannot be described here, and it will be described here to see the system status.
1. # ioscan -fn
List all relevant information about each I / O card and device: such as logic unit numbers, hardware addresses, and device file names.
2. # ps -ef
List all kinds of information on all processes running: such as progress numbers and process names.
3. # netstat -rn
List the network card status and routing information, etc.
4. # lanscan
List the NIC status and network configuration information.
5. # bdf
List the loaded logical volumes and their size information.
6. # mount
List the loaded logical volumes and their loading locations.
7. # uname -a
List the information of the system ID number, OS version and user permissions.
8. # Hostname
List the system network name.
9. # pvdisplay -v / dev / dsk / c * t * d *
Display disk variety of information, such as disk size, logical volume, device name, etc.
10. # vgdisplay -v / dev / vg00
Display logical volume group information, such as which physical discs and logical volumes, etc.
11. # lvdisplay -v / dev / vg00 / lvol1
Display logical volume various information, such as which discs contain, have mirroring, etc.
Network failure
1. If you need to modify the network address, host name, etc., you must 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 the network address:
# impconfig lan0
4. Start the network card:
# ifconfig lan0 up
5. The diagnostic process of networks:
Lanscan checks if the NIC is started (UP)
Ping your NIC address (IP address)
PING Other machine addresses, if not, use the lanscan command on its machine to know station address, then Linkloop Station_address to confirm whether the network cable and the integrator have a question.
In the same network, SubnetMask should be consistent.
6. Configure the gateway
Manual plus gateway:
/ USR / SBIN / ROUTE ADD DEFAULT 20.08.28.98 1
Automatically join 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 execute:
/ USR / SBIN / ROUTE ADD DEFAULT 20.08.28.98 1
Command NetStat -rn to view routing tables
In addition, set_parms addl_netwrk can also be used to set default routing.