Browse Source

Merge pull request #210 from richardkchapman/issue206

Issue #206 Remove legacy startup scripts from repository
Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 14 years ago
parent
commit
cf2ced3dca
87 changed files with 0 additions and 2431 deletions
  1. 0 1
      CMakeLists.txt
  2. 0 42
      dali/dafilesrv/check_one_dafilesrv
  3. 0 41
      dali/dafilesrv/check_one_dafilesrv.bat
  4. 0 81
      dali/dafilesrv/start_one_dafilesrv
  5. 0 29
      dali/dafilesrv/start_one_dafilesrv.bat
  6. 0 22
      dali/dafilesrv/startup
  7. 0 20
      dali/dafilesrv/startup.bat
  8. 0 22
      dali/dafilesrv/stop
  9. 0 21
      dali/dafilesrv/stop.bat
  10. 0 26
      dali/dafilesrv/stop_one_dafilesrv
  11. 0 24
      dali/dafilesrv/stop_one_dafilesrv.bat
  12. 0 38
      dali/dfu/start_dfuserver
  13. 0 27
      dali/dfu/start_dfuserver.bat
  14. 0 25
      dali/dfu/startup
  15. 0 21
      dali/dfu/startup.bat
  16. 0 33
      dali/dfu/stop
  17. 0 25
      dali/dfu/stop.bat
  18. 0 46
      dali/sasha/start_sasha
  19. 0 26
      dali/sasha/start_sasha.bat
  20. 0 30
      dali/sasha/startup
  21. 0 21
      dali/sasha/startup.bat
  22. 0 43
      dali/sasha/stop
  23. 0 25
      dali/sasha/stop.bat
  24. 0 30
      dali/server/run
  25. 0 50
      dali/server/secure_configenv
  26. 0 51
      dali/server/secure_configenv.bat
  27. 0 36
      dali/server/start_dali
  28. 0 42
      dali/server/start_dali.bat
  29. 0 42
      dali/server/startup
  30. 0 21
      dali/server/startup.bat
  31. 0 35
      dali/server/stop
  32. 0 21
      dali/server/stop.bat
  33. 0 9
      deploy/misc/sourcedoc.xml
  34. 0 18
      deploy/misc/startup
  35. 0 19
      deploy/misc/startup.bat
  36. 0 18
      deploy/misc/stop
  37. 0 19
      deploy/misc/stop.bat
  38. 0 27
      ecl/agentexec/stop_agentexec
  39. 0 23
      ecl/agentexec/stop_agentexec.bat
  40. 0 28
      ecl/eclagent/run_agentexec.bat
  41. 0 32
      ecl/eclagent/start_agentexec
  42. 0 28
      ecl/eclagent/startup
  43. 0 23
      ecl/eclagent/startup.bat
  44. 0 27
      ecl/eclagent/stop
  45. 0 23
      ecl/eclagent/stop.bat
  46. 0 25
      ecl/eclagent/stop_eclagent
  47. 0 21
      ecl/eclagent/stop_eclagent.bat
  48. 0 23
      ecl/eclccserver/run
  49. 0 34
      ecl/eclccserver/start_eclccserver
  50. 0 25
      ecl/eclccserver/startup
  51. 0 21
      ecl/eclccserver/startup.bat
  52. 0 29
      ecl/eclccserver/stop
  53. 0 23
      ecl/eclccserver/stop.bat
  54. 0 23
      ecl/eclscheduler/run
  55. 0 26
      ecl/eclscheduler/run_eclscheduler.bat
  56. 0 31
      ecl/eclscheduler/start_eclscheduler
  57. 0 25
      ecl/eclscheduler/startup
  58. 0 21
      ecl/eclscheduler/startup.bat
  59. 0 29
      ecl/eclscheduler/stop
  60. 0 23
      ecl/eclscheduler/stop.bat
  61. 0 54
      esp/platform/diagEspCore
  62. 0 27
      esp/platform/run
  63. 0 27
      esp/platform/run_esp.bat
  64. 0 37
      esp/platform/start_esp
  65. 0 29
      esp/platform/startup
  66. 0 21
      esp/platform/startup.bat
  67. 0 30
      esp/platform/stop
  68. 0 23
      esp/platform/stop.bat
  69. 0 3
      install_directory/agentexec.install
  70. 0 22
      install_directory/dafilesrv.install
  71. 0 3
      install_directory/dali.install
  72. 0 3
      install_directory/eclagent.install
  73. 0 3
      install_directory/esp.install
  74. 0 35
      roxie/ccd/start_one_roxie
  75. 0 32
      roxie/ccd/start_one_roxie.bat
  76. 0 26
      roxie/ccd/start_roxie
  77. 0 24
      roxie/ccd/start_roxie.bat
  78. 0 60
      roxie/ccd/startccd
  79. 0 45
      roxie/ccd/startccd.bat
  80. 0 24
      roxie/ccd/startup
  81. 0 23
      roxie/ccd/startup.bat
  82. 0 29
      roxie/ccd/stop
  83. 0 32
      roxie/ccd/stop.bat
  84. 0 34
      roxie/ccd/stop_one_roxie
  85. 0 34
      roxie/ccd/stop_one_roxie.bat
  86. 0 33
      roxie/ccd/stopccd
  87. 0 28
      roxie/ccd/stopccd.bat

+ 0 - 1
CMakeLists.txt

