System Administration Guide, Volume 3

How to Enable NCA

  1. Become superuser.

  2. Register the interfaces.

    Enter the names of each of the physical interfaces in the /etc/nca/nca.if file (see the nca.if(4) man page for more information).


    # cat /etc/nca/nca.if
    hme0
    hme1

    For each interface, there must be an accompanying hostname.interface-name file and an entry in /etc/hosts file for the contents of hostname.interface-name. To bring up the NCA feature on all interfaces, place an asterisk, *, in the nca.if file.

  3. Enable the ncakmod kernel module.

    Change the status entry in /etc/nca/ncakmod.conf to enabled.


    # cat /etc/nca/ncakmod.conf
    #
    # Copyright (c) 1998-1999 by Sun Microsystems, Inc.
    # All rights reserved.
    #
    #ident  "@(#)ncakmod.conf       1.1     99/08/06 SMI"
    #
    # NCA Kernel Module Configuration File
    #
    status=enabled
    httpd_door_path=/var/run/nca_httpd_1.door

    See the ncakmod.conf(4) man page for more information.

  4. Enable NCA logging.

    Change the status entry in /etc/nca/ncalogd.conf to enabled.


    # cat /etc/nca/ncalogd.conf
    #
    # Copyright (c) 1998-1999 by Sun Microsystems, Inc.
    # All rights reserved.
    #
    #ident  "@(#)ncalogd.conf       1.1     99/08/06 SMI"
    #
    # NCA Log Daemon Configuration File
    #
    status=enabled
    logd_path_name="/var/nca/log"
    logd_file_size=1000000

    You can change the location of the log file by changing the path indicted by the logd_path_name entry. See the ncalogd.conf(4) man page for more information.

  5. For IA only: Increase the virtual memory size.

    Use the eeprom command to set the kernelbase of the system.


    # eeprom kernelbase=0x900000000
    # eeprom kernelbase
    kernelbase=0x900000000

    The second command verifies that the parameter has been set.


    Note -

    This reduces the amount of virtual memory that is available to user processes to less than 3 Gbytes, which means that the system is not ABI-compliant. When the system boots, it will display a message warning you about non-compliance. Most programs do not actually need the full 3 Gbyte virtual address space. If you have a program that does, you need to run it on a system that does not have NCA enabled.


  6. Reboot the server.