Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

install aix 6.1 from NIM 5.3, make sense?

422 views
Skip to first unread message

luke

unread,
Jan 24, 2008, 2:20:13 PM1/24/08
to
Hi,

Have you ever installed AIX 6.1 (TL1) from NIM server which is running
under AIX 5.3 (TL3 currently) ?

I know that NIM must be installed on system level as higher as installed
OS. But in my env I instaled 5.3 TL4,5,6,7 without problem.

I created mksysb from LPAR with AIX6.1. Then create spot from mksysb,
and then lpp_source from DVDs.

First time I can see error:

0042-001 nim: processing error encountered on "master":
0042-058 m_alloc_spot: unable to allocate "spot_aix610001" to
"aix61_lpar"
because it does not support the network interface type or platform
of that client

I tested it in different option. I changed aix61_lpar client to
* Kernel to use for Network Boot [64] / [mp]
* calbe type [n/a]/[bnc]/[tp]
I removed client, I added client again. I was trying install on
different LPAR clients (550, 560Q, shared LAPR, dedicated LPAR,)

I tested installations wit:h mksysb+spot, rte+spot+lpp_source,
spot+lpp_source

Last test
nim -o bos_inst -a lpp_source=lpp_aix610001 -a spot=spot_aix610001 -a
accept_licenses=yes aix61_lpar

Last configuration:

aix61:
class = machines
type = standalone
connect = shell
platform = chrp
netboot_kernel = 64
if1 = ent-Network5 s22-8-lpar12 46834850f60f
cable_type1 = bnc
Cstate = ready for a NIM operation
prev_state = ready for a NIM operation
Mstate = not running
lpp_source = lpp_aix610001
mksysb = mksysb_aix610001
control = master
Cstate_result = reset
missing = spot

mksysb_aix610001:
class = resources
type = mksysb
Rstate = ready for use
prev_state = unavailable for use
location = /export/images/mksysb_aix610001.img
version = 6
release = 1
mod = 0
oslevel_r = 6100-00
alloc_count = 1
server = master
extracted_spot = spot_aix610001
spot_aix610001:
class = resources
type = spot
arch = power
Rstate = ready for use
prev_state = lppchk operation is being performed
location = /export/spot/spot_aix610001/usr
version = 6
release = 1
mod = 0
oslevel_r = 6100
alloc_count = 0
server = master
Rstate_result = failure
mk_netboot = yes
mksysb_source = mksysb_aix610001
lpp_aix610001:
class = resources
type = lpp_source
arch = power
Rstate = ready for use
prev_state = unavailable for use
location = /export/lpp_source/lpp_aix610001
alloc_count = 3
server = master

What do you think about nature of this problem?
What I must change to solve this problem?
Tommorow I'm trying to upgrade AIX 5.3 to last TL. Maybe it will help.

I have questions about next problems which appears soon.
How to connect env. with many AIX 5.3 and 6.1. To create two NIM master
server. One with 6.1, other with 5.3?
May I install NIM on 6.1? I can't find *nim* bos files on DVD with 6.1

Best,

Luke

Paul Landay

unread,
Jan 24, 2008, 4:47:58 PM1/24/08
to luke
luke wrote:

> May I install NIM on 6.1? I can't find *nim* bos files on DVD with 6.1

They are on my AIX 6.1 install media (8 CDs or 2 DVDs):
# lslpp -h '*nim*'
Fileset Level Action Status
-----------------------------------------------
Path: /usr/lib/objrepos
bos.sysmgt.nim.client
6.1.0.0 COMMIT COMPLETE
bos.sysmgt.nim.master
6.1.0.0 COMMIT COMPLETE
bos.sysmgt.nim.spot
6.1.0.0 COMMIT COMPLETE
Path: /etc/objrepos
bos.sysmgt.nim.client
6.1.0.0 COMMIT COMPLETE

What AIX 6.1 install media do you have?
If I recall correctly NIM was not on the
AIX 6.1 Open Beta CDs, but that Open Beta
has been over since AIX 6.1 became generally
available (November?).


> I know that NIM must be installed on system level as higher as
> installed OS. But in my env I instaled 5.3 TL4,5,6,7 without problem.

There is a big difference between using NIM 5.3-TL3
to installing AIX 5.3-TL7 and using 5.3-TL3 to try
and install AIX 6.1. Keep in mind that 5.3-TL3 came
out long before 6.1 existed.

I would be suprised if a NIM 5.3 could install a 6.1.