@@ -411,7 +411,6 @@ Install ( FILES ${HPCC_SOURCE_DIR}/${LICENSE_FILE} DESTINATION ${OSSDIR} PERMISS
 include( install_directory/overall.install )
 include( install_directory/bash_startup.install )
 include( install_directory/WsReferenceTracker.install )
-include( install_directory/dafilesrv.install )
 include( install_directory/dali.install )
 include( install_directory/dfuplus.install )
 include( install_directory/dfuserver.install )

+ 0 - 42
dali/dafilesrv/check_one_dafilesrv

@@ -1,42 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-if [ ! -e ./dafscontrol ]; then
-  echo "dafscontrol not found in current directory"
-  exit 0
-fi
-
-export LD_LIBRARY_PATH=.
-## following kludge as for some reason doesn't have execute rights on old deploys
-chmod a+x ./dafscontrol
-./dafscontrol checkver . quiet
-if [ $? -eq 0 ]; then exit 0; fi
-./stop_one_dafilesrv
-export DAFSVER=`./dafscontrol myver`
-export DAFSDIR=/c$/dafilesrv/ver_$DAFSVER
-mkdir -p $DAFSDIR
-rsync -tpgo *.so $DAFSDIR
-rsync -tpgo dafilesrv $DAFSDIR
-rsync -tpgo dafscontrol $DAFSDIR
-rsync -tpgo start_one_dafilesrv $DAFSDIR
-rsync -tpgo stop_one_dafilesrv $DAFSDIR
-rsync -tpgo start_one_dafilesrv /c$/dafilesrv
-rsync -tpgo stop_one_dafilesrv /c$/dafilesrv
-echo "$DAFSDIR" > /c$/dafilesrv/CURRENT_VERSION
-cd /c$/dafilesrv
-./start_one_dafilesrv 

+ 0 - 41
dali/dafilesrv/check_one_dafilesrv.bat

@@ -1,41 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-
-cd /d %1
-if not exist dafscontrol.exe (
-echo "USAGE check_one_dafilesrv <dafs-directory>"
-goto 999
-)
-dafscontrol checkver . quiet
-if not errorlevel 1 goto 999
-for /f %%i in ('%CD%\dafscontrol.exe myver') do set DAFSDIR=c:\dafilesrv\ver_%%i
-if /i "%CD%" equ "%DAFSDIR%" goto 1
-mkdir "%DAFSDIR%" 2>nul 1>nul
-copy *.dll "%DAFSDIR%" 2>nul 1>nul
-copy *.exe "%DAFSDIR%" 2>nul 1>nul
-copy *.bat "%DAFSDIR%" 2>nul 1>nul
-copy start_one_dafilesrv.bat c:\dafilesrv 2>nul 1>nul
-copy stop_one_dafilesrv.bat c:\dafilesrv 2>nul 1>nul
-cd /d "%DAFSDIR%"
-echo %DAFSDIR% > c:\dafilesrv\CURRENT_VERSION
-:1
-cd /d c:\dafilesrv 2>nul 1>nul
-cmd /c start_one_dafilesrv 2>nul 1>nul
-:999

+ 0 - 81
dali/dafilesrv/start_one_dafilesrv

@@ -1,81 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-################################################# 
-##    Defaulting needed for new init system    ## 
-################################################# 
-: ${LIBDIR:="."}                                # 
-: ${BINDIR:="."}                                # 
-export PATH=$BINDIR:$PATH                       # 
-export LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH # 
-#################################################
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-if [ "_$1" != "_loop" ]; then
-  nohup $0 loop $* &>/dev/null &
-  exit 0
-fi
-rm -f /var/run/dafilesrv.pid
-killall -9 dafilesrv 2> /dev/null
-sleep 1
-export PATH=`pwd`:$DESTDIR:$PATH  
-export LD_LIBRARY_PATH=.
-ulimit -n 8192
-ulimit -c unlimited
-# dafilesrv is searched for in CURRENT_VERSION dir (if exists)
-#                           or /c$/dafilesrv
-#                         then $DESTDIR (location of scripts)
-#                         then $PATH
-if [ -e CURRENT_VERSION ]; then
-cd `cat CURRENT_VERSION`
-export PATH=`pwd`:$DESTDIR:$PATH  
-export LOPT="-L /c$/dafilesrv"
-else
-export PATH=`pwd`:$DESTDIR:$PATH  
-export LOPT=
-fi
-$BINDIR/dafilesrv -D $LOPT 1>/dev/null
-sleep 1
-pid=`pidof -x dafilesrv`
-if [ "$?" -eq "0" ]; then
-  echo $pid > /var/run/dafilesrv.pid
-fi
-while [ -e /var/run/dafilesrv.pid ] && [ "`cat /var/run/dafilesrv.pid`" -eq "$pid" ]; do
-  kill -0 $pid 2> /dev/null
-  if [ "$?" -eq "0" ]; then
-    sleep 60
-  else
-    rm -f /var/run/dafilesrv.pid
-    killall -9 dafilesrv 2> /dev/null
-    sleep 1
-    $BINDIR/dafilesrv -D $LOPT 1>/dev/null
-    sleep 1
-    pid=`pidof -x dafilesrv`
-    if [ "$?" -eq "0" ]; then
-      if [ ! -e /var/run/dafilesrv.pid ]; then
-        echo $pid > /var/run/dafilesrv.pid
-      fi
-    fi
-  fi
-done
-
-    
-    
-    

+ 0 - 29
dali/dafilesrv/start_one_dafilesrv.bat

@@ -1,29 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-
-if not c:\dafilesrv\stop_one_dafilesrv.bat (
-echo "ERROR: c:\dafilesrv\stop_one_dafilesrv.bat not found"
-echo "(check_one_dafilesrv may need to be run first)"
-goto 999
-)
-cd c:\dafilesrv
-call stop_one_dafilesrv
-dafilesrv -install 2>nul 1>nul
-:999

+ 0 - 22
dali/dafilesrv/startup

@@ -1,22 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-
-cd `dirname $0`
-./start_one_dafilesrv

+ 0 - 20
dali/dafilesrv/startup.bat

@@ -1,20 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-pstart start_one_dafilesrv.bat
-exit 0

+ 0 - 22
dali/dafilesrv/stop

@@ -1,22 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-cd `dirname $0`
-
-./stop_one_dafilesrv
-

+ 0 - 21
dali/dafilesrv/stop.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-call stop_one_dafilesrv.bat
-exit 0

+ 0 - 26
dali/dafilesrv/stop_one_dafilesrv

@@ -1,26 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-
-
-rm -f /var/run/dafilesrv.pid
-killall -9 dafilesrv 2> /dev/null
-sleep 2
-
-

+ 0 - 24
dali/dafilesrv/stop_one_dafilesrv.bat

@@ -1,24 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd c:\dafilesrv
-if exist CURRENT_VERSION (
-  for /f %%i in (CURRENT_VERSION) do cd /d %%i 2>nul 1>nul
-)
-dafilesrv -remove 2>nul 1>nul

+ 0 - 38
dali/dfu/start_dfuserver

@@ -1,38 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-ulimit -c unlimited 
-ulimit -n 8192 
-ulimit -s 512 
- 
-export PATH=$PATH 
-export LANG=en_US 
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH 
-export SENTINEL="dfuserver.sentinel"
-rm -f ${SENTINEL}
-nohup $PWD/dfuserver 1> /dev/null 2>&1 &
-echo $! > component.pid
-wait
-while [ -e ${SENTINEL} ]; do
-    sleep 5
-    if [ -e ${SENTINEL} ]; then
-        nohup $PWD/dfuserver 1> /dev/null 2>&1 &
-        echo $! > component.pid
-        wait
-    fi
-done 

+ 0 - 27
dali/dfu/start_dfuserver.bat

@@ -1,27 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-:10
-set SENTINEL="dfuserver.sentinel"
-del %SENTINEL%
-dfuserver
-if exist %SENTINEL% (
-  sleep 10
-  goto 10
-)
-exit

+ 0 - 25
dali/dfu/startup

@@ -1,25 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export PATH=$PATH:/sbin
-pid=`pidof dfuserver`
-if [ -n "$pid" ]; then
-        ./stop
-fi
-./start_dfuserver 1>/dev/null 2>/dev/null &

+ 0 - 21
dali/dfu/startup.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pstart start_dfuserver.bat
-exit 0

+ 0 - 33
dali/dfu/stop

@@ -1,33 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="dfuserver.sentinel"
-rm -f ${SENTINEL}
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export PATH=/mnt/usrbin:$PATH
-
-#run in foreground to block caller until dfu server is stopped
-#./dfuserver stop=1  
-#sleep 5
-
-killall $PWD/dfuserver
-sleep 1
-killall -9 $PWD/dfuserver
-exit 0

+ 0 - 25
dali/dfu/stop.bat

@@ -1,25 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="dfuserver.sentinel"
-del %SENTINEL%
-dfuserver stop=1
-sleep 5
-pskill -c4 dfuserver
-exit 0

+ 0 - 46
dali/sasha/start_sasha

@@ -1,46 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-################################################# 
-##    Defaulting needed for new init system    ## 
-################################################# 
-: ${LIBDIR:="."}                                # 
-: ${BINDIR:="."}                                # 
-export PATH=$BINDIR:$PATH                       # 
-export LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH # 
-#################################################
-
-ulimit -c unlimited
-ulimit -n 8192
-
-export PATH=$PATH
-export LANG=en_US
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export SENTINEL="saserver.sentinel"
-rm -f ${SENTINEL}
-nohup $BINDIR/saserver 1> /dev/null 2>&1 &
-echo $! > component.pid
-wait
-while [ -e ${SENTINEL} ]; do
-    sleep 5
-    if [ -e ${SENTINEL} ]; then
-        nohup $BINDIR/saserver 1> /dev/null 2>&1 &
-        echo $! > component.pid
-        wait
-    fi
-done

+ 0 - 26
dali/sasha/start_sasha.bat

@@ -1,26 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-set SENTINEL="saserver.sentinel"
-:10
-saserver
-if exist %SENTINEL% (
-  sleep 10
-  goto 10
-)
-exit

+ 0 - 30
dali/sasha/startup

@@ -1,30 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="saserver.sentinel"
-rm -f ${SENTINEL}
-export PATH=$PATH:/sbin
-pid=`pidof saserver`
-if [ -n "$pid" ]; then
-        ./stop
-fi
-
-nohup ./start_sasha 1>/dev/null 2>/dev/null &

+ 0 - 21
dali/sasha/startup.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pstart start_sasha.bat
-exit 0

+ 0 - 43
dali/sasha/stop

@@ -1,43 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="saserver.sentinel"
-rm -f ${SENTINEL}
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export PATH=/mnt/usrbin:$PATH
-pid=`pidof saserver`
-if [ -n "$pid" ]; then
-    ./sasha server=. action=stop
-    I=1
-    while [ -n "$pid" ] && [ $I -lt 30 ]; do
-        echo "Waiting for saserver to stop"
-        sleep 2
-        pid=`pidof saserver`
-        let I=I+1
-        
-    done
-    if [ -n "$pid" ]; then
-        kill -9 $pid
-    fi
-fi
-exit 0
-

+ 0 - 25
dali/sasha/stop.bat

@@ -1,25 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="saserver.sentinel"
-del %SENTINEL%
-saserver stop .
-sleep 5
-pskill -c4 saserver
-exit 0

+ 0 - 30
dali/server/run

@@ -1,30 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-sed -e "s/.*log_dir=\"\([^\"]*\)\".*/cd \1/w runtmp.sh" daliconf.xml > /dev/null
-echo "tail -f DaServer.log" >> runtmp.sh
-./startup
-sleep 1
-pid=`pidof daserver`
-while [ "$pid" == "" ]; do
-    echo "Waiting for daserver to start"
-        sleep 2
-    pid=`pidof daserver`
-done
-sh runtmp.sh

+ 0 - 50
dali/server/secure_configenv

@@ -1,50 +0,0 @@
-#!/bin/bash
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-cd `dirname $0`
-
-if [ $1 == 'add' ] && [ ! -z $2 ]; then
-    read -p "Are you sure you want to secure Configenv using '$2'? [y/n] " resp;
-    if [ $resp == 'y' ]; then 
-        export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-        sdsfix . set "/Environment/@wsConfigUrl" "$2"; 
-    fi
-elif [ $1 = 'remove' ]; then
-    read -p "Are you sure you want to remove security from Configenv? [y/n] " resp;
-    if [ $resp == 'y' ]; then 
-        export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-        sdsfix . set "/Environment/@wsConfigUrl" ""; 
-    fi
-else
-    echo
-    echo "This batch file associates a URL of an ECL Watch service with"
-    echo "the super computer environment maintained in the Dali server."
-    echo "The deployment tool (Configenv) then enforces user-level "
-    echo "authentication for accessing the environment using an LDAP "
-    echo "server resource 'ConfigAccess'."
-    echo 
-    echo "syntax: "
-    echo "secure_configenv add <URL>"
-    echo "or"
-    echo "secure_configenv remove"
-    echo 
-    echo "URL is of the form http://host_or_ip_address[:port]"
-    echo "or"
-    echo "https://ip_address[:port]"
-fi

+ 0 - 51
dali/server/secure_configenv.bat

@@ -1,51 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-setlocal
-
-if '%1'=='add' if '%2' NEQ '' goto add
-if '%1'=='remove' goto remove
-goto syntax
-
-:add
-set /p resp=Are you sure you want to secure Configenv using '%2'? [y/n] 
-if '%resp%'=='y' sdsfix . set "/Environment/@wsConfigUrl" "%2"
-goto end
-
-:remove
-set /p resp=Are you sure you want to remove security from Configenv? [y/n] 
-if '%resp%'=='y' sdsfix . set "/Environment/@wsConfigUrl" ""
-goto end
-
-:syntax
-echo This batch file associates a URL of an ECL Watch service with
-echo the super computer environment maintained in the Dali server.
-echo The deployment tool (Configenv) then enforces user-level 
-echo authentication for accessing the environment using an LDAP 
-echo server resource 'ConfigAccess'.
-
-echo syntax: 
-echo secure_configenv add -URL-
-echo or
-echo secure_configenv remove
-echo URL is of the form http://host_or_ip_address[:port]
-echo or
-echo https://ip_address[:port]
-
-:end

+ 0 - 36
dali/server/start_dali

@@ -1,36 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-################################################# 
-##    Defaulting needed for new init system    ## 
-################################################# 
-: ${LIBDIR:="."}                                # 
-: ${BINDIR:="."}                                # 
-export PATH=$BINDIR:$PATH                       # 
-export LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH # 
-#################################################
-
-mv deploy/* . 2> /dev/null
-rmdir deploy  2> /dev/null
-
-ulimit -c unlimited
-ulimit -n 8192
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-nohup $BINDIR/daserver 1>/dev/null 2>/dev/null &
-echo $! > component.pid
-

+ 0 - 42
dali/server/start_dali.bat

@@ -1,42 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-if not exist .\deploy goto :start
-
-xcopy .\deploy .\ /e /v /y 2> nul
-if %ERRORLEVEL% NEQ 0 (
-   echo Failed to move files from deploy subdirectory to installation directory!
-   echo Failed to move files from deploy subdirectory to installation directory! > deploy.log
-   sleep 5
-   exit 1
-)
-
-rd /s /q .\deploy
-if %ERRORLEVEL% NEQ 0 (
-   echo Failed to remove deploy subdirectory!
-   echo Failed to remove deploy subdirectory! > deploy.log
-   sleep 5
-   exit 1
-)
-
-echo Deployment of dali completed successfully! > deploy.log
-
-:start
-daserver
-exit 0

+ 0 - 42
dali/server/startup

@@ -1,42 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-################################################# 
-##    Defaulting needed for new init system    ## 
-################################################# 
-: ${LIBDIR:="."}                                # 
-: ${BINDIR:="."}                                # 
-export PATH=$BINDIR:$PATH                       # 
-export LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH # 
-#################################################
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export PATH=$PATH:/sbin
-dalipid=`pidof daserver`
-while [ -n "$dalipid" ]
-do
-        ./stop
-        sleep 2
-        dalipid=`pidof daserver`
-        if [ -n "$dalipid" ]; then
-            echo "daserver pid $dalipid still running"
-        fi
-done
-
-./start_dali
-

+ 0 - 21
dali/server/startup.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pstart start_dali.bat
-exit 0

+ 0 - 35
dali/server/stop

@@ -1,35 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-#################################################
-##    Defaulting needed for new init system    ##
-#################################################
-: ${LIBDIR:="."}                                #
-: ${BINDIR:="."}                                #
-export PATH=$BINDIR:$PATH                       #
-export LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH #
-#################################################
-
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-
-#run in foreground to block caller until dali server is stopped
-$BINDIR/dalistop .
-

+ 0 - 21
dali/server/stop.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-dalistop .
-exit 0

+ 0 - 9
deploy/misc/sourcedoc.xml

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
-<section>
-    <title>deploy/misc</title>
-
-    <para>
-        The deploy/misc directory contains the sources for the deploy/misc library.
-    </para>
-</section>

+ 0 - 18
deploy/misc/startup

@@ -1,18 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-exit 0

+ 0 - 19
deploy/misc/startup.bat

@@ -1,19 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-exit 0

+ 0 - 18
deploy/misc/stop

@@ -1,18 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-exit 0

+ 0 - 19
deploy/misc/stop.bat

@@ -1,19 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-exit 0

+ 0 - 27
ecl/agentexec/stop_agentexec

@@ -1,27 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export PATH=/mnt/usrbin:$PATH
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="eclagent.sentinel"
-rm -f ${SENTINEL}
-
-killall $PWD/agentexec
-
-exit 0

+ 0 - 23
ecl/agentexec/stop_agentexec.bat

@@ -1,23 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="eclagent.sentinel"
-del %SENTINEL%
-pskill -c4 agentexec
-exit 0

+ 0 - 28
ecl/eclagent/run_agentexec.bat

@@ -1,28 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-set SENTINEL="eclagent.sentinel"
-
-:start
-start /wait agentexec
-if exist %SENTINEL% (
-    sleep 5
-    goto start
-)
-
-exit 0

+ 0 - 32
ecl/eclagent/start_agentexec

@@ -1,32 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export PATH=.:$PATH
-export LANG=en_US
-ulimit -c unlimited
-export SENTINEL="eclagent.sentinel"
-nohup $PWD/agentexec 1>/dev/null 2>/dev/null &
-echo $! > component.pid
-wait
-if [ -e ${SENTINEL} ]; then
-        sleep 1
-        if [ -e ${SENTINEL} ]; then
-                ./startup
-        fi
-fi
-

+ 0 - 28
ecl/eclagent/startup

@@ -1,28 +0,0 @@
-#!/bin/bash
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-DESTDIR=`dirname $0` 
-cd $DESTDIR 
- 
-./stop 
-rm -f /c$/hthortemp/* 
- 
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH 
-./start_agentexec 1>/dev/null 2>/dev/null & 
-

+ 0 - 23
ecl/eclagent/startup.bat

@@ -1,23 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-del /Q C:\hthortemp\*
-cd /d %1
-call setvars.bat
-start run_agentexec.bat
-exit 0

+ 0 - 27
ecl/eclagent/stop

@@ -1,27 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export PATH=/mnt/usrbin:$PATH
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="eclagent.sentinel"
-rm -f ${SENTINEL}
-
-killall $PWD/agentexec
-
-exit 0

+ 0 - 23
ecl/eclagent/stop.bat

@@ -1,23 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="eclagent.sentinel"
-del %SENTINEL%
-pskill -c4 agentexec
-exit 0

+ 0 - 25
ecl/eclagent/stop_eclagent

@@ -1,25 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export PATH=/mnt/usrbin:$PATH
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-
-killall $PWD/eclagent
-
-exit 0

+ 0 - 21
ecl/eclagent/stop_eclagent.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pskill -c4 eclagent
-exit 0

+ 0 - 23
ecl/eclccserver/run

@@ -1,23 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export PATH=$PATH
-export LANG=en_US
-ulimit -c unlimited
-export SENTINEL="eclccserver.sentinel"
-./eclccserver

+ 0 - 34
ecl/eclccserver/start_eclccserver

@@ -1,34 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export PATH=.:$PATH
-export LANG=en_US
-ulimit -c unlimited
-export SENTINEL="eclccserver.sentinel"
-rm -f $SENTINEL
-nohup $PWD/eclccserver 1>/dev/null 2>/dev/null &
-echo $! > component.pid
-wait
-if [ -e ${SENTINEL} ]; then
-    sleep 5
-    if [ -e ${SENTINEL} ]; then
-        nohup $PWD/eclccserver 1>/dev/null 2>/dev/null &
-        echo $! > component.pid
-        wait
-    fi
-fi

+ 0 - 25
ecl/eclccserver/startup

@@ -1,25 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0` 
-cd $DESTDIR 
- 
-./stop 
-sleep 1 
- 
-./start_eclccserver 1>/dev/null 2>/dev/null & 
-

+ 0 - 21
ecl/eclccserver/startup.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pstart run_eclccserver.bat
-exit 0

+ 0 - 29
ecl/eclccserver/stop

@@ -1,29 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export PATH=/mnt/usrbin:$PATH
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="eclccserver.sentinel"
-rm -f ${SENTINEL}
-
-killall $PWD/eclccserver
-sleep 3
-killall -9 $PWD/eclccserver
-
-exit 0

+ 0 - 23
ecl/eclccserver/stop.bat

@@ -1,23 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="eclccserver.sentinel"
-del %SENTINEL%
-pskill -c4 eclccserver
-exit 0

+ 0 - 23
ecl/eclscheduler/run

@@ -1,23 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
-export PATH=$PATH
-export LANG=en_US
-ulimit -c unlimited
-export SENTINEL="eclscheduler.sentinel"
-./eclscheduler

+ 0 - 26
ecl/eclscheduler/run_eclscheduler.bat

@@ -1,26 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-set SENTINEL="eclscheduler.sentinel"
-:start
-start /wait eclscheduler
-if exist %SENTINEL% (
-    sleep 5
-    goto start
-)
-
-exit 0

+ 0 - 31
ecl/eclscheduler/start_eclscheduler

@@ -1,31 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH 
-export PATH=.:$PATH 
-export LANG=en_US 
-ulimit -c unlimited 
-export SENTINEL="eclscheduler.sentinel"
-nohup $PWD/eclscheduler 1>/dev/null 2>/dev/null &
-echo $! > component.pid
-wait
-if [ -e ${SENTINEL} ]; then
-        sleep 5
-        if [ -e ${SENTINEL} ]; then
-                 ./startup
-         fi
-fi

+ 0 - 25
ecl/eclscheduler/startup

@@ -1,25 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0` 
-cd $DESTDIR 
- 
-./stop 
-sleep 1 
- 
-./start_eclscheduler 1>/dev/null 2>/dev/null & 
-

+ 0 - 21
ecl/eclscheduler/startup.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pstart run_eclscheduler.bat
-exit 0

+ 0 - 29
ecl/eclscheduler/stop

@@ -1,29 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-export PATH=/mnt/usrbin:$PATH
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-export SENTINEL="eclscheduler.sentinel"
-rm -f ${SENTINEL}
-
-killall $PWD/eclscheduler
-sleep 3
-killall -9 $PWD/eclscheduler
-
-exit 0

+ 0 - 23
ecl/eclscheduler/stop.bat

@@ -1,23 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="eclscheduler.sentinel"
-del %SENTINEL%
-pskill -c4 eclscheduler
-exit 0

+ 0 - 54
esp/platform/diagEspCore

@@ -1,54 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0`
-cd $DESTDIR
-
-build=`grep build esp.xml | sed "s/.* build=\"\([^\"]*\).*/\1/"`
-
-# core=`find . -newer esp.sentinel -name "core*" | head -n 1`
-core=`ls -lt core* | awk '{print $9}' | head -n 1`
-if [ "$core" == "" ]; then exit 0; fi
-
-echo Core file: $core
-echo ESP Build detected: $build
-
-coredt=`ls $core | awk '{printf("%s %s %s", $6, $7, $8); }'`
-
-
-bldserver=brpsnt082c.br.seisint.com
-echo Enter userid for the bldserver [$bldserver]
-read bldlogin
-echo Enter password for the bldserver
-stty -echo
-read bldpswd
-stty echo
-
-mkdir .debug 2> /dev/null
-smbclient //$bldserver/linuxbuilds2 $bldpswd -U br/$bldlogin -D $build/release/symbols -c 'prompt off; lcd .debug; mget *.sm'
-export LD_LIBRARY_PATH=.
-rm -f gdb.out
-echo CORE DUMP ANALYSIS: > gdb.out
-hostname > gdb.out
-echo $DESTDIR >> gdb.out
-echo $core >> gdb.out
-echo $build >> gdb.out
-echo where > gdbcmds
-#scp build_man@scdev02.br.seisint.com:/home/build_man/gdb6.8_64bit gdb
-gdb --batch --command=gdbcmds ./esp $core 2>&1 >> gdb.out
-rm gdbcmds
-cat gdb.out

+ 0 - 27
esp/platform/run

@@ -1,27 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-if [ -n "$1" ]; then
-    cd $1
-fi
-
-ulimit -c unlimited
-ulimit -n 8192
-
-export LANG=en_US
-export LD_LIBRARY_PATH=.:./dot:$LD_LIBRARY_PATH
-./esp

+ 0 - 27
esp/platform/run_esp.bat

@@ -1,27 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-title "ESP Monitor [%cd%]"
-set SENTINEL="esp.sentinel"
-:start
-start /wait "ESP [%cd%]" esp
-if exist %SENTINEL% (
-    goto start
-)
-
-exit 0

+ 0 - 37
esp/platform/start_esp

@@ -1,37 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-ulimit -c unlimited 
-ulimit -n 8192 
-export LD_LIBRARY_PATH=.:./dot:$LD_LIBRARY_PATH 
-export LANG=en_US 
-SNMPID=$$ 
-export SENTINEL="esp.sentinel"
-nohup $PWD/esp snmpid=$SNMPID 1>/dev/null 2>/dev/null & 
-echo $! > component.pid
-wait 
-while [ -e ${SENTINEL} ]; do
-    sleep 5
-    if [ -e ${SENTINEL} ]; then
-        ./stop
-        nohup $PWD/esp snmpid=$SNMPID 1>/dev/null 2>/dev/null &
-        echo $! > component.pid
-        wait
-    fi
-done
- 
-exit 0 

+ 0 - 29
esp/platform/startup

@@ -1,29 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-DESTDIR=`dirname $0` 
-if [ "$DESTDIR" == "." ]; then DESTDIR=`pwd`; fi 
-cd $DESTDIR 
-
-$DESTDIR/stop 
-sleep 1 
-
-#bash in the following line results in reporting its arguments in the process table 
-#instead of showing up as "-bash".  This is used in process monitoring. 
-
-bash $DESTDIR/start_esp 1>/dev/null 2>/dev/null & 
-

+ 0 - 21
esp/platform/startup.bat

@@ -1,21 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-pstart run_esp.bat
-exit 0

+ 0 - 30
esp/platform/stop

@@ -1,30 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-set PATH=/mnt/usrbin:$PATH 
-  
-DESTDIR=`dirname $0` 
-cd $DESTDIR 
-export SENTINEL="esp.sentinel"
-rm -f ${SENTINEL}
- 
-killall $PWD/esp 
-sleep 15 
-killall -9 $PWD/esp 
-  
-exit 0 
-

+ 0 - 23
esp/platform/stop.bat

@@ -1,23 +0,0 @@
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-set SENTINEL="esp.sentinel"
-del %SENTINEL%
-pskill -c4 esp
-exit 0

+ 0 - 3
install_directory/agentexec.install

@@ -18,6 +18,3 @@
 #agentexec.xsl 
 Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/initfiles/componentfiles/configxml/agentexec.xsl DESTINATION ${OSSDIR}/componentfiles/configxml
     PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
-### name=stop_agentexec
-Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/ecl/agentexec/stop_agentexec DESTINATION ${OSSDIR}/bin
-    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )

