Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bond2team(1) [centos man page]

BOND2TEAM(1)						  Bonding to Team conversion tool					      BOND2TEAM(1)

NAME
bond2team -- Converts bonding configuration to team SYNOPSIS
bond2team [options] DESCRIPTION
bond2team is a tool to convert bonding options to team trying as much as possible to keep the original functionality. The resulting files are saved in a temporary directory using ifcfg style by default. In the case of converting an ifcfg file, it translates the bonding options to team, preserving all other options. In that case, it converts the respective slave ifcfg files to team port, pre- serving all their other options too. In case of converting from given bonding options in the command line, the tool can use the specified ports as team ports. OPTIONS
--master <interface> Specify the interface name or ifcfg file to convert. If the interface name is specified, the tool will look at /etc/sysconfig/network-scripts/ for the respective ifcfg file. --rename <interface> This is a convenient option to replace the original interface name by the specified name. For instance, if --master specifies bond0, it is possible to use --rename team0 to change the final interface name to team0. --ifcfg Set the output format to ifcfg config style. [default] --json Set the output format to JSON style. See teamd.conf(5) for further details. --bonding_opts '<bonding options>' Specify the bonding options to be converted instead of reading them from the ifcfg file. --port <interface> Set the specified interface as a team port. --configdir <directory> Change the ifcfg configuration path from /etc/sysconfig/network-scripts to the specified <directory>. --outputdir <directory> Set the output directory to <directory>. --stdout Print the result to the screen instead of writing to files. --debug Increase the debugging level. --quiet Disallow any messages to be printed to console. --version Print tool version to console and exit. --help Print help text to console and exit. --examples Print common usage examples to console and exit. EXAMPLES
To convert the current 'bond0' ifcfg configuration to team ifcfg: # bond2team --master bond0 To convert the current 'bond0' ifcfg configuration to team ifcfg renaming the interface name to 'team0'. Caution : firewall rules, alias interfaces, etc., that might be tied to the original interface name can break after the renaming because the tool will only change the ifcfg file, nothing else. # bond2team --master bond0 --rename team0 To convert given bonding parameters with ports without any ifcfg: # bond2team --bonding_opts 'mode=1 miimon=500 primary=eth1 primary_reselect=0' --port eth1 --port eth2 --port eth3 --port eth4 For more examples, see the option --examples. CAVEATS
The tool will not convert any other configuration which might be tied to the current setup. For instance, firewall rules, alias interfaces, bridges, and so on. AUTHOR
Flavio Leitner is the original author of the tool. Jiri Pirko is the original author and current maintainer of libteam. SEE ALSO
teamd(8), teamdctl(8), teamd.conf(5), teamnl(8) libteam 2013-07-18 BOND2TEAM(1)

Check Out this Related Man Page

TEAMD(8)							    Team daemon 							  TEAMD(8)

NAME
teamd -- team network device control daemon SYNOPSIS
teamd -k [-p pid_file] [-g] teamd -e [-p pid_file] [-g] teamd -c config_text [-p pid_file] [-gdrD] [-Z address] teamd -f config_file [-p pid_file] [-gdrD] [-Z address] teamd -h|-V DESCRIPTION
teamd is a daemon to control a given team network device, during runtime, as a puppeteer controls a puppet. It uses libteam to communicate with the kernel team device instance via Netlink sockets. The behaviour depends on the selected runner and its configuration. This daemon is part of the libteam project. OPTIONS
-h, --help Print help text to console and exit. -V, --version Print version information to console and exit. -d, --daemonize Daemonize after startup. -k, --kill Kill running daemon instance. -e, --check Return 0 if a daemon is already running. -f filename, --config-file filename Load the specified configuration file. -c text, --config text Use given JSON format configuration string. If this option is present then -f option will be ignored. -p filename, --pid-file filename Use the specified PID file. -g, --debug Turns on debugging messages. Repeating the option increases verbosity. -r, --force-recreate Force team device recreation in case it already exists. -o, --take-over Take over the device if it already exists. This option also ensures that the team device is not removed after teamd finishes. -t devicename, --team-dev devicename Use the specified team device name (overrides "device" key in the configuration). -n, --no-ports Start without ports, even if they are listed in the configuration. -D, --dbus-enable Enable D-Bus interface. -Z address, --zmq-enable address Enable ZMQ interface. Possible address formats are "tcp://ip:port", "ipc://path" and others. Detailed description of ZMQ library is in page http://zguide.zeromq.org/page:all. -U, --usock-enable Enable UNIX domain socket interface. This is enabled by default. -u, --usock-disable Disable UNIX domain socket interface. SEE ALSO
teamdctl(8), teamd.conf(5), teamnl(8), bond2team(1) AUTHOR
Jiri Pirko is the original author and current maintainer of libteam. libteam 2013-07-10 TEAMD(8)
Man Page

Featured Tech Videos