Rate This Document
Findability
Accuracy
Completeness
Readability

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 ovs-server and ovs-vswitchd.

After the components are installed, you can use the ovs-ctl tool to start the daemon process. The ovs-ctl tool sets initialization conditions and starts the daemon process in sequence. This tool is stored in scripts in the installation directory, the default directory is /usr/local/share/openvswitch/scripts or /usr/share/openvswitch/scripts. By default, you can run the following commands to start the ovs-ctl tool. The figure below shows the startup process. After the startup is complete, you can view the corresponding information.

1
2
$ export PATH=$PATH:/usr/local/share/openvswitch/scripts
$ ovs-ctl start