User Tools

Site Tools


network_stuff:juniper:host-preparation

This is an old revision of the document!


HOST PREPARATION:
https://www.juniper.net/documentation/en_US/vmx/topics/topic-map/vmx-installing-on-kvm.html#id-preparing-the-ubuntu-host-to-install-vmx
Disable KSM by setting KSM_ENABLED=0 in /etc/default/qemu-kvm:

systemctl disable ksm
systemctl disable ksmtuned


HUGEPAGES (x2 1G size)
https://oracle-base.com/articles/linux/configuring-huge-pages-for-oracle-on-linux-64
KVM INSTALL:
https://www.cyberciti.biz/faq/how-to-install-kvm-on-centos-7-rhel-7-headless-server/

INSTALL VAGRANT (NOT with vbox5.1_)
https://www.tecmint.com/how-to-install-vagrant-on-centos-7/

yum -y install https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.rpm
vagrant version && vagrant plugin list  # to check vagrant version
yum install ./vagrant_2.2.5_x86_64.rpm    # download the last version 


Using The Libvirt Provider With Vagrant
https://github.com/vagrant-libvirt/vagrant-libvirt https://codingpackets.com/blog/using-the-libvirt-provider-with-vagrant

yum install ruby-devel
yum -y install qemu libvirt libvirt-devel ruby-devel gcc
vagrant plugin install vagrant-libvirt  # works

https://github.com/vagrant-libvirt/vagrant-libvirt/blob/master/README.md


Before virt-install , add vagrant-libvirt network from

restart libvirtd 


For qemu permissions: https://github.com/jedi4ever/veewee/issues/996

network_stuff/juniper/host-preparation.1579190396.txt.gz · Last modified: (external edit)