IBM AIX NIM 安装实例
更新时间:2024-07-05 19:54:01 阅读量: 综合文库 文档下载
- ibm体重指数推荐度:
- 相关推荐
IBM AIX NIM 安装实例
基本操作系统的安装
一 环境:两台f50 : test1 172.16.3.201
test2 172.16.3.202
操作系统; AIX 5.2 ml01
其中:test1 作为server test2 作为client
二 在AIX 5.2 的操作系统上默认客户端的软件就已经安装了。
bos.sysmgt.nim.client 5.2.0.10 COMMITTED Network Install Manager
三 在server上安装nim server 软件
bos.sysmgt ALL
@ 5.2.0.0 Filesystem Quota Commands @ 5.2.0.0 License Management
@ 5.2.0.10 Network Install Manager - Client Tools + 5.2.0.10 Network Install Manager - Master Tools + 5.2.0.10 Network Install Manager - SPOT
@ 5.2.0.10 Software Error Logging and Dump Service Aids @ 5.2.0.10 Software Trace Service Aids
@ 5.2.0.10 System Backup and BOS Install Utilities @ 5.2.0.10 System Management Interface Tool (SMIT) + 5.2.0.0 Trace Report GUI
四 配置nim server.
在test1 上 :smitty nim >> config nim environment >>
config a basic nim environment (easy startup > >
Initialize the NIM Master:
* Primary Network Interface for the NIM Master [en0] Basic Installation Resources:
* Input device for installation images [cd0] * LPP_SOURCE Name [lpp_source1]
* LPP_SOURCE Directory [/export/lpp_source] Create new filesystem for LPP_SOURCE? [yes]
Filesystem SIZE (MB) [650]
VOLUME GROUP for new filesystem [rootvg] * SPOT Name [spot1]
* SPOT Directory [/export/spot]
Create new filesystem for SPOT? [yes] Filesystem SIZE (MB) [350]
VOLUME GROUP for new filesystem [rootvg]
Create Diskless/Dataless Machine Resources? [no] Specify Resource Name to Define:
ROOT (required for diskless and dataless) [root1] DUMP (required for diskless and dataless) [dump1] PAGING (required for diskless) [paging1] HOME (optional) [home1]
SHARED_HOME (optional) [shared_home1] TMP (optional) [tmp1]
Diskless/Dataless resource directory [/export/dd_resource] Create new filesystem for resources? [yes] Filesystem SIZE (MB) [150]
回车后,系统开始自己创建jfs : /export/lpp_source
从cd0 上向; /export/lpp_source/lpp_source1 复制安装映像。
创建jfs :/export/spot
从映像资源:lpp_source 安装spot 资源, 并且存储在:
/export/spot/spot1 中
五 添加客户机到nim环境
客户机在不同的状态会有不同的添加方法。并且在同一状态也有两种不同方法。我们先介绍客户机上有操作系统的情况。 在这种情况下,客户机本身有操作系统,我们可以从客户机上经过配置把自己加入到nim环境中,也可以从nim server上把客户 机加入。同时如果我们的客户机上有多块硬盘,我们可以选择从nim server 上覆盖安装有操作系统的硬盘或者把基本操作系统安装到其他硬盘上。
1. 在客户机上:
smitty nim >> Configure Network Installation
Management Client Fileset
* Machine Name [test2]
* Primary Network Install Interface [en0]
* Host Name of Network Install Master [test1] Hardware Platform Type [chrp]
Kernel to use for Network Boot [mp] IPL ROM Emulation Device [] Comments []
Alternate Port Numbers for Network Communications (reserved values will be used if left blank) Client Registration []
注意, 在两台机器的/etc/hosts 要可以彼此正确解析
这里我们/etc/hosts 172.16.3.201 test1 172.16.3.202 test2
回车命令成功后,会在/etc/下生成 niminfo 文件 如下:
#------------------ Network Install Manager ---------------
# warning - this file contains NIM configuration information # and should only be updated by NIM export NIM_NAME=test2
export NIM_HOSTNAME=test2
export NIM_CONFIGURATION=standalone export NIM_MASTER_HOSTNAME=test1 export NIM_MASTER_PORT=1058
export NIM_REGISTRATION_PORT=1059 export NIM_LICENSE_ACCEPT=yes export RC_CONFIG=rc.bos_inst
export NIM_BOSINST_RECOVER=\
/nim/methods/c_bosinst_env -a hostname=test2\export SPOT=tscf50:/export/spot/spot1/usr
export NIM_CUSTOM=\
methods/c_script -a location=test1:/export/nim/
scripts/test2.script\
export NIM_BOS_IMAGE=/SPOT/usr/sys/inst.images/bos export NIM_BOS_FORMAT=rte
export NIM_HOSTS=\export NIM_MOUNTS=\
/SPOT/usr/sys/
inst.images:dir \
2 。 我们也可以选择在nim server 上加入客户机。 Smitty nim >> Perform NIM Administration Tasks>>
Manage Machines>>Define a Machine
* Host Name of Machine [test2] (Primary Network Install Interface) 选择网络为ent
* NIM Machine Name [test2] * Machine Type [standalone] * Hardware Platform Type [chrp] Kernel to use for Network Boot [mp] Primary Network Install Interface * Cable Type [tp]
Network Speed Setting [] Network Duplex Setting [] * NIM Network [ent-Network1] * Network Type ent
* Ethernet Type Standard * Subnetmask []
* Default Gateway Used by Machine [] * Default Gateway Used by Master [] * Host Name test2
Network Adapter Hardware Address [0] Network Adapter Logical Device Name [] IPL ROM Emulation Device [] CPU Id []
Machine Group []
六 从nim server 向 客户机安装基本操作系统
1. 从test1 上 :
smitty nim_bosinst >> r6f50 machines standalone >> rte - Install from installation images >> >> lpp_source1 resources lpp_sourc >> >> spot1 resources spot
回车后等到ok 出现, 接下来,test2 客户机上就会出现警示:
nim 服务已经启用,机器将被安装操作系统。 然后test2 就会自动重起。 并且从网络启动。
进入安装界面
就像我们从光盘安装系统一样,进行安装。 安装后test2 客户机会重起。
并且保留test2
的主机名和172.16.3.202 的ip 地址。 但是root password 没有了,需要手工设置。
2. 还有一种安装基本操作系统的方法——从客户机开始安装 smitty nim >>Manage Network Install Resource Allocation>>
Allocate Network Install Resources>> 选择 lpp_source1
lpp_source 和 spot1 spot
smitty nim >> Perform a NIM Client Operation>>bos_inst >>
Network Install Operation to Perform bos_inst Source for BOS Runtime Files rte Remain NIM client after install? yes installp Flags [-aXg]
接下来test2 客户机上就会出现警示:nim 服务已经启用, 机器将被安装操作系统等等,步骤同第一种方法。
七 在nim 客户机上使用mksysb 映像安装基本操作系统
一 先决条件 。
同上面步骤一样,先要配置nim server , 然后把客户机加入到nim 环境中。
二 spot 系统资源已经在上述步骤中配置了,下面我们配置mksysyb 资源。
1. 首先要有mksysyb 映像文件。 在nim server 上运行smitty mksysyb
* Backup DEVICE or FILE [/tmp/liudl] Create MAP files? no EXCLUDE files? no
List files as they are backed up? no Verify readability if tape device? no Generate new /image.data file? yes EXPAND /tmp if needed? no
Disable software packing of backup? no
Number of BLOCKS to write in a single output []
注意。 Mksysb 映像文件最好不要放在/ 目录下,在该例子中,我们把它 放在/tmp下。
当然我们也可以从客户机或其他机器上作mksysb ,然后传到nim server 上。
3. 在nim server 上Smitty nim>> Perform NIM Administration Tasks〉〉 Manage Resources〉〉Define a Resource 选择 mksysb = a mksysb image
* Resource Name [mksysbres] * Resource Type mksysb
* Server of Resource [master] * Location of Resource [/tmp/liudl] Comments []
Source for Replication [] -OR-
System Backup Image Creation Options: CREATE system backup image? no NIM CLIENT to backup [] PREVIEW only? no
IGNORE space requirements? no EXPAND /tmp if needed? no Create MAP files? no
Number of BLOCKS to write in a single output [] (leave blank to use system default) Use local EXCLUDE file? no
(specify no to include all files in backup) -OR-
EXCLUDE_FILES resource []
回车后, ok , mksysb 资源就创建成功了。
三 用mksysb 映像安装客户机基本操作系统
1. 在nim server 上 smitty nim >>
Perform NIM Software Installation and Maintenance Tasks>> Install and Update Software>>
Install the Base Operating System on Standalone Clients>> 选择客户机名称〉〉选择安装方式 mksysb - Install from a mksysb〉〉 选择 mksysbres resources mksysb 选择 spot1 resources spot
* Installation Target test2 * Installation Type mksysb * SPOT spot1 LPP_SOURCE [] MKSYSB mksysbres
BOSINST_DATA to use during installation [] IMAGE_DATA to use during installation []
RESOLV_CONF to use for network configuration [] Customization SCRIPT to run after installation [] Customization FB Script to run at first reboot [] ACCEPT new license agreements? [yes] Remain NIM client after install? [yes]
Preserve NIM definitions for resources on [yes] this target?
FORCE PUSH the installation? [no] Initiate reboot and installation now? [yes
回车后开始nim安装。客户机会重起,选择显示器,语言,硬盘等等,开始客户机安装过程,然后客户机重起。
八 从没有操作系统的客户机上进行nim 安装
以上我们总结了如何从nim server 和从nim 客户机上安装基本操作系统。但是所举的例子都是在客户机上已经有AIX 操作系统后,我们对客户机进行配置,然后从nim server或从客户机自己本身激发安装过程。下面介绍一下如何从没有操作系统的客户机上用nim 安装基本操作系统。
1. 首先还是安装并配置好nim server . 2. 把nim 客户机加入到nim 环境中。(从nim server 上做,见第五章第2小节)。 3. 启动客户机,并且进入sms 菜单( 见led 上显示e1f1 时, 按f1 键) 选择 utility
选择 RIPL(remote initial program load setup ) 选择 set address
输入:client address : 172.16.3.201 server address : 172.16.3.202 gateway address : 172.16.3.1 subnet mask : 255.255.255.0 按save 选择 config
ibm 100/10 ethernet adapter 选择 ok
data rate : 10 mb full duplex : no 选择 save 选择 ping ping set up :
client address : 172.16.3.201 server address : 172.16.3.202 gateway address : 172.16.3.1
subnet mask : 255.255.255.0 选择 adapter ibm 100/10 ethernet 选择 ping
如果配置正确的话,ping 的结果是ok . exit 退出
选择:mutiboot startup 选择 :boot sequence 设置启动顺序:1. ethernet 2. hdisk
exit 退出 (这时系统会从网络启动。 同时在nim server 上 选择基本操作系统安装 。 客户机就会从网络启动并且执行基本操作系统的安装。)
正在阅读:
IBM AIX NIM 安装实例07-05
精麻药品处方管理规定修订稿04-24
电梯钢丝绳生产及对耐疲劳性能影响01-10
矩阵式键盘程序设计03-18
专科学业总结1500字09-10
大学物理网上题目12-30
第四单元-六年级下册-科学-8.环境问题和我们的行动05-18
按照二十四字教学模式开展教学的体会03-09
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 实例
- 安装
- IBM
- AIX
- NIM
- 四年级英语上册 unit3 My Friends 单元检测4
- 推荐-中考化学溶液的形成复习题4
- 110KV变电站综合配电楼砼施工方案
- 高中英语 Unit 1 School life试题(含解析)牛津译林版必修1 -
- 重庆交通大学毕业实习报告1030011X
- 互补的图文关系
- 地球上20大最极端之地 - 图文
- 外研版七年级英语下册单元测试题及答案全套2
- 喝原味酸奶能减肥吗?
- 2016年《大学英语》网上学习复习题
- 第一学期高一英语期中试卷
- 2014电大商务礼仪概论期末复习判断题
- 郭河中学“班班通”设备管理使用责任书
- C基本概念(选择题)
- 2018-2019九江银行笔试题目-实用word文档(4页)
- 电大数据结构期末综合练习(2012年6月)
- 2014年会计继续教育试题及答案
- 全新版大学英语综合教程3课文原文及翻译
- 在小学低段数学教学中
- 贵州省水力发电站名录2017年2224家