+ 0 - 22
install_directory/dafilesrv.install

@@ -1,22 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    This program is free software: you can redistribute it and/or All rights reserved. This program is NOT PRESENTLY free software: you can NOT redistribute
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-# dafilesrv Supplementals
-# SCHEMA: name=dafilesrv.xsd method=schema
-### name=check_one_dafilesrv
-Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/dali/dafilesrv/check_one_dafilesrv DESTINATION ${OSSDIR}/bin
-    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )

+ 0 - 3
install_directory/dali.install

@@ -20,6 +20,3 @@
 ### name=dali.xsl method=xslt destName=daliconf.xml
 Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/initfiles/componentfiles/configxml/dali.xsl DESTINATION ${OSSDIR}/componentfiles/configxml
     PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
-### name=secure_configenv
-Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/dali/server/secure_configenv DESTINATION ${OSSDIR}/bin
-    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )

+ 0 - 3
install_directory/eclagent.install

@@ -23,6 +23,3 @@ Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/initfiles/componentfiles/configxml/a
 ### name=start_eclagent
 Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/ecl/eclagent/start_eclagent DESTINATION ${OSSDIR}/bin
     PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
-### name=stop_eclagent
-Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/ecl/eclagent/stop_eclagent DESTINATION ${OSSDIR}/bin
-    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )

