automation-suite
2023.4
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Linux 版 Automation Suite 安装指南
Last updated 2024年11月4日

如何禁用 TX 校验和卸载

网卡上的校验和卸载可能会导致某些设置出现问题,包括 VMware 实例和 Cilium 中的设置。如果遇到此类问题,请执行以下步骤:

  1. 通过运行以下命令禁用 TX 校验和卸载:
    • 对于服务器计算机:

      cat <<EOF | sudo tee /etc/systemd/system/disable-checksum.service
      [Unit]
      Description=Disable TX Checksum Offload
      Before=rke2-server.service
      Wants=network-online.target
      After=network-online.target
      
      [Service]
      Type=oneshot
      ExecStart=/bin/bash -c "INTERFACE=$(awk '$2 == 00000000 { print $1; exit }' /proc/net/route); ethtool -K \$INTERFACE tx-checksum-ip-generic off || ethtool -K cilium_host tx-checksum-ip-generic off || true"
      RemainAfterExit=true
      
      [Install]
      WantedBy=multi-user.target
      EOF
      sudo systemctl enable disable-checksumcat <<EOF | sudo tee /etc/systemd/system/disable-checksum.service
      [Unit]
      Description=Disable TX Checksum Offload
      Before=rke2-server.service
      Wants=network-online.target
      After=network-online.target
      
      [Service]
      Type=oneshot
      ExecStart=/bin/bash -c "INTERFACE=$(awk '$2 == 00000000 { print $1; exit }' /proc/net/route); ethtool -K \$INTERFACE tx-checksum-ip-generic off || ethtool -K cilium_host tx-checksum-ip-generic off || true"
      RemainAfterExit=true
      
      [Install]
      WantedBy=multi-user.target
      EOF
      sudo systemctl enable disable-checksum
    • 对于代理计算机:

      cat <<EOF | sudo tee /etc/systemd/system/disable-checksum.service
      [Unit]
      Description=Disable TX Checksum Offload
      Before=rke2-agent.service
      Wants=network-online.target
      After=network-online.target
      
      [Service]
      Type=oneshot
      ExecStart=/bin/bash -c "INTERFACE=$(awk '$2 == 00000000 { print $1; exit }' /proc/net/route); ethtool -K \$INTERFACE tx-checksum-ip-generic off || ethtool -K cilium_host tx-checksum-ip-generic off || true"
      RemainAfterExit=true
      
      [Install]
      WantedBy=multi-user.target
      EOF
      sudo systemctl enable disable-checksumcat <<EOF | sudo tee /etc/systemd/system/disable-checksum.service
      [Unit]
      Description=Disable TX Checksum Offload
      Before=rke2-agent.service
      Wants=network-online.target
      After=network-online.target
      
      [Service]
      Type=oneshot
      ExecStart=/bin/bash -c "INTERFACE=$(awk '$2 == 00000000 { print $1; exit }' /proc/net/route); ethtool -K \$INTERFACE tx-checksum-ip-generic off || ethtool -K cilium_host tx-checksum-ip-generic off || true"
      RemainAfterExit=true
      
      [Install]
      WantedBy=multi-user.target
      EOF
      sudo systemctl enable disable-checksum
  2. 采取启动和关闭节点中描述的步骤重新启动受影响的实例。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。