Start DataTurbine Server On-Boot

Auto Start Server:

When you get the server configured to your specification, the next step is to get it to boot automatically with your system.

  • Windows:
    1. Download startRBNB.bat
    2. In a text editor (like notepad) edit the file and examine the last two lines:
      cd “C:\RBNB”
      java -jar -Xms128m -Xmx1024m rbnb.jar -F -n “CentralServer” -H “Archive”
      1. Set the correct path to directory containing rbnb.jar (argument to cd)
      2. Specify the initial memory allocated (-Xms parameter)
      3. Specify the total memory allowed (-Xmx parameter)
      4. Specify the name of the server (-n parameter)
      5. Specify the archive folder (-H parameter)
    3. Add a shortcut to the batch file to the start menu under the ‘Startup’ folder.
  • Linux (Common Distributions):
    1. Download rbnb.txt
    2. Rename it to rbnb
    3. Edit the script and examine the line:
      java -Xms128m -Xmx1024m -jar /usr/local/RBNB/rbnb.jar -F -n “CentralServer” -H /usr/local/RBNB/Archive &
      1. Set the correct path to rbnb.jar
      2. Specify the initial memory allocated (-Xms parameter)
      3. Specify the total memory allowed (-Xmx parameter)
      4. Specify the name of the server (-n parameter)
      5. Specify the archive folder, create this folder if necessary (-H parameter)
    4. Change the script to be executable, run
      chmod +x rbnb
    5. Copy the the script to /etc/init.d
      sudo cp rbnb /etc/init.d
    6. Create links to the script for appropriate run levels
      sudo update.rc.d rbnb defaults
    7. Verify the configuration by starting the rbnb service
    8. DataTurbine should now start as a background service upon boot
  • Mac:
    1. Start Automator.app
    2. Select Application
    3. Click Show library in the toolbar (if hidden)
    4. Add Run shell script (from the Actions/Utilities)
    5. Copy the following into the window
      #!/bin/bash
      java -Xms128m -Xmx1024m -jar /usr/local/RBNB/rbnb.jar -F -n “CentralServer” -H /usr/local/RBNB/Archive
      1. Set the correct path to rbnb.jar
      2. Specify the initial memory allocated (-Xms parameter)
      3. Specify the total memory allowed (-Xmx parameter)
      4. Specify the name of the server (-n parameter)
      5. Specify the archive folder, create this folder if necessary (-H parameter)
    6. Test it
    7. Save into appropriate application
    8. Go to System Preferences -> Accounts -> Login items
    9. Add the saved app
Open Source DataTurbine Initiative © 2017 Frontier Theme