一、确认需要安装7.2的分区 vhost等信息
二、创建虚拟媒体库(vios)
1、检查是否已创建虚拟媒体库
#lsrep
2、在VIOS上创建虚拟媒体库。(默认目录为 /var/vio/VMLibrary)
df -g
若没有进行创建
$ mkrep -sp rootvg -size 30G
3、将ISO文件拷贝到默认媒体库目录下面
#cp -p /xxx/xxx/xxx.iso /var/vio/VMLibrary
4、创建系统安装镜像(如果上传的是ISO那么可以省略这步)
# mkvopt -name AIX7.1_disk1.iso -file /var/vio/VMLibrary/AIX7.1_base_disk1.iso -ro
$ lsrep
5、创建挂载虚拟光驱。
$ mkvdev -fbo -vadapter vhost0
vtopt0 Available
$ lsvopt
VTD 媒体大小(mb)
$ lsmap
6、修改iso文件属性为只读,此时iso文件可以被多个虚拟光驱同时挂载。
# chvopt –name AIX7.1_base_disk1.iso –access ro
7、加载安装镜像到虚拟光驱上。
$ loadopt -disk AIX7.1_base_disk1.iso -vtd vtopt0
8、如果要卸下光盘或者换光盘
$ unloadopt -vtd vtopt*
三、给分区安装操作系统
启动分区 profile 选择高级 选择 SMS
选择虚拟光驱 安装
VIO Server端的管理命令
1) 登陆用户名为padmin
2) 进入Ksh:$ oem_setup_env
3) 退出Ksh:# exit
4) 在$下扫描硬件:$cfgdev
5) 在$下配置:$ cfgassist
6) 查看启动顺序:$ bootlist -mode normal -ls
7) 查看物理卷:$ lspv
8) 查看虚拟设备:$ lsdev -virtural
9) 查看物理适配器:$ lsdev -type adapter
10) 查看虚拟以太网卡对应信息:$ lsmap -all -net
11) 查看虚拟scsi对应信息:$ lsmap -all | more
12) 列出所有vhost映射:$ lsmap -all | grep vhost
13) 查看镜像库:$ lsrep
$lsmap -vadapter vhost0
$mkvdev -fbo -vadapter vhost0
$ lsmap -vadapter vhost0
$ lsrep
$ loadopt -vtd vtopt0 -disk base_61_TL7
$ lsrep
Boot the client partition from the virtual optical device:
A.) Activate the AIX Partition to the SMS Menu
B.) Select the virtual optical device (CD-ROM)
SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options <<<
Multiboot
1. Select Install/Boot Device <<<
2. Configure Boot Device Order
3. Multiboot Startup <OFF>
Select Device Type
1. Diskette
2. Tape
3. CD/DVD
4. IDE
5. Hard Drive
6. Network
7. List all Devices <<<
Select Device
Device Current Device
Number Position Name
1. - Interpartition Logical LAN
( loc=U9117.MMA.10708D0-V2-C3-T1 )
2. - SCSI CD-ROM
( loc=U9117.MMA.10708D0-V2-C2-T1-L8200000000000000 ) <<<
NOTE: The location code lun ID L8200000000000000 should match the LUN ID of the vtopt mapped to the vhost:
$lsmap -vadapter vhost0
...
VTD vtopt0
Status Available
LUN 0x8200000000000000
Backing device /var/vio/VMLibrary/base_61_TL7
Physloc
Mirrored N/A
SCSI CD-ROM
( loc=U9117.MMA.10708D0-V2-C2-T1-L8200000000000000 )
1. Information
2. Normal Mode Boot <<<
3. Service Mode Boot
Are you sure you want to exit System Management Services?
1. Yes <<<
2. No
Upon exiting SMS, the AIX partition will boot up from the virtual optical device to the AIX Installation Menus.
Step 8: Install the AIX operating system.
Step 9: Unloading the virtual media disk:
$ unloadopt -vtd vtopt0
Step 10: Removing the VM Library
A.) Unmap the vtopt# VTDs from the vhost(s)
$ rmvdev -vtd <VTDname>
B.) Remove the virtual media disk(s) from the Virtual Media Repository:
$ rmvopt -name <name of virtual optical disk>
C.) Remove the repository:
$ rmrep [-f
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




