Alibaba Cloud offers a suite of Operations and Maintenance (O&M) stability tools to optimize instance performance, enhance system stability, and simplify daily O&M tasks.
Feature | Description | Cloud Assistant plugin |
Generates a core dump file when the kernel crashes to help with troubleshooting. |
| |
Configure the network for an auxiliary Elastic Network Interface (ENI) on a CentOS system with a single click to simplify the process. |
| |
Configure or clean up IPv6 networks for an ECS instance with a single click. |
| |
Set the number of network interface card queues to the maximum supported value to improve network performance. |
| |
Disable the Intel Hyper-Threading feature on an ECS Bare Metal instance. |
| |
Quickly configure the NVMe driver to ensure the system runs correctly on instances that support NVMe. |
| |
Scan for and install missing system security patches to improve instance security. |
|
Configure kdump
kdump is a Linux kernel feature that generates a core dump file for analysis and troubleshooting when the kernel crashes. You can use the Cloud Assistant ecs_dump_config plugin to quickly enable, disable, or query the kdump feature.
Go to the ECS console - Instances.
In the upper-left corner of the page, select the resource group and region of the target instance.
Select the target instance, click Connect, and then log on to the Linux instance using Workbench.
Configure kdump.
Enable kdump
sudo acs-plugin-manager --exec --plugin=ecs_dump_config --params --enableDisable kdump
sudo acs-plugin-manager --exec --plugin=ecs_dump_config --params --disableQuery 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, you must configure its network parameters. For CentOS systems, you can use the Cloud Assistant multi-nic-util plugin to simplify the process by configuring the network with a single command.
Run the following command to configure the auxiliary ENI.
sudo acs-plugin-manager --exec --plugin=multi-nic-util
Configure IPv6
You can use the Cloud Assistant ecs-utils-ipv6 plugin to configure the IPv6 network for an ECS instance that has an IPv6 address, or remove the IPv6 configuration from an instance that does not. The plugin lets you automatically configure, manually configure, enable, or disable IPv6.
Configure IPv6.
Enable IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 --params --enableDisable IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 --params --disableAutomatically configure IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6Manually configure IPv6
sudo acs-plugin-manager --exec --plugin=ecs-utils-ipv6 --params --static,<dev>,<ip6s>,<prefix_len>,<gw6><dev>: The name of the target network interface, 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
The multi-queue feature for network interface cards (NICs) improves network performance by distributing network interrupts across multiple CPUs. You can use the Cloud Assistant ecs_tools_multiqueue plugin to set the number of queues for all NICs to the maximum supported value with a single command.
Run the following command to set the number of queues for all NICs to the maximum supported value.
sudo acs-plugin-manager --exec --plugin=ecs_tools_multiqueue
Manage Intel Hyper-Threading (HT)
Some scenarios require you to disable the Intel Hyper-Threading (HT) feature on ECS Bare Metal instances. You can use the Cloud Assistant ecs_disable_intel_hyper-threading plugin to disable this feature.
This plugin applies only to ECS Bare Metal instance types. If you run this plugin on other instance types, an error message is returned indicating that the instance type is not supported.
Run the following command to disable Intel Hyper-Threading.
sudo acs-plugin-manager --exec --plugin=ecs_disable_intel_hyper-threading
Quickly configure an NVMe driver
You can use the Cloud Assistant ecs_nvme_config plugin to quickly configure the NVMe driver. This plugin is supported on various operating systems, such as Alibaba Cloud Linux, CentOS, and Ubuntu.
Check whether the plugin is available.
If the Cloud Assistant Agent is not installed, you must install it. If
ecs_nvme_configis in the plugin list, proceed to the next step.acs-plugin-manager --listCheck the status of the NVMe module.
sudo acs-plugin-manager --exec --plugin ecs_nvme_config --params --checkIf the following output is returned, the configuration is successful:
[SUCCESS] Summary: Your image can run on an NVMe instance.If an error message is returned, run the configuration command:
sudo acs-plugin-manager --exec --plugin ecs_nvme_config --params --fix
Restart the instance.
sudo rebootCheck the configuration status again.
sudo acs-plugin-manager --exec --plugin ecs_nvme_config --params --checkAfter a successful configuration, the output is as follows:
[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
To keep your ECS instances secure, regularly scan for and install missing system security patches. You can use the Cloud Assistant patch_manager plugin to scan for and install these patches.
Manage security patches.
Scan for security patches
sudo acs-plugin-manager --exec --plugin=patch_manager --params --operation,scanInstall security patches. The system automatically restarts the ECS instance if needed.
sudo acs-plugin-manager --exec --plugin=patch_manager --params --operation,install,--reboot,ifneedInstall security patches without restarting the ECS instance
sudo acs-plugin-manager --exec --plugin=patch_manager --params --operation,install,--reboot,no