Veritas NetBackup™ Installation Guide
- Preparing for installation
- Restrictions on the NetBackup installation directory
- Creating the user account to support the NetBackup web server
- About compatibility between NetBackup versions
- About Veritas Services and Operations Readiness Tools
- Recommended SORT procedures for new installations
- Recommended SORT procedures for upgrades
- About NetBackup software availability
- About storage device configuration
- How to install NetBackup
- About security certificates for NetBackup hosts
- SCCM and Chef deployment tools and documentation now available
- Support is discontinued for push installation of a master server
- NetBackup licenses
- Installing server software on UNIX systems
- Installation and upgrade requirements for UNIX and Linux
- Do not mix non-English versions of Windows and UNIX platforms unless master and media servers are NetBackup appliances
- NetBackup installations on environments that run different versions of UNIX-based operating systems
- Special installation guidelines for Solaris systems
- Special installation guidelines for HP-UX systems
- Special guidelines for AIX master servers
- Special installation guidelines for UNIX clustered environments
- How the installation script works
- About mounting the NetBackup software media
- Installing NetBackup master server software on UNIX
- Installing NetBackup media server software on UNIX
- About pushing client software from a master server to clients
- Installation and upgrade requirements for UNIX and Linux
- Installing server software on Windows systems
- Installation and upgrade requirements for Windows and Windows clusters
- Requirements for Windows cluster installations and upgrades
- Performing local, remote, or clustered server installation on Windows systems
- Post-installation tasks for NetBackup cluster environments
- Verifying Windows cluster installations or upgrades
- Installing NetBackup servers silently on Windows systems
- About the administrative interfaces
- About the NetBackup Administration Console
- Installing the NetBackup Administration Console
- Installing multiple versions of the NetBackup Administration Console on Windows
- Removing earlier versions of the NetBackup Administration Console on Windows
- About the NetBackup Remote Administration Console
- Installing the NetBackup Remote Administration Console
- Installing NetBackup client software
- About NetBackup client installation
- About NetBackup client installation on Windows
- About NetBackup client installation on UNIX/Linux
- About UNIX/Linux client installation methods
- Installing UNIX clients locally
- Install and upgrade of the UNIX and Linux client binaries with native installers
- About remote installation methods for UNIX/Linux clients
- Adding a UNIX/Linux client after initial server installation
- Upgrading clients after servers are upgraded
- Configuring NetBackup
- Upgrading NetBackup software
- Removing NetBackup server and client software
- About NetBackup server software removal on UNIX systems
- About NetBackup client software removal on UNIX and Linux systems
- Removing NetBackup from UNIX and Linux servers and clients
- About NetBackup server software removal on Windows systems
- Removing NetBackup server and client software from Windows servers, clusters, and clients
- Removing NetBackup LiveUpdate from Windows systems
- About removal of the Java Console state data from Windows servers and Windows clients
- Removing a clustered media server by migrating all data to a new media server
- Reference
- Generate a certificate on the inactive nodes of a clustered master server
- About the NetBackup answer file
- NetBackup master server web server user and group creation
- About the NetBackup Java Runtime Environment
- Using NetApp disk arrays with Replication Director
- Security updates to the NetBackup database
Removing NetBackup from UNIX and Linux servers and clients
Use this procedure to remove NetBackup from UNIX and Linux servers and clients. You may also need to reference other documents for procedures of specific tasks to remove NetBackup successfully.
Use the following guidelines when you remove NetBackup from UNIX and Linux servers and clients:
NetBackup relational database (NBDB) location | If you moved the NBDB files in /usr/openv/db/data from their default installation location, this procedure includes a step that describes how to remove these files. |
Clustered environments | Before you begin to remove NetBackup, you must remove NetBackup from the cluster application. Follow the instructions in your cluster documentation on how to remove a group, then you can remove NetBackup. The virtual host name security certificates are automatically removed from the shared drive of the cluster as a part of NetBackup server software removal. You must remove NetBackup from each node in the cluster. |
HP-UX Service Guard Clusters | If NetBackup has been configured to run as a clustered package, you must also delete the following directory: /etc/cmcluster/netbackup |
When you remove NetBackup, PBX is not removed. You must remove PBX manually. This procedure includes a step that describes how to perform this task. Warning: Do not remove PBX if your server uses other Veritas software products that require PBX to run. | |
NetBackup Administration Console | The NetBackup Administration Console must be closed when you remove NetBackup. Otherwise, NetBackup may cause a failure that forces you to restart the procedure. |
To remove NetBackup from UNIX servers
- Log on as the root user on the server or the client.
- (Conditional: servers only) Perform a catalog backup.
- If the NetBackup Administration Console is open, you must close it now.
- (Conditional: servers only) Save all important data from any add-on products that you have installed.
- Stop the NetBackup/Media Manager daemons with the following command:
/usr/openv/netbackup/bin/bp.kill_all
- 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 servers and clients. They are:
VRTSfrnb (Applies only to servers) VRTSfrnbclt VRTSjanb (Applies only to servers) VRTSjanbclt VRTSzhnb (Applies only to servers) VRTSzhnbclt VRTSnbsds (Applies only to servers)
Remove any add-on products found.
- (Conditional: servers only) For Solaris systems only, run the following command:
/usr/openv/volmgr/bin/driver/sg.install -deinstall
- 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.
- (Conditional: servers only) If BMR is supported and enabled on the server, remove the associated files with the following command:
/usr/openv/netbackup/bin/bmrsetupmaster -undo -f
- To unregister all NetBackup products with LiveUpdate, enter the following command:
/usr/openv/netbackup/bin/nblu_registration -r
- (Conditional: servers only) 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.conffile.This file contains a list of the database-related files and the path for each file.
Delete each of the database-related files.
- (Conditional: servers only) 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
- Remove the NetBackup configuration package with the appropriate command as follows:
AIX
installp -u VRTSnbcfg
HP-UX
swremove VRTSnbcfg
Linux
rpm -e VRTSnbcfg
Solaris
pkgrm VRTSnbcfg
- For the clients that support PureDisk, remove all PureDisk files with the following command:
/opt/pdde/pddeuninstall.sh -forceclean
- (Conditional: servers only) 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.
- (Conditional: servers only) To remove the NetBackup server package, run the command shown.
Note:
The virtual host name security certificates are automatically removed from the shared drive of the cluster as a part of NetBackup server software removal.
More information about this topic is available. Please refer to the information on retaining host ID-based certificates when reinstalling NetBackup in the Veritas NetBackupSecurity and Encryption Guide.
AIX
installp -u VRTSnetbp
HP-UX
swremove VRTSnetbp
Linux
rpm -e VRTSnetbp
Solaris
pkgrm VRTSnetbp
When the script asks if you want to remove the installed package
VRTSnetbp, 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.
- Remove the NetBackup-Java Display Console by using the appropriate native command as follows:
AIX
installp -u VRTSnbjava
HP-UX
swremove VRTSnbjava
Linux
rpm -e VRTSnbjava
Solaris
pkgrm VRTSnbjava
- Remove the NetBackup Java Runtime Environment by using the appropriate native command as follows:
AIX
installp -u VRTSnbjre
HP-UX
swremove VRTSnbjre
Linux
rpm -e VRTSnbjre
Solaris
pkgrm VRTSnbjre
- Remove the NetBackup client by using the appropriate native command as shown.
Note:
As part of the removal of the NetBackup server software, the security certificates are automatically deleted. If you want to retain the certificates, please save them before removing NetBackup.
More information about this topic is available. Please refer to the information on retaining host ID-based certificates when reinstalling NetBackup in the NetBackupSecurity and Encryption Guide.
AIX
installp -u VRTSnbclt
HP-UX
swremove VRTSnbclt
Linux
rpm -e VRTSnbclt
Solaris
pkgrm VRTSnbclt
Note:
If there are running NetBackup processes and daemons, terminate them manually for a successful NetBackup removal.
- Remove PBX with the appropriate native command as follows:
Note:
Remember, you should not remove PBX if your server uses other Veritas software products that require PBX to run.
AIX
installp -u VRTSpbx
HP-UX
swremove VRTSpbx
Linux
rpm -e VRTSpbx
Solaris
pkgrm VRTSpbx
- Remove NetBackup Pre-Check package with the appropriate command as follows:
AIX
installp -u VRTSnbpck
HP-UX
swremove VRTSnbpck
Linux
rpm -e VRTSnbpck
Solaris
pkgrm VRTSnbpck
- 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
Note:
Depending on your operating system, you may need to use the rmdir command to remove the
/usr/openvdirectory.rmdir /usr/openv
- For Linux systems only:
If you modified the startup and the shutdown scripts, run the following command:
/sbin/chkconfig --del netbackup
- Remove the following startup scripts:
On AIX systems:
/etc/rc.netbackup.aix
On HP-UX systems:
/sbin/init.d/netbackup /sbin/rc1.d/K001netbackup /sbin/rc2.d/S777netbackup
On Linux Debian systems:
/etc.init.d/netbackup /etc/rc0.d/K01netbackup /etc/rc1.d/K01netbackup /etc/rc2.d/S95netbackup
On Linux Red Hat systems:
/etc/rc.d/init.d/netbackup /etc/rc.d/rc0.d/K01netbackup /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 are only on servers and 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
On Linux SUSE systems:
/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 are only on servers and 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 other servers and clients:
/etc/init.d/netbackup /etc/rc0.d/K01netbackup /etc/rc1.d/K01netbackup /etc/rc2.d/S77netbackup
The following startup scripts are only on servers and 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
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
Remove the LiveUpdate components as follows:
First, examine the following file to see if NetBackup is the only product that uses LiveUpdate:
/etc/Product.Catalog.JavaLiveUpdateIf NetBackup is the only product that currently uses LiveUpdate, run the following command:
/opt/Symantec/LiveUpdate/uninstall.sh -a
If LiveUpdate is the only product installed in the
/opt/Symantecdirectory, remove the following files:rm -f /etc/Symantec.conf
Note:
Before you remove the following product catalog file, make sure that it is empty. The empty file size is equal to 0 bytes. If the product catalog file is not empty, do not remove it because other products still require it.
rm -f /etc/Product.Catalog.JavaLiveUpdate
- 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 8.0 with no upgrades applied would be entered as 800000.
- 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
commonsubdirectory in $HOME/.veritas/java/.userPrefs/vrts can be removed. - 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 temporary files
These files are removed with NetBackup.
Individual user (cache) files
These cache files reside in the
$HOME/.vxssdirectory. Inform all users that they can remove this directory.Files are generated in the
/.vxssdirectory 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
/.vxssdirectory. These files typically have a name that is consistent with a DNS entry for a network interface, as inmachine.company.com. Example directory entries are as follows:/usr/openv/var/vxss/credentials/machine.company.com/usr/openv/var/vxss/credentials/dhcpThese 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/credentialsdirectory.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.veritas.com/docs/DOC5332
For more information on NetBackup Access Control and how to remove it, see the NetBackup Security and Encryption Guide.