Configuring Auto-Start
On the Linux platform, starting the OVS component daemon is a simple process. After the software is installed from the source code or RPM, a user tool named ovs-ctl is provided. It is a shell script with the help function and can be used to automatically start and stop ovsdb-server and ovs-vswitchd.
After the components are installed, you can use the ovs-ctl tool to start the daemons. The ovs-ctl tool sets initialization conditions and starts the daemons in sequence. This tool is stored in scripts in the installation directory, which is /usr/local/share/openvswitch/scripts or /usr/share/openvswitch/scripts by default. By default, you can run the following commands to start the daemons. The figure below shows the startup process. After the startup is complete, you can view the result information.
1 2 3 |
$ export PATH=$PATH:/usr/share/openvswitch/scripts $ ovs-ctl start $ ovs-ctl start |