+ 0 - 3
install_directory/esp.install

@@ -20,9 +20,6 @@
 ### name=esp.xsl method=xslt destName=esp.xml
 Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/initfiles/componentfiles/configxml/esp.xsl DESTINATION ${OSSDIR}/componentfiles/configxml
     PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
-### name=diagEspCore
-Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/esp/platform/diagEspCore DESTINATION ${OSSDIR}/bin
-    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
 ### name=EspMethods.txt
 Install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/esp/tools/soapplus/EspMethods.txt DESTINATION ${OSSDIR}/componentfiles
     PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )

+ 0 - 35
roxie/ccd/start_one_roxie

@@ -1,35 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-cd `dirname $0`
-. ./roxievars
-
-export PATH=.:$roxiedir:$PATH
-export LD_LIBRARY_PATH=.:$roxiedir:$LD_LIBRARY_PATH
-
-logfile="`date +%m_%d_%Y_%H_%M_%S`"
-
-if [ -n "$2" ]; then
-    ip=$2
-else    
-    ip=.
-fi
-echo Starting Roxie node $ip
-./stop_one_roxie $ip
-frunssh $ip "/bin/sh -c '$roxiedir/startccd $roxiedir $logfile 1>/dev/null 2>/dev/null &'" -i:$SSHidentityfile -u:$SSHusername -pe:$SSHpassword -t:$SSHtimeout -a:$SSHretries 2>&1
-
-exit 0

