Patching NetBackup

From World History Wiki
Jump to: navigation, search
World History Wiki is Brought to you by:
S.J.'s Adventures


This document is for entertainment purposes only. Use at your own risk. This site is in no way affiliated with Symantec or NetBackup.

In this example we will be patching from 7.6.0.1 to 7.6.0.2; however these same steps can be applied to any recent, and likely future, NetBackup patchs.

Download the Necessary Patches

Once downloaded Copy the install files to the necessary Servers

Upgrade OpsCenter Server

  • OpsCenter must be as the same or higher version as the Master servers to work properly, and thus must be patched first.

This example is for an OpsCenter Server running on Windows

  1. Login to the OpsCenter Server as an Administrator
  2. Extract the Client/Server Patch to upgrade the client software and Admin Console.
    The Client software is not a requirement for OpsCenter, but since we are here doing upgrades anyway, lets get this one out of the way too.
    In this case we are also upgraded the Windows Admin Console which does need upgrading to be able to use it with the patched Master Servers.
  3. Run the “SETUP” program.
    1. Click “Next” on the “Welcome” window.
    2. Select to “Install to this computer only”, and click “Next”.
    3. Verify the Summary Report looks correct, and click “Install”.
    4. Watch the progress for any errors.
    5. Click “Finish” when complete.
  4. Extract the Java Admin Console Patch.
    The Java Admin Console software is not a requirement for OpsCenter, but since we are here doing upgrades anyway, lets get this one out of the way too.
  5. Run the “SETUP” program.
    1. Click “Next” on the “Welcome” window.
    2. Select to “Install to this computer only”, and click “Next”.
    3. Verify the Summary Report looks correct, and click “Install”.
    4. Watch the progress for any errors.
    5. Click “Finish” when complete.
  6. Extract the OpsCenter Server Patch.
  7. Run the “SETUP” program.
    1. Click “Next” on the “Welcome” window.
    2. Check the box next to “Agree with the Symantec Software License Agreement.” then click “Next”.
    3. Verify the Summary Report looks correct, select an appropriate location to save the install summary to (i.e. change C:\ to F:\), and then click “Install”.
    4. Watch the progress for any errors.
    5. Click “Finish” when complete.
  8. Extract the OpsCenter ViewBuilder Patch.
  9. Run the “SETUP” program.
    1. Click “Next” on the “Welcome” window.
    2. Check the box next to “Agree with the Symantec Software License Agreement.” then click “Next”.
    3. Verify the Summary Report looks correct, select an appropriate location to save the install summary to (i.e. change C:\ to D:\), and then click “Install”.
    4. Watch the progress for any errors.
    5. Click “Finish” when complete.
  10. Verify all packages were updated.
  11. Correct any errors as needed.

Patch Master Servers

With OpsCenter patched, we can now patch the Master Server(s). We must patch the Master Servers before patching the Media servers, and Media Servers should be patched before patching clients.

1. Log in to the Master Server and become root.
[a.shollist@nbumaster ~]$ sudo su –
Password:
[root@nbumaster a.shollist]#
2. Go to the location of the installation binaries and extract if needed:
[root@nbumaster ~]# cd /u01/NBU7.6/7.6.0.2-Patch/
[root@nbumaster 7.6.0.2-Patch]# ls
NB_7.6.0.2.linuxR_x86.tar  NB_CLT_7.6.0.2.tar
[root@nbumaster 7.6.0.2-Patch]# tar xvf NB_CLT_7.6.0.2.tar
NB_update.install
VrtsNB_CLT_7.6.0.2.README
VrtsNB_CLT_7.6.0.2.postinstall
VrtsNB_CLT_7.6.0.2.postuninstall
VrtsNB_CLT_7.6.0.2.preinstall
VrtsNB_CLT_7.6.0.2.HP-UX-IA64.tar.gz
VrtsNB_CLT_7.6.0.2.HP9000-800.tar.gz
VrtsNB_CLT_7.6.0.2.INTEL.tar.gz
VrtsNB_CLT_7.6.0.2.Linux.tar.gz
VrtsNB_CLT_7.6.0.2.MACINTOSH.tar.gz
VrtsNB_CLT_7.6.0.2.RS6000.tar.gz
VrtsNB_CLT_7.6.0.2.Solaris.tar.gz
[root@nbumaster 7.6.0.2-Patch]# tar xvf NB_7.6.0.2.linuxR_x86.tar
NB_update.install
VrtsNB_7.6.0.2.README
VrtsNB_7.6.0.2.postinstall
VrtsNB_7.6.0.2.postuninstall
VrtsNB_7.6.0.2.preinstall
VrtsNB_7.6.0.2.preuninstall
.sizes_VrtsNB_7.6.0.2.linuxR_x86
VrtsNB_7.6.0.2.linuxR_x86.tar.gz 
3. Run the " NB_update.install" script
[root@qlaxnbmr130 7.6.0.2-Patch]# ./NB_update.install


