Backup & Recovery

Here is a sure fire way of installing NetBackup LiveUpdate on the system of your choice. The master server used with these procedure is Solaris 10 SPARC.

First things first, you need to create a folder. In order for the windows machines to work as well as the unix machines, you need to create the folder in lowercase. Even though the instructions say otherwise.
 
When you install the liveupdate agent onto the master server, it will request where the folder is on the server in question. It will create an `nblu.conf` file in the '/usr/openv/netbackup' folder.
 
Make sure you have enough cache allocated to make the installations possible. (Example nblu.conf from the master server below)
 
# $Id: nblu.conf.template,v 1.2.26.1 2008/09/08 15:48:26 $
# $VRTScprght: Copyright 1993 - 2008 Symantec Corporation, All Rights Reserved $
############################################################
#                                                                                                                                         #
# nblu.conf - Symantec LiveUpdate configuration file                                             #
#                                                                                                                                        #
# This file is used to configure the settings used by                                              #
# LiveUpdate                                                                                                                  #
#                                                                                                                                        #
############################################################
 
hosts/0/url=http://SERVERNAME/liveupdate
#hosts/0/url=http://liveupdate.symantecliveupdate.com:80
#hosts/1/url=http://liveupdate.symantec.com:80
#hosts/2/login:ENC=b3effdd10d982d2c7339c9604c67c34c
#hosts/2/password:ENC=18d2e2d4c1445548f8a5ef124ed20bfd
#hosts/2/url=ftp://update.symantec.com/opt/content/onramp
downloadCacheSize=8192
downloadCacheSize=8192
logfile=/opt/Symantec/LiveUpdate/liveupdt.log
maxPackageContentSize=734003200
maxPackageSize=734003200
maxTriFileSize=10485760
maxZipFileSize=614400
workdir=/tmp
 
Notice that the url is different to the one in the instructions from Symantec, they did not expect a Solaris 10 master server to be securing windows servers when they wrote it.
 
Next thing to do is to download the latest release of NBLU zipfiles, extract all of the zipfiles to the folder you created in lower case and you are almost there.
 
It is imperative to make sure that the clientname assigned on installation of the client agent and NBLU_Agent is installed correctly and that it matches what you have used in terms of case and machine type in the Client Hosts list.
 
There are a few other things to remember. You can use a remote installation only to other supported UNIX systems from the Solaris 10 master server.


Netbackup UNIX Client Live Update Agent Install

  1. Navigate to the UnixOptionsCD directory or CD
  2. run ./install
  3. Choose 1
  4. Choose 2
  5. The same prompt should appear again at which point you should enter ‘q’
  6. Followed by ‘y’.  
  7. When asked for a server URL enter:  url=http://MASTERSERVERNAME/liveupdate
  8. The installation will now begin. 
  9. If there are any errors, they are most likely related to SELinux but should have been taken care of by the chcon steps above.  
  10. If an issue occurs repeat the steps 5-12 above. 
  11. Once the installation is finished, enter ‘q’ and the installation is complete.
 Remote Installation of LiveUpdate Client (UNIX only)
Some systems may not have been configured to use LiveUpdate when the client agent software was installed. For UNIX systems only there is a remote installation procedure that allows Backup Administrators to install and configure the software.
 
