Video Screencast Help

Automatic Pre-upgrade checker

Created: 12 Feb 2013 • Updated: 04 Apr 2013 | 3 comments
Dyneshia's picture
3 Agree
0 Disagree
+3 3 Votes
Login to vote

It would be great to have a pre-upgrade checker.  Items that it could check and ran all in one place BEFORE the upgrade:

This tool would :

- Check the current version of NBU and OS and and compare to the NBU version the user is upgrading to 

     - confrim if it is supported

     - Include known issues or tips :  ex : If upgrading from 6.x , maybe return an additional tip to be at 6.5.6 before upgrading to 7.x

     - prompt customer what OS patches are needed before the upgrade

-  Automaticlly run a consistency check of the NetBackup EMM and BMR databases

  nbdb_admin <databasename> -validate -full

- Check for available disk space and give an estimation on what is needed compared to what is currently in place. An added bounous would be an estmatied time for the upgrade to be compelted.

- Confirm there is a recent successful hot catalog backup.

- Automaticlly run NBCC - I know this will probably have to be handled separately since the user has to create a a case for the output to be reviewed, however maybe include links to the latest version , and tell them to use the -upgrade switch.  Maybe the nbcc -upgrade and the NBCCA could be integrated somehow.  

At the end of the checker, report what failed and what needs to be corrected BEFORE the upgrade.  You can include some helpful tech notes and let the user know what type of information they should gather before opening a ticket with support.

Other helpful tech notes to include is the SORT tool and The latest patchset version.

- run bpdbm -consistency to correct bad image headers before the upgrade.

- Make a copy or give the option to make a copy of the following files to a differnt location, in case of failure (just in case the rollback does not compelete sucessful )

- contents of <install_path>\VERITAS\NetBackupDB
- The following three files:
  <install_path>\VERITAS\NetBackupDB\data\vxdbms.conf
  <install_path>\VERITAS\NetBackupDB\conf\server.conf
 <install_path>\VERITAS\NetBackupDB\conf\databases.conf
-  For Windows : Export the registry

Comments 3 CommentsJump to latest comment

drsnow's picture

Please include the NBCC check in the steps to upgrade and remove this:

http://www.symantec.com/business/support/index?page=content&id=TECH75782&actp=search&viewlocale=en_US&searchid=1363188577594

that says:

NetBackup Catalog Consistency Check (NBCC) is not mandatory 

This should be done and in some cases done before the upgrade is planned. I would have done it before the upgrade began if it had bee in the documentation and given the importance it deserves. To find out in the middle of the upgrade that I'll need to run a utility that wil run 6 hours and I won't make the installation window set aside by the company was to put it mildy upsetting.

+1
Login to vote
John_Nardello's picture

SORT does several of these for you. https://sort.symantec.com

 

- "Your backups are only as good as your restores."

+1
Login to vote
Dyneshia's picture

The Idea for this tool is to automate more items.  I did mention to list sort as a reference along with other helpful tech notes AFTER the tool comepltes.

Yes Sort takes care of a few items, however it does not :

- Include known issues or tips :  ex : If upgrading from 6.x , maybe return an additional tip to be at 6.5.6 before upgrading to 7.x

-  Automaticlly run a consistency check of the NetBackup EMM and BMR databases

  nbdb_admin <databasename> -validate -full

- Confirm there is a recent successful hot catalog backup.
 

 - Automaticlly run NBCC - I know this will probably have to be handled separately since the user has to create a a case for the output to be reviewed, however maybe include links to the latest version , and tell them to use the -upgrade switch.  Maybe the nbcc -upgrade and the NBCCA could be integrated somehow.  

- run bpdbm -consistency to correct bad image headers before the upgrade.

- Make a copy or give the option to make a copy of the following files to a differnt location, in case of failure (just in case the rollback does not compelete sucessful )

- contents of <install_path>\VERITAS\NetBackupDB
- The following three files:
  <install_path>\VERITAS\NetBackupDB\data\vxdbms.conf
  <install_path>\VERITAS\NetBackupDB\conf\server.conf
 <install_path>\VERITAS\NetBackupDB\conf\databases.conf
-  For Windows : Export the registry
 

 

0
Login to vote