SlideShare a Scribd company logo
1 of 34
AIX Network Install Manager
When we replaced our old hardware platform with IBM AIX RS/6000 systems, a main
concern was controlling how our new systems would be installed. With the old platform,
we ran into several instances where the software (moving from our development group to
QA and into production) was not the same, which caused numerous build breaks. We
chose the AIX Network Installation Management (NIM) setup, because we needed to
ensure consistent, standard OS installations between systems within our four separate
data centers. Our company also has a security rule that doesn't allow any one machine
access to all networks within our organization. Our four separate data centers have four
separate networks with no connection between them, and each network is segmented into
either inside or outside the firewall.
NIM Resources
NIM allows you to customize installations and maintain clients on the network from a
centralized location (the NIM master) or the NIM client itself. The master contains the
NIM database and can serve resources. Resources in NIM are files or directories
containing data that NIM will use to install, customize, and maintain NIM clients. A NIM
client is any machine configured and defined in the NIM database. Some key NIM
resources used in our setup are:
• Licensed Program Product Source Directory (lpp_source): This directory
contains backup file format (BFF) images, which AIX installp uses to load
software. One way to understand the role of the lpp_source directory in a BOS
installation is to compare it to all the installation images needed to support any
configuration (specifically different device configurations) along with a base core
set of software (called simages) that are on the BASE installation CDs. We
created a base 433 lpp_source, multiple lpp_sources containing different
maintenance levels, and separate lpp_sources for our 32-bit and 64-bit third-
party application software.
• Shared Product Object Tree (SPOT): This directory is created from an
lpp_source and is equivalent in content to a /usr file-system on AIX. The
purpose of a SPOT in a NIM installation is similar to the boot images and BOS
installation scripts (bi_main, rc.boot, and rc.bosinst) on volume 1 of the
BASE install CD. The SPOT must contain support for all boot environments
(platform, network type, kernel type). We created several different SPOTs for the
different data centers and maintenance levels we use to support our systems.
• bosinst_data: This data file contains information that drives the BOS install
(e.g., prompt vs. no-prompt, which disk to install the OS on, and the type of
installation (Overwrite, Preservation, or Migration) to name a few). First, we
created separate bosinst_data resources for each machine type (S80, H70, B50,
M80, P680, and 43P). Then, by specifying two disks to target in our
bosinst_data resource and specifying copies in the image_data resource, we
could set up mirroring during the initial load.
• image_data: This data file contains information about the characteristics of the
OS being installed. For example, it includes the size of file systems, whether or
not to mirror, and whether or not to disk stripe. We created separate image_data
resources for each machine type (S80, H70, B50, M80, P680 and 43P).
• Script: This is a customization file the systems administrator can create, which
executes near the end of the BOS installation. You can execute multiple NIM
script resources during a BOS installation. If you need to control the order of
execution, I recommend putting it all in one large script. We created one NIM
script to set up the OS environment and hardware parameters, configure certain
system files, set up security, install third-party software, create and set up dump
devices, customize paging space to correspond to the system RAM, and help
create a complete inventory by machine type and serial number. I've included a
copy of this script at the end of this article (Listing 1). All listings for this article
are available from the Sys Admin Web site: http://www.sysadminmag.com/code/
• Installp_bundles: This data file contains a customized list of additional
software to install after the base AIX software is loaded. If you have different
configurations that you need to duplicate on a repeatable basis, this resource is
very useful. In our environment, we have different OS software requirements for
development, QA, and production above the minimal AIX software needed to
support different hardware systems. The easiest way to facilitate and maintain
these different requirements, which need to be consistent, is to use
installp_bundles.
• mksysb: This is a backup archive file that contains a system image of rootvg.
Because of our network security restrictions (no one machine could be connected
to all the networks within our organization), we used mksysb and savevg tapes to
replicate the NIM master to the other data centers. If we had one machine
connected to the different data centers, we could have used NIM to replicate and
update the NIM masters in the different data centers by BOS-installing a NIM
mksysb resource and using a NIM script to restore the other volume group data.
• mac_group: This is a logical grouping of machine types (standalone, diskless, or
dataless) that enables the systems administrator to target one or more machines
with a single command or NIM operation. We did not use this feature, but we
could have taken advantage of this by grouping all like systems and like
configurations to install to more than one machine at a time.
NIM configuration under AIX5.2
Scenario:
 Setup NIM master server in AIX5.2
 Setup NIM client for AIX5.1 installation.
