Restarting GA_DaemonDriver using dmctl/command line interface (CLI)
search cancel

Restarting GA_DaemonDriver using dmctl/command line interface (CLI)

book

Article ID: 304118

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

  • Restarting a GA_DaemonDriver using dmctl or from Command Line Interface (CLI).
  • Check the status of the Event-Driver in Smarts SAM for an underlying domain.
  • Check that the NL Driver is started and restart it if necessary.
  • How to reconfigure Smarts SAM in different ways i.e restarting the hypernotif driver and NL driver.
  • Stale notifications are not being cleared in the Smarts SAM Notification Log Console.

Environment

Smarts - 10.1.x

Cause

Restarting the Event Driver, Smarts SAM domain should re-synchronize all the CLEAR events that were missed during disconnect with underlying domain.

Resolution

  1. Find the exact name of the GA_DaemonDriver that you would like to restart. You can do so by running the following dmctl getInstance (geti) command as follows:

    ./dmctl -s <SAM_Domain> geti GA_DaemonDriver
    ICS-Business-Impact-Driver       ICS-Group-Driver
    ICS-Impact-Driver                ICS-MaintenanceHandler-Driver
    OTM-SONET-Driver                 IC-ACM_Event-Driver
    IC-AM_Topo-Driver                INCHARGE-AM-PM_Event-Driver
    INCHARGE-AM-PM_Topo-Driver       INCHARGE-OI_DomainProxy-Driver
    INCHARGE-OI_NL-Driver            INCHARGE-OI_Topo-Driver

     
  2. To determine if the driver is running, run the following command:
    ./dmctl -s <SAM_Domain> get GA_DaemonDriver::INCHARGE-AM-PM_Event-Driver::isRunning
    or
    ./dmctl -s <SAM_Domain> get GA_DaemonDriver::INCHARGE-AM-PM_Event-Driver::state
    A command output of TRUE/GA_DRIVER_RUNNING means the driver is running, and FALSE/GA_DRIVER_STOPPED means it is not running.

     
  3. Run a dmctl getOperation (getOper) command against the GA_DaemonDriver class as follows: 
    ./dmctl -s <SAM_Domain> getoper GA_DaemonDriver
    The output of the getOper command will be a list of the operations that can be executed against the members of that class:

    Operations for class GA_DaemonDriver:
        <object> clone <string>clone_name
        <void> clearVariables
        <void> setVariable <string>varName <string>varValue
        <object> getMyParameters <string>mode
        <object> findMyParameters
        <unknown> createParser <object>params
       
    <void> start
        <void> startWithParameters <object>params
        <void> stop


     
  4. To stop and restart the AM-PM event driver, run the following commands in sequence:
          ./dmctl -s <SAM_Domain> invoke GA_DaemonDriver::INCHARGE-AM-PM_Event-Driver stop
        ./dmctl -s <SAM_Domain> invoke GA_DaemonDriver::INCHARGE-AM-PM_Event-Driver start

Similarly, in same way any underlying domain driver can be restarted.

Additional Information