0% found this document useful (0 votes)
53 views

Formation NIM

This document provides instructions for installing and configuring a NIM server and client on AIX. It describes installing the necessary filesets, verifying the installation, and initializing the NIM master using SMIT. It also covers defining a client machine, performing operations like allocation on the client, and finally unconfiguring the NIM environment.

Uploaded by

Fouad Barout
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Formation NIM

This document provides instructions for installing and configuring a NIM server and client on AIX. It describes installing the necessary filesets, verifying the installation, and initializing the NIM master using SMIT. It also covers defining a client machine, performing operations like allocation on the client, and finally unconfiguring the NIM environment.

Uploaded by

Fouad Barout
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

=====prérequis installation nim server & client=====

installer les filesets ci-dessous pour :

installp -Ld /dev/cd0 | grep nim

après une liste s'affiche des filesets, sur chaque partie installez :

installp -agXd /dev/cd0 bos.XXXX

---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)

Initialize the NIM Master:


* Primary Network Interface for the NIM Master [en0]
Basic Installation Resources:
* Input device for installation images [cd0]
* LPP_SOURCE Name [AIX72LPP]
* LPP_SOURCE Directory [/export/lpp_source]
Create new filesystem for LPP_SOURCE? [yes]
Filesystem SIZE (MB) [3500]
VOLUME GROUP for new filesystem [rootvg]
* SPOT Name [AIX72SPOT]
* SPOT Directory [/export/spot]
Create new filesystem for SPOT? [yes]
Filesystem SIZE (MB) [350]
VOLUME GROUP for new filesystem [rootvg]
|
|
|
|
* Remove all newly added NIM definitions [yes]
+
and filesystems if any part of this operation fails?

if installation be failed, you should be unmount cd0 and try again.


====après l'installation, il faut vérifier que tous les éléments sont bien installé
et taper les commads ci-dessous :

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

bash-4.4# lsnim -c machines


master machines master

bash-4.4# lsnim -c networks


eth_172_16_40 networks ent

bash-4.4# lsnim -c resources


boot resources boot
mksysbvision resources mksysb
spotvision resources spot

bash-4.4# lsnim -l mksysbvision ==> ( liste detail of source)


mksysbvision:
class = resources
type = mksysb
creation_date = Thu Dec 27 02:53:00 2012
Rstate = ready for use
prev_state = unavailable for use
location = /export/mksysb/mksysbvision
version = 6
release = 1
mod = 7
oslevel_r = 6100-07
alloc_count = 0
server = master
extracted_spot = spotvision

bash-4.4# lsnim -l spotvision ==> ( liste detail of spot)


spotvision:
class = resources
type = spot
plat_defined = chrp
arch = power
Rstate = ready for use
prev_state = verification is being performed
location = /export/spot/spotvision/spotvision/usr
version = 6
release = 1
mod = 7
oslevel_r = 6100-07
alloc_count = 0
server = master
if_supported = chrp.64 ent
Rstate_result = success
mksysb_source = mksysbvision
bash-4.4#

===================================================================================
=========================
============ 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 ==>

Host Name of Machine [hrapp1]

ENTER ==>

Type or select values in entry fields.


Press Enter AFTER making all desired changes.

[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 []
+

Managing System Information

(j'ai rien modifier)

bash-4.4# lsnim -c machines


master machines master
hrapp1 machines standalone

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#
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 )

==> accpet agreement


==> do not set installation now
lsnim -l clinet ==> to check all parametres.

==============To unconfigure NIM===


smitty nim ==> Perform NIM Administration Tasks ==> unconfigure nim

nim -o unconfig master


==> ls -l /etc/niminfo
installp -u bos.sys--master
installp -u bos.sys---spot

You might also like