Removing Netbackup Server Software From Unix

 

To remove NetBackup from UNIX servers
1 Log on as the root user on the server.
 
2 Perform a catalog backup.
 
3 If the NetBackup Administration Console is open, you must close it now.
 
4 Save all important data from any add-on products that you have installed.
 
5 Stop the NetBackup/Media Manager daemons with the following command:
/usr/openv/netbackup/bin/bp.kill_all
 
 
6 Identify any installed add-on products by using the following command:
AIX lslpp -L
HP-UX swlist
Linux rpm -qa
Solaris pkginfo
Seven add-on products can be installed on the server. They are:
SYMCfrnb
SYMCfrnbclt
SYMCjanb
SYMCjanbclt
SYMCzhnb
SYMCzhnbclt
SYMCnbsds
Remove any add-on products found.
 
7 For Solaris systems only, run the following command:
/usr/openv/volmgr/bin/driver/sg.install -deinstall
<pkg-install-root>
 
8 To unregister NetBackup from the VxUL master configuration that is stored in
the /etc/vx/vrtslog.conf file, run the following command:
/usr/openv/netbackup/bin/vxlogcfg -r -p 51216
The -p option specifies the product ID, which is 51216 for NetBackup.
 
9 If BMR is supported and enabled on the server, remove the associated files
with the following command:
/usr/openv/netbackup/bin/bmrsetupmaster -undo -f
Removing NetBackup server software 128
Removing NetBackup from UNIX servers
 
10 To unregister all NetBackup products with LiveUpdate, enter the following
command:
/usr/openv/netbackup/bin/nblu_registration -r
 
11 If you moved the NBDB files from their default installation location, you must
delete these files manually as follows:
■ Navigate to the following directory where the NBDB files reside:
/usr/openv/db/data
■ Open the vxdbms.conf file.
This file contains a list of the database-related files and the path for each
file.
■ Delete each of the database-related files.
 
12 If NetBackup Fibre Transport is supported and enabled on the server, remove
the associated files with the following command:
/usr/openv/netbackup/bin/admincmd/nbftsrv_config -d
 
13 For the clients that support PureDisk, remove all PureDisk files with the following
command:
/opt/pdag/bin/uninstall.sh
 
14 For the clients that support MSDP, remove all MSDP files with the following
command:
/opt/pdde/pddeuninstall.sh -basedir /usr/openv/pdde/ -ostdir
/usr/openv/lib/ost/plugins/ -forceclean
Note: Be aware the preceding command is a single command which takes
three parameters (basedir , , ostdir, and forceclean ), and two directory
parameters take paths as input.
 
15 To remove the NetBackup server package, run the following command:
AIX installp -u SYMCnetbp
HP-UX swremove SYMCnetbp
Linux rpm -e SYMCnetbp
Removing NetBackup server software 129
Removing NetBackup from UNIX servers
pkgrm SYMCnetbp
■ When the script asks if you want to remove the
installed package SYMCnetbp, enter y and press
Enter.
■ When the script asks if you want to continue with
the package removal using superuser permission,
enter y and press Enter.
Solaris
 
16 Remove the NetBackup-Java Display Console by using the appropriate native
command as follows:
AIX installp -u SYMCnbjava
HP-UX swremove SYMCnbjava
Linux rpm -e SYMCnbjava
Solaris pkgrm SYMCnbjava
 
17 Remove the NetBackup Java Runtime Environment by using the appropriate
native command as follows:
AIX installp -u SYMCnbjre
HP-UX swremove SYMCnbjre
Linux rpm -e SYMCnbjre
Solaris pkgrm SYMCnbjre
 
18 Remove the NetBackup client by using the appropriate native command as
follows:
AIX installp -u SYMCnbclt
HP-UX swremove SYMCnbclt
Linux rpm -e SYMCnbclt
Solaris pkgrm SYMCnbclt
Removing NetBackup server software 130
Removing NetBackup from UNIX servers
 