+ 0 - 32
roxie/ccd/start_one_roxie.bat

@@ -1,32 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-call roxievars.bat
-call settime
-set logfile=%absdt%_%abstm%
-
-set ip=%2
-if '%ip%' == '' set ip=.
-
-cmd /c stop_one_roxie %ip%
-frunssh %ip% "start %roxiedir%\startccd %roxiedir% %logfile%"  -i:%SSHidentityfile% -u:%SSHusername% -t:%SSHtimeout% -a:%SSHretries% 
-
-exit 0
-

+ 0 - 26
roxie/ccd/start_roxie

@@ -1,26 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-. ./roxievars
-
-export PATH=.:$roxiedir:$PATH
-export LD_LIBRARY_PATH=.:$roxiedir:$LD_LIBRARY_PATH
-
-logfile="`date +%m_%d_%Y_%H_%M_%S`"
-frunssh slaves "/bin/sh -c '$roxiedir/startccd $roxiedir $logfile 1>/dev/null 2>/dev/null &'" -i:$SSHidentityfile -u:$SSHusername -pe:$SSHpassword -t:$SSHtimeout -a:$SSHretries 2>&1
-
-exit 0

+ 0 - 24
roxie/ccd/start_roxie.bat

@@ -1,24 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-call roxievars.bat
-call settime
-set logfile=%absdt%_%abstm%
-frunssh slaves "start %roxiedir%\startccd %roxiedir% %logfile%"   -i:%SSHidentityfile% -u:%SSHusername% -t:%SSHtimeout% -a:%SSHretries%
-exit 0

