02-18-2016 08:51 AM
We recently upgraded to from Netbackup 7.6.0.2 to Netbackup 7.7.1 running on Windows 2008R2
We have run nbdbadmin and was expecting to login with the default password of nbusql
This isn't being accepted since the upgrade. I was wondering if any other Netbackup 7.7.x has the same experience?
Solved! Go to Solution.
02-18-2016 09:25 AM
Apparently when upgrading to Netbackup 7.7.x, as part of the security changes the password if default may be changed to a randomly generated password.
The password can be reset with the nbdb_admin command
02-18-2016 09:25 AM
Apparently when upgrading to Netbackup 7.7.x, as part of the security changes the password if default may be changed to a randomly generated password.
The password can be reset with the nbdb_admin command
02-18-2016 09:41 AM
Yep,
From the Admin Guide 1 page 935
Changing the NetBackup database password
The database password is set to a randomly generated password upon installation.
This password is used for NBDB and BMRDB and for all DBA and application
accounts. (For example, EMM_MAIN.) You can use this procedure to change it to a
known password.
The password is encrypted and stored in the vxdbms.conf file. The permissions
for the vxdbms.conf file allow only a Windows administrator or a root user to read
or write to it.
About the NetBackup relational database 935
Post-installation tasks
To change the database password
1 Log on to the server as a Windows Administrator or as root.
2 To change the password for the first time after installation, run the following
command. The command updates the vxdbms.conf file with the new, encrypted
string:
On Windows: Install_path\NetBackup\bin\nbdb_admin -dba new_password
On UNIX: /usr/openv/db/bin/nbdb_admin -dba new_password
The password needs to be an ASCII string. Non-ASCII characters are not
allowed in the password string.
3 To change a known password to a new password, you can either use the
nbdb_admin command or the NetBackup Database Administration utility. You
must know the current password to log into the NetBackup Database
Administration utility.
See “Using the NetBackup Database Administration utility on Windows”
on page 912.
See “Using the NetBackup Database Administration utility on UNIX” on page 926.
Requirements to create a new password whereNBACis enabled
If the NetBackup environment has NetBackup Access Control (NBAC) enabled,
keep in mind the following items before you run nbdb_admin -dba new_password.
■ Only the minimum services should be running: NB_dbsrv, nbatd, nbazd, bprd,
bpdbm, bpjobd.
■ Users without root or administrator permissions need to have read and write
permissions to vxdbms.conf. Windows users can use the security Permissions
tab in NBAC to allow a non-administrator user read and write permissions to
vxdbms.conf.
■ To generate nbdb_admin logs, make sure that users have read and write
permissions to the following directory:
On Windows: install_path\Veritas\NetBackup\logs\nbdb
On UNIX: /usr/openv/netbackup/logs/nbdb
■ To troubleshoot a situation where only the database server can be started,
NBAC must be turned off.
02-18-2016 10:20 AM
Thanks Revarooo,
Only read the release notes. So missed that from the admin guide. All other support docs still seem to infer that the default password is nbusql so I guess those may need updating hence the original question.