Solved

Upgrade a spot to the same level of NIM server

Posted on 2011-03-15
7
3,133 Views
Last Modified: 2013-11-17
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?


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
  • 4
  • 3
7 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 35136577
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
 

Author Closing Comment

by:sminfo
ID: 35136649
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
 

Author Comment

by:sminfo
ID: 35136671
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:sminfo
ID: 35136679
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
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35136714
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
 

Author Comment

by:sminfo
ID: 35136799
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
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35136820
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

636 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