Upgrade a spot to the same level of NIM server

Hi

I have a Nim server:
[root@:/var/syslog] oslevel -s
7100-00-02-1041

And these resources:
AIX71TL0LPP:
   class       = resources
   type        = lpp_source
   arch        = power
   Rstate      = ready for use
   prev_state  = unavailable for use
   location    = /nim/lpp_source/AIX71TL0LPP
   simages     = yes
   alloc_count = 0
   server      = master
AIX71TL0SPOT:
   class         = resources
   type          = spot
   plat_defined  = chrp
   arch          = power
   bos_license   = yes
   Rstate        = ready for use
   prev_state    = customization is being performed
   nfs_vers      = 3
   nfs_sec       = sys
   location      = /nim/spot/AIX71TL0SPOT/usr
   version       = 7
   release       = 1
   mod           = 0
   oslevel_r     = 7100-00
   alloc_count   = 0
   server        = master
   if_supported  = chrp.64 ent
   Rstate_result = success

As you  can see the SPOT is not at the level of the NIM.. question: How can I upgrade the SPOT/LPP_Source from the NIM server? Is it possible?


sminfoAsked:
Who is Participating?
 
woolmilkporcCommented:
Hi,

are you sure that the SPOT is at a different level?
lsnim just shows TL 0, the same as the one of the OS.

A way to check for missing fixes in the SPOT:

nim -o fix_query -a fix_query_flags=c spot_name |grep ":-:" |grep _AIX_ML
The second column contains the backlevel fileset, the first or last column contains the source where to get the missing fix.
You will have to add the "bos.rte.install" fileset from your SP media to the SPOT beforehand:
smitty nim_res_op -> select SPOT -> select "cust" -> select "Source of Install Images" (lpp_source/media/directory) -> select "Fileset Names: bos.rte.install" -> fill in additional options if desired -> Go.

If needed you can update a SPOT by means of NIM just as you would update a running system by installp.

To update from an lpp NIM resource:
smitty nim_update_all -> select the target (the SPOT) -> select lpp_source -> fill in additional options if desired -> Go.

To update from an lpp NIM resource OR from a medium/directory:
smitty nim_res_op -> select SPOT -> select "update_all" -> fill in image source -> fill in additional options if desired -> Go.

If you don't have an lpp source at the desired level - well, updating it can be done by either adding all shipped update packages to it (that's the easy way, but will blow up your source a lot), or by adding selected filesets (thats the hard way, but will save space).

Start either method with

smitty nim_task_maint -> Add Software to an lpp_source -> select target (lpp_source) ->  select source (lpp_source/media/directory)

Now, for the "total" method select "ALL" at "SOFTWARE Packages to Add",
for the "select" method hit <F4> at "SOFTWARE Packages to Add" and select what you desire.


wmp
0
 
sminfoAuthor Commented:
Hi wmp.. long time no see..:-)

I create the above  lpp and spot from the AIX 7.1 iso files...

Look what I have done: From an 5.3 mksysb I tried to upgrade it to AIX 7.1 using nimadm:

[root@:/] aix7_mksysb_2011_03_09.img -s AIX71TL0SPOT -l AIX71TL0LPP -j data01vg -Y -N MKSYSb7_BIBMDES_TEST          <
Initializing the NIM master.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
AIX71TL0SPOT (7.1.0.1) does not match the NIM master's level (7.1.0.2).
Cleaning up alt_disk_migration on the NIM master.

Let me read carefully your email now.
0
 
sminfoAuthor Commented:
Let me tell you about NIM.. It looks to a wonderfgul and great tool  for us.. We have to migrate some AIX partitions from AIX 5.3 on power systems to AIX 7.1 on blades and we want to do this using nimadm on the nim server.. DOnt know if it's the perfect way to do this upgrade but it seems to work this way... Have you tried nimadm comamnd?

Thanks wmp.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sminfoAuthor Commented:
Sorry, the nimadm command is:

 nimadm -T MKSYSb_BIBMDES_TEST -O /LPAR_MKSYSB/bibmdesaix7_mksysb_2011_03_09.img -s AIX71TL0SPOT -l AIX71TL0LPP -j data01vg -Y -N MKSYSb7_BIBMDES_TEST
0
 
woolmilkporcCommented:
I don't use it very often.

I usually perform migrations to such distant new levels (if I have new hardware as well) by doing a fresh install and customization of the base OS on the new hardware, to then migrate the data VGs either by backup/restore (if no shared storage) or (usually) by importvg.

If there is no new hardware I try to avoid such distant upgrades and use alt_disk_install without NIM where possible. We can now mount ISO images using VIO or IVM to any LPAR, so I use NIM only for standalone boxes.

wmp
0
 
sminfoAuthor Commented:
But it does means I can not use nimadm for this upgrade, no?  I have always used fresh install on new hardware but when I saw this command I saw it very usefu, that's why I want  to test itl....I'm now  migrating this upgrades from a mksysb 5.3 image to AIX 7.1 if I see any problem I'll follow your steps..:-)

Thanks again.
0
 
woolmilkporcCommented:
Sure you can use nimadm.
Just update your SPOT as I described to match the level of your Master.
Use your Service Pack 2 medium or lpp-source for this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.