Error while creating EMM database
Hi Experts,
I am into a situation now. Our EMM databse has been corrupted. And I tried to recreate the Blank EMM database and after that I thought I would recover from DR Catalog File. But when I run this command, I got the below.
# ./create_nbdb
Creating the NetBackup vxdbms.conf file.
Creating the NetBackup database.
Starting the NetBackup database.
Authenticating the NetBackup database.
VXDBMS_NB_DATA entry in bp.conf updated successfully.
Setting of database authentication for NBDB successful.
Change of dba password for NBDB successful.
Creating the NetBackup database files.
Creating the NetBackup EMM schema.
Verifying the running version of NBDB ...
NBDB version 7.1.0.0 verified.
Nothing to upgrade. Version unchanged.
Database [NBDB] validation successful.
Database [NBDB] is alive and well on server [NB_netbckdr].
Creating the NetBackup Authorization database.
Database [NBAZDB] can't be started on server [NB_netbckdr].
After that I completed the process by re-starting Netbackup services (stop and start) followed by "/usr/openv/volmgr/bin/tpext -loadEMM" command.
After this point, my nbemmcmd -listhosts command works fine.
And after that I was able to recover my Catalog file using "bprecover -wizard".
Now it looks like everything is perfect. But lif you see the contents of /usr/openv/db/data/vxdbms.conf file, it is not showing VXDBMS_AZ_DATABASE = NBAZDB. or any other parameter related to "NBAZDB".
The current full contents of vxdbms.conf is below.
root@[/usr/openv/db/data]
# cat vxdbms.conf
VXDBMS_NB_SERVER = NB_netbckdr
VXDBMS_NB_PORT = 13785
VXDBMS_NB_DATABASE = NBDB
VXDBMS_NB_DATA = /usr/openv/db/data
VXDBMS_NB_INDEX = /usr/openv/db/data
VXDBMS_NB_TLOG = /usr/openv/db/data
VXDBMS_NB_PASSWORD = afb109d1c28ce0010132ddb9df8469406cf716afedeedf21
Am I need to something for this? Please advice me.
AM using Netbackup 7.1 in HP-UX 11.31.
Regards,
RAJ
That might be the cause but I have seen it not creating it eventhough everything was smooth. Not sure though why it misses NBAZDB.
Please check this TN:
http://www.symantec.com/docs/HOWTO68218
NBU default password = nbusql and if you have changed it before then it will be issue and you should remeber the old password. If you have never changed anything then no need to worry as it will be still default to nbusql.
After creating EMM (without NBAZDB) i have recoverd Hot Catalog Backup File. So is it OK, if I add this new entry in vxdbms.conf file and create a new password for NBAZDB? What I am exactly trying to say is is it safe to run this after we recover Catalog Backup?
If your catalog backups are running fine and successfull with status code 0 then let the way it is. If automatic validation of the NBAZDB is failing then only do it.
And what is the exact funtion of this. I know it it for DB authorization? Is it mandatory to have this password entry when this DB is available in databases file?The deaful password for nbdb is nbusql and you can access it using NetBackup\bin>NbDbAdmin.exe
The NetBackup Authorization database is present whether or not NetBackup Access Control (NBAC) is configured and used.It is just there unless you configure it and to configure it you have to install it and your authorization services should be started etc ............. If you are not using it better to leave the way it is.