AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

NIM - unable to define SPOT from mksysb

  • 1.  NIM - unable to define SPOT from mksysb

    Posted Thu July 02, 2009 11:03 AM

    Originally posted by: shargus


    Our NIM server is currently running AIX 6.1 TL3 SP1.

    We have mksysb's of our client servers defined. The clients are running AIX 5.3 TL8.
    lsnim shows the mksysb resource is available. I can even do a "restore -T" on the mksysb file, and see a list of the files inside the mksysb, so that seems to be good.

    When we define the SPOT, it runs for a while, then errors out with:

    0042-001 nim: processing error encountered on "master":
    0042-103 m_mkspot: unable to restore from mksysb_test2

    The directory for the SPOT is created, and there are files and directories in the SPOT directory. There is plenty of disk space.


  • 2.  Re: NIM - unable to define SPOT from mksysb

    Posted Fri July 03, 2009 04:26 AM

    Originally posted by: grukrz1


    check the mksysb location path is not mistyped (points to existing mksysb file).

    try the command twice. In some NIM operations I observer the same command run one by one first run failed and second one went fine...

    nim -o define -t spot -a source=mksysb_res_name -a server=master -a location=/path_for_mksysb_spot mksysb_spot_name

    try also to reset some resources or NIM master from smitty NIM host operations menu.


  • 3.  Re: NIM - unable to define SPOT from mksysb

    Posted Mon July 06, 2009 10:49 AM

    Originally posted by: shargus


    This NIM server is managing a large number of AIX clients. We use the mksysb resources to back up the OS for them, so we have a large number of mksysb resources defined.

    Doing a "nim -o showres" on the mksysb resources list all the filesets in them. So, the mksysb resources are working.

    Tried the same operation several times, with the same result.

    Tried the same operation on several different mksysb resouces with the same result.

    This may have started after we upgraded our NIM server from 6.1TL2 to 6.1TL3.


  • 4.  Re: NIM - unable to define SPOT from mksysb

    Posted Mon July 06, 2009 11:48 AM

    Originally posted by: Montecarlo


    When you tested with restore -T, did you allow the command to complete?
    Regards, Simon


  • 5.  Re: NIM - unable to define SPOT from mksysb

    Posted Mon July 06, 2009 11:50 AM

    Originally posted by: shargus


    Yes, we did. It completed without error.


  • 6.  Re: NIM - unable to define SPOT from mksysb

    Posted Wed July 08, 2009 08:41 AM

    Originally posted by: Montecarlo


    Ok, I tested on a version 6100-03-01-0921 nim server against a version 5300-08-03-0831 mksysb and got the following result:

    Creating SPOT in "/export/nim/spot" on machine "master" from "test_mksysb" ...

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

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

    0042-001 nim: processing error encountered on "master":
    ls: 0653-341 The file /usr/ccs/lib/libp/libc.a does not exist.

    Checked other nim servers, found that this file is in bos.adt.prof, installed bos.adt.prof 6.1.3.1 on the nim server and the spot creation was successful.

    Hope this helps.
    Simon


  • 7.  Re: NIM - unable to define SPOT from mksysb

    Posted Fri May 21, 2010 06:15 PM

    Originally posted by: ravisIBM


    I got the same error 0042-001 and 0042-103 while creating SPOT for mksysb of VIOS ver 2.1 on
    the NIM server AIX 6.1.4.3.

    The recently upgraded the NIM server from AIX 5.3 to 6.1.4.3. Then I tried to crreate the SPOT for VIOS2.1. The process I used was,
    1) Copied the mksysb from DVD to the local filesystem
    # cp /cdrom/nimol/ioserver_res/mksysb /nimdata1/vios21/mksysb/vios21mksysb
    2) Defined mksysb
    # nim -o define -t mksysb -a server=master -a location=/nimdata1/vios21/mksysb/vios21mksysb
    vios21_mksysb
    3) Creating the SPOT for mksysb
    # nim -o define -t spot -a server=master -a location=/nimdata1/vios21 -a source=vios21_mksysb
    vios21_spot

    This above command shows the error as,

    Creating SPOT in "/nimdata1/vios21" on machine "master" from "vios21_mksysb" ..
    .
    Restoring files from BOS image. This may take several minutes ...

    0042-001 nim: processing error encountered on "master":
    0042-103 m_mkspot: unable to restore from vios21_mksysb

    Am I missing anything here?
    Any help on this is greatly appreciated.
    Thank you.


  • 8.  Re: NIM - unable to define SPOT from mksysb

    Posted Wed June 30, 2010 11:50 AM

    Originally posted by: KarlM


    You'll find the mksysb on the VIOS DVD is in 2 parts: mksysb and mksysb2
    you will need to cat them together into one file


  • 9.  Re: NIM - unable to define SPOT from mksysb

    Posted Tue June 12, 2012 02:44 PM

    Originally posted by: Skyski_Paul


    Ive had the same problem with this and other NIM operations and the culprit was "sudo". sudo doesnt seem to pick up certain needed paths or librarys to run NIM operations. Soulution was: Exit from root back to my login, then use: su - root and re-run command. After using su - root instead of sudo -i or sudo -s, NIM operations completed sucessfully.


  • 10.  Re: NIM - unable to define SPOT from mksysb

    Posted Fri September 21, 2012 08:40 AM

    Originally posted by: thalesph


    Hi Guys,

    I have the same error when trying to define SPOT to VIOS Server..

    I Following this WIKI: https://www.ibm.com/developerworks/wikis/display/LinuxP/IBM+VIOS+Installation+over+NIM
    and before this step, everything works fine.

    Any other suggestions? I remade the vios_mksyb twice without solution.

    Thanks in Advance.


  • 11.  Re: NIM - unable to define SPOT from mksysb

    Posted Mon September 24, 2012 11:09 PM

    Originally posted by: SystemAdmin


    Hi, could you elaborate your problem with NIM? Thanks


  • 12.  Re: NIM - unable to define SPOT from mksysb

    Posted Tue September 25, 2012 01:23 PM

    Originally posted by: thalesph


    Hi Zieggy,

    Thanks for your Reply.

    I found get the solution with IBM Brasil Support.

    Let me explain more about de issue:

    1. My intention was to make a VIOS (from DVD Installation) image to NIM Master and, after, install a Lpar from this image.
    2. Following this Wiki: https://www.ibm.com/developerworks/wikis/display/LinuxP/IBM+VIOS+Installation+over+NIM
    3. In the Step 2.2 - Define de SPOT Resource I get error: "unable to restore from vios_mksysb source"

    That's it, the Solution.

    Make sure your mksysb_vios image it's full content:

    1. restore -Tvqf mksysb_image

    If this commando output the EOF, that's OK!

    Else make the following procedure!

    Mount the VIOS DVD#1
    cp mksysb_image /export/VIOS
    cp mksysb_image2 /export/VIOS
    cd /export/VIOS
    cat mksysb_image2 >> mksysb_image

    Mount the VIOS DVD#
    cp mksysb_image2 /export/VIOS/mksysb_image3
    cat /export/VIOS/mksysb_image3 >> /export/VIOS/mksysb_image

    That's it!

    If I can help in anymore, let me know!

    Thanks for all, in special Zieggy for the Reply.

    Thales P. Horta


  • 13.  Re: NIM - unable to define SPOT from mksysb

    Posted Tue September 25, 2012 11:45 PM

    Originally posted by: SystemAdmin


    Hi thalesph,

    Good for you to have you issue resolved. No problemo, am here to lend a hand anyway.

    Regards