AIX

AIX

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


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
  • 1.  NIM Remove Install Interface

    Posted Mon December 15, 2008 01:04 PM

    Originally posted by: jjacobso


    I'm trying to remove an install interface that is defined on the NIM Master. When I try using the Remove a Network Install Interface from smit nim_mac_if, it fails with this message...

    0042-001 nim: processing error encountered on "master":
    0042-130 m_chmaster: "net_settings" cannot be specified as an attribute
    for this operation

    ** Use lsnim -q <operation> <object name> or
    lsnim -q <operation> -t <type> to list required and optional
    resources and attributes for a particular NIM operation.

    F6=Command displays the following...
    rmmac_if()
    {
    SEQNO=${2##if}
    nim -o change -a "$2=" ${3:+-a "cable_type$SEQNO="} ${4:+-a "n
    et_settings$SEQNO="} $1
    exit $?
    }

    | rmmac_if 'master' 'if3' 'N/A' 'none' -d 'none'

    Does anyone know the command from the CL?

    Thanks!
    #AIX-Forum


  • 2.  Re: NIM Remove Install Interface

    Posted Mon December 15, 2008 05:01 PM

    Originally posted by: nagger


    Sorry I don't know nim that well but smit errors should be reported to AIX support.
    It might be fixed in a service pack!

    If you mean what is the smitty command eventually look like it as executed ?
    It is : nim -o change -a if3= -a cable_type3= -a net_settings3= master

    ta Nigel
    #AIX-Forum


  • 3.  Re: NIM Remove Install Interface

    Posted Tue December 16, 2008 01:30 PM

    Originally posted by: jjacobso


    Thanks for your feedback...I plan on updating to the latest TL/SP to see if the issue is resolved. If I'm still having a problem, I'll report it to AIX support.

    Was seeing if anyone out there had any experience with this since I have not seen any documentation on removing these types of NIM interfaces.

    Thanks! John
    #AIX-Forum


  • 4.  Re: NIM Remove Install Interface

    Posted Fri September 01, 2017 06:51 AM

    Originally posted by: JimU


    I know this is an old thread, but it's the only one I found to reference removing NIM interfaces! As I finally worked out how to remove an interface, I'm posting for the next time:

    List available interfaces:

    # lsnim -l master | grep if

    To remove if3 (note: 2x single quotes (' ') here, not a double quote (") ):
    # nim -o change -a if3='' -a cable_type3='' master

    To remove if2:

    # nim -o change -a if2='' -a cable_type2='' master

     


    #AIX-Forum


  • 5.  Re: NIM Remove Install Interface

    Posted Wed March 11, 2009 05:25 PM

    Originally posted by: alaix


    Hi

    You can't remove an install interface you will need to "recover the nim master" by using this command:
    example en0 is the "new" interface name of the install adapter that you have changed (new ip/netmask etc...) and you want to use now as the interface install for the nim master so you run this command and it will update all the master config and reset if1 to the new adapter

    /usr/lpp/bos.sysmgt/nim/methods/nim_master_recover -i en0 -S

    Cheers
    Al
    #AIX-Forum


  • 6.  Re: NIM Remove Install Interface

    Posted Thu June 19, 2014 12:33 PM

    Originally posted by: dcoke


    This definitely help me fixed my issues with the NIM master having the wrong IF1 attributes. Thanks


    #AIX-Forum