The commands in this section are not included in the general management commands for the NCP Server Console utility. You must be logged in as the root user to issue the commands.
The following options are available for NCPCON in command line mode. The syntax is
ncpcon [option]
Reads from the file and executes the commands.
Lists the syntax for command line mode and interactive mode.
Used with bind and unbind commands.
In a cluster load script, use the following syntax:
exit_on_error ncpcon bind --ncpservername=<SERVER_NAME> --ipaddress=<IP_ADDRESS>
For example,
exit_on_error ncpcon bind --ncpservername=BETA31-BETA31-SERVER --ipaddress=192.168.100.1
Used with bind and unbind commands.
In a cluster load script, use the following syntax:
exit_on_error ncpcon bind --ncpservername=<SERVER_NAME> --ipaddress=<IP_ADDRESS>
For example,
exit_on_error ncpcon bind --ncpservername=BETA31-BETA31-SERVER --ipaddress=192.168.100.1
Used with the mount command.
In a cluster load script, use the following syntax:
exit_on_error ncpcon mount volname=vol_id,path=/vol_mntpt
For example,
exit_on_error ncpcon mount USERS=254,path=/media/ncpvolumes/USERS
The commands in this section are used only for diagnostic purposes.
Use this command to display NCP Server diagnostics or ncp2nss daemon diagnostics.
Examples:
diag
diag ncp2nss
Flushes file system dirty data from the specified volume. You can add the ncpcon flush volume volume_name command to a cluster load script.
Resynchronizes NCP Server and NSS information for the specified volume.
Verifies NCP Server and NSS information for the specified volume.