19 Remove PBX with the appropriate native command as follows:
Note: Remember, you should not remove PBX if your server uses other
Symantec software products that require PBX to run.
AIX installp -u VRTSpbx
HP-UX swremove VRTSpbx
Linux rpm -e VRTSpbx
Solaris pkgrm VRTSpbx
 
20 To remove the /usr/openv directory, select one of the following methods:
Warning: The rm -f /usr/openv command also removes any add-on products
that are installed on the computer where you perform this command.
■ If /usr/openv is the actual directory, run the following command:
rm -rf /usr/openv
■ If /usr/openv is a symbolic link to that directory, run the following
commands:
cd /usr/openv
pwd
ls
Warning: Before you continue, make sure that you are at the correct location
and verify that the subdirectories are what you expect them to be. To help
prevent removing the wrong directories, the previous commands verify your
current location and list the files in that directory. After you verify the directory
location and its contents, remove the directory with the next commands.
rm -rf *
cd /
rm -f /usr/openv
Removing NetBackup server software 131
Removing NetBackup from UNIX servers
Note: Depending on your operating system, you may need to use the rmdir
command to remove the /usr/openv directory.
rmdir /usr/openv
 
21 For Linux systems only:
If you modified the startup and the shutdown scripts, run the following command:
/sbin/chkconfig –del netbackup
See “About NetBackup startup and shutdown scripts” on page 113.
Removing NetBackup server software 132
Removing NetBackup from UNIX servers
 
22 Remove the following startup scripts:
On AIX systems: /etc/rc.netbackup.aix
/sbin/init.d/netbackup
/sbin/rc1.d/K001netbackup
/sbin/rc2.d/S777netbackup
On HP-UX systems:
/etc.init.d/netbackup
/etc/rc0.d/K01netbackup
On Linux Debian
systems:
/etc/rc1.d/K01netbackup
/etc/rc2.d/S95netbackup
/etc/rc.d/init.d/netbackup
/etc/rc.d/rc0.d/K01netbackup
On Linux Red Hat
systems:
/etc/rc.d/rc1.d/K01netbackup
/etc/rc.d/rc2.d/S77netbackup
/etc/rc.d/rc3.d/S77netbackup
/etc/rc.d/rc5.d/S77netbackup
/etc/rc.d/rc6.d/K01netbackup
The following startup scripts appear only if NetBackup Fiber
Transport was enabled on the server:
/etc/rc.d/init.d/nbftserver
/etc/rc.d/rc0.d/K03nbftserver
/etc/rc.d/rc1.d/K03nbftserver
/etc/rc.d/rc2.d/S21nbftserver
/etc/rc.d/rc3.d/S21nbftserver
/etc/rc.d/rc5.d/S21nbftserver
/etc/rc.d/rc6.d/K03nbftserver
Removing NetBackup server software 133
Removing NetBackup from UNIX servers
/etc/init.d/netbackup
/etc/init.d/rc0.d/K01netbackup
/etc/init.d/rc2.d/S77netbackup
/etc/init.d/rc3.d/S77netbackup
/etc/init.d/rc5.d/S77netbackup
/etc/init.d/rc6.d/K01netbackup
The following startup scripts appear only if NetBackup Fiber
Transport was enabled on the server:
/etc/init.d/nbftserver
/etc/init.d/rc2.d/K01nbftserver
/etc/init.d/rc2.d/S05nbftserver
/etc/init.d/rc3.d/K01nbftserver
/etc/init.d/rc3.d/S05nbftserver
/etc/init.d/rc5.d/K01nbftserver
/etc/init.d/rc5.d/S05nbftserver
On Linux SUSE systems:
/etc/init.d/netbackup
/etc/rc0.d/K01netbackup
/etc/rc1.d/K01netbackup
/etc/rc2.d/S77netbackup
The following startup scripts appear only if NetBackup Fiber
Transport was enabled on the server:
/etc/init.d/nbftserver
/etc/rc0.d/K03nbftserver
/etc/rc1.d/K03nbftserver
/etc/rc2.d/S21nbftserver
On other servers:
 
