=======Install nim server file sets======
# lslpp -l | grep -i nim
# installp -Ld /dev/cd0 | grep nim
bos.sysmgt.nim.master
bos.sysmgt.nim.spot
> Above file sets are required for nim server
# installp -agxd /dev/cd0 bos.sysmgt.nim.master
# lslpp -l | grep -i nim
======NIM server LLP_SOURCE and spot Configure=======
# oslevel -s
for starting nim deamons, there will be entry in /etc/niminfo and certain objects and classes are to be added in ODM.
BOS CD
Configure this server as nim server as nim master server====
# smitty nim
-------------
>> Configure NIM environment
perform NIM s/w installation and Maintenance tasks
perform NIM administration tasks
Create IPL ROM Emulation Media
NIM powers Tools
Thin server maintenance
>>Configure Basic NIM Environment (Easy startup)
Advance Configuration
Primary interface for NIM master server = en0
Input devices for installation Images = cd0
LPP_SOURCE Name = AIX53TL12LPP
LPPSOURCE Directory = /newpartition/LPP_SOURCE (For each LPPSOURCE it is required around 3GB)
Create new file system for LLP_SOURce
FIle System size 3500MB
VG for new file system
SPOT NAme
SPOT Directory
SPOT FS 650MB
Remove all newly added defination if any issue = Yes
---------------------------------------------------------
* LPP_source is created, SPOT is created with the use of LPP_SOURCE
* BOSINST_DATA created as default
# cat /etc/niminfo
# lssrc -s nimesis
# ps -ef | grep -i nim ===> /usr/sbin/nimesis -s daemon started.
# lsnim
# lsnim -c machines
# lsnim -c networks
# lsnim -c resouces
# lsnim -l AIX53TL12LPP
# lsnim -l AIX53TL12SPOT
-----------------------------------------------------------
===== How to define client in NIM master =====
* Host entry of client in NIM master and perform below tasts.
# smitty nim
-------------
Configure NIM environment
perform NIM s/w installation and Maintenance tasks
>>>perform NIM administration tasks
Create IPL ROM Emulation Media
NIM powers Tools
Thin server maintenance
manage network
>>manage machine
manage resource
manage groups
Backup/restore nim DB
Configure nim environment options
Rebuild niminfo file
Chnage nim master primary interface
Mange alternate master envir.
Unconfigure nim
List all machines
>>> Define a machine
Create show char. of a machine
specify new master for client
remove machine
Manage n/w install interface
Mangage resource Allocation
Perform Operation on machine
Query remote machine
Manage secon. adapter defination file.
Hostname of machine = client1 (IP address will be taken from /etc/hosts)
With default vaule, object will be created.
# lsnim -c machines
Standalone machine is created.
# lsnim -t standalone (t= type for object.)
# nim -o allaocate -a lpp_source=AIX53TL12LPP client
# nim -o deallaocate -a lpp_source=AIX53TL12LPP client > If not required.
# lsnim -l client > shows added lpp_source
Imp =
cstate : Current state Ready for nim OPeration.
mstate : Machine state
===== BOS Installation on client =======
# smitty nim
Configure NIM environment
perform NIM s/w installation and Maintenance tasks
>>perform NIM administration tasks
Create IPL ROM Emulation Media
NIM powers Tools
Thin server maintenance
manage network
>>manage machine
manage resource
manage groups
Backup/restore nim DB
Configure nim environment options
Rebuild niminfo file
Chnage nim master primary interface
Mange alternate master envir.
Unconfigure nim
List all machines
Define a machine
Create show char. of a machine
specify new master for client
remove machine
Manage n/w install interface
Mangage resource Allocation
>>>Perform Operation on machine = F4 (master and client)
Query remote machine
Manage secon. adapter defination file.
Operations to perform:
----------------------
diag = Enable machine to boot a diagnostic image
cust = perform s/w customisation
>>> bos_inst = Perform bos installation. OR smitty nim_bosinst (Network Installtion.)
maint= Perform s/w maintenance =======> When system passwd recover/ root file system got corrupted / System log device got corrupted / Superblock got corrupted.
In this we don't boot machine by CD, We change the current state of machine to maint mode and we do fsck and all troubleshooting steps.
reset = If client's mode is maint mode and we want to reset the client state.
fix_query = Perform queries on installed fixes.
check = Check the status of nim object.
reboot = reboot the specified machine.
maint_boot = enable machine to boot in maintenance mode.
showlog = display log in nim environment.
lppcheck = verify installed filesets.
restvg = Perform restvg operation.
Linus inst = Operation to install linus onto a standalone.
Update_all = Update all currently installed filesets.
OR
# smitty nim_bosinst
Select machine > Installation type > rte - Install from installation image (Fileset base) > select LPP SOURCE > SPOT
Accept License = yes
Initiate reboot and installTION NOW = No
Check the BOS installation is initialised or not > Once initialised, go to client machine and boot machine in SMS mode.
# lsnim -l client1
cstate = BOS installation has been enabled.
If don't to install client, reset the cstate of nim client.
# nim -o reset client1
cstat = Ready for nim operation.
====== How to remove client from nim defination =======
# nim -o remove client1
It will not work as it has allocated resources and need to be deallocate.
# nim -o deallocate -a lpp_source=AIX53TL12LPP -a spot=AIX53TL12SPOT client1
# nim -l client1
# nim -o unconfig master
>>> it removed all objects and also the /etc/niminfo file. No nim command will work.
To uninstall filesets:
# insatllp -u bos.sysmgt.nim.master
# insatllp -u bos.sysmgt.nim.spot
# lslpp -l | grep -i nim
very good information... thank u very much...
ReplyDelete