Steps:
1. Install OS in NIM master server
2. Install bos.sysmgt.nim fileset in NIM master for NIM operations
3. Configure NIM master server. Load AIX5.1 image as part of configuring
NIM master.
4. Configure NIM client in the NIM master server.
5. Configure Remote IPL parameters in client
6. Test connectivity from client to NIM server using SMS ping
7. Boot the client system-using network by getting in to SMS mode
8. Initiate the Push installation from the NIM master server
NIM configuration:
1. Installing AIX 5.2 OS in NIM master server.
2. Install bos.sysmgt.nim filesets, which is needed for NIM master.
3. Configure NM master server
Make sure to put AIX 5.1 1 of 6 CD in the CDROM drive in NIM master server
#Smitty nim_config_env
Lpp_source name
for AIX51 image
Notice two new filesystems are created
/export/lpp_source – for lpp_sources
/export/spot – meant for SPOT
hm2axpp91:/>df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 65536 52120 21% 1432 5% /
/dev/hd2 1179648 448272 62% 20250 7% /usr
/dev/hd9var 65536 56888 14% 463 3% /var
/dev/hd3 2883584 1745988 40% 4687 1% /tmp
/dev/hd1 65536 63404 4% 21 1% /home
/proc - - - - - /proc
/dev/hd10opt 131072 63504 52% 397 2% /opt
/dev/usrapps 327680 220464 33% 1031 2% /usr/apps
/dev/lv00 655360 35404 95% 227 1% /export/lpp_source
/dev/lv01 393216 54884 87% 10949 12% /export/spot
4. Adding a standalone NIM client to the NIM master.
#smitty nim_mkmac
Make sure to
create the
network for
10.176.3.0
MAC of the
client is not
needed
5.Configure Remote IPL in the client system
Boot the system in SMS mode. (If LPAR set it to boot in SMS mode.)
6. Test connectivity from client to NIM server using SMS ping
Perform PING from SMS menu to make sure client is able to communicate to
NIM Server using the IP address information provided earlier in STEP 5.
Go to Remote IPL option and select do PING test.
7. Boot the NIM client system using network from SMS mode as follows
While the above message appears at the client side
9. Initiate the push installation from the NIM master server
From MASTER run the following
#Smitty nim_bosinst
Select the
client name
created in step
4
Select the
install type
Select
lpp_sourc
e name,
which has
aix5.1
image
Leave rest in default
Installation starts automatically.
Additional NIM information:
1) If any clients connected in other network than master. Need to create networks
for that client subnet.
#smitty nim_net
2) To create a AIX5.1 image in lpp_source by name aix51
#smitty nim_mkres
3) To dump the image CDROM to a HDD file.
#Smity bffcreate
Procee multiple volume – yes …to dump all OS cds to a single file.
4) To communicate NIM clients connected in different network than the NIM master ..need to
create NIM default route for both the networks(NIM master network and NIM client network ).
#smitty nim_routing
Make sure to
put the image
in diff dir
than
lpp_source.
5) To Install a spefic fileset from the master on the client
#Smitty nim_inst_all
Network1 is 10.176.3.0 network
10.176.3.1 is default network for
10.176.3.0
6) To take mksysb using NIM
Configure NIM client at client side
#smitty niminit
#smitty nim_mkmac – to configure client in NIM master
leave rest in default
#smitty nim_mkres
select “mksysb” type
Leave rest in default
To restore mksysb backup to client:
To restore the mksysb for NIM client follow all the procedures to boot the NIM client from SMS
mode ..
From the master
Leave rest in default……
Mksysb restore on
client requires
SPOT .No SPOT gets
created during
mksysb.Hene we
need to either create
new SPOT use other
SPOT of the same
version of OS in
MASTER
Errors:
To view client status and information
hm2axpp91:/usr/lpp/bos.sysmgt/nim/methods>lsnim -l hm2axws51
hm2axws51:
class = machines
type = standalone
locked = 25484
platform = chrp
netboot_kernel = mp
if1 = network1 hm2axws51 0 ent0
cable_type1 = bnc
Cstate = BOS installation has been enabled
prev_state = not running
Mstate = in the process of booting
boot = boot
mksysb = hm2axws51mksysb
nim_script = nim_script
spot = aix51_spot
cpuid = 0023F9DA4C00
control = master
2) we got this error while initiating mksysb installation from NIM master to client hm2axws51
0042-135 nim: unable to perform the requested operation
because "hm2axws51" is currently controlled by
the machine "hm2axws51". It may be necessary
to deallocate resources from the target before
performing the intended operation.
hm2axpp91:/usr/lpp/bos.sysmgt/nim/methods>./m_chattr -a control=master hm2axws51
hm2axpp91:/>nim -o deallocate -a subclass=all hm2axws51
This resolve the above error

