Nbdecommission

From Spaldam's Wiki
Jump to navigationJump to search
World History Wiki is Brought to you by:
S.J.'s Adventures


This is an example run of the nbdecommission command:

In this example all tape drives, robotic controls, and other storage devices were manually removed or re-configured to other media servers; as much as possible. SLPs, STUs, STU Groups, and policies were also updated to move backups to the new media server. Jobs were then monitored for a couple of weeks to insure nothing was getting backed up to the old media server.

It's also a good idea to disable any monitoring such as any alters configured within OpsCenter before running this command.

# nbdecommission
Usage:
    nbdecommission -oldserver <hostname>
        [-list_ref | -newserver <hostname> [-file <op_dump_file>]]
        [-M <master_server>] [-reason "<reason>"] [-v]
# nbdecommission -oldserver bkup101 -newserver bkup103
You want to decommission bkup101. Is that correct? (y/n) [n]: y

Administrative Pause set for machine bkup101.domain.com

Server bkup101 is a member of the following media sharing groups:
    UNRESTRICTED_SHARING_GROUP


Media referencing server bkup101

Following media are owned by bkup101:
    MEDIA:002524
    MEDIA:003928
    MEDIA:003930
    MEDIA:003965
    MEDIA:000002

    . . .

    MEDIA:AE0224
    MEDIA:AE0230
    MEDIA:AE0233
    MEDIA:AE0259
 

Media generation rules on host bkup101:


Drive paths found on server bkup101

Robots attached to bkup101

Processing tape storage units

Processing media referencing server bkup101
Server bkup103 is a member of the following media sharing groups:
    UNRESTRICTED_SHARING_GROUP

    bkup103_104

Moved images for media 000224 from bkup101 to bkup103
Changed last write host for media 002524 from bkup101 to bkup103
Moved images for media 000230 from bkup101 to bkup103
Changed last write host for media 003928 from bkup101 to bkup103
Moved images for media 000233 from bkup101 to bkup103
Changed last write host for media 003930 from bkup101 to bkup103
Moved images for media 003965 from bkup101 to bkup103

. . .

Changed last write host for media 003928 from bkup101 to bkup103
Moved images for media AD3930 from bkup101 to bkup103
Changed last write host for media 003930 from bkup101 to bkup103
Moved images for media AE0259 from bkup101 to bkup103
Processing drives attached to plaxbkup101

Processing robots attached to bkup101 

Processing basic disk storage units

Processing SnapVault/NearStore disk storage units

Processing advanced disks
bkup101 is not a AdvancedDisk storage server

Processing shared disks
bkup101 is not a SharedDisk storage server

Processing OST devices
List of storage servers accessible to bkup101:

Storage Server: ddr111-dd
Server Type: DataDomain (9)

. . .

Processing storage life cycles

Process backup policies

Processing Fibre Transports
bkup101 is not a Fibre Transport server

Removing references to bkup101 in the bp.conf file/Windows registry on
NetBackup media servers
Processing config file on bkup102.domain.com
Removed references to bkup101 from bp.conf on server bkup102.domain.com
Processing config file on bkup103.domain.com
Removed references to bkup101 from bp.conf on server bkup103.domain.com
Processing config file on bkup104.domain.com
Removed references to bkup101 from bp.conf on server bkup104.domain.com

Removing references to bkup101 in the bp.conf file/Windows registry on the
NetBackup master server
Processing config file on nbumaster.domain.com
Removed references to bkup101 from bp.conf on server nbumaster.domain.com

Stopping Volume Manager daemon/service on bkup101.domain.com

Deleting host bkup101.domain
Deleted host bkup101.domain

Media server bkup101 has been successfully decommissioned.
If the server is up, stop the NetBackup daemons (or services) on the server.
Restart the NetBackup daemons (or services) on any system that was updated.
#

Log into bkup101 and stop all NetBackup Services.

# bpps -a
NB Processes
------------
root     19113     1  0 Apr11 ?        00:00:04 /usr/openv/netbackup/bin/vnetd -standalone
root     19116     1  0 Apr11 ?        00:00:03 /usr/openv/netbackup/bin/bpcd -standalone
root     19302     1  0 Apr11 ?        00:00:00 /usr/openv/netbackup/bin/bpcompatd
root     19316     1  0 Apr11 ?        00:03:42 /usr/openv/netbackup/bin/nbrmms
root     19368     1  0 Apr11 ?        00:12:20 /usr/openv/netbackup/bin/nbsl
root     19439     1  0 Apr11 ?        00:01:13 /usr/openv/netbackup/bin/nbsvcmon
 

MM Processes
------------

# netbackup stop
stopping the NetBackup Service Monitor
stopping the NetBackup Service Layer
stopping the NetBackup Remote Monitoring Management System
stopping the NetBackup compatibility daemon
stopping the NetBackup client daemon
stopping the NetBackup network daemon

# bpps -x
NB Processes
------------ 


MM Processes
------------


Shared Symantec Processes
-------------------------
root      5708     1  0 Apr09 ?        00:00:10 /opt/VRTSpbx/bin/pbx_exchange

# /opt/VRTSpbx/bin/pbx_exchange stop/vxpbx_exchanged stop
Stopped Symantec Private Branch Exchange

[root@plaxbkup101 ~]# bpps -x
NB Processes
------------


MM Processes
------------


Shared Symantec Processes
-------------------------

The OS and Physical Server can now be decommissioned according to company standards.



Back to Remove a NetBackup Media Server