vRouter
A vRouter is a custom Linux VM instance designed for providing
multiple network services such as distributed DHCP, DNS, SNAT, vRouter table, EIP, port
forwarding, load balancing, IPsec tunnel, and security group.
- When a VM instance is created with a vRouter network for the first time, a vRouter will be created synchronously. When a vRouter is created for the first time, the starting time for the vRouter probably takes a while.
- A vRouter must have three types of network: public network, management network, and private network.
- The same vRouter network can only be used to create one vRouter.
- To provide multiple network services, a vRouter must be in the running state and the connected state. If the vRouter is in other states, check whether associated resources of the vRouter can work properly.
- vRouters have higher resource priorities than VM instances. When the host workload rates are extremely high, and then resources contend with each other, the resource priority sequence from low to high is: VM instances with Normal priorities < VM instances with High priorities < vRouters. For example, when CPU resources contend with each other on hosts, vRouters have higher CPU resource grabbing capability.
vRouter Operations
You can perform the following operations on a vRouter:
- Change name and description: Enter a name and a description for the vRouter.
- Change CPU or memory capacity: Change a CPU or memory capacity for the vRouter.
- Change platform: Change a platform type for the vRouter.
- Start: Start the vRouter that is in the stopped state.
- Reboot: Reboot the vRouter.
- Reconnect: Reconnect the vRouter.
Note:
- Currently, when a ZStack management node reboots after upgrading successfully, you need to manually reconnect and upgrade vRouters.
- After you manually reconnect and upgrade the vRouters successfully, set QoS for VIPs and IPsec tunnel services to ensure that the vRouters work normally.
- Migrate: Migrate the vRouter online. Assume that you migrate online the vRouter in the local storage. In the navigation pane of the ZStack Private Cloud UI, choose , and set Live Migration to true.
- Open console: Access the vRouter through the terminal.
- Set or cancel console password: Set or cancel the console password for the vRouter, and reboot the vRouter to take effect this configuration.
- Delete: Delete the vRouter. Exercise caution when you delete the vRouter, the associated VM network services will be unavailable. Reboot VM instances to recover the VM network services.
- Attach or detach physical NIC:
- Attach or detach a new public network.
- Cannot detach the public network and the management network defined by the vRouter offering.
- Cannot attach or detach a private network.