More Related Content

What's hot

AIXpert - AIX Security expert
AIXpert - AIX Security expertAIXpert - AIX Security expert
AIXpert - AIX Security expertdlfrench
 
Unix nim-presentation
Unix nim-presentationUnix nim-presentation
Unix nim-presentationRajeev Ghosh
 
Linux操作系统01 简介
Linux操作系统01 简介Linux操作系统01 简介
Linux操作系统01 简介lclsg123
 
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Gábor Nyers
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share.Gastón. .Bx.
 
VIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | DemoVIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | DemoKernel Training
 
C122 a015-en
C122 a015-enC122 a015-en
C122 a015-enTommy Lee
 
HPUX Update Seminar Session 1 Dan Taipala
HPUX Update Seminar Session 1   Dan TaipalaHPUX Update Seminar Session 1   Dan Taipala
HPUX Update Seminar Session 1 Dan Taipaladtaipala
 
Asiabsdcon14 lavigne
Asiabsdcon14 lavigneAsiabsdcon14 lavigne
Asiabsdcon14 lavigneDru Lavigne
 

What's hot (20)

AIXpert - AIX Security expert
AIXpert - AIX Security expertAIXpert - AIX Security expert
AIXpert - AIX Security expert
 
Aix install via nim
Aix install via nimAix install via nim
Aix install via nim
 
Unix nim-presentation
Unix nim-presentationUnix nim-presentation
Unix nim-presentation
 
LinuxTag2012 Rear
LinuxTag2012 RearLinuxTag2012 Rear
LinuxTag2012 Rear
 
Linux操作系统01 简介
Linux操作系统01 简介Linux操作系统01 简介
Linux操作系统01 简介
 
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
VIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | DemoVIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | Demo
 
Scale9x sun
Scale9x sunScale9x sun
Scale9x sun
 
Olf2013
Olf2013Olf2013
Olf2013
 
Installing Aix
Installing AixInstalling Aix
Installing Aix
 
C122 a015-en
C122 a015-enC122 a015-en
C122 a015-en
 
HPUX Update Seminar Session 1 Dan Taipala
HPUX Update Seminar Session 1   Dan TaipalaHPUX Update Seminar Session 1   Dan Taipala
HPUX Update Seminar Session 1 Dan Taipala
 
Linux Porting
Linux PortingLinux Porting
Linux Porting
 
Asiabsdcon14
Asiabsdcon14Asiabsdcon14
Asiabsdcon14
 
Scale2014
Scale2014Scale2014
Scale2014
 
Asiabsdcon15
Asiabsdcon15Asiabsdcon15
Asiabsdcon15
 
Aix overview
Aix overviewAix overview
Aix overview
 
Ilf2012
Ilf2012Ilf2012
Ilf2012
 
Asiabsdcon14 lavigne
Asiabsdcon14 lavigneAsiabsdcon14 lavigne
Asiabsdcon14 lavigne
 

Viewers also liked

tuningfor_oracle
 tuningfor_oracle tuningfor_oracle
tuningfor_oraclestyxyx
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationStephen Foskett
 
Ibm aix technical deep dive workshop advanced administration and problem dete...
Ibm aix technical deep dive workshop advanced administration and problem dete...Ibm aix technical deep dive workshop advanced administration and problem dete...
Ibm aix technical deep dive workshop advanced administration and problem dete...solarisyougood
 
