server (nrcmd)							server (nrcmd)

NAME
    server - Configures and controls the server objects

SYNOPSIS
    The server keyword is optional. You can enter all commands starting
    with just the server type (<server>).
    
    server <server> disable <attribute>
    server <server> enable <attribute>

    server <server> get <attribute>

    server <server> start
    server <server> stop
    server <server> reload

    server <server> getHealth
    server <server> getStats

    server <server> setDebug < category-list>=<value> [<output>]
    server <server> unsetDebug
    server <server> getDebug

    server <server> serverLogs show
    server <server> serverLogs nlogs=<nlogs> logsize=<logsize>
    
DESCRIPTION
    The server command is used to send general control messages and
    queries to the servers in the cluster. <server> may be ccm, dhcp,
    dns, snmp, or tftp.
    
    Not all servers support all commands.

    The stop command stops the specified server.

    The start command starts the specified server.

    The reload command reloads the specified server, possibly with new
    configuration information.

    The getHealth command gets the specified server's current health value.

    The getStats command gets the specified server's current statistics.

    The setDebug command sets the debugging level and debug message output
    location.  The valid values for <output> are: MLOG, FILE, and WINDOW.
    The default value is MLOG.

    The unsetDebug command turns off debugging output.
    
    The serverLogs show command displays the number of log files and the 
    maximum size for each file.
    
    The serverLogs command allows setting the two server logging parameters,
    nlogs and logsize.  Either or both may be specified in the command, and
    changes occur only to the one(s) specified.  When setting logsize,
    the value may be suffixed with K or M to signify units of thousands or
    millions.  Note that in order for these changes to take effect you must
    save the changes and restart the server Agent. 
    
       server dhcp serverLogs nlogs=6 logsize=500K
       server dns serverLogs logsize=5M

    The features that can be enabled or disabled are:
       start-on-reboot
	    For any server, controls whether this server is started by
	    the Network Registrar server agent.  Disabling this feature
          for a server is useful for clusters that want to provide a 
          single protocol service.  By default both the DNS and DHCP
	    services are enabled.

    The properties that can be read with the get command are:
       version
           The version string for this server.

EXAMPLES
    nrcmd> server DNS stop
    nrcmd>  server DNS start
    nrcmd> server DHCP getHealth
    nrcmd> server DNS disable start-on-reboot   

SEE ALSO
    ccm(nrcmd), dns(nrcmd), dhcp(nrcmd), snmp(nrcmd), tftp(nrcmd),
    nrcmd documentation


