NIM Questions


 
Thread Tools Search this Thread
Operating Systems AIX NIM Questions
# 1  
Old 01-16-2009
Error NIM Questions

I have been trying to increase the NIM usage in my AIX environment especially for patching, got few questions

1. If I have a service pack available in the nim server, how do I define that particular directory as an LPP source, without again copying it somewhere else ie I want to define that directory itself as an lpp_source

2. Is there any way I can install e-fix from Nim server on to clients?

3. Does the below make sense?

Download a TL -> create lpp source of that TL -> add service packs to that lpp_source -> add APAR's to that lpp_source

Balaji
# 2  
Old 01-17-2009
Quote:
Originally Posted by balaji_prk
1. If I have a service pack available in the nim server, how do I define that particular directory as an LPP source, without again copying it somewhere else ie I want to define that directory itself as an lpp_source
You can't. To make a NIM-server aware that a collection of filesets in fact are an lpp_source you have to "install" these filesets into it. And, btw., it is a good idea to keep the originals as well as the lpp_source.

Quote:
Originally Posted by balaji_prk
3. Does the below make sense?

Download a TL -> create lpp source of that TL -> add service packs to that lpp_source -> add APAR's to that lpp_source
Yes, that does make sense: as said above you "install" filesets into the lpp_source like you would install into a machine. That doesn't mean that these filesets would be unpacked or so, but they are not merely copied either: NIM has some internal data structures where the bookkeeping is done and these are updated in the process.

Question 2 i do not know, maybe someone else can cut in?

There is one (minor) point left in your wording: an "APAR" is not a corrective fileset. If a problem is reported IBM investigates and when this investigation finds that there is indeed a bug (not misconfiguration, etc.) they open an "APAR" - its merely an official recoginition by IBM saying "we admit having a bug here". Once the bug is fixed there will (if time is an issue) an "efix", which is a quick-and-maybe-dirty solution shipped to as few customers as possible (you usually get them only upon request). Once the solution is mature and fits nicely into the rest of the OS it is packaged in a fix (the "IY...." packages you get from Fixdist Central). From time to time new service packs (maintenance levels, technical levels, however-they-call-it-tomorrow) are issued. These are many (typically a few hundred) of these IY...-files used to update the respective filesets (like "bos.rte.man.x.x.x", etc.) and then these updated filesets packaged as update filesets.

The point is: it is quite common to call the corrective fixes "APAR"s, but in fact they are just the fixes which correct one (or several) APARs. It won't make much difference but IBM staff (at least in my experience) is rather adamant about using their company "newspeak" to the point.

I hope this helps.

bakunin
# 3  
Old 01-17-2009
Quote:
Originally Posted by balaji_prk
I have been trying to increase the NIM usage in my AIX environment especially for patching,[...]
Maintaining several lpp_sources can be tedious. During a bos-inst operation NIM can handle one lpp_source only and therefore you need a second lpp_source mainly for updates. You have three choices:
1) Create a second lpp_source for updates only.
2) Get the latest AIX base install media and create a new lpp_source.
3) Migrate the update filesets into your existing lpp_source.
Depending on which method you choose you have the following advantages / disadvantages:
Choice No. 1: Easiest possibility but will fail if updates are needed during base installation.
Choice No. 2: Easy but need extra work (which you probably would like to avoid as otherwise you would not have asked your questions). Might even be impossible on certain (rare) occasions.
Choice No. 3: IMHO best solution - however: must be done manually as there is no NIM or other AIX tool available.

What I do: I create hardlinks from the new filesets into my existing (base installation) lpp_source and rebuild the .toc. At the moment the update filesets become superseeded themselves I can simply remove the hardlinks and create new ones from the then latest filesets. This way I can use one lpp_source for both base installation and updates.
# 4  
Old 01-18-2009
bakunin and shockneck

Thanks a lot for throwing some light on it.

Shockneck,

your third method (creating hard link) sounded interesting, is this what you meant

Download the filesets -> create hardlink for each filesets in to the existing lpp_source directory and rebuild the .toc. right?

Balaji
# 5  
Old 01-19-2009
Quote:
Originally Posted by balaji_prk
[...]method (creating hard link) sounded interesting, is this what you meant

Download the filesets -> create hardlink for each filesets in to the existing lpp_source directory and rebuild the .toc. right?[...]
Yes. One more hint: make sure that you use gencopy (smitty gencopy) to create the correct fileset endings (.U/.I instead of .bff) after downloading first. Otherwise the .toc might become useless as occoasionally some filesets cannot be found/installed because name on disk and name in .toc differ.
# 6  
Old 01-19-2009
Thanks buddy. Will check that.. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to know NIM name from NIM client?

Friend's, I was playing around with NIM in my environment & had a quick question in mind which I didn't/couldn't find answer to, which is -- how to find the name of the NIM server sitting on the NIM client? All leads to the answer would be much appreciated, many thanks! -- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies

2. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

3. AIX

NIM : remove nim client info from the client

Hi. I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ? Tks (2 Replies)
Discussion started by: stephnane
2 Replies

4. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

5. AIX

Nim

Hello I would like to hear your opinions about shell and nimsh I install the nim master on a server and and client nim on others servers. I backup this clients with the NIM master. When Im trying to install the clients with the option nimsh (communication protocol) send me an error ... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

6. AIX

Back up a client NIM from nim master

Hello everyone Im trying to backup a nim client from nim master but I got this message COMMAND STATUS Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0042-001 nim:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

7. AIX

Nim

Hello everyone I have two questions. 1.-The NIM and EZNIM are the same. 2.-If I have in one partition NIM installed I need to install EZNIM or I need to unistall NIM and then install EZNIM. Thanks for your comments. (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

8. AIX

Nim

Hello guys, what is a sure-shot single command to find out if the NIM environment is working properly from both master as well as client side? (2 Replies)
Discussion started by: solaix14
2 Replies

9. AIX

NIM Questions

I'm trying to find a simple solution for imaging/restore of systems, and it seems like NIM should be able to do what I need. I am having some issues though. I set up a NIM server using 'eznim', added a client, and was able to perform a sysb backup via NIM over the network. My first... (5 Replies)
Discussion started by: tb0ne
5 Replies

10. AIX

migrate NIM server through NIM installation

I try to migrate a NIM server from one server to another. I try to do a mksysb on NIM server restore the NIM server's mksysb to a client through NIM installation shutdown NIM server start newly installed client as NIM server Does anyone do this before? who can give me some suggestion? (1 Reply)
Discussion started by: yanzhang
1 Replies
Login or Register to Ask a Question