> I created mksysb from LPAR with AIX6.1. Then create spot from mksysb,
> and then lpp_source from DVDs.
>
> First time I can see error:
>
> 0042-001 nim: processing error encountered on "master":
> 0042-058 m_alloc_spot: unable to allocate "spot_aix610001" to
> "aix61_lpar"
> because it does not support the network interface type or platform
> of that client
>
> I tested it in different option. I changed aix61_lpar client to
> * Kernel to use for Network Boot [64] / [mp]

AIX 6.1 only has a 64bit MP kernel.
The 32bit kernel and the UP kernels are gone.


> Tommorow I'm trying to upgrade AIX 5.3 to last TL. Maybe it will help.

A quick search of APARs with "NIM" in the description:
http://www-912.ibm.com/eserver/support/fixes/fixcentral
found none that added a 'nim 6.1' capability to AIX 5.3.

Paul Landay

Mark Taylor

unread,
Jan 25, 2008, 4:28:25 AM1/25/08
to
it has long been the case that the NIM Master server has to be at the
same level as the client you are going to install .. I would also be
suprised if that has changed for 6.1 ..

Rgds
Mark Taylor

Hajo Ehlers

unread,
Jan 25, 2008, 4:43:27 AM1/25/08
to


I case you have to stay with AIX 5.3 but you would like to install AIX
6.1
- Create a LPP Source for AIX 6.1 with contains all AIX 6.1 Software
- Build a SPOT from these LPP Source
( At this point the AIX 6.1 spot will miss some software like
bos.wpar and bos.mls an other )
Either add the packages to the spot by comparing the AIX 6.1 spot
fileset with one on a already installed AIX 6.1 system
or:
merge the /usr/lpp/bos.sysmgt/nim/methods/c_sh_lib from the AIX 6.1 to
the one from your nim master ( The /usr/lpp/bos.sysmgt/nim/methods/
c_sh_lib is within fileset
/usr/lpp/bos.sysmgt/nim/methods/c_sh_lib bos.sysmgt.nim.client to get
a valid simage attribut
- Build the SPOT again.

( I would not go the mksysb way )

In case you have a AIX 6.1 machine running you can give the following
a try( Not tested ):
Use the AIX 6.1 machine as a NIM Server ( NOT NIM master ) meaning
that this machine will act as an server for the AIX 6.1 LPP Source and
SPOT


For starting the installation:
Do not go the nim -o define way. Better is to allocate the nim objects
needed by the client ( nim -o allocate ) and start then installation.
( nim -o bos_inst ).
This way you have better view in case something goes wrong. At least
on AIX 6.1 we have problem with the order of options in a nim -o
define operation.

hth
Hajo

Hajo Ehlers

unread,
Jan 25, 2008, 5:45:03 AM1/25/08
to

Its a recommandation because IBM tries to keep out of trouble.
For a basic installation the OS version should not matter. Otherwise
NIMOL would not work. The problem is more less go get a valid SPOT/
mksysb and boot images.
In case you have a running AIX 6.1 machine you can create a SPOT and
LPP source and move it to the AIX 5.3 node.

regards
Hajo

Timothy J. Bogart

unread,
Jan 25, 2008, 9:39:38 PM1/25/08
to

But IBM tries to keep itself out of trouble my not letting the customers
enter dark twisty passages that all look alike. 8-)

I always wondered if the issue that the tftp boot images were based on
the installed OS, leaving you high and dry when trying to install to a
machine _requiring_ (in this case) 6.1. ????

Time to hit the books, I am doing this mostly from memory. Dangerous

Uwe Auer

unread,
Jan 27, 2008, 6:13:35 AM1/27/08
to
Hajo Ehlers schrieb:

Hello

I'm really interested in that, but i get even problems in steps which are not
explained in detail by Hajo.

I'm on AIX 5300-07-01-0748 and trying to create the resources without any
reference to an existing AIX 6.1 installation

> - Create a LPP Source for AIX 6.1 with contains all AIX 6.1 Software

This results in missing "simages" attribute:
-------------------------------------------
Now checking for missing install images...
warning: 0042-265 c_mk_lpp_source: The image source
"/export/sds/aix/61/base"
that was used to define the lpp_source is missing one or more
of the following from the list of default packages:
bos.mp
xlC.aix50
warning: 0042-267 c_mk_lpp_source: The defined lpp_source does not have the
"simages" attribute because one or more of the following
packages are missing:
bos.mp

(As noticed prior: bos.mp does not exist in AIX 6.1)


=> No SPOT can be generated by NIM function from LPP source
=> Changed ODM for lpp_source (lpp_6110) to carry "simages" attribute
nim_attr:
id = 1197036844
value = "yes"
seqno = 0
pdattr = "34"

