How to calculate the time it will take to upgrade MSDP from 7.5 to 7.6 (or Appliance version 2.5 to 2.6)

Article:TECH213728  |  Created: 2014-01-06  |  Updated: 2014-06-12  |  Article URL http://www.symantec.com/docs/TECH213728
Article Type
Technical Solution


Subject

Issue



The 7.6 (7.6.0.1) release of MSDP included in Appliance code version 2.6 (2.6.0.1) alters the metabase and content router database structures to allow for enhanced performance and scalability.  As part of this change a conversion process must occur to move the data into the new structures.


Solution



The pddeobjectcount.zip file contains the pddeobjecount executable file for all the platforms which currently support MSDP. These include RedHat Linux, SLES Linux, Solaris(sparc processor), AIX, HP-UX and Windows. 

UNIX/Linux Procedure:

1.       Download the attached pddeobjectcount.zip file
2.       Log into the NetBackup media server to be upgraded. If using a NetBackup Appliance login using the 'admin' account or NetBackup server containing the MSDP intended to be upgraded.
2a.       If using NetBackup Appliance navigate to the 'maintenance' shell by way of support menu
3.       Transfer the file to the NetBackup Appliance directory at /usr/openv/tmp
4.       Using unzip to uncompress the file - # unzip pddeobjectcount.zip.
5.    Navigate into the directory of the proper OS platform.
6.       Execute the script -> use correct path from above step, for example for Appliances -> /usr/openv/tmp/pddeobjectcount/SLES_linux/pddeobjectcount -e -v
6a.       USAGE for pddeobjectcount
  -e|--estimate       (default) Take object count results and estimate conversion time
  -v|--verbose        Print debug messages
  --help              Print this help message
7.       The output of the script will give an estimate as to how long the conversion will take.
8.       Use the output as part of the estimation as to how long a conversion from MSDP 7.5.x (NBU Appliance 2.5.x) to MSDP 7.6 (NBU Appliance 2.6.x).
9.       Include in the estimate the actual time taken to execute the script below.
o   As an example, the upgrade from 7.5.x/2.5.x to 7.5.x/2.6.x may report 5 hours but the execution of the script below is not part of that calculation. 
o   It may take 30 minutes to complete so the entire process would take 5 hours and 30 minutes.
 
Script output example below:

# ./pddeobjectcount -e -v
Counting PDDE objects...
  Loading environment
    Detected platform: UNIX
    Dedupe version: 7.0006.0013.1122
    Found contentrouter.cfg: /MSDP/Dedupe/etc/puredisk/contentrouter.cfg
    Found data path: /MSDP/Dedupe/data
    Found queue path: /MSDP/Dedupe/queue
    Found databases path: /MSDP/Dedupe/databases
  Done loading environment
  Counting the number of SOs and DOs...
  Getting the number of tlog files in /MSDP/Dedupe/queue
    Found tlog file count: 20
  Done getting the number of tlog files in /MSDP/Dedupe/queue (0 seconds)
  Getting SO and DO counts from crdb
    Found SOs from crdb: 200471
    Found DOs from crdb: 8
  Done getting SO and DO counts from crdb (6 seconds)
  Counting the number of POs...
  Getting the PO list from /MSDP/Dedupe/databases
    Found PO count from catalog: 6
  Done getting the PO list from /MSDP/Dedupe/databases (0 seconds)
  Finding the number of containers...
  Getting the number of containers from /MSDP/Dedupe/data
    Found container count from /MSDP/Dedupe/data: 98
  Done getting the number of containers from /MSDP/Dedupe/data (0 seconds)

PO Count: 6
DO Count: 8
SO Count: 200471
Containers: 98
  Getting the average read time for a sample of the container header files
  Done getting the average read time for a sample of the container header files (0 seconds)
  Getting the average read time for a sample of the catalog files
  Done getting the average read time for a sample of the catalog files (0 seconds)
  Cache loading estimate: 44 seconds
  PO Conversion estimate: 0 seconds

Conversion of this storage pool should take approximately:
    Less than a minute
NOTE: Actual conversion time may vary depending on several factors including disk fragmentation, data locality and segment duplication.
The effect of segment duplication cannot be quickly predicted before the conversion is run.

NOTE: Multiple runs of this tool will result in lower and lower estimates, due to file system caching. The first run will be the most accurate.

This tool took: 10 seconds

 

 Windows Procedure:

1.       Download the attached pddeobjectcount.zip file
2.       Log into the NetBackup server with the MSDP storage pool intended to be upgraded.
3.       Unzip the file in a location of your preference.
4.       Open a command prompt and navigate to the location where the file was unzipped and the Windows directory
5.       Execute the script on the command prompt per: pddeobjectcount.exe -e -v
6.       The output of the script will give an estimate as to how long the conversion will take.
7.       Use the output as part of the estimation as to how long a conversion from MSDP 7.5.x to MSDP 7.6.
8.       Include in the estimate the actual time taken to execute the script below.
o   As an example, the upgrade from 7.5.x to 7.6.x may report 5 hours but the execution of the script below is not part of that calculation. 
o   It may take 30 minutes to complete so the entire process would take 5 hours and 30 minutes.
 
Script output example below:

Counting PDDE objects...
  Loading environment
    Detected platform: Windows
    Install path: C:\Program Files\Veritas\pdde\
    Dedupe version: 7.0006.0013.1122
    Found contentrouter.cfg: M:\MSDP\etc\puredisk\contentrouter.cfg
    Found data path: M:\MSDP\data
    Found queue path: M:\MSDP\queue
    Found databases path: M:\MSDP\databases
  Done loading environment
  Counting the number of SOs and DOs...
  Getting the number of tlog files in M:\MSDP\queue
    Found tlog file count: 0
  Done getting the number of tlog files in M:\MSDP\queue (0 seconds)
  Getting SO and DO counts from crdb
    Found SOs from crdb: 2
    Found DOs from crdb: 2
  Done getting SO and DO counts from crdb (1 seconds)
  Counting the number of POs...
  Getting the PO list from M:\MSDP\databases
    Found PO count from catalog: 5
  Done getting the PO list from M:\MSDP\databases (0 seconds)
  Finding the number of containers...
  Getting the number of containers from M:\MSDP\data
    Found container count from M:\MSDP\data: 15
  Done getting the number of containers from M:\MSDP\data (0 seconds)

PO Count: 5
DO Count: 2
SO Count: 2
Containers: 15
  Getting the average read time for a sample of the container header files
  Done getting the average read time for a sample of the container header files
(0 seconds)
  Getting the average read time for a sample of the catalog files
  Done getting the average read time for a sample of the catalog files (0 second
s)
  Cache loading estimate: 1 seconds
  PO Conversion estimate: 0 seconds

Conversion of this storage pool should take approximately:
    Less than a minute
NOTE: Actual conversion time may vary depending on several factors including dis
k fragmentation, data locality and segment duplication.
The effect of segment duplication cannot be quickly predicted before the convers
ion is run.

NOTE: Multiple runs of this tool will result in lower and lower estimates, due t
o file system caching. The first run will be the most accurate.

This tool took: 4 seconds


Attachments

pddeobjectcount.zip contains pddeobjectcount executable for all platforms to calaulate the time it will take to upgrade the MSDP metabase from the 7.5/2.5 version to the new 7.6/2.6 layout.
pddeobjectcount.zip (38 MBytes)


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


Terms of use for this information are found in Legal Notices