+ 0 - 60
roxie/ccd/startccd

@@ -1,60 +0,0 @@
-#!/bin/sh
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-
-if [ -n "$1" ]; then
-    cd $1
-fi
-
-. ./roxievars
-
-if [ -n "$2" ]; then
-    logfilename=$2
-else    
-    logfilename="`date +%m_%d_%Y_%H_%M_%S`"
-fi
-
-
-# save the current directory 
-currentdir=`pwd`
-
-export PATH=.:$roxiedir:$PATH
-export LD_LIBRARY_PATH=.:$roxiedir:$LD_LIBRARY_PATH
-export LIBC_FATAL_STDERR_=1
-export restarts=0
-export SENTINEL="${roxiedir}/roxie.sentinel"
-ulimit -c unlimited
-ulimit -n $NUM_ROXIE_HANDLES
-
-# start it the first time - roxie controls the creation of the roxie.sentinel file
-nohup $roxiedir/roxie topology=RoxieTopology.xml logfile=$logfilename restarts=$restarts stdlog=0 2>>$logfilename.stderr 1>>$logfilename.stdout &
-echo $! > component.pid 
-wait
-
-
-# Automatically restart roxie when it dies
-while [ -e ${SENTINEL} ]; do
-    export restarts=$(($restarts+1))
-    echo Restarting $restarts >> $logfilename.stderr
-    echo Restarting $restarts >> $logfilename.stdout
-    nohup $roxiedir/roxie topology=RoxieTopology.xml logfile=$logfilename restarts=$restarts stdlog=0 2>>$logfilename.stderr 1>>$logfilename.stdout &
-    echo $! > component.pid
-    wait
-done                
-
-

