<commit_before># mgmNode

Command and Control script used to allow mgm to start and stop processes on a separate host.  MgmNode is designed to work with and assist mgm by starting and stopping Opensimulator processes, as well as handle long-running tasks, such as oar and iar functionality.  MgmNode also captures Opensimulator logs and performance data, and pushes it into mgm.

## Ubuntu / Centos 6
Note that the version of python-requests on Ubuntu is outdated on Ubuntu 12.04, so you must either acquire the required package, or run on a newer version of Ubuntu.

On centos, all requisite packages at appropriate versions are present in EPEL

### Required Packages

python-cherrypy python-psutil python-requests

### Installation
MgmNode is a simple python application.  It requires an installed mgm instance be available on its network, with the ip address of the machine running mgmNode to be listed as a host by mgm.  MgmNode includes an example upstart script, as well as a py2exe script called freeze.py if running on Windows without an installed python runtime is necessary.

MgmNode is currently tested on python 2.7, and will run wherever that, and its required packages are available.  

1. Clone mgmNode into /opt
1. get Opensim 0.8.1 and unzip into /opt<commit_msg>removed specification for cherrypy, as we now use twisted.  In testing so far, twisted is in the standard library<commit_after># mgmNode

Command and Control script used to allow mgm to start and stop processes on a separate host.  MgmNode is designed to work with and assist mgm by starting and stopping Opensimulator processes, as well as handle long-running tasks, such as oar and iar functionality.  MgmNode also captures Opensimulator logs and performance data, and pushes it into mgm.

## Ubuntu / Centos 6
Note that the version of python-requests on Ubuntu is outdated on Ubuntu 12.04, so you must either acquire the required package, or run on a newer version of Ubuntu.

On centos, all requisite packages at appropriate versions are present in EPEL

### Required Packages

python-psutil python-requests

### Installation
MgmNode is a simple python application.  It requires an installed mgm instance be available on its network, with the ip address of the machine running mgmNode to be listed as a host by mgm.  MgmNode includes an example upstart script, as well as a py2exe script called freeze.py if running on Windows without an installed python runtime is necessary.

MgmNode is currently tested on python 2.7, and will run wherever that, and its required packages are available.  

1. Clone mgmNode into /opt
1. get Opensim 0.8.1 and unzip into /opt
{'fraction_non_alphanumeric': 0.03479576399394856, 'fraction_numerical': 0.009833585476550681, 'mean_word_length': 4.321931589537224, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6998953', 'n_tokens_mistral': 723, 'n_tokens_neox': 663, 'n_words': 414}