ImageVerifierCode 换一换
格式:DOCX , 页数:24 ,大小:32.88KB ,
资源ID:27134211      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/27134211.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(HP系统备份及恢复方案.docx)为本站会员(b****3)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

HP系统备份及恢复方案.docx

1、HP系统备份及恢复方案HP系统备份及恢复方案1 检查系统是否安装ignite软件# swlist -l bundle |grep -i igniteIGNITE C.7.4.157 HP-UX Installation Utilities (Ignite-UX)# whereis make_tape_recoverymake_tape_recovery: /opt/ignite/bin/make_tape_recovery /opt/ignite/share/man/man1m.Z/make_tape_recovery.1m2 备份2.1 查看make_tape_recovery参数# /op

2、t/ignite/bin/make_tape_recovery -helpUsage: make_tape_recovery -s iux_server|-l lanic_id -A-B boot_destination_file -I-a tape_device_file-p -r-t tape_title -v -i|-ib -d description -f content_file-D tape_vol_name-x content-options -P s|w|e -m tar|cpio|pax XToolkit-Options -?-s iux_server Specifies t

3、he server on which configuration files andarchives reside-A Specifies all files on each selected disk or volumegroup that are included-B boot_dest_file Specifies the temporary location of the LIF volume-I Cause the system recovery process to be interactive whenbooting from the tape-a tape_device_fil

4、e Specifies the tape device file-r Resumes creation of the archive-p Previews the processing that would take place withoutactually creating the archive-t tape_title Specifies a custom message of the archive tape-v Specifies verbose output-i Causes make_tape_recovery to run interactively-d descriptio

5、n Specifies the one line description of the archive-D tape_vol_name Specifies 6-character ANSI tape volume name. IPF tape only-f content_file Specifies the location of the file which identifieskeywords to specify inclusions and exclusions for thearchive-l lanic_id Specifies the lanic id of the syste

6、m being archived,used with -s option-m tar|cpio|pax Specify in which format the files/directories image inthe archive will be stored-x content_option Specifies the included/excluded disk or volume groups-n num_cfg_dir Specifies the number of configuration and log file directories to be saved on the

7、system-? Display this help screen2.2 执行系统备份# /opt/ignite/bin/make_tape_recovery -Av # /opt/ignite/bin/make_tape_recovery -Av -a /dev/rmt/1mn (提定磁带设备)2.3 检查备份是否成功# /opt/ignite/bin/check_tape_recovery#cat /var/opt/ignite/recovery/latest/recovery.log3 恢复3.1 恢复磁带上的所有数据 3.1.1 非交互式恢复系统 1 在磁带机中,插入系统恢复带 2 B

8、oot 系统 3 中断Boot 流程,进入 Boot_admin 提示下 4 Boot_admin bo 8/16.0.0 (8/16.0.0: 磁带机的 hardware path )5 选取 non-interactive 6 等待系统恢复完毕 3.1.2 交互式恢复系统1 在磁带机中,插入系统恢复带 2 Boot 系统 3 中断Boot 流程,进入 Boot_admin 提示下 4 Boot_admin bo 8/16.0.0 (8/16.0.0: 磁带机的 hardware path )5 不选取 non-interactive 6 选取 a. Install HP-UX b. Adv

9、anced Installation c. 配置或改变如下选项: disks, file systems, hostname, IP ddress, timezone, root password, DNS server, and gateway 7 选取 install continue ,直到系统恢复完毕 3.2 恢复磁带上部分文件1 在磁带机中,插入系统恢复带 #mt -t /dev/rmt/0mn fsf 1#tar -xvf /dev/rmt/0m filename (filename为需要恢复的文件名)# tar -xvf /dev/rmt/0m etc/hosts (恢复文件时,

