← Back to team overview

opensand team mailing list archive

OpanSAND test bed - compilation with packages

 

Hi Dider,



I have some good news :) My first full test scenario based on 3 virtual
machines is finally working (check attached files - I have found some small
bug as well)! Many thanks to you for constantly updated "installation
manual". It helped a lot. Of course in order to achieve this task I had to
fix some software and hardware issues (mainly concerns Oracle Virtual Box
which I describe latter) and lack of RAM in my lab equipment (2 GB is not
enough for basic virtual test infrastructure - SAT, ST, GW; I recommend >=
3GB of RAM). I still have some issues with source compilation but I'll
describe it after my experience with packages.



1. Basic testing for package compilation


Before I describe issues associated with my OpenSAND latest installation I
need to catch up with some other topics. According to my previous email -
with attached photo of working manager  - to perform my first successful
compilation I use only packages. I create a single virtual machine (Oracle
Virtual Box) on a fresh hardware ("Main VM" on a desktop with Intel Pentium
Dual CPU 1,81 GHz platform with 2GB of RAM) based on ubuntu 10.04 LTS as a
guest and Windows XP as a host system. That was successful test with one
daemon (SAT) and sand manager (check OpenSAND - first sucess.jpg and log
file).



I've conducted similar test scenario on my DELL laptop (Intel Core Duo 1,87
GHz with 2GB of RAM) with the same software configuration but I still have
Python related problems which I describe in previous post. In reply to your
suggestion I've send results of tests which you’ve asked me to do. I think
I mass up to much with that ubuntu VM :) I based this opinion on a fact
that I perform several test with packages compilation (based on updated
manual) and I couldn't reproduce that errors on the other hardware. I've
put the result of that try-out as a reply to your suggestions from one of
previous posts -> Python issue during Open Sand platform installation
(3.09). The same post covers issue related to "missing pid" which can be
found in attached log file - first section.



2. Extended testing for package compilation



Because of that small success (first successful compilation with SAT daemon
and sand manager from last week) I was full of hopes for a first full
network test. Unfortunately it wasn't as easy as I expected. I had quite a
lot of problems with 3 VM's working together under Virtual Box ("Main VM"
and two clones of that virtual machine on a desktop with Intel Pentium Dual
CPU 1,81 GHz platform with 4GB of RAM). Finally I have manage to create
full test scenario infrastructure on my "strongest" hardware
configuration (check
OpenSAND - sucess 3.jpg). At the moment I have two basic test platforms and
I'm working on Virtual Box configuration (and in a free time I'm testing VM
Ware team configuration). Test bed configuration has one computer with
enough resources to handle at least 3 virtual machines and host system -
Windows XP.


Some issues with Virtual Box are described in separate post -> Test
infrastructure for OpenSAND - Issues with Oracle Virtual Box


3. New hardware arrived



Since Monday (27.08) I have two additional machines with AMD Athlon X2
processors (64 bits) with 4GB of RAM each. At the moment I'm using Windows
XP 32 bit as a host system just to have some simple and reliable host. I
have install 3 independent VM's just to have something independent and just
in case is not replicating any issues which might show up in "Main VM".
Above that because of this new hardware I'm able to do some tests with
64-bits operating systems - possible VM's with windows 7 or WInXP 64-bit
edition hosts or some 64 bit linux editions. I'm open for suggestions :) At
the moment I'm using as simple configuration as possible - My main goal is
to reach a point where source code is compiling as easy as packages.

4. Operational issue with OpenSAND manager

Through attached log file one can have an impression how this test
infrastructure works now. In the section generated through manager you can
find an information that manager has detected duplicated devices. In this
case manager is working on the same VM as gateway daemon. This scenario was
generated on single VM without presence of the other elements of test
infrastructure.

powerxp@powerxp-desktop:~/opensand-0.9.0-deb$ sand-manager
2012-08-31 11:32:37,446 - sand-manager - INFO - Welcome to OpenSAND Manager
!
2012-08-31 11:32:37,446 - sand-manager - INFO - Initializing platform,
please wait...
2012-08-31 11:32:37,791 - sand-manager - INFO - Find gw at address 10.0.4.15
2012-08-31 11:32:37,842 - sand-manager - INFO - Find gw at address
192.168.19.2
2012-08-31 11:32:37,843 - sand-manager - WARNING - gw : duplicated service
received at address 192.168.19.2
2012-08-31 11:32:37,844 - sand-manager - INFO - Find gw at address
192.168.18.3
2012-08-31 11:32:37,874 - sand-manager - WARNING - gw : duplicated service
received at address 192.168.18.3

