Appendix A: Install and Configure Spirent Virtual LabServer
Spirent Virtual LabServer (vLS)
Getting Started with Spirent TestCenter
|
61
Before starting the VM, increase the size of the VM image file system to 100 GB, so that
the recommended 100 GB of disk space will be accessible. Execute the following
command to increase the file system by 90 GB (added to the initial size of 10 GB):
sudo qemu-img resize <file path of qcow2 image> +90G
On the hypervisor, launch the VM with the QCOW2 image and the recommended 32 GB
of memory (-m 32768) by executing the following:
sudo kvm -k en-us -m 32768M -drive file=<file path of qcow2
image>,cache=none,if=virtio,discard=unmap -serial telnet:<host
IP>:<available port>,server,nowait -monitor
telnet:127.0.0.1:<available port> -net
nic,vlan=1,model=virtio,name=admin0,macaddr=<VM eth0 mac
address>,netdev=nic-0 -netdev tap,id=nic-0,ifname=<tap
name>,script=no,downscript=no,vhost=on -cpu host -smp 4 -
nographic &
Upon startup, a script in the VM will automatically perform the remaining steps to
configure the virtual machine so that it will have access to 100 GB of disk space.