1.3.2. Start and stopΒΆ
Once the fast path configuration is complete, we can start Virtual Accelerator:
# systemctl start virtual-accelerator
Note
Please remember that the fast path takes control of all supported physical network ports by default. You might want to prevent the fast path from taking your management interface, using the configuration wizard.
By default, since Virtual Accelerator version 1.9.3, re-connection with existing VMs, managed by previous Virtual Accelerator instance, is automatic. If this behavior is not expected the previous Virtual Accelerator state must be deleted before the start operation.
# virtual-accelerator.sh clean
# systemctl start virtual-accelerator
To stop it:
# systemctl stop virtual-accelerator
Note
If stop operation is done to update some fast path parameters, existing VMs can be kept. For that VMs information are automatically saved before the stop and restored after the start.
# service virtual-accelerator stop
# # update system configuration
# service virtual-accelerator start
No change can be done on VMs between the save and restore operations.
To start Virtual Accelerator at boot time:
# systemctl enable virtual-accelerator
Note
When the Virtual Accelerator service is started or stopped, it will attempt to restart all
interfaces configured in the system by calling ifdown -a
followed by ifup
-a
.
Note
libvirt must be restarted after the first Virtual Accelerator start to actually see the
hugepages allocated in VM_MEMORY
.
Note
If your setup comprises Open vSwitch bridges, the Open vSwitch service must be restarted each time Virtual Accelerator is restarted.