vinfra cluster network migration start

If you have restricted outbound traffic in your cluster, you need to manually add a rule that will allow outbound traffic on on TCP and UDP ports 60000–60100, as described in Restricting outbound traffic from cluster nodes.

Start network migration:

usage: vinfra cluster network migration start <network> [--subnet <subnet>]
                                              [--netmask <netmask>]
                                              [--gateway <gateway>] [--shutdown]
                                              [--node <node> <address>]
--network <network>
Network ID or name
--subnet <subnet>
New network subnet
--netmask <netmask>
New network mask
--gateway <gateway>
New network gateway
--shutdown
Prepare the cluster to be shut down manually for relocation
--node <node> <address>

New node address in the format:

  • <node>: node ID or hostname
  • <address>: IPv4 address

This option can be used multiple times.

Example:

# vinfra cluster network migration start --network "Private" \
--subnet 192.168.128.0 --netmask 255.255.255.0 --node node001 192.168.128.11 \
--node node002 192.168.128.12 --node node003 192.168.128.13
+----------------------------+--------------------------------------------------+
| Field                      | Value                                            |
+----------------------------+--------------------------------------------------+
| configuration              | network_id: 3e3619b7-2c93-4e90-a187-135c6f8b9060 |
| link                       | href: /api/v2/network/migration/2d4ec3a9-<...>/  |
|                            | method: GET                                      |
|                            | rel: network-migration-details                   |
| operation                  | network-migration                                |
| progress                   | 0.0                                              |
| single_interface_migration | False                                            |
| state                      | preparing                                        |
| task_id                    | 2d4ec3a9-7714-479d-a03c-1efbe6ffecf5             |
| transitions                | 0                                                |
+----------------------------+--------------------------------------------------+

This command starts migration of the Private network to the new network configuration.