Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
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.

733 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