Chinaunix首页 | 论坛 | 博客
  • 博客访问: 263206
  • 博文数量: 36
  • 博客积分: 2000
  • 博客等级: 大尉
  • 技术积分: 830
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-05 11:57
文章分类

全部博文(36)

文章存档

2009年(1)

2008年(35)

我的朋友

分类:

2008-09-09 15:27:21



Creating a boot disk with alt_disk_install
In order to use this command, the following file sets must be installed:
    bos.alt_disk_install.boot_images
    bos.alt_disk_install.rte (pour rootvg cloning)

1. Create a logical drive on the DS4000 big enough to contain all rootvg data, and make an appropriate zoning to see the DS4000 from the AIX system.
2. Assuming that the source internal SCSI disk is hdisk0 and the target disk on the DS4000
is hdisk3, use one of the following commands to clone hdisk0 to hdisk3:
#lsdev –Cc disk
#/usr/sbin/alt_disk_install –C –B -P all hdisk3
3.You can verify the result with the lspv command, activating the
volume group with varyonvg altinst_rootvg and lsvg -l altint_rootvg.
#lspv
#varyonvg altinst_roog
#lsvg –l altinst_rootvg
4.you need to clean up the alternate disk volume group and make hdisk0 as a system
disk using the command:
#alt_disk_install -X
5.Ensure the proper boot logical setting for the target disk:
/usr/lpp/bosinst/blvset -d /dev/hdisk3 -g level
6. If you find that the boot logical volume settings on the cloned disk are blank, you should
update the cloned boot logical volume manually with the following command:
echo y | /usr/lpp/bosinst/blvset -d /dev/hdisk3 -plevel
7. It is then necessary to change the AIX boot list to force AIX to start on hdisk3 at the next
reboot.
#bootlist -m normal hdisk3
#shutdown -Fr
8. The system comes back up, booting from the DS4000 rootvg disk.
Creating a SAN boot disk by mirroring
#smitty vg
→ Set Characteristics of a Volume Group
→ Add a Physical Volume from a Volume Group.
#smitty vg → Mirror a Volume Group,

Verify that all partitions are mirrored (see Figure 10-8) with
#lsvg -l rootvg,

recreate the boot logical drive, and change the normal boot list with the following commands:
#bosboot -ad hdisk3
#bootlist -m normal hdisk3

The next step is to remove the original mirror copy with smitty vg → Unmirror a Volume Group.
Remove the disk from the volume group rootvg with smitty vg → Set Characteristics of a Volume Group → Remove a Physical Volume from a Volume Group

We recommend that you execute the following commands again:
bosboot -ad hdisk3
bootlist -m normal hdisk3
阅读(2337) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~