That would be all topics which I wish to report in this post.

I'm looking forward for your feedback.

Greetings,

Andy
---- First compilation on a fresh system ----

powerxp@powerxp-desktop:~/opensand-0.9.0-deb$ sudo LANG=C LC_ALL=C dpkg -i libopensand-env-plane_0.9.0_i386.deb                libopensand-conf_0.9.0_i386.deb                libopensand-encap-plugin_0.9.0_i386.deb                opensand-core-bin_0.9.0_i386.deb                libopensand-margouilla_0.9.0_i386.deb                opensand-daemon_0.9.0_i386.deb
[sudo] password for powerxp: 
(Reading database ... 172915 files and directories currently installed.)
Preparing to replace libopensand-env-plane 0.9.0 (using libopensand-env-plane_0.9.0_i386.deb) ...
Unpacking replacement libopensand-env-plane ...
Preparing to replace libopensand-conf 0.9.0 (using libopensand-conf_0.9.0_i386.deb) ...
Unpacking replacement libopensand-conf ...
Preparing to replace libopensand-encap-plugin 0.9.0 (using libopensand-encap-plugin_0.9.0_i386.deb) ...
Unpacking replacement libopensand-encap-plugin ...
Preparing to replace opensand-core-bin 0.9.0 (using opensand-core-bin_0.9.0_i386.deb) ...
Unpacking replacement opensand-core-bin ...
Preparing to replace libopensand-margouilla 0.9.0 (using libopensand-margouilla_0.9.0_i386.deb) ...
Unpacking replacement libopensand-margouilla ...
Preparing to replace opensand-daemon 0.9.0 (using opensand-daemon_0.9.0_i386.deb) ...
 * Shutting down the OpenSAND Daemon sand-daemon                                                               * /var/run/sand-daemon/pid does not exist
                                                                                                       [fail]
invoke-rc.d: initscript opensand-daemon, action "stop" failed.
 * Removing configuration for the OpenSAND network                                                            # Configure OpenSAND network for ST
# Reset OpenSAND TUN0 interface configuration
/sbin/ip route flush dev opensand
/sbin/ip -6 route flush dev opensand
/sbin/ifconfig opensand 0 down
/bin/rm -f /etc/dnsmasq.d/lan_st.conf
                                                                                                       [ OK ]
Unpacking replacement opensand-daemon ...
Setting up libopensand-env-plane (0.9.0) ...

Setting up libopensand-conf (0.9.0) ...

Setting up libopensand-margouilla (0.9.0) ...

Setting up libopensand-encap-plugin (0.9.0) ...

Setting up opensand-core-bin (0.9.0) ...
rsyslog start/running, process 1800

Setting up opensand-daemon (0.9.0) ...
rsyslog start/running, process 1824
 * Configuring the OpenSAND network                                                                    [ OK ] 
 * Starting the OpenSAND Daemon sand-daemon                                                            [ OK ] 

Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

---- Reconfigure opesand daemon ----

powerxp@powerxp-desktop:~/opensand-0.9.0-deb$ sudo dpkg-reconfigure opensand-daemon
 * Shutting down the OpenSAND Daemon sand-daemon                                                              Closing connections
Please wait...
                                                                                                       [ OK ]
 * Removing configuration for the OpenSAND network                                                            # Configure OpenSAND network for ST
# Reset OpenSAND TUN0 interface configuration
/sbin/ip route flush dev opensand
/sbin/ip -6 route flush dev opensand
/sbin/ifconfig opensand 0 down
/bin/rm -f /etc/dnsmasq.d/lan_st.conf
                                                                                                       [ OK ]
rsyslog start/running, process 2063
 * Configuring the OpenSAND network                                                                    [ OK ] 
 * Starting the OpenSAND Daemon sand-daemon                                                            [ OK ] 
powerxp@powerxp-desktop:~/opensand-0.9.0-deb$  sudo service opensand-daemon restart
 * Shutting down the OpenSAND Daemon sand-daemon                                                              Closing connections
Please wait...
                                                                                                       [ OK ]
 * Starting the OpenSAND Daemon sand-daemon                                                            [ OK ] 

 ---- Second compilation on a fresh system ----
 