+ 0 - 45
roxie/ccd/startccd.bat

@@ -1,45 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-
-
-cd /d %1
-if errorlevel 1 goto end
-call roxievars.bat
-if errorlevel 1 goto end
-set /a restarts=0
-
-set logfilename=%2
-
-if '%logfilename%' == '' (
-   call settime
-   set logfilename=%absdt%_%abstm%
-)
-
-set SENTINEL="%roxiedir%\roxie.sentinel"
-
-:begin
-start roxie topology=%roxiedir%\RoxieTopology.xml logfile=%logfilename% restarts=%restarts%
-pwait roxie
-if errorlevel 1 goto end
-if not exist %SENTINEL% goto end
-set /a restarts=%restarts%+1
-goto begin
-:end
-exit 0

+ 0 - 24
roxie/ccd/startup

@@ -1,24 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-ulimit -c unlimited
-
-cd `dirname $0`
-
-./stop
-
-./start_roxie

+ 0 - 23
roxie/ccd/startup.bat

@@ -1,23 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-cmd /c stop
-pstart start_roxie.bat
-exit 0

+ 0 - 29
roxie/ccd/stop

@@ -1,29 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-cd `dirname $0`
-
-. ./roxievars
-
-export PATH=.:$roxiedir:$PATH
-export LD_LIBRARY_PATH=.:$roxiedir:$LD_LIBRARY_PATH
-
-
-echo --------------------------
-echo stopping roxie
-frunssh $roxiedir/slaves "$roxiedir/stopccd $roxiedir" -i:$SSHidentityfile -u:$SSHusername -pe:$SSHpassword -t:$SSHtimeout -a:$SSHretries 2>&1 | egrep -v "no process killed"
-sleep 10

