forked from docs/doc-exports

Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com> Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
5.7 KiB
5.7 KiB
Uninstalling the PV Driver from a Linux ECS
Scenarios
When optimizing a Linux private image, you need to change the UUID in the fstab and GRUB configuration files, and install native Xen and KVM drivers on the ECS. To ensure that you can successfully install native Xen and KVM drivers, you must uninstall the PV driver from the ECS.
Procedure
- Log in to the ECS as user root using VNC.
- Run the following command to check whether the PV driver is installed in the OS:
The PV driver is installed in the OS if the following information is displayed:
root 4561 1 0 Jun29 ? 00:00:00 /usr/bin/uvp-monitor root 4567 4561 0 Jun29 ? 00:00:00 /usr/bin/uvp-monitor root 6185 6085 0 03:04 pts/2 00:00:00 grep uvp-monitor
- If the PV driver is installed, go to 3.
- If the PV driver is not installed, perform the operations in Changing the Disk Identifier in the fstab File to UUID, Installing Native KVM Drivers, and Changing the Disk Identifier in the GRUB Configuration File to UUID.
- In the VNC login window, open the CLI.
- Run the following command to uninstall the PV driver:
- The PV driver is uninstalled successfully if the following command output is displayed:
The PV driver is uninstalled successfully. Reboot the system for the uninstallation to take effect.
- If .uvp-monitor is not contained in the command output, go to 5.
-bash: /etc/.uvp-monitor/uninstall: No such file or directory
- The PV driver is uninstalled successfully if the following command output is displayed:
- Perform the following operations to delete uvp-monitor that failed to take effect, preventing log overflow:
- Run the following command to check whether UVP user-mode programs are installed in the OS:
Information similar to the following is displayed:
libxenstore_uvp3_0-3.00-36.1.x86_64 uvp-monitor-2.2.0.315-3.1.x86_64 kmod-uvpmod-2.2.0.315-3.1.x86_64
- Run the following commands to delete the installation packages:
rpm -e uvp-monitor
rpm -e libxenstore_uvp
- Run the following command to check whether UVP user-mode programs are installed in the OS:
Parent topic: Optimizing a Linux Private Image