Results 1 to 3 of 3

Thread: OCF-anything and run a series of commands after fail-over

  1. #1
    chrisbank NNTP User

    OCF-anything and run a series of commands after fail-over


    Hi,

    Is it possible to run a series of commands (scripted) after the
    OCF-anything resource script starts on the fail-over cluster node?
    Here we have a 2 node cluster, in this cluster we have an own program
    called "own-program" that will be started from the CRM with the
    OCF-anything resource script. That is working fine, because
    "own-program" stays in memory an can be monitored from within the CRM.
    Now, when a node starts the "own-program" it needs some extra commands
    after its has been started. Those command will be given by programs that
    not stay in memory. Basically I want (if possible) to run a series of
    commands after the OCF-anything script is initiated.

    Thank you.
    Chris


    --
    chrisbank
    ------------------------------------------------------------------------
    chrisbank's Profile: http://forums.novell.com/member.php?userid=116745
    View this thread: http://forums.novell.com/showthread.php?t=444749


  2. #2
    Automatic Reply NNTP User

    Re: OCF-anything and run a series of commands after fail-over

    chrisbank,

    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.

    Has your problem been resolved? If not, you might try one of the following options:

    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)

    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php

    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.

    Good luck!

    Your Novell Product Support Forums Team
    http://forums.novell.com/


  3. #3
    chrisbank NNTP User

    Re: OCF-anything and run a series of commands after fail-over


    Problem solved, I have extended the OCF-anything script
    "/usr/lib/ocf/resource.d/heartbeat/anything" to run extra commands
    afterwards.


    --
    chrisbank
    ------------------------------------------------------------------------
    chrisbank's Profile: http://forums.novell.com/member.php?userid=116745
    View this thread: http://forums.novell.com/showthread.php?t=444749


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
  •