Changes between Version 5 and Version 6 of orca-run-4

Show
Ignore:
Timestamp:
01/31/13 10:32:52 (6 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • orca-run-4

    v5 v6  
    66$ export ORCA_HOME=/opt/orca4 
    77$ export ORCA_SERVER_PORT=11080 
    8 $ nohup /wherever/you/unzipped/bin/orca & 
     8}}} 
     9 * If you are running a command-line version: 
     10{{{ 
     11$ nohup /wherever/you/untarred/bin/orca & 
     12}}} 
     13 * If you are running a daemon version: 
     14{{{ 
     15$ /wherever/you/untarred/bin/orcad start  
    916}}} 
    1017 
     
    1522{{{ 
    1623$ export ORCA_CONTROLLER_HOME=/opt/orca-controller 
     24}}} 
     25 * If you are running a command-line version 
     26{{{ 
    1727$ nohup /wherever/you/unzipped/bin/xmlrpc & 
     28}}} 
     29 * If you are running a command-line version 
     30{{{ 
     31$ /wherever/you/untarred/bin/xmlrpc & 
     32}}} 
     33 * If you are running a daemon version 
     34{{{ 
     35$ /wherever/you/untarred/bin/xmlrpcd start 
    1836}}} 
    1937 
     
    2341 * For ORCA Controller: $ORCA_CONTROLLER_HOME/logs 
    2442 * !OpenStack ORCA extensions: /var/log/orca 
    25  * Handler output: stdout or nohup.out  
     43 * Handler output: 
     44   * If you are running the command line version it goes to stdout or nohup 
     45   * If you are running the daemon version it goes to orca-stdout.log or xmlrpc-stdout.log. You can adjust the location by editing the bin/orcad file as follows: 
     46{{{ 
     47start() { 
     48    echo "Starting $APP_LONG_NAME..." 
     49    getpid 
     50    if [ "X$pid" = "X" ] 
     51    then 
     52        # The string passed to eval must handles spaces in paths correctly. 
     53        COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=$APP_NAME wrapper.pidfile=\"$PIDFILE\" wrapper.logfile=$ORCA_HOME/logs/orca-stdout.log wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP $WRAPPER_CONF_OVERRIDES" 
     54        eval $COMMAND_LINE 
     55    else 
     56        echo "$APP_LONG_NAME is already running." 
     57        exit 1 
     58    fi 
     59} 
     60}}}