AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
Expand all | Collapse all

NIM deallocate with subclass=all doesn't work

  • 1.  NIM deallocate with subclass=all doesn't work

    Posted 12/07/12 12:50 PM

    Originally posted by: SystemAdmin


    Hi,

    I have a strange problem. I can deallocate a specific resource by writing e.g
    
    nim -o deallocate -a mksysb=name.mksysb node1
    


    but I cannot deallocate every resource for this node using the subclass=all
    
    nim -o deallocate -a subclass=all node1
    


    Any thoughts?
    #AIX-Forum


  • 2.  Re: NIM deallocate with subclass=all doesn't work

    Posted 12/10/12 03:03 AM

    Originally posted by: SystemAdmin


    Hi there,

    Same problem for me since I have updated my NIM to 7.1TL02.

    Here is a little script I use to deallocate resources since subclass=all doesn't work anymore

    
    nim -Fo reset $1 
    
    for i in bosinst_data fb_script image_data installp_bundle lpp_source mksysb nim_script script spot ; 
    
    do ressources_to_clean=$(lsnim -l $1 | grep $i | awk 
    '{print $NF}') 
    
    for j in $
    {ressources_to_clean
    } ; 
    
    do echo 
    "nim -Fo deallocate -a $i=$j $1" done done
    


    Any help will be appreciated ....

    http://chmod666.org
    #AIX-Forum


  • 3.  Re: NIM deallocate with subclass=all doesn't work

    Posted 12/10/12 10:19 AM

    Originally posted by: SystemAdmin


    Thanks for the script matekamoris.

    My NIM oslevel is 7100-02-01-1245

    I hope someone has a hint of how to fix the problem.
    #AIX-Forum


  • 4.  Re: NIM deallocate with subclass=all doesn't work

    Posted 12/10/12 11:41 AM

    Originally posted by: SystemAdmin


    I have open a PMR about this case.

    Wait and see ..., i'll reply here if a get an answer from IBM.

    Best.

    Benoît.

    http://chmod666.org
    #AIX-Forum


  • 5.  Re: NIM deallocate with subclass=all doesn't work

    Posted 12/11/12 01:40 AM

    Originally posted by: ThomasJO


    I've noticed recently that I have several resources still shared on my NIM after I complete a function (installed a package, made a mksysb, updated the OS.) All since I upgraded to TL2 SP1. I guess I could have a similar issue.
    #AIX-Forum


  • 6.  Re: NIM deallocate with subclass=all doesn't work

    Posted 12/11/12 05:14 AM

    Originally posted by: SystemAdmin


    Hi;

    There is an APAR on this subject :
    IV32670: UPDATE NIM BINARIES FOR UPDATES.

    http://www-01.ibm.com/support/docview.wss?uid=isg1IV32670

    Best.

    Benoît.

    http://chmod666.org
    #AIX-Forum


  • 7.  Re: NIM deallocate with subclass=all doesn't work

    Posted 12/11/12 06:43 PM

    Originally posted by: cggibbo


    This is what IBM support told me this morning:

    "This is a known issue which recently has been documented in 2 open
    APARs: IV32570 and IV32670: UPDATE NIM BINARIES FOR UPDATES.

    Error description
    One known symptom (of this issue) is that "nim -Fo
    deallocate -a subclass=all <client>" returns successfully but the
    resource will still be allocated.

    The problem occured because the "update" pack that brings you from
    7.1.1.x to 7.1.2.0 missed a piece that effected the bos.sysmgt.7.1.2.0
    fileset.

    Currently there is no fix available and no projected timeframe when this
    issue will be fixed (i assume it will be with the next SP for AIX
    7100-02)

    However, a workaround is allready documented in our incidents
    database - you simply need to force reinstall the bos.sysmgt.nim.master
    7.1.2.0 fileset using your AIX 7.1 TL02 media.

    This is not a backleveling of the fileset, you are simply force
    overwriting the full base level at the same version that you are
    currently at. It will still be at 7100-02.

    The workaround is a force overwrite of the bos.sysmgt.nim.master 7.1.2.0
    from media."
    #AIX-Forum


  • 8.  Re: NIM deallocate with subclass=all doesn't work

    Posted 02/12/13 04:23 PM

    Originally posted by: SystemAdmin


    This was an excellent piece of information that helped me resolve an issue I had with my NIM server.

    Thank you
    #AIX-Forum


  • 9.  回复:Re: NIM deallocate with subclass=all doesn't work

    Posted 11/04/13 09:27 PM

    Originally posted by: MuDan


    How did you force reinstall the nim master fileset? When I force reinstall the nim master using my AIX71 media, I always get the "Updates cannot be specified from the command line when the force flag (-F) is used in combination with the apply flag (-a)." error!


    #AIX-Forum


  • 10.  回复:Re: NIM deallocate with subclass=all doesn't work



  • 11.  回复:Re: NIM deallocate with subclass=all doesn't work

    Posted 11/05/13 08:48 PM

    Originally posted by: MuDan


    Thanks for your reply!  I also read the blog. But I do not have the AIX7120 media (only AIX7100 media and 7120 update), also the download address this blog provided is no longer existed.

    I tried to unconfig the NIM, uninstall the NIM master fileset, reinstall the AIX7100 NIM master, update to AIX7120 master, re-config the NIM master env. I thought it would be okay, but it still showed the same problem. Maybe I still need the AIX7120 media to force reinstall the NIM master.


    #AIX-Forum


  • 12.  回复:Re: NIM deallocate with subclass=all doesn't work

    Posted 11/05/13 09:00 PM

    Originally posted by: cggibbo


    You'll need the updated install fileset. Open a PMR and request it.


    #AIX-Forum


  • 13.  回复:Re: NIM deallocate with subclass=all doesn't work

    Posted 11/06/13 12:29 AM

    Originally posted by: MuDan


    oh, I finally got the AIX7100-02 complete ISO, not the 7100-02 update files. Using the 7100-02 ISO to force reinstall the NIM master, now it is okay, I can remove nim object now.  Thanks.


    #AIX-Forum


  • 14.  Re: NIM deallocate with subclass=all doesn't work

    Posted 11/19/13 03:04 AM

    Originally posted by: tclaret


     

    If it's a customisation script wich is allocated, this could do the job :

    /usr/lpp/bos.sysmgt/nim/methods/m_chattr -a alloc_count=0 <script_ressource>
     

    Thierry.


    #AIX-Forum


  • 15.  Re: NIM deallocate with subclass=all doesn't work

    Posted 06/21/16 04:41 AM

    Originally posted by: rasc


    Thierry,

    this helped for SPOT also.
    You saved my day :-)
    Thank you

    Rainer


    #AIX-Forum