
5.
Determine the team configuration parameters:
Value
Parameter
The team IP address is different from the individual controller
IP addresses. It is used as a virtual address for connecting to
the team leader.
Team IP Address
IP address of a team member.
Controller IP Address
NOTE:
When the virtual address is programmed on the team leader, gratuitous ARP is
sent out. The virtual address moves from one controller to another in the team as the leader
changes. If any security features are configured to prevent such a move, they should be
reconfigured to allow the movement of team IP Address such that it remains reachable for
the rest of the network.
Configuration procedure
1.
Select any active controller to initially configure the team.
2.
Enter the following curl command:
curl -m 240 --noproxy member-1-ip --header X-Auth-Token:auth_token --fail -ksS --request POST --url
https://member-1-ip:8443/sdn/v2.0/team --data-binary
'{"team":{"ip":"team-ip","members":[{"ip":"member-1-ip"},{"ip":"member-2-ip"},{"ip":"member-3-ip"}]}}'
NOTE:
The
member-1-ip
should be the IP address of the controller chosen to configure
the team.
3.
After executing the command in step 2, the team elects a team leader. The team leader then
configures all team members and normal controller operation begins in the domain. The
team creation command does not block until the team creation is complete. You will need
to check the status of the system to verify on each controller that the team was successfully
created.
The team
create POST
command may now take up to 4 minutes to complete. You will
need to make sure the read timeout for the client request is increased accordingly.
Configuration example
This example shows a team of controllers configured with the following team member values:
•
Team IP Address
: 192.0.2.100
•
Member IP Addresses
:
192.0.2.119
◦
◦
192.0.2.125
◦
192.0.2.127
•
Domain
:
sdn
(the default domain name)
•
Username
:
myname
•
Password
:
mypass
NOTE:
It is not mandatory that the team IP address be in the same subnet as the member IP
addresses. Other IP aliases can be used if the appropriate IP routes are present for the addresses
to be reachable and usable.
The following steps create and enable the team:
1.
Acquire the authentication token:
Team configuration using curl commands
183