本文介紹一下如何解除安裝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:
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.
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
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.
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 ProductHelper::get_product_packages_ordering
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:: 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 CPILinux::uninstall_native_package
VxIF::Info:: VRTSralus successfully uninstalled from nbooraclelnx01
VxIF::Info:: Entering CPICommon::post_package_patch_uninstall
VxIF::Info:: All packages for RALUS successfully uninstalled on nbooraclelnx01.
VxIF::Info:: Entering RALUSLinux::post_product_uninstall
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:: RALUS successfully uninstalled on nbooraclelnx01.