Setting Up KVM Hosts

You must set up a KVM host before you can deploy the Hedvig Deployment Server and Storage Proxies in a KVM environment.

Procedure

  1. Install all packages on the KVM host, so that it functions as a virtualization host. This is usually done in the following manner:

    yum install @virt*
  2. The KVM host must have bridged interfaces, so that the deployment server and the storage proxy can be deployed. This is usually done in the following manner, on the KVM host:

    1. Enter:

      brctl addbr br0; brctl addbr br1
    2. Change to:

      cd /etc/sysconfig/network-scripts/
    3. Edit ifcfg-ethX (main ethernet) to add BRIDGE=br0.

    4. Add ifcfg-br0 with the following entries:

      NAME="br0"

      DEVICE="br0"

      ONBOOT="yes"

      NETBOOT="yes"

      IPV6INIT="no"

      BOOTPROTO="static"

      TYPE="Bridge"

      IPV4_FAILURE_FATAL="no"

      IPV6_AUTOCONF="no"

      IPV6_DEFROUTE="yes"

      IPV6_PEERDNS="yes"

      Move the IP entries, that is, either BOOTPROTO=dhcp or BOOTPROTO=static, and the corresponding IPADDR entries to the ifcfg-br0 device.

    5. Add ifcfg-br1 for the private address, as follows:

      NAME="br1"

      DEVICE="br1"

      ONBOOT="yes"

      NETBOOT="yes"

      IPV6INIT="no"

      BOOTPROTO="static"

      TYPE="Bridge"

      IPV4_FAILURE_FATAL="no"

      IPV6_AUTOCONF="no"

      IPV6_DEFROUTE="yes"

      IPV6_PEERDNS="yes"

      IPADDR=172.22.22.1

      NETMASK=255.255.255.0

    6. Reboot the host, or to switch the network connection to the bridge, enter:

      systemctl restart network

Loading...