AIX

AIX

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


#Power
#Power
 View Only
  • 1.  no enable/disable option in /etc/rc.net

    Posted Thu April 12, 2007 04:26 AM

    Originally posted by: SystemAdmin


    Hi, I'm useing AIX v5.3 and I want to adjust the no parameters by appending relavent commands in the /etc/rc.net file, but it did not work, and I found the reason is what the comments in the /etc/rc.net file claming:

    ##################################################################
    1. NOTE: The no option enable/disable in rc.net only works on pre
    2. 5.2 systems.
    3. On systems 5.2 or higher in order to enable/disable
    4. specific no options on future reboots this information has
    5. to be present in the /etc/tunables/nextboot file. This can
    6. be done by using no -r -o <no_optionname>=<value> on the command
    7. line. On subsequent reboots the the specified no_optionname value
    8. will be maintained since it will be written to the nextboot file
    9. To summarize a no option can be set as follows to be enabled
    10. on future reboots
    11. Pre 5.2 Systems:
    12. no -o arptab_size=10
    13. 5.2 and later:
    14. use no -r -o arptab_size=10; this creates an entry in the
    15. nextboot file and preserves the value on subsequent reboots
    ##################################################################

    but I'm still wondering how it functions: after AIX v5.2, during the 2nd boot phrase, when the command cfgmgr loads the file /etc/rc.net , reads line by line, performs appropriate actions, it just ignore any no command in this file, right?

    any clue would be appreciated :)
    #AIX-Forum


  • 2.  Re: no enable/disable option in /etc/rc.net

    Posted Thu April 12, 2007 01:20 PM

    Originally posted by: orphy


    Don't think they are ignored but they are "fixed" later. man tunrestore.

    1. lsitab -a|egrep '^brc|^tunables'
    brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
    tunables:23456789:wait:/usr/sbin/tunrestore -R > /dev/console 2>&1 # Set tunables
    Orphy
    #AIX-Forum


  • 3.  Re: no enable/disable option in /etc/rc.net

    Posted Thu April 12, 2007 11:07 PM

    Originally posted by: SystemAdmin


    hi Orphy, thanks for your nice direction, I'm working on it
    #AIX-Forum