tencent cloud

Feedback

Step 2: Load TOA on Backend Server

Last updated: 2024-10-14 16:54:48

    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.
    arm64
    centos
    debian
    suse linux
    ubuntu
    2. After decompression is completed, run the cd command to access the decompressed folder and run the module loading command:
    insmod toa.ko
    3. Run the following command to check whether the loading is successful:
    lsmod | grep toa
    
    4. 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
    5. (Optional) To disable TOA temporarily, run the command rmmod path/module name.
    rmmod toa.ko
    6. (Optional) If TOA is no longer needed, run the following command to uninstall it.
    rmmod toa
    7. (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"
    2. Install the build environment.
    yum install gcc
    yum install make
    yum install kernel-headers kernel-devel –y
    3. Decompress the source package.
    tar zxf gaap-toa.rar
    4. Enter the TOA directory.
    cd toa
    5. Compile make.
    make
    6. 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
    7. 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