SHIFT-WIKI

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


netbackupredhatclient

NetBackup Red Hat - Linux Client

This is an installation on Red Hat 5.2 and 5.5 (same procedure). Note that the installation of the NetBackup 7 client is only supported on 64 bits systems.

Preparations

Preparing for the installation is equal to NetBackup Solaris Client.

Install

The installation is also started the same way:

[root@redhatbox NetBackup_7.5_CLIENTS]# ./install


Symantec Installation Script
Copyright 1993 - 2012 Symantec Corporation, All Rights Reserved.


        Installing NetBackup Client Software


Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding.  The agreement includes
details on the NetBackup Product Improvement Program.

For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.

Do you wish to continue? [y,n] (y) y
Do you want to install the NetBackup client software for this client? [y,n] (y)

This package will install Linux/RedHat2.6.18 client.

NetBackup client is currently at release level 6.5.6.

This package will install NetBackup client 7.5.

Client binaries are located in /home/sjoerd/nbclupgrade/NetBackup_7.5_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18.


Terminating NetBackup and/or Media Manager processes.

Saving pack history as /usr/openv/pack.6.5.6

Saving client binaries for Linux/RedHat2.6.18.

Installing PBX...
Please wait while installation is in progress...
Installation completed Successfully
Installation log located here: /var/tmp/installpbx-8225-102512163115.log


Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
Installation of SYMCnbclt was successful.
More details regarding SYMCnbclt can be found in file
/tmp/install_cltpkg_trace.7926 on redhatbox.prd.domain.

Terminating NetBackup and/or Media Manager processes.

Installing NB-Java.

Unpacking SYMCnbjava package.
Checking for pre-existing SYMCnbjava package.
Installing SYMCnbjava package.
Installation of SYMCnbjava was successful.
More details regarding SYMCnbjava can be found in file
/tmp/install_javapkg_trace.9357 on redhatbox.prd.domain.

Unpacking SYMCnbjre package.
Checking for pre-existing SYMCnbjre package.
Installing SYMCnbjre package.
Installation of SYMCnbjre was successful.
More details regarding SYMCnbjre can be found in file
/tmp/install_jrepkg_trace.9357 on redhatbox.prd.domain.
+ /bin/cp ./nbj.conf /usr/openv/java

Copying /usr/openv/netbackup/nblog.conf to
/usr/openv/netbackup/nblog.conf.10-25-12.16:30:13
for future reference.  Any local modifications to
/usr/openv/netbackup/nblog.conf should be re-evaluated.


Migrating log files in /usr/openv/logs
Migration of log files complete.

Original NetBackup xinetd entries were saved in /etc/xinetd.10-25-12.16:30:13.
Send a SIGHUP to inetd or xinetd so the (x)inetd.conf file will be reread.
Reloading configuration:                                   [  OK  ]
No previous install detected.  Performing a fresh install.
+ Extracting PDDE agent package (/home/sjoerd/nbclupgrade/NetBackup_7.5_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/pddeagent.tar.gz)...
Using /tmp/pdde_pkg to store temporary package data.
Unpacking SYMCpddea package.
Checking for pre-existing SYMCpddea package.
Installing SYMCpddea package.
Creating /etc/pdregistry.cfg.
Saving a copy of the uninstall script to /opt/pdde/pddeuninstall.sh
Checking to see if the PDDE configuration needs upgrading
Agent config file path found: {/etc/puredisk/Agent.cfg}
Making changes to /usr/openv/lib/ost-plugins/pd.conf
RESTORE_DECRYPT_LOCAL already in pd.conf
PREFETCH_SIZE already in pd.conf
META_SEGKSIZE already in pd.conf
Making changes to /usr/openv/lib/ost-plugins/pd.conf
FIBRECHANNEL already in pd.conf

PDDE install finished successfully.
Version now installed:
7.0000.0012.0118
Full PDDE installation log saved to: /var/log/puredisk/2012-10-25_16:32-pdde-install.log


The following automatic startup and shutdown scripts (respectively)
have been installed.  They will cause the NetBackup daemons to be
automatically shut down and restarted each time the system boots.

/etc/rc.d/rc2.d/S77netbackup
/etc/rc.d/rc3.d/S77netbackup
/etc/rc.d/rc5.d/S77netbackup
/etc/rc.d/rc0.d/K01netbackup
/etc/rc.d/rc1.d/K01netbackup
/etc/rc.d/rc6.d/K01netbackup


Successfully updated the session cache parameters.
Starting vnetd...
Starting bpcd...
Starting nbftclnt...
Starting bmrbd...

Installation of Java LiveUpdate agent succeeded.  Refer to file
/tmp/JLU-Log/JavaLiveUpdate-Install.log on redhatbox.prd.domain
for installation details.


Checking LiveUpdate registration for the following products: CLT
This may take a few minutes.

Product CLT is installed and will be registered.

Updating LiveUpdate registration now...this may take some time.



