2022年使用磁盘克隆AIX操作系统new.pdf
-
资源ID:13261551
资源大小:963.34KB
全文页数:9页
- 资源格式: PDF
下载积分:4.3金币
快捷下载

会员登录下载
微信登录下载
三方登录下载:
微信扫一扫登录
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
|
2022年使用磁盘克隆AIX操作系统new.pdf
使用磁盘克隆 AIX 操作系统 new 一、磁盘克隆安装操作系统。1、操作系统环境。# oslevel -s6100-04-10-1119# bootlist -m normal -ocd0hdisk0 pathid=0ent0 speed=auto duplex=auto bserver=000、 000、000、000 client=000、000、 000、 000 gateway=000 、000、000、 000# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1 00cc1ad46aff307f None 2、使用 alt_disk_install工具克隆磁盘。# alt_disk_install -OCB hdisk1+-+ATTENTION: calling new module /usr/sbin/alt_disk_copy、 Please see the alt_disk_copy man pageand documentation for more details、Executing command: /usr/sbin/alt_disk_copy -O -B -d hdisk1+-+Calling mksz create new /image、 data file、Checking disk sizes、Creating cloned rootvg volume group and associated logical volumes、Creating logical volume alt_hd5Creating logical volume alt_hd6Creating logical volume alt_hd8Creating logical volume alt_hd4Creating logical volume alt_hd2Creating logical volume alt_hd9varCreating logical volume alt_hd3Creating logical volume alt_hd1Creating logical volume alt_hd10optCreating logical volume alt_hd11adminCreating logical volume alt_livedumpCreating /alt_inst/ 、/alt_inst not converted、 Small inode extents are already enabled、Creating /alt_inst/admin 、/alt_inst/admin not converted、精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 1 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new Small inode extents are already enabled、Creating /alt_inst/home 、/alt_inst/home not converted、 Small inode extents are already enabled、Creating /alt_inst/opt 、/alt_inst/opt not converted、 Small inode extents are already enabled、Creating /alt_inst/tmp 、/alt_inst/tmp not converted、 Small inode extents are already enabled、Creating /alt_inst/usr 、/alt_inst/usr not converted、 Small inode extents are already enabled、Creating /alt_inst/var 、/alt_inst/var not converted、 Small inode extents are already enabled、Creating /alt_inst/var/adm/ras/livedump 、/alt_inst/var/adm/ras/livedump not converted、 Small inode extents are already enabled、Generating a list of filesfor backup and restore into the alternate 、Backing-up the rootvg files and restoring them to the alternate 、Modifying ODM on cloned disk、Building boot image on cloned disk、Resetting all device attributes、NOTE: The first boot from altinst_rootvg will prompt to define the newsystem console、Resetting all device attributes、NOTE: The first boot from altinst_rootvg will prompt to define the newsystem console、forced unmount of /alt_inst/var/adm/ras/livedumpforced unmount of /alt_inst/var/adm/ras/livedumpforced unmount of /alt_inst/varforced unmount of /alt_inst/varforced unmount of /alt_inst/usrforced unmount of /alt_inst/usrforced unmount of /alt_inst/tmpforced unmount of /alt_inst/tmpforced unmount of /alt_inst/optforced unmount of /alt_inst/optforced unmount of /alt_inst/homeforced unmount of /alt_inst/homeforced unmount of /alt_inst/admin精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 2 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new forced unmount of /alt_inst/adminforced unmount of /alt_instforced unmount of /alt_instChanging logical volume names in volume group descriptor area、Fixing LV control blocks、Fixing superblocks、执行这个命令需要bos、alt_disk_install、rte软件包。alt_disk_install -OCB hdisk1 这个命令克隆的盘, 可以拿到不同硬件配置的服务器上使用, 使用它进行引导时, 会删除 ODM 库里的所有信息, 根据硬件重新配置所有设备信息 , 相当于使用克隆盘重新安装新的系统。alt_disk_install -CB hdisk1 如果就是相同硬件配置的机器, 则可以运行这个命令克隆磁盘, 保持所有设备信息。3、查瞧克隆情况。# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1 00cc1ad46aff307f altinst_rootvg #alt_disk_install -X #rmdev -dl hdisk1 hdisk1对应的卷组名为altinst_rootvg。# bootlist -o -m normalcd0hdisk0 pathid=0ent0 speed=auto duplex=auto bserver=000、 000、000、000 client=000、000、 000、 000 gateway=000 、000、000、 000查瞧引导列表 , 未发生变化。4、重启操作系统。# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1 00cc1ad46aff307f altinst_rootvg # bootlist -o -m normalcd0hdisk0 pathid=0ent0 speed=auto duplex=auto bserver=000、 000、000、000 client=000、000、 000、 000 gateway=000 、000、000、 000卷组名与引导顺序未发生变化。5、拔掉克隆磁盘。关闭操作系统 , 拔掉 hdisk1,重启源服务器 , 查瞧服务器情况:# lspv精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 3 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new hdisk0 00cc1ad4ef095bf0 rootvg active # lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drivehdisk1 Defined 01-08-00 SAS Disk Drive删除被拔掉的磁盘:# rmdev -dl hdisk1hdisk1 deleted# lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drive6、将克隆磁盘移植到新服务器。将 hdisk1 插入新服务器 , 新插入的盘不会自动引导系统的启动, 需要在分区启动时进入SMS 菜单 , 手动指定磁盘启动。1) 、进入 SMS 菜单, 选择 5:2) 、选择 1:精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 4 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new 3) 、选择 7:精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 5 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new 4) 、选择 3 引导系统 :5) 、选择 2:精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 6 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new 6) 、选择 1:精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 7 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new 7) 、选择 2:7、检查系统 :# lspvhdisk0 00cc1ad46aff307f rootvg active # lsdev -Cc diskhdisk0 Available 00-08-00 SAS Disk Drive# bootlist -o -m normalcd0-ent0 speed=auto duplex=auto bserver=000、000、000、000 client=000、000、 000、 000 gateway=000 、000、000、 000修改引导顺序 :# bosboot -a -d /dev/hdisk0bosboot: Boot image is 53276 512 byte blocks、# bootlist -o -m normal hdisk0hdisk0 blv=hd5 pathid=0# bootlist -o -m normalhdisk0 blv=hd5 pathid=0自此, 分区重启即可自动启动。精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 8 页,共 9 页 - - - - - - - - - - 使用磁盘克隆 AIX 操作系统 new 精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 9 页,共 9 页 - - - - - - - - - -