




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
一.磁盘克隆安装操作系统。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 mkszfile to 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/ file system./alt_inst filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/admin file system./alt_inst/admin filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/home file system./alt_inst/home filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/opt file system./alt_inst/opt filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/tmp file system./alt_inst/tmp filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/usr file system./alt_inst/usr filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/var file system./alt_inst/var filesystem not converted. Small inode extents are already enabled.Creating /alt_inst/var/adm/ras/livedump file system./alt_inst/var/adm/ras/livedump filesystem not converted. Small inode extents are already enabled.Generating a list of filesfor backup and restore into the alternate file system.Backing-up the rootvg files and restoring them to thealternate file system.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/adminforced 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 file system 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 hdisk1hdisk1对应的卷组名为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,重启源服务器,查看服务器情况:# lspvhdisk0 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:3).选择7:4).选择3引导系统:5).选择2:6).选择1: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
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年建筑施工安全管理信息化在工程项目中的应用案例分析
- 2025年婴幼儿配方食品营养配方优化对婴幼儿视力发育的影响研究
- 2025年城市轨道交通智慧运维系统建设与智能运维管理优化策略深度报告
- 轻化工专业试题及答案解析
- 2025年塔吊维修证考试题及答案
- DB65T 4404-2021 植保无人飞机防治棉花病虫害作业规程
- 敬业专业实践面试题及答案
- 2025年新能源行业企业绿色建筑技术应用与效果分析报告
- 电厂防雷应急预案(3篇)
- 低温工作应急预案(3篇)
- 高二物理第一次月考卷【测试范围:第11~12章】(考试版A3)
- 2025年大一上学期java期末考试题及答案
- 团校考试试题及答案浙江
- 2025-2026学年湘美版(2024)小学美术二年级上册(全册)教学设计(附目录P208)
- 法国方言政策的沿袭与变革
- 2024年秦皇岛市市直机关遴选考试真题
- 2025年贵州省中考化学真题卷含答案解析
- 高压供电设备基础知识培训课件
- 2025年中医确有专长考试题及答案
- (2025年标准)教师定岗协议书
- GB/T 45980-2025飞机供电特性数字式测试要求
评论
0/150
提交评论