23 For AIX systems only:
■ In the /etc/inittab file, remove the following NetBackup entry:
/etc/rc.netbackup.aix
■ In the /etc/rc.shutdown file, remove the following line:
/etc/rc.netbackup.aix stop
 
24 Remove Symantec LiveUpdate components as follows:
■ If NetBackup is the only Symantec product that currently uses LiveUpdate,
run the following command:
/opt/Symantec/LiveUpdate/uninstall.sh -a
Removing NetBackup server software 134
Removing NetBackup from UNIX servers
■ If LiveUpdate is the only product installed in the /opt/Symantec directory,
remove the following files:
rm -f /etc/Symantec.conf
rm -f /etc/Product.Catalog.JavaLiveUpdate
 
25 To remove the NetBackup-Java application state data for the root account, run
the appropriate command as follows:
Warning: Do not insert a space between the slash character (/) and the period
or the dot character (.) of /.veritas . A space between these characters
removes all of your files from the root level and beyond.
■ To remove the NetBackup-Java application state data for the root account
for all releases, run the following command:
/bin/rm -rf /.veritas
■ To remove the NetBackup-Java application state data for the root account
for a specific release, run the following command:
/bin/rm -rf /.veritas/java/ <version>
Where <version> is the six-digit NetBackup version number. For example,
NetBackup version 7.6 with no upgrades applied would be entered as
760000.
 
26 Inform NetBackup-Java users that they can remove their $HOME/.veritas
directory.
The $HOME/.veritas and the $HOME/.veritas/java directories contain
application state information, that is saved when the user exits NetBackup-Java
applications. The saved information includes table column order and size. The
process removes this directory for the root user only.
The common subdirectory in $HOME/.veritas/java/.userPrefs/vrts can
be removed.
27 If you enabled NetBackup Access Control, NetBackup placed several files on
clients and servers. These files can be divided into the following categories:
NetBackup application These files are removed with NetBackup.
temporary files
Removing NetBackup server software 135
Removing NetBackup from UNIX servers
These cache files reside in the $HOME/.vxss directory.
Inform all users that they can remove this directory.
Files are generated in the /.vxss directory by a Single
Sign-On operation of the NetBackup Administration
Console on the host where the console runs. The
NetBackup Administration Console cleans these files
when an exit function is performed, so the directory does
not always contain temporary files. However, if a system
crash were to occur, any files in the directory may be
left behind. With the console shutdown , you can delete
these files safely with no data loss.
NetBackup also creates cached certificates for client
and server NetBackup applications. These files reside
within the /.vxss directory. These files typically have
a name that is consistent with a DNS entry for a network
interface, as in machine.company.com. Example
directory entries are as follows:
/usr/openv/var/vxss/credentials/machine.company.com
/usr/openv/var/vxss/credentials/dhcp
These files are created with the command bpnbat
-LoginMachine. If you plan to reinstall NetBackup on
the same computer at a later date, do one of the
following:
■ Preserve the certificates in the vxss/credentials
directory.
■ If you do not preserve the certificates, you must
provide the computer identity password as originally
set on the Root+AB broker. As an alternative, you
can reset the password on the Root+AB broker when
you reinstall.
For more information on Root+AB brokers, see the
NetBackup Security and Encryption Guide .
http://www.symantec.com/docs/DOC5332
For more information on NetBackup Access Control and
how to remove it, see the NetBackup Security and
Encryption Guide.

Read more

How to document Home Lab and Network

