Veritas NetBackup™ Commands Reference Guide
- Appendix A. NetBackup Commands
nbregopsc — register OpsCenter
-add | -addopscenter | -addnb OpsCenter_server_name
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/admincmd/
On Windows systems, the directory path to this command is install_path\NetBackup\bin\admincmd\
The NetBackup installation procedure asks if you want to register an existing OpsCenter with NetBackup. You need to enter the full pathname to execute the OpsCenter server name as a command line option. The nbregopsc -add command first adds the OpsCenter server name to bp.conf (CONFIG registry entry on Windows) with a new entry OPS_CENTER_SERVER_NAME = Opscenter_server_name. Later, the NetBackup master server name is registered with the OpsCenter server. This command can be run after the NetBackup installation to register OpsCenter and NetBackup servers with each other.
You can use the -addopscenter option to register OpsCenter with NetBackup without registering NetBackup with OpsCenter. You can also use the -addnb option to register NetBackup with OpsCenter without registering OpsCenter with NetBackup.
The command does not allow multiple OPS_CENTER_SERVER_NAME entries in
bp.conf (or the registry), because NetBackup is limited in its ability to monitor multiple OpsCenter servers. If you run this command with a different name, the new name overwrites the existing entry of OPS_CENTER_SERVER_NAME.
In an OpsCenter cluster setup, the virtual server name is added to
bp.conf (or the registry).
- -add OpsCenter_server_name
Registers NetBackup with the specified OpsCenter server and registers the OpsCenter server with NetBackup.
- -addopscenter OpsCenter_server_name
Registers the OpsCenter server with NetBackup.
- -addnb OpsCenter_server_name
Registers NetBackup with the specified OpsCenter server.
- -preferred_network OpsCenter_server_IPAddress
Specifies an optional OpsCenter server IP. -preferrednetwork applies only to -add and -addnb. It applies mainly for multiple network interface cards (NICs) on the OpsCenter host. The default value for this option is