Sunday, October 7, 2012



1.    Back up the existing NetBackup 6.5 databases (HOT CATLOG)

1.    Checking catalog consistency
-bash-3.00# pwd
-bash-3.00# ./nbdb_admin NBDB -validate -full
Adaptive Server Anywhere Validation Utility Version
Validating EMM_MAIN.EMM_AllocationStatus
Validating rs_systabgroup.rs_lastcommit
Validating rs_systabgroup.rs_threads
No errors reported
Database [NBDB] validation successful.

cd /usr/openv/db/bin
# ./dbadm
Selected Database:  BMRDB
                           Status:  UP
                      Consistency:  OK
                Space Utilization:  7 %

                Database Administration
                1)  Select/Restart Database and Change Password
                2)  Database Space and Memory Management
                3)  Transaction Log Management
                4)  Database Validation Check and Rebuild
                5)  Move Database
                6)  Unload Database
                7)  Backup and Restore Database
                8)  Refresh Database Status
                h)  Help
                q)  Quit
                ENTER CHOICE:

Selected Database:  NBDB
                           Status:  UP
                      Consistency:  OK
                Space Utilization:  7 %

2.    Deactivate all NetBackup policies.

1.    -Deactivate all media servers
>Media and Device Management > Devices > Host >select media server > deactivate

1.    Remove the current NetBackup server package by using the appropriate command:
for version 6.5    : pkgrm sYMCnetbp

test#pkgrm SYMCnetbp

The following package is currently installed:
   SYMCnetbp  NetBackup and Media Manager
              (sparc) 6.5,REV=2007.

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <SYMCnetbp>

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <SYMCnetbp> dependencies in global zone
## Processing package information.
## Executing preremove script.

NetBackup and Media Manager processes
cannot be running when this package is removed.

        Do you want to stop the NetBackup and Media Manager processes?
(y) [y,n,?,q] y

Looking for NetBackup processes that need to be terminated.
Stopping nbsvcmon...
Stopping nbsl...
Stopping nbrmms...
Stopping nbstserv...
Stopping nbpem...
Stopping nbjm...
Stopping nbproxy...
Suspending or cancelling jobs...
Stopping bprd...
Stopping bpcompatd...
Stopping bpdbm...
Looking for Media Manager processes that need to be terminated.
Stopping vmd...

Stopping nbrb...
Stopping nbemm...
Stopping nbevtmgr...

Looking for VxDBMS processes that need to be terminated.
Stopping VxDBMS database server ...

        Are you doing this pkgrm as a step in an upgrade process?  [y,n,?,q] y
Removing sg files from /kernel/drv/ and /kernel/drv/sparcv9.
## Removing pathnames in class <NBclass>
/opt/openv/volmgr/misc <non-empty directory not removed>
/opt/openv/db/bin <non-empty directory not removed>
/opt/openv <non-empty directory not removed>
## Executing postremove script.
Java LiveUpdate agent is not installed. Skipping deregistration...

## Updating system information.

Removal of <SYMCnetbp> was successful.

2.    Installing 7.5
gzip -d NetBackup_7.5_Solaris_Sparc64.tar.gz
tar -xvf NetBackup_7.5_Solaris_Sparc64.tar
Do you wish to continue? [y,n] (y) y

NetBackup installs to the running root environment, by default.

Are you installing to the running root environment? [y,n] (y)

Participate in the NetBackup Product Improvement Program? [y,n] (y)
NetBackup and Media Manager binaries will be installed in

        and a link will be created from /usr/openv
        to /opt/openv, if it does not exist.

        Is this okay? (y) [y,n,?,q] y

        NetBackup and Media Manager 7.5 will be installed.
Do you want to start the job-related NetBackup daemons
so backups and restores can be initiated? [y,n] (y) y
Enter the OpsCenter server (default: NONE):
NetBackup server installation complete

3.    NetBackup server installation successful.

No comments:

Post a Comment