Formation NIM
Formation NIM
après une liste s'affiche des filesets, sur chaque partie installez :
---partie client----
bash-3.2# lslpp -l | grep -i nim.client
bos.sysmgt.nim.client 7.2.4.0 APPLIED Network Install Manager -
bos.sysmgt.nim.client 7.2.4.0 APPLIED Network Install Manager -
bash-3.2# hostname
proddb1
bash-3.2#
----partie server----
bash-4.4# lslpp -l | grep nim
bos.sysmgt.nim.client 7.2.4.0 APPLIED Network Install Manager -
bos.sysmgt.nim.master 7.2.4.0 APPLIED Network Install Manager -
bos.sysmgt.nim.spot 7.2.4.0 APPLIED Network Install Manager - SPOT
bos.sysmgt.nim.client 7.2.4.0 APPLIED Network Install Manager -
bash-4.4# hostname
nim
bash-4.4#
===================================================================================
==========================
==========configuration serveur NIM===========
smitty nim ===> Configure the NIM Environment ===> Configure a Basic NIM
Environment (Easy Startup)
bash-4.4#
bash-4.4# ls -l /etc/niminfo
-rw-r--r-- 1 root system 160 Dec 25 2012 /etc/niminfo
bash-4.4# cat /etc/niminfo
# nimconfig
export NIM_NAME=master
export NIM_CONFIGURATION=master
export NIM_MASTER_PORT=1058
export NIM_REGISTRATION_PORT=1059
export NIM_MASTER_HOSTNAME=nim
bash-4.4#
bash-4.4# lssrc -s nimesis
Subsystem Group PID Status
nimesis nim 6423018 active
bash-4.4#
bash-4.4# ps -ef | grep nim
root 6423018 4719092 0 Jun 24 - 0:00 /usr/sbin/nimesis -s
bash-4.4# lsnim
===================================================================================
=========================
============ Administration du serveur NIM======
il faut ajouter tous les adresse et les nom des machine à administer sur le fichier
/etc/hosts.
et n'oubliez pas de modifier les fichiers /etc/hosts sur les client en tapant
l'adresse NIM et nom host.
smitty nim ==> Perform NIM Administration Tasks ==> Manage Machines ==> Define a
Machine ==>
ENTER ==>
[Entry Fields]
* NIM Machine Name [hrapp1]
* Machine Type [standalone]
+
* Hardware Platform Type [chrp]
+
Kernel to use for Network Boot [64]
+
Communication Protocol used by client []
+
Primary Network Install Interface
* Cable Type bnc
+
Network Speed Setting []
+
Network Duplex Setting []
+
* NIM Network eth_172_16_40
* Host Name hrapp1
Network Adapter Hardware Address [0]
Network Adapter Logical Device Name []
IPL ROM Emulation Device []
+/
CPU Id []
VLAN Tag Priority (0 to 7) []
#
VLAN Tag Identifier (0 to 4094) []
#
Machine Group []
+
bash-4.4#
bash-4.4#
bash-4.4#
bash-4.4# lsnim -l hrapp1
hrapp1:
class = machines
type = standalone
connect = nimsh
platform = chrp
netboot_kernel = 64
if1 = eth_172_16_40 hrapp1 0
cable_type1 = bnc
Cstate = ready for a NIM operation
prev_state = ready for a NIM operation
Mstate = currently running
bash-4.4#
bash-4.4# nim -o allocate -a lpp_source=spothr hrapp1
bash-4.4# nim -o deallocate -a lpp_source=spothr hrapp1
-------------------------------------------
smitty nim ==> Perform NIM Administration Tasks ==> Manage Machines ==> Perform
operation OR =
smitty nim_bosinst
=> choose client
==> select installation type ( rte- install from installation images OR mksysb-
install from a mksysb OR spot- install a copy of a spot ressource )