Ask Your Question
0

defense4all

asked 2015-08-22 04:52:50 -0700

mavrosiakovos gravatar image

Build failure in webgui pom.xml defense4all with maven 3.3.3 any solutions?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-15 00:51:43 -0700

sanjibdas gravatar image

updated 2015-12-15 02:49:05 -0700

I would like to share some useful working links/pointers for defese4all application. Hope it helps other..

OpenDaylight Working/Useful Packages/Links (Lithium)

(A) Karaf Packages Installed (in this order):

 feature:install odl-restconf-all

 feature:install odl-mdsal-all odl-dlux-all odl-netconf-connector-all

 config file "system/org/opendaylight/controller/netconf-connector-config/0.3.1-Lithium-SR1/netconf-connector-config-0.3.1-Lithium-SR1-config.xml" uploaded here.

 Note: in earlier ODL versions the config file name was "99-netconf-connector.xml" (etc/opendaylight/karaf)

(B) Verify ODL connectivity with open switch

http://<ip/localhost>:8080/index.html#/yangui/index

http://<ip/localhost>:8080/apidoc/explorer/index.html#

(C) Links for ODL controller:

Note: Use the 1st link for download & from 2nd link (till 'bashrc' update) you can install dependent packages.

3rd link will tell you how to start the controller & which all packages are required. For packages check (A). Other links are for more of INFO purpose.

  1. https://www.opendaylight.org/downloads
  2. https://wiki.opendaylight.org/view/In...OnUbuntu_14.04
  3. https://wiki.opendaylight.org/view/Op...DLUX:DLUXKarafFeature#InstallingKaraf_Features
  4. http://go.linuxfoundation.org/l/6342/...userguide_20150629.pdf
  5. https://www.opendaylight.org/installi...
  6. https://wiki.opendaylight.org/view/Co...CoreFunctionalityTutorials:Tutorials:NetconfMount

    cat ~/.bashrc

    export M2HOME=/usr/local/apache-maven/apache-maven-3.3.3 export MAVENOPTS="-Xms256m -Xmx512m" export JAVA_HOME=/usr/lib/jvm/java-8-oracle export PATH=$PATH:/usr/share

(D) Links/Steps for Defense4all:

https://wiki.opendaylight.org/view/De...Guide#InstallationonDebianor_Ubuntu

  1. apt-get install libjna-java
  2. Install oracle-java 8: http://www.webupd8.org/2012/09/instal... , http://www.webupd8.org/2014/03/how-to...
  3. echo "deb http://debian.datastax.com/communitys... main" | sudo tee - a /etc/apt/sources.list.d/cassandra.sources.list
  4. apt-get install curl
  5. curl -L http://debian.datastax.com/debian/rep... | sudo apt-key add -
  6. apt-get update (might require multiple execution)
  7. apt-get install cassandra=2.2.1
  8. apt-get install dsc22 http://comments.gmane.org/gmane.comp....

      http://grokbase.com/t/cassandra/user/143a010m3t/cassandra-dsc-2-0-5-not-starting-could-not-access-pidfile-for-cassandra
    

Download D4ALL & D4ALL-CLI debian packages https://nexus.opendaylight.org/conten...

Before we start installing defense4all & defense4all-cli we have to make sure this

/etc/init.d/rsyslog start & then /etc/init.d/rsyslog status doesn't show it is running, change the script /etc/init.d/rsyslog

      #! /bin/sh
      if [ "$1" = "status" ]
      then
           service rsyslog status
      elif [ "$1" = "start" ]
      then
           service rsyslog start
      elif [ "$1" = "stop" ]
      then
           service rsyslog stop
      else
           echo "unknown action asked for"
      fi

dpkg -i df.aggregate-1.0.17-Helium-SR3-defense4all.deb dpkg -i df.aggregate-1.0.17-Helium-SR3-defense4all-cli.deb Edit /etc/cassandra/cassandra.yaml (check this working config file here)
http://comments.gmane.org/gmane.comp....

        http://grokbase.com/t/cassandra/user/143a010m3t/cassandra-dsc-2-0-5-not-starting-could-not-access-pidfile-for-cassandra

        http://foorious.com/devops/cassandra-cluster-trusty-install/  (** very useful link)

run cassandra (I could run is successfully as a foreground process only) cassandra -f -p /var/run/cassandra/cassandra.pid

        Note: Incase cassandra.pid file is not there, create one (touch cassandra.pid)

I installed these packages (they may not be required, but good to have them) apt-get install npm

       npm install bower -g

       ln -s /usr/bin ...
(more)
edit flag offensive delete publish link more
Login/Signup to Answer

Stats

Asked: 2015-08-22 04:52:50 -0700

Seen: 126 times

Last updated: Dec 15 '15