Upgrade of Solaris SPARC media servers hosting Media Server Deduplication Pool to NetBackup 7.1 removes /etc/pdregistry.cfg

Article:TECH146243  |  Created: 2010-12-14  |  Updated: 2013-10-02  |  Article URL http://www.symantec.com/docs/TECH146243
Article Type
Technical Solution

Product(s)


Issue



Upgrading a Solaris SPARC media server hosting Media Server Deduplication Pool will remove /etc/pdregistry.cfg on account of a defect in pduninstall.sh script that is run as part of the upgrade. The backups to Media Server Dedupe will start failing after the upgrade.


Environment



Solaris SPARC Media Servers running NetBackup 7.0 with the Media Server Deduplication Option upgrading to 7.1 or 7.5. Users upgrading to NetBackup 7.6 should refer to the NetBackup 7.6 Upgrade Guide. http://www.symantec.com/docs/DOC5332

Solaris SPARC Media Servers running NetBackup 7.0.1 with the Media Server Deduplication Option upgrading to 7.1 or 7.5.  Users upgrading to NetBackup 7.6 should refer to the NetBackup 7.6 Upgrade Guide. http://www.symantec.com/docs/DOC5332

Solaris SPARC Media Servers running NetBackup 7.1  with the Media Server Deduplication Option upgrading to any later release are NOT affected


Cause



An incorrect entry in the pduninstall.sh script removes the MSDP configuration information.


Solution



Formal Resolution:

 

For customers about to upgrade to NetBackup 7.1 on Solaris media server hosting SPARC Media Server Deduplication Pool

The pduninstall.sh  included with NetBackup 7.1 resolves this issue.  However this script is used only when upgrading from NetBackup 7.1 to a future release. For customers upgrading the 7.0.1 or 7.0 Solaris media server hosting Media Server Deduplication Pool, the pduninstall.sh needs to be replaced with an updated version made available through this document.

1.  Replace /usr/openv/pdde/pdag/bin/pduninstall.sh with the attached script in this document

2.   Run pkgrm SYMCnetbp and answer 'y' when prompted with question "Are you doing this pkgrm as a step in an upgrade process?"

For customers already upgraded to NetBackup 7.1 on Solaris media server hosting SPARC Media Server Deduplication Pool

Gather the following information for Media Serever Deduplication Pool

 

STORAGEPATH: The path to the PDDE storage directory
DBPATH: The path to the PDDE database directory (If one was chosen distinct from the storage path at configuration time)
HOSTNAME: The hostname of the media server hosting Media Server Deduplication Pool


1. Stop all NetBackup services on media server
 # /usr/openv/netbackup/bin/bp.kill_all

2. Verify that the link to the MSDP registry file is present in /etc
 # ls -ld /etc/pdregistry.cfg
   If /etc/pdregistry.cfg does not exist, or if it is not a symbolic link, create it as follows:
 # rm -f /etc/pdregistry.cfg

  # ln -s <STORAGEPATH>/etc/pdregistry.cfg /etc/pdregistry.cfg

3. Create /usr/openv/pdde/pddb/etc/pddb.env with the following data:
    #!/bin/bash
    PGBASE=<DBPATH>/databases/pddb
    PGDATA=<DBPATH>/databases/pddb/data
    LOGFILE=<DBPATH>/databases/pddb/postgresql.log
    PGOPTS="-N 512 -B 1024 -i"
    PGUSER=pddb
    PGPORT=10085
    PGHOST=<HOSTNAME>

4. Create /usr/openv/pdde/pdconfigure/cfg/userconfigs/pdregistry.cfg with the following data:
    [Symantec/PureDisk/Install]
    path=/usr/openv/pdde
    [Symantec/PureDisk/Agent]
    path=/usr/openv/pdde/pdag
    configfilepath=/etc/puredisk/Agent.cfg
    [Symantec/PureDisk/PDDE]

5. Create /usr/openv/pdde/pdconfigure/etc/default/pdde with the following data:
    #
    # Toplevel installation directory - set by the installer
    PUREDISK_ROOT="/usr/openv/pdde"
    #
    # Toplevel storage directory - set by the installer
    STORAGE="<STORAGEPATH>"
    #
    # List of all known services. Must be specified in startup order
    PUREDISK_SERVICES=" \
        spad            \
        pddb            \
        spoold          \
    "
6. Start postgress manually
 # /usr/openv/pdde/pdconfigure/pdde spoold start
   If the startup fails, create the following link
 # ln -s  /usr/openv/pdde/pdconfigure/etc/default/pdde /etc/default/pdde
   Start again
 # /usr/openv/pdde/pdconfigure/pdde spoold start
   It will start the “Postgress” service

7. Start spoold service  
 # /usr/openv/pdde/pdcr/bin/spoold --genidentity

10.Start NetBackup services
 #/usr/openv/netbackup/bin/bp.start_all

11.Test a backup on MSDP storage unit.
 


Attachments

pduninstall.zip contains a replacement pduninstall.sh
pduninstall.zip (2 kBytes)

Supplemental Materials

SourceETrack
Value2146740
Description

Upgrading a Solaris SPARC media server hosting Media Server Deduplication Pool will remove /etc/pdregistry.cfg on account of a defect in pduninstall.sh script that is run as part of the upgrade



Article URL http://www.symantec.com/docs/TECH146243


Terms of use for this information are found in Legal Notices