Results 1 to 5 of 5

Thread: HAE auto create cli-ban location rule cause problem

  1. #1

    HAE auto create cli-ban location rule cause problem

    hi Guys,

    I am testing SLES 12 SP1 with HAE, I manually migrate resources between node, and notice that there have auto create "cli-ban-<resource name> location constraints in cluster, it cause unable to manually manual migrate resource, I need to delete delete it.

    Is it working as design? if no, can disable auto create "cli-ban" constraints?




    Regards
    Thanks...KEN

  2. #2

    Re: HAE auto create cli-ban location rule cause problem

    After you forcefully migrate from one node to another you need to "clean"
    things up in order to remove the constraint that caused the cluster to
    move the resource. The cluster software doesn't just move the resource
    casually, but does so by inserting that constraint, so once done cleaning
    will remove it and you can then have failover work as expected.


    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  3. #3

    Re: HAE auto create cli-ban location rule cause problem

    hi ab,
    Thanks for your reply.

    Does it just click the button "Cleanup" in the resource group will clean up the constraints as shown as below?



    Or it need click the "Edit" and remove the individual "cli-ban" constraint?

    I tested only test delete the constraint under the "Edit" link in order to delete the "cli-ban" constraint.

    Regards
    Thanks...KEN

  4. #4

    Re: HAE auto create cli-ban location rule cause problem

    "Cleanup" is meant to do this for you.

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  5. #5

    Re: HAE auto create cli-ban location rule cause problem

    Script to clear resources stopped

    # / Bin / bash

    # Referencia: Gua de despliegue de SuSE.
    # Un recurso se reiniciar automticamente si falla, pero cada error aumenta el contador de
    # Errores de recurso. Por proteccin se ha establecido un umbral de migracin para el recurso,
    # El nodo dejar de expulsar el recurso cuando el nmero de errores llegue al umbral de migracin.
    # Para limpiar el recurso permitir que el este la experiencia de nuevo en el nodo, restablezca el
    # Contador de errores. Puede limpiar recursos individuales utilizando la interfaz Web de Hawk.
    # Este ubica todos los recursos detenidos y procede a limpiarlos.

    # Reference: SuSE Deployment Guide.
    # A resource will automatically restart if it fails, but each error increases the
    # Resource Errors. For protection a migration threshold for the resource has been established,
    # The node will stop expelling the resource when the number of errors reaches the migration threshold.
    # To clear the resource allow the user to experience the node again, reset the
    # Error counter. You can clean individual resources using the Hawk Web interface.
    # This locates all detained resources and proceeds to clean them.

    crm_resource -o | awk '/\tStopped |Timed Out/ { print $1 }' | xargs -r -n1 crm resource cleanup

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •