Solved

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

Posted on 2011-03-18
5
2,270 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 500 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

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 …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

695 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