WEB开发网
开发学院操作系统Linux/Unix 通过 nimadm 迁移到 AIX 6.1 阅读

通过 nimadm 迁移到 AIX 6.1

 2010-02-02 00:00:00 来源:WEB开发网   
核心提示: 将文件组 bos.alt_disk_install.rte 安装到 NIM 主机上:#lslpp-lbos.alt_disk_install.rteFilesetLevelStateDescriptionPath:/usr/lib/objreposbos.alt_disk_install.rte

将文件组 bos.alt_disk_install.rte 安装到 NIM 主机上:

# lslpp -l bos.alt_disk_install.rte 
 Fileset           Level State   Description 
 ---------------------------------------------------------------------------- 
Path: /usr/lib/objrepos 
 bos.alt_disk_install.rte  6.1.3.1 APPLIED  Alternate Disk Installation 
                         Runtime 

该文件组还被安装到 AIX 6.1 TL3 SP1 SPOT 中:

# nim -o showres 'spotaix61031' | grep bos.alt_disk_install.rte 
 bos.alt_disk_install.rte  6.1.3.1  C   F  Alternate Disk Installation

从 NIM 主机执行 nimadm 命令。

 # nimadm -j nimadmvg -c aix1 -s spotaix61031 -l lppsourceaix61031 -d "hdisk1" –Y 

其中:

–j 标志指定主机上将用于迁移的 VG。

-c 是客户机名称。

–s 是 SPOT 名称。

-l 是 lpp_source 名称。

-d 是替代根卷组(altinst_rootvg)的 hdisk 名称。

–Y 同意迁移过程中将安装的软件的软件许可协议。

现在我可以休息一下,观看迁移过程自动进行了。所有迁移活动将记录在 NIM 主机上的 /var/adm/ras/alt_mig 目录中。对于这个迁移,日志文件的名称为 aix1_alt_mig.log。以下是您将看到的各个阶段的部分输出样例:

MASTER DATE: Mon Nov 9 14:29:09 EETDT 2009 
CLIENT DATE: Mon Nov 9 14:29:09 EETDT 2009 
NIMADM PARAMETERS: -j nimadmvg -c aix1 -s spotaix61031 -l lppsourceaix61031 -d hdisk1 -Y 
Starting Alternate Disk Migration. 
 
+----------------------------------------------------------------------+ 
Executing nimadm phase 1. 
+----------------------------------------------------------------------+ 
Cloning altinst_rootvg on client, Phase 1. 
Client alt_disk_install command: alt_disk_copy -j -i /ALT_MIG_IMD -M 6.1 -P1 -d "hdisk1" 
Checking disk sizes. 
Creating cloned rootvg volume group and associated logical volumes. 
Creating logical volume alt_hd5. 
Creating logical volume alt_hd6. 
Creating logical volume alt_hd8. 
Creating logical volume alt_hd4. 
Creating logical volume alt_hd2. 
Creating logical volume alt_hd9var. 
Creating logical volume alt_hd3. 
Creating logical volume alt_hd1. 
Creating logical volume alt_hd10opt. 
Creating logical volume alt_hd7. 
Creating logical volume alt_local_lv. 
Creating logical volume alt_varloglv. 
Creating logical volume alt_nmonlv. 
Creating logical volume alt_chksyslv. 
Creating logical volume alt_hd71. 
Creating logical volume alt_auditlv. 
Creating logical volume alt_nsrlv. 
Creating logical volume alt_hd11admin. 
Creating /alt_inst/ file system. 
Creating /alt_inst/admin file system. 
Creating /alt_inst/home file system. 
Creating /alt_inst/home/nmon file system. 
Creating /alt_inst/nsr file system. 
Creating /alt_inst/opt file system. 
Creating /alt_inst/tmp file system. 
Creating /alt_inst/usr file system. 
Creating /alt_inst/usr/local file system. 
Creating /alt_inst/usr/local/chksys file system. 
Creating /alt_inst/var file system. 
Creating /alt_inst/var/log file system. 
Creating /alt_inst/var/log/audit file system. 
Generating a list of files 
for backup and restore into the alternate file system... 
Phase 1 complete. 
 
+----------------------------------------------------------------------+ 
Executing nimadm phase 2. 
+----------------------------------------------------------------------+ 
Creating nimadm cache file systems on volume group nimadmvg. 
Checking for initial required migration space. 
Creating cache file system /aix1_alt/alt_inst 
Creating cache file system /aix1_alt/alt_inst/admin 
Creating cache file system /aix1_alt/alt_inst/home 
Creating cache file system /aix1_alt/alt_inst/home/nmon 
Creating cache file system /aix1_alt/alt_inst/nsr 
Creating cache file system /aix1_alt/alt_inst/opt 
Creating cache file system /aix1_alt/alt_inst/tmp 
Creating cache file system /aix1_alt/alt_inst/usr 
Creating cache file system /aix1_alt/alt_inst/usr/local 
Creating cache file system /aix1_alt/alt_inst/usr/local/chksys 
Creating cache file system /aix1_alt/alt_inst/var 
Creating cache file system /aix1_alt/alt_inst/var/log 
Creating cache file system /aix1_alt/alt_inst/var/log/audit 
 
+----------------------------------------------------------------------+ 
Executing nimadm phase 3. 
+----------------------------------------------------------------------+ 
Syncing client data to cache ... 
 
+----------------------------------------------------------------------+ 
Executing nimadm phase 4. 
+----------------------------------------------------------------------+ 
nimadm: There is no user customization script specified for this phase. 
 
+----------------------------------------------------------------------+ 
Executing nimadm phase 5. 
+----------------------------------------------------------------------+ 
Saving system configuration files. 
Checking for initial required migration space. 
Setting up for base operating system restore. 
/aix1_alt/alt_inst 
Restoring base operating system. 
Merging system configuration files. 
Running migration merge method: ODM_merge Config_Rules. 
Running migration merge method: ODM_merge SRCextmeth. 
Running migration merge method: ODM_merge SRCsubsys. 
Running migration merge method: ODM_merge SWservAt. 
Running migration merge method: ODM_merge pse.conf. 
Running migration merge method: ODM_merge vfs. 
Running migration merge method: ODM_merge xtiso.conf. 
Running migration merge method: ODM_merge PdAtXtd. 
Running migration merge method: ODM_merge PdDv. 
Running migration merge method: convert_errnotify. 
Running migration merge method: passwd_mig. 
Running migration merge method: login_mig. 
Running migration merge method: user_mrg. 
Running migration merge method: secur_mig. 
Running migration merge method: RoleMerge. 
Running migration merge method: methods_mig. 
Running migration merge method: mkusr_mig. 
Running migration merge method: group_mig. 
Running migration merge method: ldapcfg_mig. 
Running migration merge method: ldapmap_mig. 
Running migration merge method: convert_errlog. 
Running migration merge method: ODM_merge GAI. 
Running migration merge method: ODM_merge PdAt. 
Running migration merge method: merge_smit_db. 
Running migration merge method: ODM_merge fix. 
Running migration merge method: merge_swvpds. 
Running migration merge method: SysckMerge. 
 
+----------------------------------------------------------------------+ 
Executing nimadm phase 6. 
+----------------------------------------------------------------------+ 
Installing and migrating software. 
Updating install utilities. 
+----------------------------------------------------------------------+ 
   Pre-installation Verification... 
+----------------------------------------------------------------------+ 
Verifying selections...done 
Verifying requisites...done 
Results... 

上一页  3 4 5 6 7 8 9 10  下一页

Tags:通过 nimadm 迁移

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接