File /usr/openv/tmp/install_trace.7826 contains a trace of this install.
That file can be deleted after you are sure the install was successful.

Restart services:

[root@redhatbox NetBackup_7.5_CLIENTS]# /etc/init.d/netbackup stop
stopping the NetBackup client daemon
stopping the NetBackup network daemon
[root@redhatbox NetBackup_7.5_CLIENTS]# /etc/init.d/netbackup start
NetBackup network daemon started.
NetBackup client daemon started.
NetBackup SAN Client Fibre Transport daemon started.
NetBackup Bare Metal Restore Boot Server daemon started.

Checking versions:

[root@redhatbox NetBackup_7.5_CLIENTS]# rpm -aq | grep SYMCnb
SYMCnbclt-7.5.0.0-0
SYMCnbjava-7.5.0.0-0
SYMCnbjre-7.5.0.0-0

Installing SP

This is how to install the SP:

[root@redhatbox 7504]# ./NB_update.install

There is 1 pack available in /tmp/netbackup/7504:
(* denotes installed pack)

        NB_CLT_7.5.0.4

Enter pack name (or q) [q]: NB_CLT_7.5.0.4


Install pack NB_CLT_7.5.0.4 Fri Oct 26 13:32:58 CEST 2012 Rev. 1.46.8.8
Can not install pack when NetBackup daemons are running.
    Do you want to kill all NetBackup daemons? [y,n] (y) y

Looking for NetBackup processes that need to be terminated.

Looking for more NetBackup processes that need to be terminated.
Stopping bpcd...
Stopping vnetd...
Pack install will continue.
Creating /usr/openv/netbackup/client/Linux/RedHat2.6.18
Performing install of Linux/RedHat2.6.18 client binaries locally.

Running preinstall script.
See /usr/openv/pack/pack.history for more details.
/tmp/netbackup/7504/VrtsNB_CLT_7.5.0.4.preinstall: Running. Hardware/OS Type=Linux/RedHat2.6.18
+ /bin/cp /usr/openv/netbackup/bin/tar /usr/openv/netbackup/client/Linux/RedHat2.6.18/tar
+ /bin/cp /usr/openv/netbackup/bin/version /usr/openv/netbackup/client/Linux/RedHat2.6.18/version
+ /bin/cp /usr/openv/java/nbj.conf /usr/openv/netbackup/client/Linux/RedHat2.6.18/nbj.conf

Saving files for rollback.

Extracting files out of /tmp/netbackup/7504/VrtsNB_CLT_7.5.0.4.Linux.tar.gz.

Extract /tmp/netbackup/7504/VrtsNB_CLT_7.5.0.4.Linux.tar.gz usr/openv/netbackup/client/Linux/RedHat2.6.18
Extract /tmp/netbackup/7504/VrtsNB_CLT_7.5.0.4.Linux.tar.gz  usr/openv/netbackup/client/Linux/Debian2.6.18/JRE.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/JRE.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/JRE.tar.gz
usr/openv/netbackup/client/Linux/RedHat2.6.18/JRE.tar.gz
usr/openv/netbackup/client/Linux/SuSE2.6.16/JRE.tar.gz usr/openv/netbackup/client/Linux/Debian2.6.18/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/RedHat2.6.18/NB-Java.tar.gz
usr/openv/netbackup/client/Linux/SuSE2.6.16/NB-Java.tar.gz usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_JRE
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/.sizes_JRE
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/.sizes_JRE
usr/openv/netbackup/client/Linux/RedHat2.6.18/.sizes_JRE
usr/openv/netbackup/client/Linux/SuSE2.6.16/.sizes_JRE usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_NB-Java
usr/openv/netbackup/client/Linux/IBMzSeriesRedHat2.6.18/.sizes_NB-Java
usr/openv/netbackup/client/Linux/IBMzSeriesSuSE2.6.16/.sizes_NB-Java
usr/openv/netbackup/client/Linux/RedHat2.6.18/.sizes_NB-Java
usr/openv/netbackup/client/Linux/SuSE2.6.16/.sizes_NB-Java

Running PBX upgrade script.
Same version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-6766-102612133519.log

PBX was upgraded successfully.

Running postinstall script.
See /usr/openv/pack/pack.history for more details.
/tmp/netbackup/7504/VrtsNB_CLT_7.5.0.4.postinstall: Running. Hardware/OS Type=Linux/RedHat2.6.18
/tmp/netbackup/7504/VrtsNB_CLT_7.5.0.4.postinstall: Installing Linux/RedHat2.6.18 client binaries locally.


Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Removing pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/tar /usr/openv/netbackup/bin/tar

Installing new Java GUI on redhatbox.

Unpacking SYMCnbjava package.
Checking for pre-existing SYMCnbjava package.
Removing pre-existing SYMCnbjava package.
Installing SYMCnbjava package.

Installing new JRE on redhatbox.

Unpacking SYMCnbjre package.
Checking for pre-existing SYMCnbjre package.
Removing pre-existing SYMCnbjre package.
Installing SYMCnbjre package.

