upgrade a NIM client from AIX6.1 to 7.1.

Again with NIM :-)

I've tested multipes updates (same TL but different SPs) from the NIM to clients and everything's fine. But I want now to upgrade this client.
I've create a LPP resource with AIX7.1DVD, and run this command to upgrade my client but it fails:
From NIM:

lsnim -l aix71lpp
aix71lpp:
   class       = resources
   type        = lpp_source
   arch        = power
   Rstate      = ready for use
   prev_state  = unavailable for use
   location    = /cdrom
   simages     = yes
   alloc_count = 0
   server      = master

[root@bibmnim:/] ls -l /cdrom
total 84
-rw-rw-r--    1 4000     4000             42 Sep 02 2010  .Version
drwxr-xr-x    2 4000     4000           2048 Sep 02 2010  7100-00
-rw-r--r--    1 4000     4000             16 Sep 02 2010  OSLEVEL
-rw-r--r--    1 4000     4000            819 Sep 02 2010  README.aix
drwxrwxr-x    4 4000     4000           2048 Sep 02 2010  RPMS
-rw-r--r--    1 4000     4000           6252 Sep 02 2010  bosinst.data
-rw-r--r--    1 4000     4000          15081 Sep 02 2010  image.data
drwxr-xr-x    4 4000     4000           2048 Sep 02 2010  installp
drwxr-xr-x    3 4000     4000           2048 Sep 02 2010  ppc
drwxr-xr-x    3 4000     4000           2048 Sep 02 2010  root
drwxr-xr-x   11 4000     4000           2048 Sep 02 2010  usr

#nim -o cust -a lpp_source=aix71lpp -a fixes=update_all ISRAEL_PC
0042-001 nim: processing error encountered on "master":
   0042-001 m_cust: processing error encountered on "ISRAEL_PC":
   0042-175 c_script: An unexpected result was returned by the "bibmnim:/export/nim/scripts/ISRAEL_PC.script" command:
See the log file:
        /var/adm/ras/nim.script
for details or use the "showlog" operation.

From the client:
[root@ISRAEL_PC:/] oslevel -s
6100-06-03-1048

I've attached the showlog.

 error-log.txt

Question: Is possible to upgrade from different versions of AIX's?

Thanks.

sminfoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
Well,

you can't use update_all to go to a higher AIX version.

Upgrading from AIX 6 to AIX 7 is a migration, not an upgrade in a narrow sense.

The only way of doing a migration via NIM is the alternate disk install method, afaik.

wmp
0
sminfoAuthor Commented:
wmp, can you explain me a bit this "alternate disk install method" please?

0
woolmilkporcCommented:
Check

"smitty nimadm_migrate"

I have to leave for 2-3 hours or so, let's continue later!

wmp
0
woolmilkporcCommented:
Here we go.

With alternate disk installation a copy of rootvg is created, simultaneously migrating the OS on the copied rootvg
to a new version.

The NIM client needs sufficient free hdisks and the NIM server must have available the new AIX version as an LPP source, accompanied by a matching SPOT.

ADM reduces downtime by performing the migration while the system is up and running.
Should the migration fail everything will be cleaned up as if nothing had happened.

For testing you will boot the new version from the new rootvg.
In case of problems you can easily fall back to the old version by using the still available old copy.

Here are the phases of the migration process using ADM and NIM:

        1    The master issues an alt_disk_install command to the client which makes a copy of the rootvg
            to the target disks (coincidentally this is Phase 1 of the alt_disk_install process). In
            this phase altinst_rootvg (alternate rootvg) is created. If a target mksysb has been
            specified, the mksysb is used to create a rootvg using local disk caching on the NIM master.
       2    The master runs remote client commands to export all of the /alt_inst file systems to the
            master. The file systems are exported as read/write with root access to the master. If a
            target mksysb has been specified, the cache file systems are created based on the image data
            from the mksysb.
       3    The master NFS mounts the file systems exported in Phase 2. If a target mksysb has been
            specified, the mksysb archive is restored in the cache file systems that were created in
            phase 2.
       4    If a pre-migration script resource has been specified, it is executed at this time.
       5    System configuration files are saved. Initial migration space is calculated and appropriate
            file system expansions are made. "bos" is restored and the device database is merged
            (similar to a conventional migration). All of the migration merge methods are executed and
            some miscellaneous processing takes place.
       6    All system file sets are migrated using installp. Any required RPM images are also installed
            during this phase.
       7    If a post-migration script resource has been specified, it is executed at this time.
       8    bosboot is executed to create a client boot image, which is written out to the client's boot
            logical volume (hd5).
       9    All mounts made on the master in phase 3 are removed.
       10   All client exports created in phase 2 are removed.
       11   The alt_disk_install is called again (phase 3 of alt_disk_install) to make final adjustments
            and put altinst_rootvg to sleep. The bootlist is set to the target disk (unless the -B flag
            is used). If an output mksysb has been specified, the cache is archived into a mksysb file
            and made into a NIM mksysb resource.
       12   Cleanup is executed to end the migration. The client is rebooted, if the -r flag is specified.

That's it.

wmp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sminfoAuthor Commented:
woouu.. really nice. running to test all this.... finally I'll love NIM.. it's amazing all things it does....jajaj.. haven't you heard hate is love!...:-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

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.