> - Build a SPOT from these LPP Source

This step does not work too, even if we have "simages" atribute now
--------------------------------------------------------------------


Creating SPOT in "/export/nim/spots/aix61" on machine "master" from "lpp_6110"
...

Restoring files from BOS image. This may take several minutes ...

Installing filesets ...

Be sure to check the output from the SPOT installation
to verify that all the expected software was successfully
installed. You can use the NIM "showlog" operation to
view the installation log file for the SPOT.


Checking filesets and network boot images for SPOT "spot_6110".
This may take several minutes ...

ck_required_space[24]: 397466 Killed
inst_spot[306]: 417826 Killed

rc=0
warning: 0042-001 m_instspot: processing error encountered on "master":
prep_SPOT[52]: 401518 Killed

rc=62
0042-062 m_ckspot: "spot_6110" is missing something which is
required


=> SPOT just contains bos
=> No installation of any filesets into SPOT occurs
=> No network boot image can be created from this spot

Every try to install software from the 6.1 lpp_source into the 6.1. SPOT ends
up with those "Killed" errors, which are to my assumption a result of some
"chroot SPOT command" commands (tried to "chroot" to spot and got a "Killed"
error too.)

So i do not see any way to get that working without some "tricky" manipulation
and without any reference to an existing AIX 6.1. system.

If there is a way, a would appreciate any info.


Regards
Uwe

Mark Taylor

unread,
Jan 27, 2008, 11:31:41 AM1/27/08
to
> So i do not see any way to get that working without some "tricky" manipulation
> and without any reference to an existing AIX 6.1. system.

There is a reference to a 6.1 system -->

>> "In case you have a running AIX 6.1 machine you can create a SPOT and
>> LPP source and move it to the AIX 5.3 node. "

Personally, if I am going to start deploying a new AIX level across a
landscape, the first thing I would do is upgrade the NIM Master for
that env .. just makes sense really .. It is possible to **frig** many
things in AIX, but to run in an unsupported config exposes the
customer to support which is not acceptable .. horses for courses, if
you are just playing in your own test env they fine, but where you are
working for a customer or a client best practice would be the
supported one.

My 2 Pence anyhoo
Rgds
Mark Taylor

Uwe Auer

unread,
Jan 27, 2008, 12:54:47 PM1/27/08
to
Mark Taylor schrieb:
Hi

about the "best practice" statement, i totally agree with you. The reason for
doing the tests i wrote about was just, that Hajos explanation may give the
impression (and i did give to me) that it will be possible to build up a NIM
environment on AIX 5.3 to serve resources for an AIX 6.1 installation, without
the conditions (manipulation, ref. to an existing AIX 6.1) being met.

Nevertheless i like the idea, that it may work. Not for the purpose to run it
on a productive AIX 5.3 NIM environment, but to get my NIM environment
upgraded to AIX 6.1 without the need to move to a datacenter, which is 200
miles away from my working place and where there is no AIX 6.1 installation yet.

Regards,
Uwe Auer

Christopher Petersen

unread,
Jan 28, 2008, 9:49:08 PM1/28/08
to
On Sun, 27 Jan 2008 18:54:47 +0100, Uwe Auer wrote:

> Mark Taylor schrieb:
>> [quoted text muted]


> Hi
>
> about the "best practice" statement, i totally agree with you. The reason
> for doing the tests i wrote about was just, that Hajos explanation may
> give the impression (and i did give to me) that it will be possible to
> build up a NIM environment on AIX 5.3 to serve resources for an AIX 6.1
> installation, without the conditions (manipulation, ref. to an existing
> AIX 6.1) being met.
>
> Nevertheless i like the idea, that it may work. Not for the purpose to run
> it on a productive AIX 5.3 NIM environment, but to get my NIM environment
> upgraded to AIX 6.1 without the need to move to a datacenter, which is 200
> miles away from my working place and where there is no AIX 6.1
> installation yet.
>
> Regards,
> Uwe Auer

Another work-around that does generally work for off-level installations
is to create a temporary NIM server at the new level (6.1 in your case),
create all of the resources there, and then copy them back to the other
NIM server. Hajo and others are correct. One of the biggest problems is
creating a SPOT that works. I'm not sure I would ever try to update that
SPOT on the down-level NIM server, though...

The biggest problem I had building an AIX 5.3 SPOT on an AIX 5.2 NIM
server was that the ODM class definitions had changed. The SPOT creation
"worked", and the installation proceeded almost normally but put garbage
in the ODM...

-Chris

0 new messages