+ 0 - 32
roxie/ccd/stop.bat

@@ -1,32 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-call roxievars.bat
-:1
-frunssh slaves "start %roxiedir%\stopccd %roxiedir%" -i:%SSHidentityfile% -u:%SSHusername% -t:%SSHtimeout% -a:%SSHretries%
-sleep 5
-for /f %%i in (slaves) do (
-  pslist \\%%i roxie | grep "Pid" > nul
-  if NOT ERRORLEVEL 1 (
-    echo "not all roxie processes are dead"
-    goto :1
-  )
-)
-exit 0

+ 0 - 34
roxie/ccd/stop_one_roxie

@@ -1,34 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-cd `dirname $0`
-if [ -n "$2" ]; then
-    ip=$2
-else    
-    ip=.
-fi
-echo Stopping Roxie node $ip
-. ./roxievars
-
-export PATH=.:$roxiedir:$PATH
-export LD_LIBRARY_PATH=.:$roxiedir:$LD_LIBRARY_PATH
-
-
-echo --------------------------
-echo stopping roxie $ip
-frunssh $ip "$roxiedir/stopccd $roxiedir" -i:$SSHidentityfile -u:$SSHusername -pe:$SSHpassword -t:$SSHtimeout -a:$SSHretries 2>&1
-sleep 10

+ 0 - 34
roxie/ccd/stop_one_roxie.bat

@@ -1,34 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-cd /d %1
-call roxievars.bat
-set ip=%2
-if '%ip%' == '' set ip=.
-:1
-frunssh %ip% "start %roxiedir%\stopccd %roxiedir%"   -i:%SSHidentityfile% -u:%SSHusername% -t:%SSHtimeout% -a:%SSHretries%
-sleep 5
-
-pslist \\%ip% roxie | grep "Pid" > nul
-if NOT ERRORLEVEL 1 (
-    echo "roxie process not dead"
-    goto :1
-)
-
-exit 0

+ 0 - 33
roxie/ccd/stopccd

@@ -1,33 +0,0 @@
-################################################################################
-#    Copyright (C) 2011 HPCC Systems.
-#
-#    All rights reserved. This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-################################################################################
-
-if [ -n "$1" ]; then
-    cd $1
-fi
-
-. ./roxievars
-
-export SENTINEL="${roxiedir}/roxie.sentinel"
-rm -f ${SENTINEL}
-
-echo stopping roxie
-killall roxie
-sleep 5
-killall -9 roxie
-
-
-

+ 0 - 28
roxie/ccd/stopccd.bat

@@ -1,28 +0,0 @@
-@echo off
-rem /*##############################################################################
-rem 
-rem     Copyright (C) 2011 HPCC Systems.
-rem 
-rem     All rights reserved. This program is free software: you can redistribute it and/or modify
-rem     it under the terms of the GNU Affero General Public License as
-rem     published by the Free Software Foundation, either version 3 of the
-rem     License, or (at your option) any later version.
-rem 
-rem     This program is distributed in the hope that it will be useful,
-rem     but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-rem     GNU Affero General Public License for more details.
-rem 
-rem     You should have received a copy of the GNU Affero General Public License
-rem     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-rem ############################################################################## */
-
-
-cd /d %1
-call roxievars.bat
-set SENTINEL="%roxiedir%\roxie.sentinel"
-if errorlevel 1 goto end
-del %SENTINEL%
-pskill -c30 roxie
-:end
-exit 0