ovn-ic(8)
π ovn-ic β Open Virtual Network interconnection controller π
okay bestie, welcome to the ovn-ic(8) page, part of the OVN Manual, and no cap this daemon is kind of a big deal. let's get into it π«Ά
β¨ NAME β¨
ovn-ic β Open Virtual Network interconnection controller. periodt. π
πΈ SYNOPSIS πΈ
ovn-ic [options]
like, that's it. that's the whole vibe. she takes options and she goes. π
π¦ DESCRIPTION π¦
so ovn-ic, the OVN interconnection controller, is a centralized daemon β a real main character who doesn't need to be everywhere at once β and what she does is talk to the global interconnection databases IC_NB/IC_SB to configure and exchange data with the local NB/SB so that this OVN deployment can interconnect with other OVN deployments. it's giving diplomacy. it's giving group project where she's the only one actually communicating. π
π OPTIONS π
--ovnnb-db=database β the OVSDB database holding the OVN Northbound Database. if theOVN_NB_DBenvironment variable is set, its value becomes the default. otherwise the default isunix:/ovnnb_db.sock. π--ovnsb-db=database β the OVSDB database holding the OVN Southbound Database. if theOVN_SB_DBenvironment variable is set, its value becomes the default. otherwise the default isunix:/ovnsb_db.sock. β¨--ic-nb-db=database β the OVSDB database holding the OVN Interconnection Northbound Database. if theOVN_IC_NB_DBenvironment variable is set, its value becomes the default. otherwise the default isunix:/ovn_ic_nb_db.sock. π¦--ic-sb-db=database β the OVSDB database holding the OVN Interconnection Southbound Database. if theOVN_IC_SB_DBenvironment variable is set, its value becomes the default. otherwise the default isunix:/ovn_ic_sb_db.sock. πΈ
okay and database in all of the options above has to be an OVSDB active or passive connection method, exactly like it's described in ovsdb(7). iykyk. π«
π Daemon Options π
--pidfile[=pidfile]β makes a file (by default,program.pid) appear, and that file is like "hi, here's the PID of the running process π«Ά". if the pidfile argument isn't specified, or if it doesn't begin with/, then it is created in.
and if --pidfile is not specified at all? no pidfile is created. simple as that.
--overwrite-pidfileβ so by default, when--pidfileis specified and that pidfile already exists and is locked by a running process, the daemon just refuses to start. specify--overwrite-pidfileand she'll overwrite the pidfile instead. dramatic girlboss move honestly. π
when --pidfile is not specified, this option has no effect.
--detachβ runs this program as a background process. the process forks, and in the child it starts a new session, closes the standard file descriptors (which has the side effect of disabling logging to the console), and changes its current directory to the root β unless--no-chdiris specified. after the child finishes its initialization, the parent exits. she's gone, she's independent, she said bye π--monitorβ creates an additional process to monitor this program. if it dies because of a signal that indicates a programming error (SIGABRT,SIGALRM,SIGBUS,SIGFPE,SIGILL,SIGPIPE,SIGSEGV,SIGXCPU, orSIGXFSZ) then the monitor process starts a new copy of it. if the daemon dies or exits for another reason, the monitor process exits too. π
this option is normally used with --detach, but it also functions without it.
--no-chdirβ by default, when--detachis specified, the daemon changes its current working directory to the root directory after it detaches. otherwise, invoking the daemon from a carelessly chosen directory would prevent the administrator from unmounting the file system that holds that directory (rude, honestly).
specifying --no-chdir suppresses this behavior, so the daemon doesn't change its current working directory. this may be useful for collecting core files, since it's common behavior to write core dumps into the current working directory and the root directory is not a good directory to use.
this option has no effect when --detach is not specified.
--no-self-confinementβ by default this daemon will try to self-confine itself to working with files under well-known directories determined at build time. bestie, it's better to stick with this default behavior and not use this flag unless some other Access Control is being used to confine the daemon. and note that in contrast to other access control implementations that are typically enforced from kernel-space (e.g. DAC or MAC), self-confinement is imposed from the user-space daemon itself and hence should not be considered as a full confinement strategy β instead, view it as an additional layer of security. layers, queen. π§--user=user:group β causes this program to run as a different user specified in user:group, thus dropping most of the root privileges. short forms user and:group are also allowed, with the current user or group assumed, respectively. only daemons started by the root user accept this argument. π
on Linux, daemons will be granted CAP_IPC_LOCK and CAP_NET_BIND_SERVICES before dropping root privileges. daemons that interact with a datapath, such as ovs-vswitchd, will be granted three additional capabilities, namely CAP_NET_ADMIN, CAP_NET_BROADCAST and CAP_NET_RAW. the capability change will apply even if the new user is root.
π Logging Options π
-v[spec],--verbose=[spec]β sets logging levels. with no spec at all, it sets the log level for every module and destination todbg. otherwise, spec is a list of words separated by spaces or commas or colons, up to one from each category below:- a valid module name, as displayed by the
vlog/listcommand onovs-appctl(8), limits the log level change to the specified module. π― syslog,console, orfile, to limit the log level change to only to the system log, to the console, or to a file, respectively. (if--detachis specified, the daemon closes its standard file descriptors, so logging to the console will have no effect.) πoff,emer,err,warn,info, ordbg, to control the log level. messages of the given severity or higher will be logged, and messages of lower severity will be filtered out.offfilters out all messages. seeovs-appctl(8)for a definition of each log level.
- a valid module name, as displayed by the
case is not significant within spec.
regardless of the log levels set for file, logging to a file will not take place unless --log-file is also specified (see below).
for compatibility with older versions of OVS, any is accepted as a word but has no effect.
-v,--verboseβ sets the maximum logging verbosity level, equivalent to--verbose=dbg. max volume, no chill, we love her π-vPATTERN:destination:pattern,--verbose=PATTERN:destination:pattern β sets the log pattern for destination to pattern. refer toovs-appctl(8)for a description of the valid syntax for pattern. π¨-vFACILITY:facility,--verbose=FACILITY:facility β sets the RFC5424 facility of the log message. facility can be one ofkern,user,mail,daemon,auth,syslog,lpr,news,uucp,clock,ftp,ntp,audit,alert,clock2,local0,local1,local2,local3,local4,local5,local6orlocal7. if this option is not specified,daemonis used as the default for the local system syslog andlocal0is used while sending a message to the target provided via the--syslog-targetoption.--log-file[=file]β enables logging to a file. if file is specified, then it's used as the exact name for the log file. the default log file name used if file is omitted is/var/log/ovn/program.log. π--syslog-target=host:port β send syslog messages to UDP port on host, in addition to the system syslog. the host must be a numerical IP address, not a hostname. no nicknames allowed π--syslog-method=method β specify method as how syslog messages should be sent to the syslog daemon. the following forms are supported:libc, to use the libcsyslog()function. downside of using this options is that libc adds a fixed prefix to every message before it is actually sent to the syslog daemon over/dev/logUNIX domain socket.unix:file, to use a UNIX domain socket directly. it's possible to specify arbitrary message format with this option. however,rsyslogd8.9 and older versions use a hard coded parser function anyway, which limits UNIX domain socket use. if you want to use arbitrary message format with olderrsyslogdversions, then use a UDP socket to localhost IP address instead.udp:ip:port, to use a UDP socket. with this method it's possible to use arbitrary message format also with olderrsyslogd. when sending syslog messages over a UDP socket, extra precaution needs to be taken into account, for example, the syslog daemon needs to be configured to listen on the specified UDP port, accidentaliptablesrules could be interfering with local syslog traffic, and there are some security considerations that apply to UDP sockets but do not apply to UNIX domain sockets. π¨null, to discard all messages logged to syslog. gone. deleted. ποΈ
the default is taken from the OVS_SYSLOG_METHOD environment variable; if it is unset, the default is libc.
π PKI Options π
PKI configuration is required in order to use SSL/TLS for the connections to the Northbound and Southbound databases. no certs, no entry. β
-pprivkey.pem,--private-key=privkey.pem β specifies a PEM file containing the private key used as identity for outgoing SSL/TLS connections. ποΈ-ccert.pem,--certificate=cert.pem β specifies a PEM file containing a certificate that certifies the private key specified on-por--private-keyto be trustworthy. the certificate must be signed by the certificate authority (CA) that the peer in SSL/TLS connections will use to verify it. π-Ccacert.pem,--ca-cert=cacert.pem β specifies a PEM file containing the CA certificate for verifying certificates presented to this program by SSL/TLS peers. (this may be the same certificate that SSL/TLS peers use to verify the certificate specified on-cor--certificate, or it may be a different one, depending on the PKI design in use.) π
- -C none, --ca-cert=none β turns OFF verification of the certificates that SSL/TLS peers hand you. Bestie. This is a security risk, periodt β it literally means you can't confirm those certs belong to hosts you know and trust. π©
- *--ssl-server-name=servername* β sets the server name used for TLS Server Name Indication (SNI). By default the hostname from the connection string gets used for SNI, and this option lets you override that SNI hostname. Super handy when you're connecting through proxies or service meshes where the connection endpoint is not the same as the intended server name. π¦
β¨ Other Options β¨ (the lil extras)
--unixctl=socket β sets the name of the control socket that the program listens on for runtime management commands (scroll down to RUNTIME MANAGEMENT COMMANDS, bestie, it's right there π). If socket doesn't begin with/, it's interpreted as relative to . (yeah the page just... leaves that one hanging, gaps and all π). If you never pass--unixctlat all, the default socket is/program.pid.ctl, where pid is the program's process ID.
Hand it none for socket and you disable the control socket feature entirely. bye socket π
-h,--helpβ prints a brief help message to the console. little snack of information π-V,--versionβ prints version information to the console. flex the numbers π
ποΈ RUNTIME MANAGEMENT COMMANDS ποΈ
ovn-appctl can slide commands into a running ovn-ic process. Here's everything currently supported, no gatekeeping:
exitβ causesovn-icto gracefully terminate. so polite of it π«Άpauseβ pausesovn-icso it stops processing any database changes. This will also instructovn-icto drop any lock on SB DB.resumeβ resumesovn-icso it goes back to processing database contents. This will also instructovn-northdto aspire for the lock on SB DB.is-pausedβ returns"true"ifovn-icis currently paused,"false"otherwise. vibe check in string form β¨statusβ prints this server's status. It'll be"active"ifovn-ichas acquired the OVSDB lock on SB DB,"standby"if it hasn't, or"paused"if this instance is paused. three moods, no fourth π₯
π ACTIVE-STANDBY FOR HIGH AVAILABILITY π
You may run ovn-ic more than once in an OVN deployment β go off, run a whole squad. When it's connected to a standalone or clustered DB setup, OVN will automatically make sure that only one of them is active at a time. And if multiple instances of ovn-ic are running and the active one fails? One of the hot standby instances of ovn-ic will automatically take over. main character energy passing the crown, no drama, no drop π
okay bestie that's the whole page π every flag, every command, every lock, every string literal, all of it. this one was OVN 26.09.0, documented as ovn-ic(8), and it says ovn-ic right there in the corner too β go forth and fail over beautifully π§π
π¦ where this page comes from
- nixpkgs unstable: ovn 26.09.0
- ubuntu stonking: ovn-common 26.09.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms