• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

hpux trouble shooting module 2

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 21次 | 进入软件测试论坛讨论

领测软件测试网 module 2

module 2 System Recovery with Ignite-UX

make_tape_recovery

Restore a non-bootable system with little or no intervention

Restore a system in the event of a root disk(volume group )failure

Convert file systems in the root volume from hfs to vxfs(logical volumes)

Modify the root file system size(logical volume)

Modify the size of primary swap(logical volume)

Clone software from one system to another

 

MILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">备份Tape上的内容

Boot/Configuration Files

Archive

lANT: normal" roman??="" new="" times="">         Boot files

ISL HPUX AUTO LIF

l         System Configuration

Hostname ip disk layout

l         Ignite-UX kernel/UI

 

You Control the contents of archive

l         Minimum core system

l         Entire root volume group

l         Additional files/volume groups

Make_tape_recovery Ignite-UX组件中的命令,Ignite-UX在下列网址

http://www.software.hp.com/products/IUX

不加参数的make_tape_recovery做最小os的磁带,其中内容在/opt/ignite/recovery/mnr_essentials中定义,如要想要加入自己的内容,只作一个备份放入/var/opt/ignite/recovery/mnr_essentials,然后编辑其中的内容,make_tape_recovery总是先检查/var目录中的这个文件,依据此文件来进行创建磁带。创建磁带时,/var目录要有32M的磁盘空间,如果没有,可以在创建磁带时通过-B参数指定目录。

 

Make_tape_recovery –x inc_entire=vg00可以创建包含vg00的全备份

Make_tape_recovery –A创建整个文件系统,包括在其他VG上的文件系统。

l         Files/Directories

-x include=

-x inc_cross=

-x exclude=

l         Disks/Volume Groups

-x inc_entire=|/dev/dsk/

l         Use a contents file

-f

l         Archive all volume groups that contain essential files

Make_tape_recovery –A

 

例子

make_tape_recovery –x inc_entire=vg00 –x inc_entire=vg01 –x exclude=/tmp

 

make_tape_recovery的说明

LVM disk mirrors 不能够恢复,需要重新手工mirror

可以参考文档/opt/ignite/share/doc/diskmirror.pdf

VxVM磁盘组不包含在archive中,当恢复完成后,需要重新集成到系统中来

 

验证recovery tape

/var/opt/ignite/recovery//recovery.log

列出磁带上的内容

# mt –t /dev/rmt/0mn fsf 1

# tar tvf  /dev/rmt/0m

/var/opt/ignite/recovery/latest/flist 可能归档备份到磁带上的内容

 

启动recovery tape

l         power up the system (or B and RS)

l         interrupt the boot

l         load the recovery tape

l         search for bootable devices (Main Menu> sea ipl)

l         boot from the recovery tape

l         Automatic or interactive restore

 

 

make.net_recovery

网络备份可以使用2种方法

1.  服务器端发起

add new client for recovery

create system recovery archive

select files for the client archive

monitoring creation of client archive (client status from action pulldown menu)

 

2.  从客户端发起

make_net_recovery –s IUX_server_name –x inc_entire=vg00 –x inc_entire=vg01 \

-x exclude=/depots

上面IUX_server_name指定恢复服务器

这个工作可以用cron自动调度来执行

从客户端启动的方法

PDC

Bo lan.IP_Address_of_Ignite_server install

Don’t interact with IPL

Select [Install HP-UX], Select “Advanced Installation”

Fill in the appropriate networking information

Select the recovery configuration for your client

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网