?
Solved

how to upgrade TL or SP  of the same AIX version witn nim

Posted on 2011-03-18
5
Medium Priority
?
2,319 Views
Last Modified: 2013-11-17
OK, wmp.. to finish with NIM... at least for now..

Now that I'll setup NIM pull mode, how can I upgrade my clients when a new TL or SP is released?

For example, now I have a lot of AIX6.1 TL6 SP1,  a lot of AIX 5.3 TL 12 SP2 and the nim server AIX 7.1 TL0 SP2.

How can NIM handle the upgrades for everyone? Do I have to create a new lpp with spot from the new TL or SP?

Israel.

0
Comment
Question by:sminfo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35164330
There seems to be a big misunderstanding here.

Creating mksysbs with "pull" didn't change anything in the remaining NIM environment.
 
Everything is like before. The only thing you did is (hopefully) cleaning up your /etc/exports, using nimsh instead of rsh and enabling SSL. Which way should this affect all the LPP/SPOT stuff?

Back to your Q. Didn't we discuss this earlier?
http://www.experts-exchange.com/OS/Unix/AIX/Q_26754964.html

What I basically suggested was:

- Each time a new TL/SP arrives create a new LPP source from this TL/SP. Use "nim -o define ..." to create the basic "simages" LPP version, then use "smitty nim_update_add" to add all packages from the medium to the LPP source.
- Use this new LPP source to update the SPOT.
- Use this LPP source to update your clients.
- Use the updated SPOT for mksysb restores.

You should have SPOTs for AIX 5, 6 and 7, each one at the newest available level.

In the discussion before (see link) I pointed out that you could kind of "archive" a SPOT for each TL.
This can be useful if a new TL has too severe changes.
If you must restore a client at a rather early TL  the SPOT at the "severe" TL could be "too new", so it could be better having a SPOT at the exact level.
This doesn't happen very often. I remember 5.3 TL 12 where we got a new Perl. It worked, but there were some ugly error messages.

wmp

0
 

Author Comment

by:sminfo
ID: 35164695
umm...
sorry my semi-stupid questions wmp.. I thought I could update/upgrade my clients via the "pull" mode.. I understood how to update the lpp's resources, but what I dont have clear is on once the lpp's are updated how to to update the clients via nim?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 35164829
There are also the same options: push or pull. This has nothing to do with push or pull of mksysb.

You can push updates from the NIM server to the client:

nim -o allocate -a lpp_source=new_TL_lpp my_nim_client
nim -o cust -a fixes=update_all my_nim_client

(or "smitty nim_update_all")

or pull them from the NIM server while on the client:

nimclient -o allocate -a lpp_source=new_TL_lpp
nimclient -o cust -a fixes=update_all

(or "smitty nim_c_update_all")

The client must authorize the server to push (but I think that's the default anyway):

nimclient -p

wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35164868
Could it be that you sometimes confuse push and pull?

- If the server is the active part it pulls mksysb images from the client but pushes updates to it.

- If the client is the active part it pushes mksysb images to the server but pulls updates from it.

Sorry if this was already clear to you. I just thought I should mention it.

wmp
0
 

Author Closing Comment

by:sminfo
ID: 35164921
OK..wmp..
thanks for your awesome answers..
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question