GitHub user selvaganesang opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/862

    [TRAFODION-2384] Trafodion node needs to be gracefully shutdown when …

    …the node is brought down
    
    Added a service script for Trafodion at 
$MY_SQROOT/sysinstall/etc/init.d/trafodion.
    As part of cluster install, this file will be copied to /etc/init.d and
    configured for service startup.
    
    The service script has the support for stop and status only.
    
    You can do the following:
    bin]$ sudo service trafodion status
    trafodion on node kenai01.cluster.local is started as logical node 000
    bin]$ sudo service trafodion stop
    Stopping trafodion node 000 on kenai01.cluster.local
    bin]$ sudo service trafodion status
    trafodion on node kenai01.cluster.local is not yet started
    bin]$ sudo service trafodion start
    start: missing job name
    Try `start --help' for more information.
    
    This allows init 6, shutdown and reboot to execute the trafodion services 
to be stopped in
    correct sequence.  Hence, it should fix the core dumps seen at the time of 
node shutdown.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/selvaganesang/incubator-trafodion 
trafodion-2384

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/862.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #862
    
----
commit af9524e686b1e0fcfc8a192b0b6b7c971a8ec77c
Author: selvaganesang <selva.govindara...@esgyn.com>
Date:   2016-12-02T23:16:18Z

    [TRAFODION-2384] Trafodion node needs to be gracefully shutdown when the 
node is brought down
    
    Added a service script for Trafodion at 
$MY_SQROOT/sysinstall/etc/init.d/trafodion.
    As part of cluster install, this file will be copied to /etc/init.d and
    configured for service startup.
    
    The service script has the support for stop and status only.
    
    You can do the following:
    bin]$ sudo service trafodion status
    trafodion on node kenai01.cluster.local is started as logical node 000
    bin]$ sudo service trafodion stop
    Stopping trafodion node 000 on kenai01.cluster.local
    bin]$ sudo service trafodion status
    trafodion on node kenai01.cluster.local is not yet started
    bin]$ sudo service trafodion start
    start: missing job name
    Try `start --help' for more information.
    
    This allows init 6, shutdown and reboot to execute the trafodion services 
to be stopped in
    correct sequence.  Hence, it should fix the core dumps seen at the time of 
node shutdown.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to