Checking for required system conditions...

ok nbdb_ntfs_dir_symlink: inapplicable on linux: skipping
ok remote_emm: No remote EMM is detected

Checking for recommended system conditions...

ok ulimit_nofiles: nofiles ulimit 8000 is high enough.
ok semaphore_limits: semaphore limits are high enough
ok nb_7602_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.


There are 2 packs available in /u01/NBU7.6/7.6.0.2-Patch:
(* denotes installed pack)

        NB_7.6.0.2
        NB_CLT_7.6.0.2

Enter pack name (or q) [q]: NB_7.6.0.2
  • Make sure both the base and client packages show up as available packages to install.
  • Type in the base package (this will cause both to install at the same time), and then type the “Enter” or “Return” key, and follow the prompts (This will require services to be stopped):
       Pack NB_7.6.0.2 requires pack NB_CLT_7.6.0.2 or a later.

Pack NB_7.6.0.2 requires the following pack levels(s) :
         NB_CLT_7.6.0.2.

Pack NB_7.6.0.2 will not be installed at this time.

Installing required pack, NB_CLT_7.6.0.2, now.

Pack NB_CLT_7.6.0.2 co-requires the following pack level(s) :
         NB_7.6.0.2.

Install pack NB_CLT_7.6.0.2 Fri May  9 14:16:29 MST 2014 Rev. 1.71.24.13
Can not install pack when NetBackup daemons are running.
    Do you want to kill all NetBackup daemons? [y,n] (y) y

. . .

There are 2 packs available in /u01/NBU7.6/7.6.0.2-Patch:
(* denotes installed pack)

        NB_7.6.0.2 *
        NB_CLT_7.6.0.2 *

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

There are stopped daemons.

    Do you want to restart all NetBackup daemons? [y,n] (y) y
Starting nbatd...
Starting vnetd...
Starting bpcd...
Starting nbftclnt...
Starting nbdisco...
Starting VxDBMS database server...
Starting nbazd...
Starting nbevtmgr...
Starting nbaudit...
Starting spad...
Starting spoold...
Starting mtstrmd...
Starting nbemm...
Starting nbrb...
Starting ltid...
Starting bprd...
Starting bpcompatd...
Starting nbjm...
Starting nbpem...
Starting nbstserv...
Starting nbrmms...
Starting nbkms...
Starting nbsl...
Starting nbim...
Starting nbars...
Starting bmrd...
Starting nbwmc...
Starting nbvault...
Starting nbcssc...
Starting nbsvcmon...
Starting bmrbd...
Exiting NB_update.install
  • Verify the output for any errors, or for success.
4. Correct any problems as needed.

Patch Media Server(s)

Repeat the same steps as used for patching the Master Server for each Media Server.

Patch clients

Windows

  1. Login to the Client as an Administrator
  2. Extract the Client/Server Patch to upgrade the client software.
  3. Run the “SETUP” program.
    1. Click “Next” on the “Welcome” window.
    2. Select to “Install to this computer only”, and click “Next”.
    3. Verify the Summary Report looks correct, and click “Install”.
    4. Watch the progress for any errors.
    5. Click “Finish” when complete.

Unix

The easiest way to accomplish this is to push the patch out from the Master Server by using the "/usr/openv/netbackup/bin/update_clients" script.

Otherwise you can do a similar procedure as was done for the Master and Media servers, but only apply the "NB_CLT_7.6.0.2" patch.

Live Update

You can also use NetBackup Live Update to patch clients.



Back to NetBackup