10 Tips for AIX Security
10 Tips for AIX Security10 Tips for AIX Security
10 Tips for AIX SecurityHelpSystems
 
IBM AIX Performance Management and Tuning
IBM AIX Performance Management and TuningIBM AIX Performance Management and Tuning
IBM AIX Performance Management and TuningYury Khrebtov
 

Viewers also liked (6)

tuningfor_oracle
 tuningfor_oracle tuningfor_oracle
tuningfor_oracle
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
 
Ibm aix technical deep dive workshop advanced administration and problem dete...
Ibm aix technical deep dive workshop advanced administration and problem dete...Ibm aix technical deep dive workshop advanced administration and problem dete...
Ibm aix technical deep dive workshop advanced administration and problem dete...
 
10 Tips for AIX Security
10 Tips for AIX Security10 Tips for AIX Security
10 Tips for AIX Security
 
IBM AIX Performance Management and Tuning
IBM AIX Performance Management and TuningIBM AIX Performance Management and Tuning
IBM AIX Performance Management and Tuning
 
English tenses
English tensesEnglish tenses
English tenses
 

Similar to Nim

Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorialDru Lavigne
 
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESJan Kalcic
 
dokumen.tips_aix-presentation.ppt
dokumen.tips_aix-presentation.pptdokumen.tips_aix-presentation.ppt
dokumen.tips_aix-presentation.pptAhmedFawzy916524
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...xKinAnx
 
Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...Banking at Ho Chi Minh city
 
Ibm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ashIbm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ashAshutosh Mate
 
Install websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bitsInstall websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bitsManuel Vega
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215guest95b42b
 
Lavigne bsdmag sept12
Lavigne bsdmag sept12Lavigne bsdmag sept12
Lavigne bsdmag sept12Dru Lavigne
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to VirtualizationMuhammadRizkyFaza
 
Hyper-V: Best Practices
Hyper-V: Best PracticesHyper-V: Best Practices
Hyper-V: Best PracticesTomica Kaniski
 
the NML project
the NML projectthe NML project
the NML projectLei Yang
 

Similar to Nim (20)

Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
 
Slim Server Theory
Slim Server TheorySlim Server Theory
Slim Server Theory
 
Building
BuildingBuilding
Building
 
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
 
dokumen.tips_aix-presentation.ppt
dokumen.tips_aix-presentation.pptdokumen.tips_aix-presentation.ppt
dokumen.tips_aix-presentation.ppt
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...
 
Ibm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ashIbm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ash
 
LSA2 - 02 Namespaces
LSA2 - 02  NamespacesLSA2 - 02  Namespaces
LSA2 - 02 Namespaces
 
Install websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bitsInstall websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bits
 
Nano Server (ATD 11)
Nano Server (ATD 11)Nano Server (ATD 11)
Nano Server (ATD 11)
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215
 
Lavigne bsdmag sept12
Lavigne bsdmag sept12Lavigne bsdmag sept12
Lavigne bsdmag sept12
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Hyper-V: Best Practices
Hyper-V: Best PracticesHyper-V: Best Practices
Hyper-V: Best Practices
 
the NML project
the NML projectthe NML project
the NML project
 
Linux Kernel Overview
Linux Kernel OverviewLinux Kernel Overview
Linux Kernel Overview
 
Adnmag
AdnmagAdnmag
Adnmag
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 

Recently uploaded

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfrs7054576148
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 