10、如果需要放在原来的位置,则需要在根目录执行恢复)# tar -xvf /dev/rmt/0m u01/app/oracle/oradata (恢复oradata目录下的所有文件)lvreduce -k -m 0 /dev/vg00/lvol6 1lvsync /dev/vg00/lvol3lvreduce m 0 /dev/vg00/lvol3vgscanvgcfgrestore | | | | | | | | | | | | 正文 Top of FormBottom of Form原创 HP-UX COMMAND 作者: 发表于:2005-12-09 15:54:18【】【】【】【】 # i

11、oscan fnkC disk # swinstall s /cdrom/(filename) ; # swremove ; # shutdown 0 ; # init 3 ; # umount /opt ; ; -9 强行关掉命令,5988 进程名 # swlist l fileset a state|grep PHKL_18543 ; # lvextend L 30 /dev/vg00/lvol5 ; # extendfs /dev/vg00/rlvol5 ; # mount /opt # mount a ; # bdf ; # lvextend L 200 /dev/vg00/lvol6

12、 ; # fsadm b 819200 /tmp # bdf # tsm ; # make_tape_recovery Av ; # chmod 777 或 444 ; # mstm ; # armdsp i ; # cvui ; ; # armmgr s shut / start 别名 ; VA控制器 第一步: # cd /opt/sanmgr/commandview/server/data # mv DeviceDBfile DeviceDBfile.old 第二步: # cd /opt/sanmgr/hostagent/sbin # ./HA_trigger stop # ./dial_

13、trigger stop # ./HA_trigger start # ./dial_trigger start # armdiscover # armdiscover ; # amdsp -a fc ; # amdsp -d fc|grep Disk State ; # pa pri 1/0/0/2/0.6.0 ; # pa alt 1/0/0/2/0.6.0 ; # lvlnboot v ; # setboot s on/off ; # setboot b on/off # mediainit /dev/rdsk/cxtydz ; # swapinfo ; # dmesg ; # top

14、; # swlist ; # vgdisplay v ; # grep i error syslog.log ; # egrep i “war|err|fail|scsi|lan” /dev/adm/syslog/syslog.log # ioscan kfnCtape ; # lanscan ; # ioscan kfnCfc ; # ioscan fnH0/0/1/0 ; # netstat in # ifconfig lan* # info_col.11 ; # info_col.1026 ; # dd if=/dev/rdsk/cxtydo of=/dev/rdsk/cxtydo bs

15、=1024k ; # dd if=/dev/dsk/cxtydo of=/dev/dsk/cxtydo bs=1024k # sar d ; 添加磁带机: 第一种方法: # tsm # sam # peripheral devices  Tape drives ; 第二种方法: 在kernel内修改stape 改成In ; 加机械臂驱动(可以在kernel改): schgr - in spt - in spt0 - in Setup 网卡IP: # cd /etc/rc.config.d # vi netconf shift:1,

16、$ s/old/new/g ; # tar rv 文件名 ; # tar xv 文件名 ; # tar cv ; # tar tv ; # tar tvf /dev/rmt/1m ; # tar rvf /dev/rmt/1m tmp ; # mt offl ; # bdf v ; # fuser ck /cdrom ; # ioscan # insf e ; # insf evCdisk ; # vgscan a ; 配置MODEM # ctrl_b ; # ca ; # er ; # GSP ;XD ;R ; # ctrl_b # GSP;lc ; 安装Ignite (B5725AA):M

17、ake_recovery 不能备份,可以修改设置: # vi /opt/ignite/bin/make_medialif 到502行(shift_Enter)修改: lifinit $ipl_options v72000000 d24 为 lifinit $ipl_options v102000000 d24 设置或调整VA: 先用Console连接VA进行调整&Setup,或用15针窜口线连接电脑。 # vfpdsp -? ; # vfpdsp f # vfpdsp L # vfprecover ; # vfprecover s 做Mirror的步骤: pvcreate f B /dev/r

18、dsk/c2t2d0 mkboot /dev/rdsk/c2t2d0 mkboot a “hpux lq(;0) /stand/vmunix” /dev/rdsk/c1t2d0 mkboot a “hpux lq(;0) /stand/vmunix” /dev/rdsk/c2t2d0 vgextend /dev/vg00 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol3 /de

