版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、一.磁盘克隆安装操作系统。1.操作系统环境。# oslevel -s6100-04-10-1119# bootlist -m normal -ocd0hdisk0 pathid=0# lspvhdisk0 00cc1ad4ef095bf0 rootvg active hdisk1
2、160; 00cc1ad46aff307f None 2.使用alt_disk_install工具克隆磁盘。# alt_disk_install -OCB hdisk1+-+ATTENTION: calling new module /usr
3、/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
4、.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 logi
5、cal 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.
6、 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 e
7、xtents 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 alrea
8、dy 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
9、 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 the alternate file system.Modifying ODM on cloned disk.Building boot image on cloned disk.Resetting all device attributes.NOTE: The firs
10、t 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 o
11、f /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/homeforc
12、ed 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
13、160; 这个命令克隆的盘,可以拿到不同硬件配置的服务器上使用,使用它进行引导时,会删除ODM库里的所有信息,根据硬件重新配置所有设备信息,相当于使用克隆盘重新安装新的系统。alt_disk_install -CB hdisk1 如果是相同硬件配置的机器,则可以运行这个命令克隆磁盘,保持所有设备信息。3.查看克隆情况。# lspvhdisk0 00cc1ad4ef095bf0
14、 rootvg active hdisk1 00cc1ad46aff307f altinst_rootvg #alt_di
15、sk_install -X#rmdev -dl hdisk1hdisk1对应的卷组名为altinst_rootvg。# bootlist -o -m normalcd0hdisk0 pathid=0查看引导列表,未发生变化。4.重启操作系统。# lspvhdisk0 00cc1ad4ef095bf0 rootvg activ
16、e hdisk1 00cc1ad46aff307f altinst_rootvg # bootlist -o -m normalcd0hdisk0 pathid=0卷组名和引导顺序未发生变化。5.拔掉克隆磁盘。关闭操作系统,拔掉hdisk1,重启源服务器,查
17、看服务器情况:# lspvhdisk0 00cc1ad4ef095bf0 rootvg active # lsdev -Cc diskhdisk0 Available 01-08-00 SAS Disk Drivehdisk1 Defined 01-08-00 SAS D
18、isk 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
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 建筑电气配电线路电压损失允许值确定方法选择原则制定
- iptables网络攻击检测课程设计
- 幼儿上下楼梯指导
- 男生青春期生理心理教育
- 疤痕的防治科普
- 肺结核治疗全科推进方案
- 帕金森病患者家属照护要求
- 民法典核心内容与对比分析
- 外科髋部骨折防治培训细则纲要
- 大师设计产品分析
- 托管机构消防安全管理制度
- 2025年河北生地会考试卷及答案
- 急性心肌梗死PCI术后合并糖尿病患者血糖-心脏双目标管理方案
- 企业内部创业孵化器搭建方案
- 2025年东南亚润滑油市场研究报告和展望
- 雨课堂在线学堂《中国传统文化》课后单元测试答案
- 隧道安全检查课件下载
- 无菌操作专业知识培训课件
- 汽车业务流程分析
- 工程建设内业资料培训
- 易制爆安全知识培训课件
评论
0/150
提交评论