本文介绍一下如何卸载Symantec Backup Exec 2012 Agent for Linx。首先我们来看看Symantec_Backup_Exec2012管理员手册的文档介绍:

卸载 Agent for Linux

1 在 Linux 服务器上,将 Backup Exec 安装介质插入相应的设备中。

2 以 root 身份登录到要从中卸载 Linux Agent 的服务器。

3 导航到 Backup Exec 安装介质上的以下目录:<LinuxUnixMac>

4 启动 uninstallralus 脚本。

例如:./uninstallralus

5 执行以下操作之一:

键入 Linux 服务器的名称、IP 地址或完全限定域名。

从一台服务器中卸载 Linux Agent

键入 Linux 服务器的名称、IP 地址或完全

限定域名。每个标识符之间留一个空格。

从多台服务器中卸载 Linux Agent

6 按 Enter。

7 成功完成 Linux Agent 软件包检查后,请按 Enter。

8 当系统提示您卸载 RALUS 软件包时,请按 Enter。

9 当系统提示您卸载 SymSnap 驱动程序时,请按 Enter。

10 要将卸载摘要保存到 Linux 服务器上的以下位置,请按 Enter:

/opt/VRTS/install/logs/uninstallralus<摘要文件编号>.summary

接下来我们来通过实践,看一看卸载Symantec Backup Exec Agent for Linux的具体操作

[root@nbooraclelnx01 BE2012]# cd /

[root@nbooraclelnx01 /]# cd /depot/os/BE2012/ralus

[root@nbooraclelnx01 ralus]# ./uninstallralus

Symantec Backup Exec Agent for Linux 14.0.1798

Enter the system names separated by spaces on which to uninstall RALUS: (nbooraclelnx01)nbooraclelnx01

Checking system communication:

Checking OS version on nbooraclelnx01 .... Linux 2.6.32-200.13.1.el5uek

Initial system check completed successfully.

Press [Return] to continue:

Symantec Backup Exec Agent for Linux 14.0.1798

Checking system uninstall requirements:

Checking RALUS uninstall requirements on Linux target systems: nbooraclelnx01

Checking RALUS installation requirements on nbooraclelnx01:

Checking VRTSralus package ........................ 14.0.1798 installed

Checking VRTSralus dependencies ....................... no dependencies

uninstallralus is now ready to uninstall RALUS packages.

Press [Return] to continue:

Symantec Backup Exec Agent for Linux 14.0.1798

Are you sure you want to uninstall RALUS packages from nbooraclelnx01? [y, n, q] (y)y

All RALUS processes that are currently running on nbooraclelnx01 will be stopped.

Stopping Symantec agent service .................................. Done

Symantec Backup Exec Agent for Linux 14.0.1798

Uninstalling Symantec Backup Exec Agent for Linux on nbooraclelnx01:

Uninstalling VRTSralus 14.0.1798 on nbooraclelnx01 ... done 1 of 1 steps

Symantec Backup Exec Agent for Linux uninstall completed successfully.

Press [Return] to continue:

Uninstalling SymSnap driver .................................... Failed

The response file is saved at:

/var/tmp/vxif/uninstallralus724121130/uninstallralus724121130.response

The uninstallralus log is saved at:

/var/tmp/vxif/uninstallralus724121130/uninstallralus.log

[root@nbooraclelnx01 ralus]#

查看卸载日志,成功卸载了Symantec Backup Exec 2012  Agent for Linx 。

[root@nbooraclelnx01 ralus]# more /var/tmp/vxif/uninstallralus724121130/uninstallralus.log

VxIF::Info:: Local System: nbooraclelnx01

VxIF::Info:: Entering Installer::prompt_for_target_systems

VxIF::Info:: Entering Installer::check_system_names

VxIF::Info:: Exiting Installer::check_system_names

VxIF::Info:: Entering Installer::initial_target_systems_check

VxIF::Info:: Entering Entered Installer::validate_target_host

VxIF::Info:: Exiting Installer::validate_target_host rc  1

VxIF::Info:: Entering RALUSLinux::check_system_names

VxIF::Info:: Exiting Installer::initial_target_systems_check

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering ProductHelper::get_product_packages

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering ProductHelper::get_product_packages_ordering

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering ProductHelper::get_product_packages

VxIF::Info:: Entering CPILinux::get_instpkgvers

VxIF::Info:: /bin/rpm -q --queryformat '%{VERSION}' VRTSralus 2> /dev/null

VxIF::Info:: Uninstalling RALUS on nbooraclelnx01...

VxIF::Info:: Entering RALUSLinux::pre_product_uninstall

VxIF::Info:: Entering RALUSCommon::pre_product_uninstall

VxIF::Info:: Entering RALUSCommon::_ralus_is_root_user

VxIF::Info:: Target OS name: Linux

VxIF::Info:: Checking for 'root' user during install via: /usr/bin/id -un.

VxIF::Info:: Entering RALUSLinux::_ralus_linux_shutdown_ralus

VxIF::Info:: Default init script path set to: /etc/rc.d/init.d

VxIF::Info:: Stopping Symantec agent at: /etc/rc.d/init.d/VRTSralus.init.

VxIF::Info:: Entering RALUSCommon::get_product_title

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering ProductHelper::get_product_packages

VxIF::Info:: Entering CPILinux::get_instpkgvers

VxIF::Info:: /bin/rpm -q --queryformat '%{VERSION}' VRTSralus 2> /dev/null

VxIF::Info:: Uninstalling package VRTSralus 14.0.1798 on nbooraclelnx01.

VxIF::Info:: Entering ProductHelper::package_base_installer

VxIF::Info:: Entering CPICommon::pre_package_patch_uninstall

VxIF::Info:: Entering ProductHelper::package_base_installer

VxIF::Info:: Entering CPILinux::uninstall_native_package

VxIF::Info:: Entering CPILinux::get_instpkgvers

VxIF::Info:: /bin/rpm -q --queryformat '%{VERSION}' VRTSralus 2> /dev/null

VxIF::Info:: VRTSralus successfully uninstalled from nbooraclelnx01

VxIF::Info:: Entering CPICommon::post_package_patch_uninstall

VxIF::Info:: Entering ProductHelper::package_base_installer

VxIF::Info:: All packages for RALUS successfully uninstalled on nbooraclelnx01.

VxIF::Info:: Entering RALUSCommon::get_product_title

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: Entering RALUSLinux::post_product_uninstall

VxIF::Info:: Entering RALUSLinux::_ralus_linux_remove_pkgdirs

VxIF::Info:: Entering RALUSLinux::_ralus_linux_remove_pkgdirs

VxIF::Info:: Default init script path set to:

VxIF::Info:: Executed chkconfig cmd: /sbin/chkconfig --del VRTSralus.init

VxIF::Info:: Entering RALUSLinux::_ralus_linux_uninstall_symsnap

VxIF::Info:: Copy ../scripts/Symantec_symbdsnap.bin to /var/tmp/vxif/Symantec_symbdsnap.bin

VxIF::Info:: Uninstalling SymSnap Driver result: Verifying archive integrity... All good.

Uncompressing Symantec symbdsnap, build 2.0.1-41783......................

Uninstalling Packages from the System.

Packages not installed on the System.

VxIF::Error:: ERROR: Uninstalling SymSnap Driver Failed.

VxIF::Info:: Entering RALUSCommon::get_product_title

VxIF::Info:: Entering RALUSCommon::get_product_version

VxIF::Info:: RALUS successfully uninstalled on nbooraclelnx01.

05-04 12:27