System Administration Guide: Solaris Printing

ProcedureHow to Initiate the Network Device Discovery Services by Using SMF

This procedure describes how to initiate, as well as disable, the network device-discovery/printers service (the HAL add-on module) by using the SMF.

  1. Become superuser or assume an equivalent role.

  2. Determine whether the SMF device-discovery/printers service is online.


    # svcs device-discovery/printers
    

    If the service is online, the following output is displayed:


    STATE          STIME    FMRI
    online         13:30:22 svc:/network/device-discovery/printers:snmp

    If the service is offline, the following output is displayed:


    STATE          STIME    FMRI
    disabled       Dec_12   svc:/network/device-discovery/printers:snmp
  3. To enable or disable the service instance, use the appropriate command.

    • To enable the service, type:


      # svcadm enable printers:snmp
      
    • To disable the service, type:


      # svcadm disable printers:snmp
      
  4. Verify that the HAL add-on module has been enabled or disabled.

    If the module has been successfully enabled, the output is as follows:


    # svcs device-discovery/printers
    STATE          STIME    FMRI
    online         13:30:22 svc:/network/device-discovery/printers:snmp 

    If the module has been successfully disabled, the output is as follows:


    # svcs device-discovery/printers
    STATE          STIME    FMRI
    disabled       Dec_12   svc:/network/device-discovery/printers:snmp