Skip to main content

ARIS Technical Help

Getting elastic runnables started again

If you did not execute the adjust elasticsearch cluster ACC command before you started all runnables, you must take more extensive action to get all elastic runnables started again.

  • If elastic runnables remain in the STARTING state, enter:

    on all nodes stopall

  • If runnables cannot be stopped, enter:

    on all nodes killall

    on all nodes startall to zoo<m or l>

  • If runnables still do not start properly, you must delete the migration node from the leader node of the elastic runnable in the ARIS Zookeeper. To do so, enter:

    force zk delete /aris/services/elasticsearch/migration

    force adjust elasticsearch cluster

    Because all ARIS agents that contain nodes holding elastic runnables, you must restart all related ARIS agents. To do this prevent the autostart of the ARIS agents.

    To get all runnables started after you executed the adjust elasticsearch cluster ACC command, follow the steps in the following examples:

    • If n1 contains an elastic runnable, enter:

      on n1 set autostart.mode="off"

      on n1 restart agent

      on n1 set autostart.mode="all"

      on n1 get autostart.mode

    • If n2 contains an elastic runnable, enter:

      on n2 set autostart.mode="off"

      on n2 restart agent

      on n2 set autostart.mode="all"

      on n2 get autostart.mode

    • If n3 contains an elastic runnable, enter:

      on n3 set autostart.mode="off"

      on n3 restart agent

      on n3 set autostart.mode="all"

      on n3 get autostart.mode

    • To start all runnables, enter:

      on all nodes startall