19、v/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol4 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol6 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol7 /dev/dsk/c2t2d0 lvextend m 1 /dev/vg00/lvol8 /dev/dsk/c2t2d0 lvlnboot r /dev/vg00/lvol3 lvlnboot s /dev/vg00/lvol2 lvlnboot

20、 d /dev/vg00/lvol2 lvlnboot b /dev/vg00/lvol1 lvlnboot R setboot a 0/0/2/0.2.0 进入单用户维护模式: 在10秒中断时按任意健,然后键入 bo (enter),然后提示是否进入IPL模式、选择yes,然后键入hpux is 进入单用户维护模式,然后# vgchange a y /dev/vg00 进行初始化HP-UX系统。 # lvchange M n c n /dev/vg00/lvol2 ; # strings /etc/lvmtab ; # lvlnboot v ; # lvdisplay v /dev/vg00

21、/lvol1 解除镜像: lvreduce m 0 /dev/vg00/lvol1 /dev/dsk/c1t2d0 lvreduce vg00 /dev/dsk/c1t2d0 如果mirror无法作,stringe /etc/lvmtab 有多余的PV,要删除掉。 ; # vgreduce /dev/vg0x /dev/dsk/cxtydz # lvremove /dev/vg01/lvol1 ; 更换有镜像根盘的方法、步骤: # make_tape_recovery Av # shutdown ry 0 Replace the bad disk BoyISL&

22、#61664;hpux ls # vgchange a y /dev/vg00 # mv /etc/lvmtab /etc/lvmtab.bak # pvcreate f /dev/rdsk/cxtydz # mv /etc/lvmtab.bak /etc/lvmtab # mkboot /dev/rdsk/cxytdz # mkboot a “hpux lq(;0) /stand/vmunix” /dev/rdsk/cxtydz # vgcfgrestore n /dev/vg00 /dev/rdsk/cxtydz # vgsync /dev/vg00 # lvlnboot r /dev/v

23、g00/lvol1 # lvlnboot s /dev/vg00/lvol2 # lvlnboot v # shutdown ry 0 更换有镜像硬盘的方法、步骤: # lvreduce k m 0 # lvremove # vgreduce f vg00 # vgcfgbackup /dev/vgxx ; 如果vg0x丢失用: # vgcfgrestore n /dev/vg0x /dev/rdsk/cxtydz # vgchange a y /dev/vg0x AUTO RAID (磁盘阵列) #arraydsp i ; #arraydsp a ; FC60的盘不能够随意互换,可以用一下命

24、令试一下: # amutil d 2:1 fc ; # amutil D 4:0 fc # amutil syswipe fc ; FC60的灯提示不正常的情况下用这些命令试一下。 # amdsp i # ammgr D 别名 主机名 ; # ammgr c AA 主机名 ; 配置双机的时候必须做的步骤: scsi init 0/10/0/0 6 scsi rate 0/10/0/0 ultra # vi .rhosts ; hostname1 root hostname2 root 改Host名字 先修改:# vi /etc/hosts 内的host名字 127.0.0.1 hostname

25、 127.0.0.1 localhost loopback 后修改:# set_parms hostname # sh PHCO_15220 ; ftp;mget ; ftp;put ; QX Modem Initialize strings AT AT&F AT&D3&R0&S1%C0 ATS0=1S23=58 AT&W0&Y0 设置终端类型(在安装的时候当Console显示乱码时) Ctrl_scrlk look ; 在安装系统的时候要修改的一些东西,否则会报错 # vi /etc/hosts 内的host名字后面空格加一个 . (点) # vi .profile 内设置TERM=hp # vi .profile 在倒数第二行加入 export PS1=hostname:$PWD # 安装11.11i 系统时候一定要copy /usr/newconfig/etc/inittab 文件到/etc/ 下,否则系统会出错。 #cd /usr #cd /newconfig #cd /etc #cp inittab /etc/ 从磁带(make_re

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1