About Linux deployments
The deployment package for the KVM package is a TAR archive. Kernel-based Virtual Machine (KVM) is a virtualization solution for Linux on x86 hardware. A KVM consists of a loadable kernel module that provides the core virtualization infrastructure and a processor-specific module that provides virtualization extensions. Using KVM, you can run multiple virtual machines running unmodified Linux or Windows images. KVM is open source software. The kernel component of KVM is included in mainline Linux, as of version 2.6.20. The user-space component of KVM is included in mainline QEMU, as of version 1.3.
KVM supports various I/O virtualization technologies. Paravirtualized drivers, which enable direct communication between hypervisor-level drivers and guest-level drivers, provide the best performance when compared with full virtualization. The virtio API provides a common set of paravirtualized device drivers for KVM.
Riverbed supports only virtio-based paravirtualized device drivers.
The virtual NICs must be configured in this order: primary, auxiliary (aux), LAN, and then WAN. The virtual disks must be configured in this order: management (mgmt) and then data store (segstore).
Virtual appliances for KVM can be deployed in different ways, each method using a different procedure. This document describes how to deploy appliances for KVM by using the installation script supplied in the product’s deployment package and the virsh command.
Ensure the KVM host system has at least four network interfaces, and that the system’s network environment is configured so that the LAN and WAN interfaces are on separate networks or bridges.
SteelCentral Controller for SteelHead considerations
Resizing the data store might be required if your SCC-v is managing more than ten appliances.
Because the virsh reboot and virsh shutdown commands are not support by SCC-v, you’ll need to use the virsh destroy command. Run these commands to resize the data store disk:
virsh destroy <name-of-kvm-instance>
sudo qemu-img resize <name-of-datastore>.img +<size> (for example: sudo qemu-img resize datastore.img +2GB)
virsh start <name-of-kvm-instance>
Deploying on Linux
To deploy on Linux, run the installation script, specifying values for the:
• name for the virtual appliance.
• product model you want to use. Supported models are listed in riverbed_model_tmp.
• location of the directory for the appliance’s data store. For example: /mnt/riverbed/segstore.img. The data store files will be created as /mnt/riverbed/segstore/segstore_1.img, /mnt/riverbed/segstore/segstore_2.img, and so on.
• networks to which you want to connect the primary, auxiliary (aux), LAN, and WAN interfaces, and whether these are networks or bridges.
Create the virtual appliance by entering the virsh create <virtual-appliance-name>.xml command.
Start the appliance by running the virsh define <virtual-appliance-name>.xml command followed by the virsh start <virtual-appliance-name>.xml command.