powerxp@powerxp-desktop:~/opensand-0.9.0-deb$ sudo LANG=C LC_ALL=C dpkg -i libopensand-env-plane_0.9.0_i386.deb                libopensand-conf_0.9.0_i386.deb                libopensand-encap-plugin_0.9.0_i386.deb                opensand-core-bin_0.9.0_i386.deb                libopensand-margouilla_0.9.0_i386.deb                opensand-daemon_0.9.0_i386.deb
(Reading database ... 172915 files and directories currently installed.)
Preparing to replace libopensand-env-plane 0.9.0 (using libopensand-env-plane_0.9.0_i386.deb) ...
Unpacking replacement libopensand-env-plane ...
Preparing to replace libopensand-conf 0.9.0 (using libopensand-conf_0.9.0_i386.deb) ...
Unpacking replacement libopensand-conf ...
Preparing to replace libopensand-encap-plugin 0.9.0 (using libopensand-encap-plugin_0.9.0_i386.deb) ...
Unpacking replacement libopensand-encap-plugin ...
Preparing to replace opensand-core-bin 0.9.0 (using opensand-core-bin_0.9.0_i386.deb) ...
Unpacking replacement opensand-core-bin ...
Preparing to replace libopensand-margouilla 0.9.0 (using libopensand-margouilla_0.9.0_i386.deb) ...
Unpacking replacement libopensand-margouilla ...
Preparing to replace opensand-daemon 0.9.0 (using opensand-daemon_0.9.0_i386.deb) ...
 * Shutting down the OpenSAND Daemon sand-daemon                                                              Closing connections
Please wait...
                                                                                                       [ OK ]
 * Removing configuration for the OpenSAND network                                                            # Configure OpenSAND network for ST
# Reset OpenSAND TUN0 interface configuration
/sbin/ip route flush dev opensand
/sbin/ip -6 route flush dev opensand
/sbin/ifconfig opensand 0 down
/bin/rm -f /etc/dnsmasq.d/lan_st.conf
                                                                                                       [ OK ]
Unpacking replacement opensand-daemon ...
Setting up libopensand-env-plane (0.9.0) ...

Setting up libopensand-conf (0.9.0) ...

Setting up libopensand-margouilla (0.9.0) ...

Setting up libopensand-encap-plugin (0.9.0) ...

Setting up opensand-core-bin (0.9.0) ...
rsyslog start/running, process 2427

Setting up opensand-daemon (0.9.0) ...
rsyslog start/running, process 2451
 * Configuring the OpenSAND network                                                                    [ OK ] 
 * Starting the OpenSAND Daemon sand-daemon                                                            [ OK ] 

Processing triggers for ureadahead ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

---- Turn on sand manager ----

powerxp@powerxp-desktop:~/opensand-0.9.0-deb$ sand-manager
2012-08-31 11:32:37,446 - sand-manager - INFO - Welcome to OpenSAND Manager !
2012-08-31 11:32:37,446 - sand-manager - INFO - Initializing platform, please wait...
2012-08-31 11:32:37,791 - sand-manager - INFO - Find gw at address 10.0.4.15
2012-08-31 11:32:37,842 - sand-manager - INFO - Find gw at address 192.168.19.2
2012-08-31 11:32:37,843 - sand-manager - WARNING - gw : duplicated service received at address 192.168.19.2
2012-08-31 11:32:37,844 - sand-manager - INFO - Find gw at address 192.168.18.3
2012-08-31 11:32:37,874 - sand-manager - WARNING - gw : duplicated service received at address 192.168.18.3
2012-08-31 11:32:47,540 - sand-manager - WARNING - the mandatory components were not found on the system, the platform won't be able to start
2012-08-31 11:32:47,542 - sand-manager - INFO - you will need at least a satellite, a gateway, a ST and the environment plane: please deploy the missing component(s), they will be automatically detected
2012-08-31 11:35:09,357 - sand-manager - INFO - Close application
2012-08-31 11:35:09,358 - sand-manager - INFO - Please wait...
powerxp@powerxp-desktop:~/opensand-0.9.0-deb$ 

Attachment: OpenSAND - first sucess.jpg
Description: JPEG image

Attachment: OpenSAND-sucess 3.jpg
Description: JPEG image


Follow ups