Version 15 (modified by 14 years ago) (diff) | ,
---|
The Sensei Virtual Machine
The Sensei Virtual Machine is a host that provides all basic functionalities of the Sensei Framework. The VM comes in two flavors: Xen VM and VMWare VM. There is a production virtual machine used for "live" tests and there is a downloadable, portable version of the same machine.
Production VM
- sensei-dev1.grid.pub.ro
141.85.224.221 IPV4, 2001:5c0:1502:5300:216:3eff:fe5a:a494 IPV6 - Public RD (/rpi, /rli, /rd)
http://sensei-dev1.grid.pub.ro:8183 - Public SQR
http://sensei-dev1.grid.pub.ro:8186 - Public REP (/rep)
http://sensei-dev1.grid.pub.ro:8184
Demo VM
- sensei-demo.grid.pub.ro
141.85.241.231 IPV4 - Do not use this for public tests
Environment Setup
This is the list of the main components and its configuration
Resource Directory
Install Directory: /opt/sensei/RDv2
Requires: mysql daemon started, database sensei_rd2
Database configuration file: /opt/sensei/RDv2/build/database/ConnectionPool.properties
HowTo Run:
- you can use the service startup script like this:
[root@sensei-dev1 RDv2]# pwd /opt/sensei/RDv2 [root@sensei-dev1 RDv2]# ./sensei-rd-2.sh start [root@sensei-dev1 RDv2]#
- or you can startup manually like
nohup java -Xms32m -Xmx384m -classpath .:build:lib/commons-cli-1.2.jar:lib/com.springsource.org.apache.commons.logging-1.1.1.jar:lib/com.springsource.slf4j.api-1.5.10.jar:lib/com.springsource.slf4j.jcl-1.5.10.jar:lib/mysql-connector-java-5.1.7-bin.jar:lib/org.restlet.jar:lib/SenseiFederationBroker-api-1.0-SNAPSHOT.jar:lib/slf4j-api-1.5.10.jar:lib/standalone-1.2.0-SNAPSHOT-jar-with-dependencies.jar restlet_server.RESTLET_Server -peered pub.ro tid.es thalesresearch.com unimelb.edu.au sensinode.com oulu.fi ericsson nlehd.de -host 141.85.224.221 &
- you should be carefull, this is a peered RD, so you have to add all peered domains to the list
-peered pub.ro tid.es thalesresearch.com unimelb.edu.au sensinode.com oulu.fi ericsson nlehd.de
- Check the service:
[root@sensei-dev1 RDv2]# netstat -anp | grep :8184 tcp 0 0 :::8184 :::* LISTEN 29572/java
Advanced Resource Description Repository
Install Directory: /opt/sensei/RESTArdRepov2
Requires: sedna database arddb started
Database configuration file: -
HowTo Run:
[root@sensei-dev1 RESTArdRepov2]# cd /opt/sedna/bin/ [root@sensei-dev1 bin]# ./se_gov GOVERNOR has been started in the background mode [root@sensei-dev1 bin]# ./se_sm arddb Starting database recovery or hot-backup restoration... Database recovery in progress... SM has been started in the background mode [root@sensei-dev1 bin]# cd /opt/sensei/RESTArdRepov2 [root@sensei-dev1 RESTArdRepov2]# nohup ant runARDRepoServer &
- Check the service:
[root@sensei-dev1 RESTArdRepov2]# netstat -anp | grep :8185 tcp 0 0 :::8185 :::* LISTEN 29971/java
Networking Setup