Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

sanjibdas's profile - activity

2016-09-24 03:27:46 -0700 received badge  Taxonomist
2015-12-15 00:51:43 -0700 answered a question defense4all

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)
2015-09-26 06:49:04 -0700 asked a question Failed to communicate between defense4all and ODL

Hi,

I tried to communicate ODL from defense4all, but somehow I do not see any indication/logs in ODL.. Few commands I executed from defense4all-cli (./controlapps <cmd>) & I do see some (error) logs in defense4all, but could not trigger any communication to ODL so far..</cmd>

If anyone has tried this, could you please share some pointer…

thanks, Sanjib

2015-09-25 22:44:41 -0700 commented answer Running karaf

yes this works...thanks...I will update the path here for Lithium "distribution-karaf-0.3.1-Lithium-SR1/etc", edit the file "org.apache.karaf.management.cfg". change 0.0.0.0 to 127.0.0.1 anr run karaf again (./bin/karaf)

2015-09-14 23:36:25 -0700 commented answer Defense4All Installation

could you kindly point me to the installation guide

2015-09-14 23:34:06 -0700 commented answer defense4all binary file is not found on the repository

This link has repository content for D4ALL, but I could not figure out any installation guide there.. Kindly point me to that (guide) link incase I am missed it..

2015-06-16 06:16:15 -0700 received badge  Famous Question (source)
2015-05-17 19:35:48 -0700 received badge  Notable Question (source)
2015-05-15 05:37:31 -0700 commented answer Unable to login Dlux web interface-Helium Release

I reinstalled my VM & then 0.2.0. It worked first time for me. I was very happy. But next time onwards I started seeing that original issue ""Problem accessing /dlux/index.html. Reason: Not Found" I am now pulling the controller code & compiling it locally. Once I succeed I will share all steps.

2015-05-15 05:29:56 -0700 received badge  Popular Question (source)
2015-05-13 02:13:54 -0700 received badge  Enthusiast
2015-05-11 11:46:51 -0700 received badge  Organizer (source)
2015-05-11 11:27:26 -0700 commented answer Unable to login Dlux web interface-Helium Release

I tried with release 0.2.0, it worked first time for me but next time onward its again showing same error HTTP ERROR:404 Problem accessing /dlux/index.html. Reason: not found

2015-05-11 11:15:54 -0700 asked a question DLUX Web UI not working

Hi experts,

I downloaded karaf release 0.2.0 & installed these features (odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core). DLUX web UI worked first time for me, but second time when I tried I do see this issue

HTTP ERROR:404 Problem accessing /dlux/index.html. Reason: not found

I checked those installed features & they are very much present. But I saw lot of error/exception logs right after 'feature:list | grep <feature_name>'</feature_name>

opendaylight-user@root>http:list | grep dlux

gives nothing for me.

I checked other questions threads, but as such I could not figure out any solution for this.. Kindly help me in resolving this..

thanks in advance

Sanjib

2015-05-11 11:09:22 -0700 received badge  Editor (source)
2015-05-11 10:43:45 -0700 answered a question HTTP ERROR 404 : when restart the karaf

Hi Chris, I tried this time with release 0.2.0 & it worked first time. I installed these features (odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core), but second time when I tried I do see this issue again

HTTP ERROR:404 Problem accessing /dlux/index.html. Reason: not found

I checked those installed features & they are very much present. But I saw lot of error/exception logs right after 'feature:list | grep <feature_name>'</feature_name>

opendaylight-user@root>http:list | grep dlux

gives nothing for me.

thanks in advance

Sanjib

2015-05-09 23:25:18 -0700 commented answer Unable to login Dlux web interface-Helium Release

I think there is some issue issue with release 0.2.3. I tried with 0.2.0 release & atleast I am able to see that 'Sign in' page...however, I am seeing "Unable to login" error

2015-05-09 22:06:54 -0700 commented answer Unable to login Dlux web interface-Helium Release

Thanks for your comments...well, even after installing odl-restconf-all & odl-dlux-all, I am still not able to get the web access.

2015-05-08 11:27:24 -0700 answered a question Unable to login Dlux web interface-Helium Release

Hi All,

I have downloaded distribution-karaf-0.2.3-Helium-SR3 & installed following features in this order

(a) feature:install odl-mdsal-clustering (as per installation guide)

(b) feature:install odl-restconf odl-l2switch-switch-ui odl-openflowplugin-flow-services-ui

But I am not able to access DLUX web interface.. I tried both

(a) http://localhost:8181/dlux/index.html

(b) http://192.168.56.1:8181/index.html (as suggested above)

Is there any issue with this release 0.2.3?

thanks, Sanjib

2015-05-08 05:47:39 -0700 commented answer HTTP ERROR 404 : when restart the karaf

with feature:list I can see odl-dlux-core is installed...but http:list doesn't show anything for me

2015-05-08 05:39:40 -0700 commented answer HTTP ERROR 404 : when restart the karaf

@Chris, I am new to this ODL...I have downloaded distribution-karaf-0.2.3-Helium-SR3 & have installed these features odl-bgpcep-all, odl-mdsal-clustering, odl-restconf, odl-l2switch-switch-ui, odl-openflowplugin-flow-services-ui. I am also seeing the same issue "Problem accessing /dlux/index.html. Reason: Not Found". with http://localhost:8181/dlux/index.html I checked the file etc/org.apache.karaf.features.cfg & this is what I see featuresBoot=config,standard,region,package,kar,ssh,management Kindly help me in resolving this. thanks, Sanjib