Nim

  • 1. AIX Network Install Manager When we replaced our old hardware platform with IBM AIX RS/6000 systems, a main concern was controlling how our new systems would be installed. With the old platform, we ran into several instances where the software (moving from our development group to QA and into production) was not the same, which caused numerous build breaks. We chose the AIX Network Installation Management (NIM) setup, because we needed to ensure consistent, standard OS installations between systems within our four separate data centers. Our company also has a security rule that doesn't allow any one machine access to all networks within our organization. Our four separate data centers have four separate networks with no connection between them, and each network is segmented into either inside or outside the firewall. NIM Resources NIM allows you to customize installations and maintain clients on the network from a centralized location (the NIM master) or the NIM client itself. The master contains the NIM database and can serve resources. Resources in NIM are files or directories containing data that NIM will use to install, customize, and maintain NIM clients. A NIM client is any machine configured and defined in the NIM database. Some key NIM resources used in our setup are: • Licensed Program Product Source Directory (lpp_source): This directory contains backup file format (BFF) images, which AIX installp uses to load software. One way to understand the role of the lpp_source directory in a BOS installation is to compare it to all the installation images needed to support any configuration (specifically different device configurations) along with a base core set of software (called simages) that are on the BASE installation CDs. We created a base 433 lpp_source, multiple lpp_sources containing different maintenance levels, and separate lpp_sources for our 32-bit and 64-bit third- party application software. • Shared Product Object Tree (SPOT): This directory is created from an lpp_source and is equivalent in content to a /usr file-system on AIX. The purpose of a SPOT in a NIM installation is similar to the boot images and BOS installation scripts (bi_main, rc.boot, and rc.bosinst) on volume 1 of the BASE install CD. The SPOT must contain support for all boot environments (platform, network type, kernel type). We created several different SPOTs for the different data centers and maintenance levels we use to support our systems. • bosinst_data: This data file contains information that drives the BOS install (e.g., prompt vs. no-prompt, which disk to install the OS on, and the type of installation (Overwrite, Preservation, or Migration) to name a few). First, we created separate bosinst_data resources for each machine type (S80, H70, B50, M80, P680, and 43P). Then, by specifying two disks to target in our bosinst_data resource and specifying copies in the image_data resource, we could set up mirroring during the initial load.
  • 2. • image_data: This data file contains information about the characteristics of the OS being installed. For example, it includes the size of file systems, whether or not to mirror, and whether or not to disk stripe. We created separate image_data resources for each machine type (S80, H70, B50, M80, P680 and 43P). • Script: This is a customization file the systems administrator can create, which executes near the end of the BOS installation. You can execute multiple NIM script resources during a BOS installation. If you need to control the order of execution, I recommend putting it all in one large script. We created one NIM script to set up the OS environment and hardware parameters, configure certain system files, set up security, install third-party software, create and set up dump devices, customize paging space to correspond to the system RAM, and help create a complete inventory by machine type and serial number. I've included a copy of this script at the end of this article (Listing 1). All listings for this article are available from the Sys Admin Web site: http://www.sysadminmag.com/code/ • Installp_bundles: This data file contains a customized list of additional software to install after the base AIX software is loaded. If you have different configurations that you need to duplicate on a repeatable basis, this resource is very useful. In our environment, we have different OS software requirements for development, QA, and production above the minimal AIX software needed to support different hardware systems. The easiest way to facilitate and maintain these different requirements, which need to be consistent, is to use installp_bundles. • mksysb: This is a backup archive file that contains a system image of rootvg. Because of our network security restrictions (no one machine could be connected to all the networks within our organization), we used mksysb and savevg tapes to replicate the NIM master to the other data centers. If we had one machine connected to the different data centers, we could have used NIM to replicate and update the NIM masters in the different data centers by BOS-installing a NIM mksysb resource and using a NIM script to restore the other volume group data. • mac_group: This is a logical grouping of machine types (standalone, diskless, or dataless) that enables the systems administrator to target one or more machines with a single command or NIM operation. We did not use this feature, but we could have taken advantage of this by grouping all like systems and like configurations to install to more than one machine at a time.
  • 3. NIM configuration under AIX5.2 Scenario:  Setup NIM master server in AIX5.2  Setup NIM client for AIX5.1 installation. Steps: 1. Install OS in NIM master server 2. Install bos.sysmgt.nim fileset in NIM master for NIM operations 3. Configure NIM master server. Load AIX5.1 image as part of configuring NIM master. 4. Configure NIM client in the NIM master server. 5. Configure Remote IPL parameters in client 6. Test connectivity from client to NIM server using SMS ping 7. Boot the client system-using network by getting in to SMS mode 8. Initiate the Push installation from the NIM master server NIM configuration: 1. Installing AIX 5.2 OS in NIM master server. 2. Install bos.sysmgt.nim filesets, which is needed for NIM master. 3. Configure NM master server Make sure to put AIX 5.1 1 of 6 CD in the CDROM drive in NIM master server #Smitty nim_config_env
  • 5. Notice two new filesystems are created /export/lpp_source – for lpp_sources /export/spot – meant for SPOT hm2axpp91:/>df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 65536 52120 21% 1432 5% / /dev/hd2 1179648 448272 62% 20250 7% /usr /dev/hd9var 65536 56888 14% 463 3% /var /dev/hd3 2883584 1745988 40% 4687 1% /tmp /dev/hd1 65536 63404 4% 21 1% /home /proc - - - - - /proc /dev/hd10opt 131072 63504 52% 397 2% /opt /dev/usrapps 327680 220464 33% 1031 2% /usr/apps /dev/lv00 655360 35404 95% 227 1% /export/lpp_source /dev/lv01 393216 54884 87% 10949 12% /export/spot 4. Adding a standalone NIM client to the NIM master. #smitty nim_mkmac
  • 6.
  • 7. Make sure to create the network for 10.176.3.0 MAC of the client is not needed
  • 8. 5.Configure Remote IPL in the client system Boot the system in SMS mode. (If LPAR set it to boot in SMS mode.)
  • 9.
  • 10. 6. Test connectivity from client to NIM server using SMS ping Perform PING from SMS menu to make sure client is able to communicate to NIM Server using the IP address information provided earlier in STEP 5. Go to Remote IPL option and select do PING test.
  • 11.
  • 12.
  • 13. 7. Boot the NIM client system using network from SMS mode as follows
  • 14.
  • 15.
  • 16.
  • 17. While the above message appears at the client side 9. Initiate the push installation from the NIM master server From MASTER run the following #Smitty nim_bosinst Select the client name created in step 4
  • 18. Select the install type Select lpp_sourc e name, which has aix5.1 image
  • 19. Leave rest in default Installation starts automatically.
  • 20.
  • 21. Additional NIM information: 1) If any clients connected in other network than master. Need to create networks for that client subnet. #smitty nim_net
  • 22. 2) To create a AIX5.1 image in lpp_source by name aix51 #smitty nim_mkres
  • 23. 3) To dump the image CDROM to a HDD file. #Smity bffcreate Procee multiple volume – yes …to dump all OS cds to a single file. 4) To communicate NIM clients connected in different network than the NIM master ..need to create NIM default route for both the networks(NIM master network and NIM client network ). #smitty nim_routing Make sure to put the image in diff dir than lpp_source.
  • 24. 5) To Install a spefic fileset from the master on the client #Smitty nim_inst_all Network1 is 10.176.3.0 network 10.176.3.1 is default network for 10.176.3.0
  • 25.
  • 26. 6) To take mksysb using NIM Configure NIM client at client side #smitty niminit
  • 27. #smitty nim_mkmac – to configure client in NIM master
  • 28. leave rest in default #smitty nim_mkres select “mksysb” type
  • 29. Leave rest in default To restore mksysb backup to client: To restore the mksysb for NIM client follow all the procedures to boot the NIM client from SMS mode .. From the master
  • 30.
  • 31.
  • 32. Leave rest in default…… Mksysb restore on client requires SPOT .No SPOT gets created during mksysb.Hene we need to either create new SPOT use other SPOT of the same version of OS in MASTER
  • 33. Errors: To view client status and information hm2axpp91:/usr/lpp/bos.sysmgt/nim/methods>lsnim -l hm2axws51 hm2axws51: class = machines type = standalone locked = 25484 platform = chrp netboot_kernel = mp if1 = network1 hm2axws51 0 ent0 cable_type1 = bnc Cstate = BOS installation has been enabled prev_state = not running Mstate = in the process of booting boot = boot mksysb = hm2axws51mksysb nim_script = nim_script spot = aix51_spot cpuid = 0023F9DA4C00 control = master
  • 34. 2) we got this error while initiating mksysb installation from NIM master to client hm2axws51 0042-135 nim: unable to perform the requested operation because "hm2axws51" is currently controlled by the machine "hm2axws51". It may be necessary to deallocate resources from the target before performing the intended operation. hm2axpp91:/usr/lpp/bos.sysmgt/nim/methods>./m_chattr -a control=master hm2axws51 hm2axpp91:/>nim -o deallocate -a subclass=all hm2axws51 This resolve the above error