Use stability tools for O&M
Configure kdump, ENI, IPv6, NIC multi-queue, hyper-threading, NVMe drivers, and security patches with Cloud Assistant plugins.
|
Feature |
Description |
Cloud Assistant plugin |
|
Generates a core dump file when the kernel crashes for troubleshooting. |
|
|
|
Configure the network for an auxiliary Elastic Network Interface (ENI) on CentOS with one click. |
|
|
|
Configure or clean up IPv6 on an ECS instance with one click. |
|
|
|
Set NIC queue count to the maximum to improve network performance. |
|
|
|
Disable Intel Hyper-Threading on an ECS Bare Metal instance. |
|
|
|
Configure the NVMe driver for instances that support NVMe. |
|
|
|
Scan for and install missing security patches. |
|
Configure kdump
kdump is a Linux kernel feature that generates a core dump file when the kernel crashes. Use the Cloud Assistant ecs_dump_config plugin to enable, disable, or query kdump.
-
Go to the ECS console - Instances.
-
In the upper-left corner, select the resource group and region of the target instance.
-
Select the target instance, click Connect, and log on to the Linux instance using Workbench.
-
Configure kdump.
-
Enable kdump
sudo acs-plugin-manager --exec --plugin=ecs_dump_config --params --enable -
Disable kdump
sudo acs-plugin-manager --exec --plugin=ecs_dump_config --params --disable -
Query kdump status
sudo acs-plugin-manager --exec --plugin=ecs_dump_config --params --status
-
Configure an auxiliary ENI with one click
After you add an auxiliary Elastic Network Interface (ENI) to an ECS instance, configure its network on CentOS with the Cloud Assistant multi-nic-util plugin.
-
Configure the auxiliary ENI.
sudo acs-plugin-manager --exec --plugin=multi-nic-util
Configure IPv6
Use the Cloud Assistant ecs-utils-ipv6 plugin to configure IPv6 on an instance with an IPv6 address, or remove IPv6 from an instance without one. The plugin supports automatic configuration, manual configuration, enabling, and disabling IPv6.
-
Configure IPv6.
-
Enable IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 --params --enable -
Disable IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 --params --disable -
Auto-configure IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 -
Manually configure IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 --params --static,<dev>,<ip6s>,<prefix_len>,<gw6><dev>: The target network interface name, such aseth0.<ip6s>: The IPv6 address to configure.<prefix_len>: The prefix length of the IPv6 address, such as64.<gw6>: The IPv6 gateway address.
-
Configure multi-queue for a network interface card
NIC multi-queue distributes network interrupts across multiple CPUs to improve performance. Use the Cloud Assistant ecs_tools_multiqueue plugin to maximize queue count for all NICs.
-
Maximize the queue count for all NICs.
sudo acs-plugin-manager --exec --plugin=ecs_tools_multiqueue
Manage Intel Hyper-Threading (HT)
Use the Cloud Assistant ecs_disable_intel_hyper-threading plugin to disable Intel Hyper-Threading (HT) on ECS Bare Metal instances.
This plugin applies only to ECS Bare Metal instance types. Running it on other instance types returns an unsupported error.
-
Disable Intel Hyper-Threading.
sudo acs-plugin-manager --exec --plugin=ecs_disable_intel_hyper-threading
Quickly configure an NVMe driver
Use the Cloud Assistant ecs_nvme_config plugin to configure the NVMe driver. This plugin supports various operating systems, such as Alibaba Cloud Linux, CentOS, and Ubuntu.
-
Check plugin availability.
If the Cloud Assistant Agent is not installed, install it first. If
ecs_nvme_configappears in the plugin list, proceed to the next step.acs-plugin-manager --list -
Check the NVMe module status.
sudo acs-plugin-manager --exec --plugin ecs_nvme_config --params --check-
If the following output appears, the configuration is successful:
[SUCCESS] Summary: Your image can run on an NVMe instance. -
If an error is returned, run the configuration command:
sudo acs-plugin-manager --exec --plugin ecs_nvme_config --params --fix
-
-
Restart the instance.
sudo reboot -
Verify the configuration.
sudo acs-plugin-manager --exec --plugin ecs_nvme_config --params --checkSuccessful output:
[OK] 1. The initrd/initramfs already contains the NVMe module. [OK] 2. The fstab file looks fine and does not contain any device names. [OK] 3. The NVMe parameters are already included. [SUCCESS] Summary: Your image can run on an NVMe instance.
Manage security patches
Use the Cloud Assistant patch_manager plugin to scan for and install missing security patches on your ECS instances.
-
Manage security patches.
-
Scan for security patches
sudo acs-plugin-manager --exec --plugin=patch_manager --params --operation,scan -
Install security patches. The instance restarts automatically if needed.
sudo acs-plugin-manager --exec --plugin=patch_manager --params --operation,install,--reboot,ifneed -
Install security patches without restarting
sudo acs-plugin-manager --exec --plugin=patch_m
-