使用介质设备安装 AIX 以通过 HMC 安装分区
原文:https://www.ibm.com/support/knowledgecenter/zh/ssw_aix_72/com.ibm.aix.howtos/HT_insgdrf_lpar_cd_install_hmc.htm
在此过程中,将使用逻辑分区的介质设备来在该分区上执行全新和完全基本操作系统安装。此过程假定存在已连接受管系统的 HMC。
先决条件
本入门操作方案中的信息已使用特定版本的 AIX® 进行测试。根据您的 AIX 版本和级别不同,获得的结果可能会有很大差异。
开始此过程之前,应该已使用 HMC 来为客户机创建分区和分区概要文件。将已连接介质设备的 SCSI 总线控制器、网络适配器以及针对 AIX 操作系统的足够磁盘空间指定给该分区。将此分区的引导方式设置为 SMS 方式。在成功创建分区和分区概要文件之后,请将该分区保持为就绪状态。有关如何创建逻辑分区和分区概要文件的指示信息,请参阅 IBM® eServer™ Hardware Information Center 中的 Creating logical partitions and partition profiles 一文。
步骤 1. 激活和安装分区(在 HMC 界面中执行这些步骤)
- 激活分区,如下所示:
- 将 AIX 6L 卷 1 介质插入受管系统的介质设备。
- 在导航面板中,打开 Systems Management > Servers,然后单击逻辑分区所在的系统。
- 从 Tasks 菜单中,选择 partition,然后单击 Operations > Activate > Profile。
- 选择菜单底部的 Open a terminal window or console session 以打开虚拟终端(vterm)窗口。
- 选择 Advanced 以打开 Advanced Options 菜单。
- 对于 Boot mode,选择 SMS。
- 选择 OK 以关闭 Advanced Options 菜单。
- 选择 OK。打开分区的 vterm 窗口。
- 在 vterm 上的 SMS 菜单中,请执行以下操作:
- 按 5 键并按 Enter 键以选择 5. Select Boot Options。
PowerPC Firmware Version SF220_001 SMS 1.5 © Copyright IBM Corp. 2000, 2003 All rights reserved. ------------------------------------------------------------------------------- Main Menu1. Select Language 2. Setup Remote IPL (Initial Program Load) 3. Change SCSI Settings 4. Select Console 5. Select Boot Options------------------------------------------------------------------------------- Navigation Keys:X = eXit System Management Services ------------------------------------------------------------------------------- Type the number of the menu item and press Enter or select Navigation Key: 5
- 按 2 键并按 Enter 键以选择 2. Select Boot Devices。
- 按 1 键并按 Enter 键以选择 1. Select 1st Boot Device。
- 按 3 键并按 Enter 键以选择 3. CD/DVD。
- 选择对应于介质设备的介质类型并按 Enter 键。
- 选择对应于介质设备的设备号并按 Enter 键。现在,该介质设备是 Current Boot Sequence 列表中的第一项设备。
- 按 ESC 键,直到返回至 Configure Boot Device Order 菜单。
- 选择对应于硬盘的设备号并按 Enter 键。
- 按 x 键以退出 SMS 菜单。确认要退出 SMS。
- 按 5 键并按 Enter 键以选择 5. Select Boot Options。
- 从 AIX 卷 1 引导,如下所示:
- 选择控制台并按 Enter 键。
- 为 BOS Installation 菜单选择语言并按 Enter 键以打开 Welcome to Base Operating System Installation and Maintenance 菜单。
- 在 Choice 字段中输入 2 以选择 Change/Show Installation Settings and Install 并按 Enter 键。
Welcome to Base Operating SystemInstallation and MaintenanceType the number of your choice and press Enter. Choice is indicated by >>>.1 Start Install Now with Default Settings2 Change/Show Installation Settings and Install3 Start Maintenance Mode for System Recovery4 Make Additional Disks Available88 Help ? 99 Previous Menu >>> Choice [1]: 2
- 验证或更改 BOS Installation 设置,如下所示:
- 在 Choice 字段输入 1 以选择 System Settings 选项。
- 在 Choice 字段中输入 1 以选择 New and Complete Overwrite 并按 Enter 键。 注:可用的安装方法取决于磁盘是否已安装 AIX 的先前版本。
- 当 Change Disk(s) 屏幕打开时,可以更改安装的目标磁盘。如果显示的缺省值正确,那么在 Choice 字段中输入 0 并按 Enter 键。要更改目标磁盘,请执行以下操作:
- 输入在 Choice 字段中选择的每个磁盘的号码并按 Enter 键。在完成选择所有磁盘之前不要按 Enter 键。如果必须取消选择磁盘,请第二次输入它的号码并按 Enter 键。
- 完成磁盘选择后,在 Choice 字段中输入 0 并按 Enter 键。会打开 Installation and Settings 屏幕,所选磁盘列示在 System Settings 下面。
- 需要时,更改主语言环境。使用下列步骤来更改此安装使用的主语言,以选择要使用的语言和文化习俗。 注:直到完成“基本操作系统安装”并且系统重新引导后,对主语言环境的更改才会生效。
- 在 Installation and Settings 屏幕上的 Choice 字段中输入 2,以选择 Primary Language Environment Settings 选项。
- 选择 cultural convention、language 和 keyboard 选项的适当的设置。大部分选项是预定义的组合,但是可以定义自己的选项组合。
- 要选择某个预定义的 Primary Language Environment®,请在 Choice 字段中输入它的编号并按 Enter 键。
- 要配置您自己的主语言环境,请执行下列操作:
- 选择 MORE CHOICES。
- 选择 Create Your Own Combination。
- 当 Set Primary Cultural Convention 屏幕打开时,在 Choice 字段中输入与所选文化习俗对应的编号并按 Enter 键。
- 当 Set Primary Language 屏幕打开时,在 Choice 字段中输入与所选主语言对应的编号并按 Enter 键。
- 当 Set Keyboard 屏幕打开时,在 Choice 字段中输入与连接到系统的键盘对应的编号并按 Enter 键。
- 在进行所有选择之后,验证这些选择是否正确。按 Enter 键以确认您的选择并开始 BOS 安装。系统在安装完成之后自动重新引导。
- 将分区切换至 Normal Mode,如下所示:
- 右键单击分区概要文件以打开菜单。确保突出显示了正确的分区概要文件。
- 选择 Properties。
- 选择 Settings 选项卡。
- 对于 Boot Mode,选择 Normal。
- 选择 OK 以关闭 Properties 菜单。
- 右键单击该分区以打开菜单。
- 选择 Restart Partition。
- 为 Restart Options 选择 Immediate。
- 确认要重新启动分区。
- 重新启动分区之后,右键单击该分区以打开菜单。
- 选择 Open terminal window 以打开虚拟终端(vterm)窗口。
- 完成 BOS 安装,如下所示:
- 输入 vt100 作为终端类型。
Set Terminal Type The terminal is not properly initialized. Please enter a terminal type and press Enter. Some terminal types are not supported in non-English languages.ibm3101 tvi912 vt330ibm3151 tvi920 vt340ibm3161 tvi925 wyse30ibm3162 tvi950 wyse50ibm3163 vs100 wyse60ibm3164 vt100 wyse100ibmpc vt320 wyse350lft sun+-----------------------Messages------------------------| If the next screen is unreadable, press Break (Ctrl-c)88 Help ? | to return to this screen.99 Exit || >>> Choice []: vt100
- 在 License Agreement 菜单中,选择 Accept License Agreements。
- 选择 yes 以接受 Installed License Agreements。
- 按 F10(或者 Esc+0)以退出 License Agreement 菜单。
- 在 Installation Assistant 主菜单中,选择 Set Date and Time。
Installation AssistantMove cursor to desired item and press Enter. Set Date and TimeSet root PasswordConfigure Network CommunicationsInstall Software ApplicationsUsing SMIT (information only)F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
- 设置正确的日期、时间和时区。按 F3(或者 Esc+3)键以返回至 Installation Assistant 主菜单。
- 选择 Set root Password。为分区设置 root 用户密码。
- 选择 Configure Network Communications。 选择 TCP/IP Startup。从 Available Network Interfaces 中进行选择并按 Enter 键。在 Minimum Configuration and Startup 菜单中输入相应网络信息并按 Enter 键。使用 F3(或者 Esc+3)键来返回至 Installation Assistant 主菜单。
- 按 F10(或者 Esc+0)来退出“安装助手”。
- vterm 窗口显示登录提示。
- 输入 vt100 作为终端类型。
步骤 2. 管理分区(在 AIX 环境中执行此步骤)
当安装完成并且系统重新引导之后,vterm 窗口会显示登录提示。
此时,可能要执行若干公共系统管理过程。 下表列示了用于查找有关执行这些过程的信息的位置。
过程 | 位置 |
---|---|
备份和恢复系统备份 | Installation and migration中的“创建并安装系统备份” |
管理用户和组 | 安全性中的“用户、角色和密码” |
安装软件 | Installation and migration中的“可选软件产品和服务更新” |
安装修订/更新 | Installation and migration中的“可选软件产品和服务更新” |
针对性能调整系统 | Performance management中的“性能调整” |
配置打印机 | 打印机和打印指南 |