public
Description: A platform for easily developing multithreaded/replicated servers
Homepage: http://www.openserverplatform.com
Clone URL: git://github.com/ranok/open-server-platform.git
Click here to lend your support to: open-server-platform and make a donation at www.pledgie.com !
name age message
file AUTHORS Mon Nov 02 07:49:24 -0800 2009 Added Ryan to the author's list [ranok]
file COPYING Tue May 12 19:01:12 -0700 2009 Updated the date on the license [ranok]
directory ERLFS/ Tue Apr 07 19:20:32 -0700 2009 Initial commit of SVN r96 [ranok]
file README Sun Nov 01 08:53:26 -0800 2009 Merged README and OSP-ADMIN [ranok]
directory apps/ Wed Oct 28 08:42:13 -0700 2009 Updated documentation and add the apps directory [ranok]
directory bin/ Sat Nov 07 06:03:22 -0800 2009 Added the start of start/stop application funct... [ranok]
file compile_servlet.pl Thu Oct 29 15:57:24 -0700 2009 Added support for .sap servlet packages in comp... [ranok]
directory doc/ Sat Nov 07 09:27:39 -0800 2009 Started the introduction to OSP in the manual. ... [ranok]
directory ebin/ Thu Nov 05 09:35:24 -0800 2009 Refactored osp_admin into osp_admin and osp_man... [ranok]
file gen-join.pl Wed Apr 15 16:01:21 -0700 2009 Added a file IO library and included it into th... [ranok]
file header.erl Fri May 08 07:11:50 -0700 2009 Added a HiPE make option for production servers [ranok]
directory include/ Thu Nov 05 09:35:24 -0800 2009 Refactored osp_admin into osp_admin and osp_man... [ranok]
file join.sh.sample Tue May 05 13:52:43 -0700 2009 Merge branch 'otp' Conflicts: Makefile OSP-... [ranok]
directory log/ Tue May 05 13:39:54 -0700 2009 Added a git ignore to force the log dir [ranok]
file osp-servlet.dtd Tue Apr 07 19:20:32 -0700 2009 Initial commit of SVN r96 [ranok]
directory servlets/ Fri Oct 30 14:24:16 -0700 2009 Added a test SAP servlet package to the servlet... [ranok]
file setup-osp.sh Tue May 05 14:01:57 -0700 2009 Added a default mnesia dir so it wouldn't use /... [ranok]
directory src/ Sun Nov 08 15:52:02 -0800 2009 Fixed a bug in the sctp receive implementation [ranok]
file start-osp.sh Tue May 05 14:01:57 -0700 2009 Added a default mnesia dir so it wouldn't use /... [ranok]
directory www/ Sun Nov 01 08:42:32 -0800 2009 Reworded deelte -> stop [ranok]
README
Open Server Platform
Version 0.4
11/1/09
Coyright (C) 2009 Jacob Torrey

Open Server Platform (OSP) is an open source (MIT License) project to make it easier to create secure, 
multi-threaded servers that can be distributed (onto the cloud even). You can find more information 
about OSP at http://www.openserverplatform.com. The main repository is on Google Code, but since SVN
is such a nightmare to use, the bleeding edge code will be kept here, and push to Google every time 
something big happens.
      
Introduction
  Welcome to OSP! Hopefully you'll find it as exciting as we do! Let's 
get started then, shall we?

Requirements
  Before you can get started, you'll need a few dependancies installed:
         -> erlang (HiPE or regular (HiPE reccomended)
         -> The XML::Simple perl module
         -> Netcat

Starting OSP
  Once you have the OSP environment downloaded, edit the include/osp.conf and run:
       ./bin/osp_ctl start
                 
  This will start an OSP instance on the local machine prepared to server
code to remote nodes and running the Mnesia shared state database. It will
also start the administrator console listening on port 9876. Once this script 
is complete, telnet to 127.0.0.1 on port 9876. You are now in the admin 
console for OSP, from whence you can see stats about the current system, add
other nodes to the OSP cluster, and manage running applications.
      In addition to the telnet interface, there is a CLI script in ./bin that
provides a more scriptable interface to the OSP cluster.
      As of version 0.4, there is also a web management console which can be
found at http://localhost:9877 that provides a more user friendly management
interface.

Adding other nodes
  To add other diskless nodes (nodes without a copy of OSP, just copy 
join.sh to each machine and edit it to reflect your setup. Before running the 
join script, type 'add-diskless-ip <ip of joining machine>' on the OSP admin 
console. Now you can run the join script and on the OSP admin console, when 
you run 'stats', you should see your new node. 
  To add nodes that have a local copy of OSP, just edit the join script 
to point to the other nodes and run it. It will automatically detect if there 
is a local copy of OSP and use that one.

Starting applications
  To start applications, connect to the admin console and type 'start
<app name> <port #> <node name>'. If you want to run an application on the 
master server, start it on that one first. If you are starting an application 
on remote machine, you must ensure that it resides on that machine, or if it is
a diskless node, that the compiled application is on the master code server.