编号: 时间:2021年x月x日 书山有路勤为径,学海无涯苦作舟 页码: word HP-UX 9000 系统日常维护(wéihù)指南 一故障诊断(Trouble-Shooting) 二系统(xìtǒng)备份与恢复常用ms ip_address 编号: 时间:2021年x月x日 书山有路勤为径,学海无涯苦作舟 页码: word 、查看网卡状态: lanscan Hardware station Crd Hardware Net-Interface Path Address In# state nameunit state 8/20/5/1 0x0800097843FB 0 up lan0 up 、确认(quèrèn)网络地址: ifconfig lan0 、启动(qǐdòng)网卡: ifconfig lan0 up 、网络(wǎngluò)不通的诊断过程: lanscan 查看(chákàn)网卡是否启动(up) ping 自己(zìjǐ)网卡地址 (ip 地址) ping 其它机器地址,如不通,在其机器上用lanscan 命 令得知 station address linkloop station address 来确认网线及集成器是否有问题。 在同一网中, subnetmask 应一致。 、配置网关 手动加网关: /usr/sbin/route add default 1 把网关自动参加系统中 vi /etc/ / netconf : ROUTE_DESTINATION [0]=default ROUTE_COUNT [0]=1 : /sbin/ 将执行: /usr/sbin/route add default 1 命令 netstat -rn 查看路由表 另外也可用 set_parms addl_netwrk 来设缺省路由。 二 系统备份与恢复常用命令 磁带机设备文件命名简介 Some example device names and their meaning: /dev/rmt/c1t3d0BEST BEST = "highest density possible" /dev/rmt/c1t3d0sQIC150nb QIC-150 format, no rewind on close, Berkeley /dev/rmt/c1t3d0D8MM8500C (Names can be quite descriptive) /dev/rmt/0m (For compatibility with the past) The components of "/dev/rmt/c1t0d0BESTnb" mean: dev = device file rmt = raw magnetic tape c1 = the device is connected to interface card instance 1 t0 = the target device address is set to 0 编号: 时间:2021年x月x日 书山有路勤为径,学海无涯苦作舟 页码: word d0 = the tape transport resides at unit address 0, BEST = the tape will be written using the best available density/format (meaning "pack as much onto this tape as is possible") n = the tape will not be rewound on close b = the device will have Berkeley-style behavior fbackup & frecover (bèi fèn)命令: fbackup 1) fbackup的常用(chánɡ yònɡ)方式一: [1] 进入(jìnrù)单用户: # init –s or shutdown 0 [2] 系统(xìtǒng)全备份 # fbackup –f /dev/rmt/0m -0iv /