How to use DO_NOT_EJECT_STANDALONE to prevent media from being ejected from a standalone drive after backup jobs complete

Article:TECH6043  |  Created: 2009-01-10  |  Updated: 2013-11-13  |  Article URL http://www.symantec.com/docs/TECH6043
Article Type
Technical Solution

Product(s)

Environment

Issue



DOCUMENTATION: How to use DO_NOT_EJECT_STANDALONE to prevent media from being ejected from a standalone drive after backup jobs complete


Solution



For NetBackup 4.5 and 5.x systems, there are two different ways to configure NetBackup so it will leave a tape in a standalone drive once a backup completes. This can be done via the NO_STANDALONE_UNLOAD touch file, or the DO_NOT_EJECT_STANDALONE entry in the vm.conf file.  It is only necessary to choose one of these options in order to prevent the ejection of tapes from a standalone drive after a backup completes.

 
The first method to leave tapes in a standalone drive, after a backup completes, is to add the DO_NOT_EJECT_STANDALONE entry to the vm.conf file.
 
1. Edit the /usr/openv/volmgr/vm.conf file and add the following entry:
 
DO_NOT_EJECT_STANDALONE
 
2. It will be necessary to restart NetBackup before this change will take affect.  When no backups or restores are running, issue the following commands:
 
# /usr/openv/netbackup/bin/goodies/netbackup stop
 
# /usr/openv/netbackup/bin/goodies/netbackup start
 
When this option is present in the vm.conf, it prevents the Media Manager from ejecting the tape after an operation completes.
 

 
A second method to leave tapes in a standalone drive, after a backup completes, is to create an touch file named NO_STANDALONE_UNLOAD in the /usr/openv/volmgr directory.
 
1. To create the touch file run the command:
 
# touch /usr/openv/volmgr/NO_STANDALONE_UNLOAD
 
2. It will be necessary to restart NetBackup before this change will take affect.  When no backups or restores are running issue the following commands:
 
# /usr/openv/netbackup/bin/goodies/netbackup stop
 
# /usr/openv/netbackup/bin/goodies/netbackup start
 
When NetBackup detects the presence of this file, it prevents Media Manager from ejecting the tape after an operation completes.
 

 
In NetBackup 6.x,and 7.x the DO_NOT_EJECT_STANDALONE and NO_STANDALONE_UNLOAD options no longer apply.  A new NetBackup server called the Enterprise Media Manager (EMM) server now handles drive configuration. The nbemmcmd command must now be used to configure the DO_NOT_EJECT_STANDALONE setting on the EMM server.
 

 
1. To enable the DO_NOT_EJECT_STANDALONE setting use the command:
 
# cd /usr/openv/netbackup/bin/admincmd
 
# ./nbemmcmd -changesetting -do_not_eject_standalone yes -machinename <hostname>
 
2. It is not necessary to restart NetBackup in order for this command to take effect.  
 
3. To verify the current EMM server settings use the command:
 
# nbemmcmd -listsettings -machinename <hostname>
 

 
Refer to TechNote 43622 (found below, in the Related Documents section) for additional configuration options that are now handled by the EMM server.
 



Legacy ID



199100


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


Terms of use for this information are found in Legal Notices