運維機房和跨域的網路,會遇到各式需求與問題,用對工具才能分析問題,個人覺得最重要的是使用能處理問題的工具。 推薦目前想學和正在使用的平台與軟體,協助將公司/家用機房文件化 佈告欄任務管理 Focalboard 白板可管理任務指派 網路架構文件編寫 netbox 精細管理網路設備與連接線路 IP 資源管理 phpipam 專注網路IP分配 邏輯塊文件編寫 draw.io 視覺化概念圖 機房設備管理 ITDB 管理設備生命週期與使用者

By Phillips Hsieh

如何在Raspberry Pi4上安裝Proxmox for ARM64

第一步 準備好Raspberry Pi 4 / CM4 4GB RAM,這裡要留意CM4如果是買有內建eMMC storage會限制不能使用SD卡開機而限制本地空間容量,如果沒有NAS外接空間或使用USB開機的話,建議買CM4 Lite插上大容量SD卡 第二步 去Armbian官網下載最小化Debian bookworm image https://www.armbian.com/rpi4b/ Armbian 25.2.2 Bookworm Minimal / IOT 然後寫入SD/USB開機碟,寫入方法參考官方文件 https://github.com/raspberrypi/usbboot/blob/master/Readme.md Note: 官方提供的預先設定系統方法,可以在Armbian初次啟動自動化完成系統設定。連結在此 https://docs.armbian.com/User-Guide_Autoconfig/

By Phillips Hsieh

世界越快心越慢

在晚飯後的休息時間,我特別享受在客廳瀏灠youtube上各樣各式創作者的影音作品。很大不同於傳統媒體,節目多是針對大多數族群喜好挑選的,在youtube上我會依心情看無腦的動畫、一些旅拍記錄、新聞時事談論。 尤其在看了大量的Youtube的分享後,我真的感受到會限制我的是我的無知,特別是那些我想都沒想過的實際應用,在學習後大大幫助到我的生活和工作層面。 休息在家時,我喜歡想一些沒做過的菜,動手去設計生活和工作上的解決方案,自己是真的很難閒著沒事做。 如創作文章,陪養新的習慣都能感覺到成長的喜悅,是不同於吃喝玩樂的快樂的。 創作不去限制固定的形式,文字是創作、影像聲音也是創作,記錄生活也是創作,我想留下的就是創造—》實現—》回憶,這樣子的循環過程,在留下的足跡面看到自己一路上的成長、失敗、絕望、重新再來。 雖然大部份的時候去做這些創作也不明白有什麼特別的意義,但不去做也不會留下什麼,所以呀不如反事都去試試看,也許能有不一樣的水花也許有意想不到的結果,投資自己永遠不會是失敗的決定,不是嗎?先問問自己再開始計畫下一步,未來沒人說得準。 像最近看youtube仍大一群人在為DOS開

By Phillips Hsieh

知識管理的三個步驟:一小時學會把知識運用到生活上

摘錄瓦基「閱讀前哨站」文章作為自己學習知識管理的內容 Part1「篩選資訊」 如何從海量資訊中篩選出啟發性、實用性和相關性的精華,讓你在學習過程中不再迷失方向。 1. 實用性 2. 啟發性 Part2「提高理解」 如何通過譬喻法和應用法,將抽象的知識與日常生活和工作緊密結合,建立更深刻的理解。 1. 應用法 2. 譬喻法 Part3「運用知識」 如何連結既有知識,跟自己感興趣的領域和專案產生關聯,讓你在運用知識的路途上游刃有餘。 1. 跟日常工作專案、人際活動產生連結 # 為什麼要寫日記? * 寫日記是為了忘記,忘卻瑣碎事情,保持專注力 * 寫日記就像在翻譯這個世界,訓練自己的解讀能力 * 不只是透過日記來記錄生活,而是透過日記來發展生活 #如何寫日記? * 不要寫流水帳式的日記,而是寫覆盤式的日記 當我們試著記錄活動和感受之間的關聯,有助於辦認出真正快樂的事 日記的記錄方式要以過程為主,而非結果 * 感恩日記的科學建議,每日感恩的案例

By Phillips Hsieh