Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-03-18
5
Medium Priority
?
2,345 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

610 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