OpenDaylight Helium (Helium) version installation
The Helium (Helium) version of OpenDaylight (ODL) has been released. For details, refer to the ODL official website. Only one version of Helium (Helium) is released. The download link is http://www.opendaylight.org/software/downloads/helium. The official website shares the version, Installation Wizard, User Wizard, and developer wizard manuals for download and learning.
1. Install Helium
The Helium (Helium) version introduced in this article is installed based on Ubuntu12.04. The ODL source file version is completely portable, but it must be compatible with JVM above Java. If Oracle is used, the JDK version is 1.7.0 _ 45 or later.
Decompress the obtained installation package and enter the decompressed directory:
# unzip distribution-karaf-0.2.0-Helium.zip
# cd distribution-karaf-0.2.0-Helium/# cd bin# ./karaf
After verification, when the./karaf command is executed, a thread exception occurs and No route to host error occurs. The solution is to go to the parent directory to modify the file org. apache. karaf. management. cfg:
# Cd ..
# Cd etc
# Vi org. apache. karaf. management. cfg # Open this file
Set serviceUrl = service: jmx: rmi: // 0.0.0.0 :$ {rmiServerPort}/jndi/rmi: // 0.0.0.0.0 :$ {rmiRegistryPort}/karaf-$ {karaf. name}
Modify
ServiceUrl = service: jmx: rmi: // 127.0.0.1 :$ {rmiServerPort}/jndi/rmi: // 127.0.0.1 :$ {rmiRegistryPort}/karaf-$ {karaf. name },
Enter the ODL startup directory again:
# cd bin
#./Karaf # Run the karaf File
The page appears, indicating that the installation is correct:
2. function component Installation
The Helium version is relatively simple to install, but it is composed of many functional components, such as Web UI components. You need to install it separately to view the ODL Web interface. To use the Web UI, you must first install the DLUX web interface and install the basic functional components required by ODL. Follow these steps to install DLUX:
Note: On the OpenDaylight Web interface, you can use DLUX to display the drawing information of the OpenFlow flow program and L2 layer switch components, as well as information about the network topology, flow statistics, and host location. When one of these components is installed, other components are automatically installed.
Install components that support REST APIs:
opendaylight-user@root>feature:install odl-restconf
Install the L2 switch and OpenFlow plug-ins:
opendaylight-user@root>feature:install odl-l2switch-switch
opendaylight-user@root>feature:install odl-openflowplugin-all
|
|
Install the md-sal controller function based on the karaf console, including nodes, yang UI, and Topology:
Opendaylight-user @ root> feature: install odl-mdsal-apidocs # This component is written incorrectly, so it is easy to log on.
Install the DLUX Function
opendaylight-user@root>feature:install odl-dlux-all
Install the ad-sal function based on the karaf console, including Connection manager, Container, Network, and Flows:
opendaylight-user@root>feature:install odl-adsal-northbound
Note: Please install it in a certain order. If the installation order is unreasonable, the Web interface will be inaccessible! Record a problem: You cannot log on to the ODL main interface without installing components in sequence. The solution is to exit the karaf platform through logout, go to the parent directory, delete the data directory: rm-r data, enter the bin directory: cd bin, and execute. /karaf clean, repeat the above installation component operation.
3. Interface access
After other ODL functional components are successfully installed, you can log on to the ODL Web UI. Visit this version in Chrome: http: // [ODL_host_ip]: 8181/dlux/index.html, [ODL_host_ip] is the Host IP address where ODL is installed, note that the ODL access port of this version is 8181, because port 8080 is occupied by the processes on the karaf console.
The logon is consistent with the previous version. The username and password are admin. For example:
4. Simple lab Verification
The Helium (Helium) version of ODL has been installed successfully and basic OpenFlow functional components have been installed. Next, we will use Mininet to simulate network devices and simply verify ODL functions, including topology, link discovery, and switch management.
Open the device with Mininet, run the command to create a simulated topology, and connect to ODL. In this article, the Host IP address for installing ODL is 192.168.5.111:
sudo mn--controller=remote,ip=192.168.5.111,port=6633
After logging on, the new interface of ODL helium version is displayed, as shown in the following two figures: the Topology interface and the Nodes interface:
5 Appendix
The specific functional components of the ODL helium version are listed as follows:
Table compatibility:
- "All": it means it can run with any other function.
- "Self + all": indicates that this function can be installed together with other functions that use the "all" value. It cannot be installed together with functions with the "self + all" value.
For more information about the feature function, click the feature <Tab> key:
opendaylight-user@root>feature
feature feature:info feature:install feature:list
feature:repo-add feature:repo-list feature:repo-refresh feature:repo-remove
feature:uninstall feature:version-list
6. Conclusion
In this study, we found that the ODL helium version is easier to understand than the previous version 1.0. The main problem encountered is that you can log on to ODL to perform operations normally before, and you will often be unable to log on to the main interface during subsequent installation. After many experiments and you have studied the guidance of the ODL helium version, you have learned a lot to find a solution to the problem.
This article permanently updates the link address: