Has anyone installed KVM on SYS server?
I have setup the XEN servers in OVH enviroment, as for KVM you need to have the following settings, example:
1.1.1.1 = Primary IPv4 of your server
2.2.2.1/27 = /27(32 addresses but it does not matter what subnet you have e.g /26, /25, /24 etc)IPv4 subnet assigned to your server
2001:41d0:a:abcd::/64 = IPv6 subnet assigned to your server
CentOS = Operating System
SolusVM = VPS control Panel
/etc/sysconfig/network
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
Add IPv6 subnet to the server
# /sbin/ifconfig eth0 inet6 add 2001:41d0:a:abcd::1/64
# route -A inet6 add default gw 2001:41d0:a:abff:ff:ff:ff:ff dev
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
BRIDGE="br0"
/etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
TYPE="Bridge"
BOOTPROTO="static"
IPADDR="1.1.1.1"
NETMASK="255.255.255.0"
ONBOOT="yes"
GATEWAY="1.1.1.254"
DELAY="0"
IPV6INIT="yes"
IPV6_AUTOCONF="no"
IPV6ADDR="2001:41d0:a:abcd::1/64"
ARPCHECK="no"
/etc/sysconfig/network-scripts/ifcfg-br0:0
DEVICE="br0:0"
BOOTPROTO="static"
IPADDR="
2.2.2.31"
NETMASK="255.255.255.224"
ONBOOT="yes"
Note: Gateway above will be 2nd last IP of your subnet.
/etc/sysconfig/network-scripts/route6-br0
2001:41d0:a:abff:ff:ff:ff:ff dev br0
default via 2001:41d0:a:abff:ff:ff:ff:ff
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:25:82:G3:7G:31
TYPE=Ethernet
UUID=21a4afc3-e2fe-405e-acd3-e16fec816ba1
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp
Replace HWADDR & UUID with that of your server
/etc/sysctl.conf
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding= 1
net.ipv6.conf.br0.forwarding = 1
net.ipv6.conf.default.forwarding = 1
restart network
#/etc/init.d/network restart
flush firewall
#iptables --flush
#service iptables restart
Now login to your SolusVM admin panel IP blocks -----> List IP blocks -----> Add IPv4 block
Block Name: Whatever you wish
Gateway:
2.2.2.31
Netmask: 255.255.255.224
Nameserver: 213.186.33.99
Save
IP blocks -----> List IP blocks -----> Add IPv6 block
Block Name: Whatever you wish
Gateway: 2001:41d0:000a:abff:00ff:00ff:00ff:00ff
Nameserver: 2001:41d0:3:163::1
Save
Go to your OVH manager & generate Virtual MAC for each of your IP addresses that you are going to use for deploying your KVM virtual servers.
Also put those Virtual MACs for each IP in SolusVM otherwise SolusVM will allocate MAC addresses automatically which will result in failure of your virtual servers' network hence they will not work properly
Are there any official howtos or guides from SYS?
No, I have asked OVH a several years ago to add SolusVM Slave for XEN and KVM templates and they still in process, haha, never will be done.