Loading TOA module

Last updated: 2019-08-21 12:00:05


Download and decompress the TOA package corresponding to the version of the Linux OS on Tencent Cloud:

  1. After decompression, run the CD command to access the decompressed folder and run the module loading command:
    insmod toa.ko
  2. Run the following command to check whether TOA loading is successful:
    lsmod | grep toa
  3. If it is, load the toa.ko file in the startup script. The KO file needs to be reloaded if the machine is restarted.

If you cannot find the installation package corresponding to your OS version in the files above, please download the source package of the General Version of Linux OS and then compile the package. The version supports most released Linux versions, such as CentOS 6.9, CentOS 7, and Ubuntu 14.04.

  1. Obtain the source package.

    wget http://toamodule-1253438722.file.myqcloud.com/tencenttoa.zip
  2. Compile the file.

    yum install gcc
    yum install kernel-headers
    yum install kernel-devel
  3. Load the toa.ko file.

    tar -zxvf linux_toa.tar.gz
    cd toa
    mv toa.ko /lib/modules/`uname -r`/kernel/net/netfilter/ipvs/toa.ko
    insmod /lib/modules/`uname -r`/kernel/net/netfilter/ipvs/toa.ko