Silently upgrading NetBackup primary server software on Linux
You can upgrade NetBackup Linux primary servers with native installers. You can use either the NetBackup install script or your preferred installer method.
For Linux: rpm, yum, etc.
A successful installation or upgrade is recorded in the /usr/openv/pack/install.history file.
Note:
Because of package name changes, native installer methods require additional steps to upgrade primary servers from NetBackup 7.7.3 and earlier to NetBackup 8.0 and later. You have two options to correctly upgrade your primary servers and convert to the Veritas packages. You can use the NetBackup installer to upgrade the primary server to the new Veritas packages. Or you can follow the native installers procedure and perform the conditional steps. More information is available.
See “To upgrade the Linux primary server binaries using native installers:”.
Both of these upgrade options result in the same outcome. Once you have successfully upgraded to the Veritas packages, you can perform future upgrades with the installer of your choice.
To upgrade the Linux primary server binaries using native installers:
- Log on as the root user on the server.
- If the NetBackup Administration Console is open, you must close it now.
- (Conditional) For clustered environments, perform the following tasks:
If necessary, edit the
bp.confand thevm.conffiles as follows:If a
REQUIRED_INTERFACEentry exists, replace it with aCLUSTER_NAMEentry. Otherwise, add a newCLUSTER_NAMEentry. This entry should be defined as the virtual server name.For a primary server, make sure that the first
SERVERentry matches theCLUSTER_NAMEentry for thebp.conffile.Take the NetBackup Group offline. Use the command shown:
/opt/VRTSvcs/bin/hares -offline
Freeze the NetBackup Group so that migrations do not occur while the inactive nodes are upgraded. Use the command shown:
/opt/VRTSvcs/bin/hagrp -freeze group -persistent
If you have a VCS cluster configured, you can freeze the NetBackup Group by using the Cluster Manager interface or the command line.
Before you proceed with a cluster upgrade, refer to the NetBackup Clustered Master Server Administrator's Guide for other cluster upgrade requirements.
- NetBackup scripts that are not covered in Chapter 1 that you modified are removed when you run the upgrade script. More information about this topic is available.
See About automatic file changes from an upgrade.
Save any files that you have modified and want to keep.
- Please create the NetBackup installation answer file (
NBInstallAnswer.conf) in the primary server's temporary directory. That directory is usually the/tmpdirectory. More information about the answer file and its contents is available. - (Conditional) When upgrading your primary server from NetBackup 8.1.1 or earlier, populate
NBInstallAnswer.confwith:USAGE_INSIGHTS_FILE_PATH=path
- You can add optional parameters to the
NBInstallAnswer.conffile. The parameters that are shown are examples of some of the parameters you can add. Veritas recommends that you review the NetBackup answer file section that is included in this documentation:LICENSE entries
LICENSE entries are only required on primary servers.
SERVER entries
- (Conditional) If you want to assign RBAC security and backup administration roles to a user or a user group, populate
NBInstallAnswer.confwith the following required information:RBAC_DOMAIN_TYPE
Use this field to specify the domain type to which the user or the user group belongs. The following RBAC_DOMAIN_TYPE values are supported: NT, VX, UNIXPWD, LDAP.
RBAC_DOMAIN_NAME
Use this field to specify the name of the domain to which the user or the user group belongs.
RBAC_PRINCIPAL_TYPE
Use this field to specify USER or USERGROUP.
RBAC_PRINCIPAL_NAME
Use this field to specify the user name or the user group.
More information about the RBAC_* options is available.
- Download the server package that matches your server platform to a system with sufficient space. Then extract the contents of the server package file.
Extract the contents of the server package file. Example:
For Linux RedHat:
tar -xzvf NetBackup_10.1_LinuxR_x86_64.tar.gzFor Linux SuSE:
tar -xzvf NetBackup_10.1_LinuxS_x86_64.tar.gz
- Change to the directory for your desired operating system and copy server files to computer to be installed.
Operating system directory:
For Linux RedHat:
NetBackup_10.1_LinuxR_x86_64/linuxR_x86/anbFor Linux SuSE:
NetBackup_10.1_LinuxS_x86_64/linuxS_x86/anb
Copy server files to machine to be installed:
Linux:
VRTSnetbp.rpm,VRTSnbslibs.rpm, andVRTSpddes.rpm
- Extract the client binaries and copy them to the primary server.
Extract the client binaries:
tar -xzvf client_dist.tar.gz
Change directory to your desired operating system:
RedHat:
openv/netbackup/client/Linux/RedHat3.10.0SuSE:
openv/netbackup/client/Linux/SuSE3.0.76
Copy the files that are shown to the primary server.
Linux
VRTSnbpck.rpm VRTSpbx.rpm VRTSnbclt.rpm VRTSnbclibs.rpm VRTSnbjre.rpm VRTSnbjava.rpm VRTSpddea.rpm VRTSnbcfg.rpm
- Install the Veritas precheck package.
Linux: rpm - U VRTSnbpck.rpm
- (Conditional) If you are upgrading from pre-NetBackup 8.0, remove the old SYMC* packages. The example shown indicates the commands used to remove the SYMC RPM packages. This process preserves your NetBackup configuration.
rpm -e SYMCnbjava rpm -e SYMCpddea rpm -e SYMCnbclt rpm -e SYMCnbjre rpm -e SYMCnetbp rpm -e SYMCpddes
- Install the files in the order that is shown with the commands that are shown:
Linux
rpm - U VRTSpbx.rpm rpm - U VRTSnbclt.rpm rpm -U VRTSnbclibs.rpm rpm - U VRTSnbjre.rpm rpm - U VRTSnbjava.rpm rpm - U VRTSpddea.rpm rpm - U VRTSpddes.rpm rpm - U VRTSnbcfg.rpm rpm - U VRTSnetbp.rpm rpm -U VRTSnbslibs.rpm
- If you decide to install the Java GUI or the JRE after the installation completes, additional information is available.