tencent cloud

Feedback

Step 2: Load TOA on Backend Server

Last updated: 2022-07-13 15:22:55

    Method 1: Download source code and load the module

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

    2. After decompression is completed, run the cd command to access the decompressed folder and run the module loading command:

      insmod toa.ko
      
    1. Run the following command to check whether the loading is successful:
      lsmod | grep toa
      

    1. After it is loaded, load the toa.ko file in the startup script (the toa.ko file needs to be reloaded if the server is restarted).
      echo "insmod   xxxxx /toa.ko" >> /etc/rc.local
      
    1. (Optional) To disable TOA temporarily, run the command rmmod path/module name.
      rmmod toa.ko
      
    1. (Optional) If TOA is no longer needed, run the following command to uninstall it.
      rmmod toa
      
    1. (Optional) Run the following command to check whether the module is uninstalled. If you see the message "TOA unloaded", the uninstallation is successful.
      dmesg -T
      

    Method 2: Compile and load the module

    If there is no installation package provided for your OS version, you can download the source package of the Linux general version and then compile it to obtain an installation package. The following is the example for CentOS.

    1. Obtain the source package.
      wget "https://thunder-pro-mainland-1258348367.cos.ap-guangzhou.myqcloud.com/gaap-toa.rar"
      
    1. Install the build environment.
      yum install gcc 
      yum install make
      yum install kernel-headers kernel-devel –y
      
    1. Decompress the source package.
      tar zxf gaap-toa.rar
      
    1. Enter the TOA directory.
      cd toa
      
    1. Compile make.
      make
      
    1. Move and load the module.
      mv toa.ko /lib/modules/`uname -r`/kernel/net/netfilter/ipvs/toa.ko
      insmod /lib/modules/`uname 
      ¬-r`/kernel/net/netfilter/ipvs/toa.ko
      
    1. Check whether the module is loaded successfully.
      lsmod | grep toa
      
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support