Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A NIM Question

Status
Not open for further replies.

Germo

Technical User
Mar 29, 2004
123
GB
Hi All,

I am a bit stuck with a NIM problem I have, I was wondering if you could help me out.

I have created a mksysb fine of the client server (it is on the NIM server OK) and I am trying to create a lpp_source from this mksysb, both NIM server and client server are at AIX 5.3 TL05-Service Pack 06. The error message I am getting is

#################################################
0042-001 nim: processing error encountered on "master":
0042-001 m_mk_lpp_source: processing error encountered on "master":
0042-151 c_stat: the file "/nfs/backup_area/mksysb_image.1105" has a file type of 0100000.
This conflicts with the expected type of 040000.
#################################################

I have checked the "/usr/lpp/bos.sysmgt/nim/methods/c_cklevel" file and it currently says "${C_STAT} -a location=${source} -a mode=0100000 2>${ERR}", I have tried changing it to 040000 but still get the same error.

Any ideas?

Thanks in advance
 
What FS type is the mksysb on? GPFS? NIM only allows files on "local" disks AFAIK.


HTH,

p5wizard
 
Are you specifing the "full" path name of the mksysb to use ?

cheers
Benno

...it really does get worse than this !!
 
Hi there,

here's something similar I found on the internet. Maybe you can adapt it to suit your needs:

--------------------------------------------------------

Problem
-------
During the creation of the mksysb resource, error 0042-151, regarding c_stat, occurs. The exact errors are as follows:

0042-001 nim: processing error encountered on "master":
0042-001 m_mkbosi: processing error encountered on "master":
0042-175 c_cklevel: An unexpected result was returned by the
"/usr/lpp/bos.sysmgt/nim/methods/c_stat" command:

0042-151 c_stat: the file "/NIM/export/mksysb/cut11_420r1" has a file type
of 0100000.
This conflicts with the expected type of 010000.a


Solution
--------
Execute the following command:

grep mode= /usr/lpp/bos.sysmgt/nim/methods/c_cklevel

Look to see if the following is returned:

#${C_STAT} -a location=${source} -a mode=0100000 2>${ERR} \
${C_STAT} -a location=${source} -a mode=010000 2>${ERR} \

If this is returned, modify the file as follows:

${C_STAT} -a location=${source} -a mode=0100000 2>${ERR} \

Then creating the mksysb resource should work fine.

--------------------------------------------------------


Regards
Thomas
 
Your problem really is because you are having a mksysb image and you try to create a lpp_source. If you want to define this mksysb as a resource for nim master to fush it to another lpar or use this mksysb, you should define this mksysb resource as type of mksysb, not lpp_source.

from define resource, you should choose: mksysb, not lpp_source.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top