Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5725095
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-09-27 12:06:31

Cloning the rootvg to an alternate disk has many advantages. One advantage is having an online backup available, as in the case of a disk crash. Keeping an online backup requires an extra disk or disks to be available on the system.
 
Another benefit of rootvg cloning occurs when applying new maintenance levels or updates to a system. A copy of the rootvg is made to an alternate disk, then the updates are applied to that copy. The system runs uninterrupted during this process. When it is rebooted, the system boots from the newly updated rootvg for testing. If updates cause problems, the old_rootvg can be retrieved by resetting the bootlist and then rebooting.
 
With a mksysb image, you can clone one system image onto multiple target systems. However, the target systems might not contain the same hardware devices or adapters, or require the same kernel as the source system. All devices and kernels are automatically installed during a BOS installation. As a result, when you create a system backup, the mksysb image contains all the device and kernel support. For example, you can create a system backup from System_A and install System_A's mksysb image onto System_B without having to use product media to boot System_B
 
By default, using the alt_disk_install command does the following:
1,Creates an /image.data file based on the current rootvg's configuration. A customized image. data file can be used.
 
2,Creates an alternate rootvg(altinst_rootvg)
 
3,Creates logical volumes and file systems with the alt_inst prefix
 
4,Generates a backup file list from the rootvg, and if an exclude.list file is given,those files are excluded from the list
 
5,Copies the final list to the altinst_rootvg's file system
 
6,If specified, the installp command installs updates, fixes, or new filesets into the alternate file system
 
7,The bosbot command creates a boot logical volume on the alternate boot disk
 
8,If a customization script is specified, it runs at this point
 
9,The file systems are then unmounted, and the logical volumes and file systems are renamed
 
10,The logical volume definitions are exported from the system to avoid confusion with identical ODM names, but the altinst_rootvg definition is left as an ODM placeholder
 
11,By default, the bootlist is set to the new cloned rootvg for the next reboot
阅读(2647) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~