Before installing any software on a server, it will be necessary to have an approved change record. For Linux servers, there is a blanket change which allows servers to be amended at specific times of the day. Please check with the Linux Server Team to ensure that the update can be performed.
 
  1. Login to the Master Server as ‘root’
  2. From a Terminal Session run: ‘cd /usr/openv/netbackup/bin’
  3. From the prompt run ‘gedit client.lst’ (The file looks as follows: Alter the name, OS and OS type as per belowSmiley Happy
  4. client.lst contents are as below:
Linux RedHat2.6 servername
  1. The machine type: Linux, Solaris, PC (where PC equals windows)
  2. The OS type: RedHat2.6, Solaris9, Solaris10, Solaris_x86_10, Windows2003, Windows2008
  3. The Architecture type: x86, x64, IA64
  4. Edit the file and add the server you wish to update, save and exit the file
  5. To update the server with the LiveUpdate agent
  6. run ‘update_luagent –ForceInstall –ClientList /usr/openv/netbackup/bin/client.lst’
You will see the following:
# update_luagent -ForceInstall -ClientList /usr/openv/netbackup/bin/client.lst
 
**********
There is 1 client to upgrade.
 
Linux RedHat2.6 servername
 
The upgrade will likely take 1 to 3 minutes.
Do you want to upgrade the client now? [y,n] (y)

  1. If the details on the screen are correct, then select ‘y’ and press enter, the update will take approx 5 minutes per server.
  2. During the installation you will be requested to give the location of the LiveUpdate server, please enter when requested, the following: url=http://MASTERSERVERNAME/liveupdate
  3. Note:there is a case sensitive on the liveupdate folder specification (lower-case)
 
Upon completion, it may not be possible to contact the client agent, specifically if there is a UNIX system with SELinux installed and enabled. There may be an ‘error 23 unable to communicate with client’ when accessing the client settings. This is due the SELinux being enabled.
Contact the UNIX support team and ask them to check for SELinux being enabled, where possible, disable SELinux. If you are unable to disable this feature, then please get the server team to perform the following:

  1. Edit /etc/selinux/config and find the line:  SELINUX=enabled (may be ‘enforcing’, change this to disabled and save the file).
Enter the following at the command line:

  1. chcon -t textrel_shlib_t /usr/openv/lib/libnbmangle.so
  2. chcon -t textrel_shlib_t /usr/openv/lib/libvxPBXCommon.so
  3. chcon -t textrel_shlib_t /usr/openv/lib/libvxPBX.so
  4. chcon -t textrel_shlib_t /usr/openv/lib/libvxPBXVxSS.so
  5. chcon -t textrel_shlib_t /usr/openv/lib/libvxVxSSIOP.so
  6. chcon -t textrel_shlib_t /usr/openv/lib/libnbservice.so
  7. Once these are entered, edit /etc/selinux/config and change the SELINUX line back to the previous value.
  8. Run /etc/init.d/xinetd restart

 Now you are ready to test Open the NBU console ‘click the ‘liveupdate’ button, add in the hostname and select the correct machine type. Switch to the Activity tab and watch it run. There may be a failure of certain kinds, some are listed below with mitigation steps.
 
 
 
Additional notes which may be handy….
 
NetBackup Windows Client Agent Install
Follow these instructions to install the NetBackup client software on your local Windows system. You can stop the installation process at any time by clicking Cancel or by clicking Back to return to the previous window.
 
Note:After client installation, you may need to reboot the system for the changes to take effect.
 
Log in as administrator on the host or system server.
Obtain a copy of the latest Installation Media from Regina Infrastructure Services
 
  1. Add client name and ip to hosts files on Master Server and Device Manager
  2. Login as administrator on the host system server
  3. Add master server to client hosts file (MasterServerName / MASTERSERVER IP)
  4. Obtain a copy of the latest installation Media from the Data Centre – Infrastructure services team and copy it to the local hard drive on the server.
  5. Locate the folder where the installation pack is located
  6. Right-Click “Launch.bat”
  7. For Windows 2000/2003 server select ‘Open’
  8. For Windows 2008 server select ‘Run as Administrator’
  9. On the initial screen, select NetBackup Installation.
  10. On the installation screen, select Install Client Software.
  11. On the Welcome screen, click Next.
  12. On the License Agreement screen, accept the terms of the agreement.
  13. On the Installation Type screen, select the following:
    • Install to this computer only
  14. Click Next.
  15. On the NetBackup System Names screen, provide the following information:
  16. Client Name Enter the name of the client machine on which you are logged in. (locate the name to type in by using hostname from a cmd prompt)
  17. Master Server Name: Enter MASTERSERVERNAME
  18. Additional Servers Enter all the server names that you want this client to access.
  19. Install LiveUpdate Agent
  20. To install the LiveUpdate agent, leave the check box checked. Otherwise, click the check box to remove the check to prevent agent installation.
  21. Location of LiveUpdate Server
  22. Enter the Http path for the NetBackup LiveUpdate server here: http://MASTERSERVERNAME/liveupdate
  23. Note: there is a case sensitive on the liveupdate folder specification (lower-case)
  24. Select the type of server (HTTP) used for the NetBackup LiveUpdate server.
  25. On the Ready to Install screen, click Install.
  26. On the System Validation Complete screen, click Finish.

Netbackup UNIX Client Agent Install

  1. Log in to the Linux machine as the root user.  
  2. Obtain the NetBackup Client and UNIX Options tar balls and extract them. 
  3. Once the tar ball is extracted go to the clients install directory and run ./install. 
  4. Answer ‘y’ to the first two questions and when asked for a server name be sure to enter the hostname exactly as displayed by the `hostname` command.  
  5. Answer ‘y’ to the next question and the client should be installed.  Review the output to ensure there are no errors.
  6. Once the installation is complete, if the Linux machine has SELinux we must configure it to allow the NB software to load some libraries.
  7. Edit /etc/selinux/config and find the line:  SELINUX=enabled (may be ‘enforcing’, change this to disabled and save the file.
  8. Enter the following at the command line:
  9. chcon -t textrel_shlib_t /usr/openv/lib/libnbmangle.so
  10.    chcon -t textrel_shlib_t /usr/openv/lib/libvxPBXCommon.so
  11.    chcon -t textrel_shlib_t /usr/openv/lib/libvxPBX.so
  12.    chcon -t textrel_shlib_t /usr/openv/lib/libvxPBXVxSS.so
  13.    chcon -t textrel_shlib_t /usr/openv/lib/libvxVxSSIOP.so
  14.    chcon -t textrel_shlib_t /usr/openv/lib/libnbservice.so
  15. Once these are entered, edit /etc/selinux/config and change the SELINUX line back to the previous value.
  16. Run /etc/init.d/xinetd restart
  17. Navigate to the UnixOptions directory and run ./install
  18. Choose 1, then number 2. the same prompt should appear again at which point you should enter ‘q’ followed by ‘y’.   When asked for a server URL enter:  url=http://MASTERSERVERNAME/liveupdate      The installation will now begin.  If there are any errors, they are most likely related to SELinux but should have been taken care of by the chcon steps above.   If an issue occurs repeat the steps above.  Once the installation is finished, enter ‘q’ and the installation is complete.
  19. Login to the master server and open the NetBackup Admin Console, navigate to Netbackup Management àHost Properties àClients.   Locate the newly installed client and double click on it.   Click on Timeouts on the left side and set the Client Read Timeout to 600 seconds.   Set File browse timeout to 120 seconds. Click ok.  Your client should now be ready to use.
 
Hope this helpsyes 

Any questions, drop me a note and I will respond.
 
Kind Regards,
 
Trevor
Comments
Hi Trevor,

I am new to Netbackup, so a silly question.

We have a Netbackup Master server/Media Server on one Solaris 9 SPARC box. If i install Liveupdate on it, will work for both Windows and Unix client updates?

-Abhishek

Hi abhishek29583 you will get it working for both Windows and Unix systems if you follow the instructions above.

They are based on Solaris 10 however, but should work in the most

 

Sorry for the late reply.

thanks,

Trevor