dmadm Command

Purpose

Operates Network Data Administration Facility (NDAF) on the admin server.

Syntax

dmadm [param=val]

Description

With corresponding parameters, the dmadm command sets default directories, timeout values, level of logging, security method used, Kerberos keytab path, Kerberos principal, and communication ports on the admin server within an NDAF domain.

Parameters

The dmadm command takes one or more of the following optional parameter values:

Item Description
[-rpc_timeout=val] Sets the timeout for an RPC connect or call. Default is 300 seconds.
[-log_level=val] Sets the level of logging for the log files. The default is notice. Possible values include the following values:
  • critical
  • error
  • warning
  • notice
  • information
[-security=val] Sets the type of security method used. The default is krb5. Values include:
auth_sys
For uid/gid authentication
krb5
For Kerberos authentication
krb5i
For Kerberos integrity authentication
krb5p
For Kerberos privacy authentication
[-krb5_principal=val] Sets the Kerberos principal used for the kinit.
[-admin_port=val] Sets the dmadm port waiting for RPC of the dmf client. Default value is 28000.
[-serv_port=val] Sets the dms port waiting for the dmadm RPC. Default value is 28001.
[-ndaf_dir=val] Sets the base directory for NDAF. It contains default databases, logs, and directories for cells, dsets, and replicas. The default for the base directory is /var/dmf. Other defaults include the following directories:
  • ${ndaf_dir}/log for logs
  • ${ndaf_dir}/admin for admin databases
[-ndaf_log_dir=val] Sets the directory for log files. It is set to ${ndaf_dir}/log by default.
[-krb5_keytab=val] Indicates the Kerberos keytab path. If you do not specify the parameter and the system resource controller (SRC) is not in use, the keytab is defined either by the KRB5_KTNAME environment variable, or by the default as specified in the /etc/krb5/krb5.conf file (when the KRB5_KTNAME variable is not set). If you do not specify the parameter but the SRC is in use, the keytab is always the default as specified in the /etc/krb5/krb5.conf file.
[-admin_cb_port=val] Sets the dmadm port waiting for the dms RPC callbacks. The default is 28002.

Exit Status

Item Description
0 The command completed successfully.
>0 An error occurred.

Examples

  1. To start dmadm using SRC on the admin server, enter:
    startsrc -s dmadm
  2. To start dmadm using SRC and specifying auth_sys security, enter:
    startsrc -a "-security=auth_sys" -s dmadm

Location

/usr/sbin/dmadm