1.2.2. Packages installation

The software can be installed either from 6WIND’s online repository or from a local repository. Installation consists in setting up the repository and then performing the actual package installation.

Setting up 6WIND’s online repository

  1. If this is your first installation, install the credentials you retrieved from the Customer Zone:

    # COMPANY=your-company
    # yum install -y 6wind-authentication-credentials-${COMPANY}-1.0-1.noarch.rpm
    
  2. Using these credentials, download and install the repository of your Virtual Accelerator product:

    # PRODUCT=virtual-accelerator
    # VERSION=1.9
    # DISTRIB=redhat-7
    # ARCH=$(uname -i)
    # PKG=6wind-${PRODUCT}-${DISTRIB}-repository-${VERSION}-1.${ARCH}.rpm
    # SUBDIR=${PRODUCT}/${DISTRIB}/${ARCH}/${VERSION}
    # curl --cacert /usr/local/etc/certs/6wind_ca.crt \
           --key /usr/local/etc/certs/6wind_client.key \
           --cert /usr/local/etc/certs/6wind_client.crt \
           -O https://repo.6wind.com/${SUBDIR}/${PKG}
    # yum install -y ${PKG}
    # yum makecache -y
    

Setting up a local repository

  1. Retrieve and extract the Virtual Accelerator bin package

    # tar xfz /path/to/6wind-virtual-accelerator-*-bin.tgz
    
  2. Set a variable for the directory containing the Virtual Accelerator software:

    # export DELIVERY_DIR=/path/to/6wind-virtual-accelerator-*-bin
    

    In the rest of this document, the directory containing the Virtual Accelerator software will be referred to as $DELIVERY_DIR.

  3. Install the local 6WIND yum repository:

    # mkdir -p /etc/yum.repos.d
    # echo "[6wind]"                        >/etc/yum.repos.d/6wind.repo
    # echo "name = 6wind"                   >>/etc/yum.repos.d/6wind.repo
    # echo "baseurl = file://$DELIVERY_DIR" >>/etc/yum.repos.d/6wind.repo
    # echo "gpgcheck = 0"                   >>/etc/yum.repos.d/6wind.repo
    # echo "priority = 1"                   >>/etc/yum.repos.d/6wind.repo
    # yum makecache --enablerepo=6wind
    

    Note

    To use signed packages, the following steps are required.

    First, set the gpgcheck value in /etc/yum.repos.d/6wind.repo to 1 instead of 0.

    Then, import the public key provided in the Customer Zone:

    # rpm --import online.gpg.pub.asc
    

Package installation/update

  1. Install the Virtual Accelerator packages:

    1. Install or update the Virtual Accelerator package:

      # yum install -y virtual-accelerator
      
    2. Install or update the KPIs add-on (require python 3):

      # yum install -y virtual-accelerator-addon-kpis
      
    3. (Virtual Accelerator IPsec only) Install or update the QuickAssist add-on:

      # yum install -y virtual-accelerator-addon-qat
      
    4. Remove unneeded leftover dependencies:

      # yum autoremove
      
  2. Check that the DKMS modules are correctly installed:

    # dkms status | grep $(uname -r)
    

    All modules should be installed. Otherwise, contact the 6WIND Support Team.