Anda di halaman 1dari 22

Welcome to:

Copyright IBM Corporation 2005


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Introduction to NIM
Unit 1
Copyright IBM Corporation 2005
Unit Objectives
After completing this unit, you should be able to:
Describe basic NIM environment
Identify basic NIM terminology
List basic NIM objects
Identify basic access to your lab environment


Copyright IBM Corporation 2005
Network Installation Manager (NIM) Introduction
Base Install Disaster Recovery



Install Updates Diskless/Dataless


AIX Only
Client/Server
(Resource)
Client Client
Master
Copyright IBM Corporation 2005
CD Installation Concepts
Upfront Intervention: Power On/Activate
Service Bootlist CD
Source Resources Installation Activity
Machine Firmware POST tests
CD Boot image

Load boot image
(per bootlist)
Boot image running
(/sbin/rc.boot)
CD /usr/lib/methods
/usr/lib/drivers
-- Configure base devices
CD /usr/lpp/bosinst BOS Installation Program
(bi_main)
CD /usr/sys/inst.images -- Image/Filesets to Install
(bos.rte/BOS.auoi bundle)
Copyright IBM Corporation 2005
NIM Installation Concepts (1 of 2)
Upfront Intervention - Power On/Activate
Normal bootlist entX
IP of Server - direct/indirect

Source Resources Installation Activity
Machine Firmware POST tests
SPOT
Server
bootps
(/etc/bootptab)
Find Boot Image per
normal bootlist
(BOOTP)
SPOT
Server
/tftpboot/<client_name>
/tftpboot/<client_name>.info
Load Boot Image and info
file (TFTP)
Copyright IBM Corporation 2005
NIM Installation Concepts (2 of 2)
Source Resources Installation Activity
Boot Image Running
(/sbin/rc.boot)
SPOT Server
LPP_SOURCE
Server
SPOT
LPP_SOURCE
--Mount Needed Resources
SPOT Server <spot>/usr/lib/methods
<spot>/usr/lib/drivers
--Configure Base Devices
SPOT Server <spot>/usr/lpp/bosinst BOS Installation Program
(bi_main)
LPP_SOURCE
Server
<lpp_source> --Image/Filesets to Install
(bos.rte/BOS.autoi bundle)
Copyright IBM Corporation 2005
LPP_SOURCE
.toc
bos
bos.64bit
bos.rte
bos.rte.lvm
bos.rte.net

cdrecord
mkisofs

ppc ppc
installp RPMS
<lpp_source_location>
Directory of Installation Images to Install
Example contents:
Copyright IBM Corporation 2005
SPOT
/tftpboot

spot53ML1.chrp.mp.ent
spot52ML3.chrp.mp.ent
spot52ML1.rspc.up.tok
<spotdir>

usr


lpp

bosinst

bi_main
other code
for install
(TCP/IP client
NFS client
NIM client)
code to
construct
boot images
lib
methods drivers
Directory of installed code used by client during installation process
Copyright IBM Corporation 2005
Important NIM Objects
generic script
installp_bundle

atm dataless bosinst_data
fddi diskless mksysb
tok stand-alone spot
ent master lpp_source Type:
Network Machines Resources Class:
Copyright IBM Corporation 2005
Listing NIM Objects
Object Class Type
master machines master
boot resources boot
nim_script resources nim_script
network1 networks ent
lpp_source530 resources lpp_source
spot530 resources spot
AllDevicesKernels resources installp_bundle
Alt_Disk_Install resources installp_bundle
App-Dev resources installp_bundle
lpar1 machines stand-alone
lpar2 machines stand-alone
lpar3 machines stand-alone
lsnim [-c][-t]
Copyright IBM Corporation 2005
Listing NIM Object Attributes
Resources Machines
# lsnim -l spot530 # lsnim -l lpar1
spot530: lpar1:
class = resources class = machines
type = spot type = stand-alone
plat_defined = chrp connect = nimsh
arch = power platform = chrp
Rstate = ready for use netboot_kernel = mp
prev_state = verification is being performed if1 = network1 lpar1 0 ent0
location = /export/nim/spot/spot530/usr cable_type1 = tp
version = 5 Cstate = ready for a NIM operation
release = 3 prev_state = ready for a NIM operation
mod = 0 Mstate = not running
oslevel_r = 5300-00
alloc_count = 0
server = master
Rstate_result = success
mk_netboot = yes
mk_netboot = yes
Copyright IBM Corporation 2005
Base Installation Types
RTE MKSYSB

USE Install from Scratch Install from System Backup

Boot Image SPOT SPOT

Configure Devices SPOT SPOT

Install Program SPOT SPOT

Image to Install LPP_SOURCE MKSYSB
(bos.rte)

Other Images BUNDLES/FILESETS BUNDLES/FILESETS
(Default - BOS.autoi) (Default - none)

Customization SCRIPTS SCRIPTS

Copyright IBM Corporation 2005
Install Initiation Techniques
Manual Bootp
Broadcast
Push
Reboot
Machine
N N Y
Change Bootlist N N Y
Set up IPs N Y Y
SPOT on
Same Subnet
Brand New Installs
Watch out
Master
Client SPOT Server
Copyright IBM Corporation 2005
Master versus Client Initiation and Control
lsnim -l lpar1




control = master
Master Client
Define Resources N/A
Base Install Base Install
Install Updates Install Updates
Force Push Disable Push
Copyright IBM Corporation 2005
Security Considerations
Any user can join your network

Any machine can download any images they want

Use nimsh[/SSL] versus rsh

Firewalls
NFS shouldn't be used over a firewall

Copyright IBM Corporation 2005
NIM Configuration Utilities
smitty nim

smitty eznim

wsm

scripts
nim_setup_master
nim_setup_client
nim_update_all

Command line

Copyright IBM Corporation 2005
Introducing smitty NIM

Network Installation Management


Configure the NIM Environment
Perform NIM Software Installation and Maintenance Tasks
Perform NIM Administration Tasks
Create IPL ROM Emulation Media

Copyright IBM Corporation 2005
Introducing WSM
Network Installation Manager
Resources Networks Machines
Overview and Tasks
(Configure Master)
Copyright IBM Corporation 2005
Introducing the Command Line
Major Commands:
nimconfig - Configure NIM master
nim - Most operations from master
nimclient - Most operations from the client

Major nim Operations:
define, bos_inst, cust

Example:
nim -o bos_inst -a spot=spot530 \
-a lpp_source=lpp_source530 \
lpar1
Copyright IBM Corporation 2005
Release Considerations
5.1 - RPMS code can now be installed

5.2 - Can back up multiple mksysbs at a time
lpp_source Management Tools
Resource Groups
Easy Configuration Utilities (smitty eznim/scripts)

5.3 - nimsh
Alternate NIM master

Keep NIM Master at the latest level you plan to support
Copyright IBM Corporation 2005
Lab Environment Basics
Stand-alone
Environment
HMC/LPAR
Environment
NIM Master Stand-alone
Machine
AIX Partition
NIM Client Stand-alone
Machine
AIX Partition
Terminal Log in to CDE
Use Terminal
Emulator
Session
Log in to PC
Start up PuTTY
Log in to AIX
machine
Copyright IBM Corporation 2005
Unit Summary
Having completed this unit, you should be able to:
Describe the basic NIM environment
Identify basic NIM terminology
List basic NIM objects
Identify basic access to your lab environment

Anda mungkin juga menyukai