Running /usr/openv/netbackup/client/Linux/RedHat2.6.18/pdinstall to update PDDE.
Checking for SYMCpddea package.
SYMCpddea package is installed.
NetBackup Deduplication software is installed, overwriting binaries.
Existing version:
7.0000.0012.0118
+ Extracting PDDE agent package (/usr/openv/netbackup/client/Linux/RedHat2.6.18/pddeagent.tar.gz)...
Using /tmp/pdde_pkg to store temporary package data.
Unpacking SYMCpddea package.
Checking for pre-existing SYMCpddea package.
Removing pre-existing SYMCpddea package.
Installing SYMCpddea package.
Keeping existing /usr/openv/lib/ost-plugins/pd.conf
Saving a copy of the uninstall script to /opt/pdde/pddeuninstall.sh
Checking to see if the PDDE configuration needs upgrading
Agent config file path found: {/etc/puredisk/Agent.cfg}
Making changes to /usr/openv/lib/ost-plugins/pd.conf
RESTORE_DECRYPT_LOCAL already in pd.conf
PREFETCH_SIZE already in pd.conf
META_SEGKSIZE already in pd.conf
CLIENT_POLICY_DATE already in pd.conf
Making changes to /usr/openv/lib/ost-plugins/pd.conf
FIBRECHANNEL already in pd.conf

PDDE install finished successfully.
Version now installed:
7.0003.0012.0915
Full PDDE installation log saved to: /var/log/puredisk/2012-10-26_13:36-pdde-install.log

+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/tar /usr/openv/netbackup/bin/tar
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/version /usr/openv/netbackup/bin/version
+ /bin/cp /usr/openv/netbackup/client/Linux/RedHat2.6.18/nbj.conf /usr/openv/java/nbj.conf
------------------------------------------------
Installation of pack NB_CLT_7.5.0.4 completed Fri Oct 26 13:32:58 CEST 2012 Rev. 1.46.8.8.
------------------------------------------------

Checking LiveUpdate registration for the following products: CLT
This may take a few minutes.

Product CLT is installed and will be registered.

Updating LiveUpdate registration now...this may take some time.


There is 1 pack available in /tmp/netbackup/7504:
(* denotes installed pack)

        NB_CLT_7.5.0.4 *

Enter pack name (or q) [q]: q

There are stopped daemons.

    Do you want to restart all NetBackup daemons? [y,n] (y)
Starting vnetd...
Starting bpcd...
Starting nbftclnt...
Starting bmrbd...
Exiting NB_update.install
[root@redhatbox 7504]#

TroubleShooting

If you get this error:

cp: preserving permissions for `/usr/openv/pack/NB_CLT_7.5.0.4/save/NB_update.uninstall': Operation not supported
cp: preserving ACL for `/usr/openv/pack/NB_CLT_7.5.0.4/save/NB_update.uninstall': Operation not supported

You're probably running the installation from a NFS mount which supports more permissions than the Red Hat server does. See also this discussion on the subject.

This can be recognized by the + signs at the end of the permission column:

root@redhatbox:/home/sjoerd/nbclupgrade# ll
total 1955717
-rwxr-xr-x+ 1 root bin     106132 Sep 17 18:38 NB_update.install
drwxr-xr-x+ 4 root bin          7 Feb  8  2012 NetBackup_7.5_CLIENTS
-rw-r--r--+ 1 root bin 1413712387 Sep 17 18:20 VrtsNB_CLT_7.5.0.4.Linux.tar.gz
-rwxr-xr-x+ 1 root bin      33965 Sep 17 18:39 VrtsNB_CLT_7.5.0.4.postinstall
-rwxr-xr-x+ 1 root bin      33965 Sep 17 18:39 VrtsNB_CLT_7.5.0.4.postuninstall
-rwxr-xr-x+ 1 root bin      33965 Sep 17 18:39 VrtsNB_CLT_7.5.0.4.preinstall
-rw-r--r--+ 1 root bin       9298 Sep 17 18:39 VrtsNB_CLT_7.5.0.4.README
-rw-r--r--+ 1 root bin  587182521 Sep 17 18:35 VrtsNB_CLT_7.5.0.4.Solaris.tar.gz

Your solution is to copy the installation source to a local filesystem or if you can't do that, to disable the advanced permissions on the NFS share.

Disk Space Shortage

The install takes up a lot of temporary space, so you could run out of disk space. You can mount a NFS datastore in the client and pack directory to save space:

root@redhatbox:/usr/openv/netbackup# mount -t nfs nfsbox:/home/sjoerd/temp /usr/openv/netbackup/client/ -o rw
root@redhatbox:/usr/openv/netbackup# mount -t nfs nfsbox:/home/sjoerd/temp /usr/openv/pack/ -o rw
netbackupredhatclient.txt · Last modified: 2021/09/24 00:24 by 127.0.0.1