System Administration Guide: IP Services

ProcedureHow to Convert the DHCP Data Store (dhcpconfig -C)

  1. Become superuser or assume a role or user name that is assigned to the DHCP Management profile.

    For more information about the DHCP Management profile, see Setting Up User Access to DHCP Commands.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Convert the data store by typing a command of the following format:


    # /usr/sbin/dhcpconfig -C -r resource -p path
    
    resource

    is the new data store type, such as SUNWbinfiles

    path

    is the path to the data, such as /var/dhcp

    Note that if you want to keep the original data in the old data store after the conversion, specify the -k option. For example, to convert your data store to SUNWbinfiles and save the old data store, you would type:


    # /usr/sbin/dhcpconfig -C -r SUNWbinfiles -p /var/dhcp -k

    See the dhcpconfig(1M) man page for more information about the dhcpconfig utility.