https://github.com/ow2-proactive/agent-linux
Linux Agent for ProActive Workflows & Scheduling
https://github.com/ow2-proactive/agent-linux
Last synced: 6 months ago
JSON representation
Linux Agent for ProActive Workflows & Scheduling
- Host: GitHub
- URL: https://github.com/ow2-proactive/agent-linux
- Owner: ow2-proactive
- License: agpl-3.0
- Created: 2015-05-16T13:38:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T10:11:25.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T06:41:29.663Z (9 months ago)
- Language: Python
- Homepage: http://proactive.activeeon.com/
- Size: 27.9 MB
- Stars: 0
- Watchers: 18
- Forks: 8
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
ProActive Agent is a system daemon to automatically starts ProActive runtimes according to a weekly schedule
# Testing
You can test parsing all configuration files by simply running:
```bash
./run-tests.sh
```
A blackbox test is also available, first build the blackbox test from the agent-linux root.
```bash
PYTHONPATH=. python palinagent/daemon/tests/blackbox/build_jar.py
```
For running the blackbox test use:
```bash
PYTHONPATH=. python palinagent/daemon/tests/blackbox/testblackbox.py
```
# Changing schema
Schema is hardcoded in several part, including the tests.
First create your new schema on a separate folder, for instance:
```bash
cp -fr palinagent/daemon/xsd/1.0 palinagent/daemon/xsd/1.1
```
Then replace the version on the new schema. After you can update all configuration files and also update the
hardcoded files.
```bash
palinagent/daemon/main.py
palinagent/daemon/tests/helpers.py
palinagent/daemon/tests/testXMLConfig.py
```
# Building locally
The `deb` and `rpm` packages can be built locally following these steps:
1. Install `ruby-dev` for Debian distributions or `ruby-devel` for Redhat distributions.
```bash
sudo apt install ruby-dev
```
or
```bash
sudo yum install ruby-devel
```
2. Create a new directory `node` and place the archives of `activeeon_enterprise-node-linux-i586-X` and `activeeon_enterprise-node-linux-x64-X` in it.
3. Finally execute the `run-build.sh` as root.
```bash
sudo ./run-build.sh
```
Once finished you can find the packages in `build/distributions`
---
Copyright (C) 2007-2016 ActiveEon
Visit http://proactive.inria.fr/ and http://www.activeeon.com/
Contact: +33 (0)9 88 777 660, contact@activeeon.com