11-12-2013 05:36 AM
Hi,
We are not aware how this NBAZDB got placed in root location but here i
can give you background of this issue
- hbdakcmstn2 were the active node , while switch over on passive node i.e
hbdakcmstn1 we encountered issue with below error message since NBU
service failed to start on hbdakcmstn1
Cannot open transaction log file -- Can't use log file "/NBAZDB.log" since
the database file has been used more recently
- Here the netbackup is searching for the transaction log under
"/NBAZDB.log instead of /nbucat/db/data/NBAZDB.log.
We dont know how it redirected towards "/ " instead of it's actual path
"VXDBMS_NB_TLOG = /nbucat/db/data"
- As temporary solution we copied same file from hbchanmstn2 to
hbchanmstn1 under root mount point & started NBU services successfully
(Note - NBAC is not implemented )
- Requestto provide proper guide line & steps to move this files to
it's actual location.
we need to fix this issue on priority
multiple activity lined up on master server which need frequent switch
over between nods.
Environment details -
Virtual IP - 10.226.7.187 dakcmstnetbkp
Node -
10.226.7.197 hbdakcmstn1 -- active node
10.226.7.198 hbdakcmstn2
NBU version - 7.5.0.4
OS - Solaris 10
VCS cluster version 6.0.1
[hbdakcmstn1]# cat vxdbms.conf
VXDBMS_NB_SERVER = NB_dakcmstnetbkp
VXDBMS_NB_REMOTE_SERVER = NB_dakcmstnetbkp
VXDBMS_NB_PORT = 13785
VXDBMS_NB_DATABASE = NBDB
VXDBMS_AZ_DATABASE = NBAZDB
VXDBMS_NB_DATA = /nbucat/db/data
VXDBMS_NB_INDEX = /nbucat/db/data
VXDBMS_NB_TLOG = /nbucat/db/data
VXDBMS_NB_MLOG = /nbucat/db/data
VXDBMS_NB_STAGING = /nbucat/db/staging
VXDBMS_NB_PASSWORD = f11686d76ace21182cbc1beced60026b9ac338cb4fe01507
AZ_DB_PASSWORD = Jj8mkP3sKTo=
VXDBMS_NB_FULL_KEYWORD = NBDB:277221:1384223400:F
VXDBMS_NB_INCREMENTAL = NBDB.log.1
VXDBMS_AZ_INCREMENTAL = NBAZDB.log.1
VXDBMS_BACKUP_POLICY = Hot_Catalog_Backup
VXDBMS_BACKUP_SCHEDULE_TYPE = 0
/nbucat/ is shared between both nodes
11-12-2013 06:47 AM
Usually the shared disk is mount under /opt/VRTSnbu in a VCS cluster. /nbucat look like a custom configuration. Has the functionality of the cluster been verified before ?
Can you post /etc/VRTSvcs/conf/config/main.cf ?
11-12-2013 03:44 PM
when did you get this error? If you got this while manually starting NetBackup on inactive node of cluster or system bootup time, this is what bring you this error.
As shared disk(s) and NetBackup services are under control of cluster software, you should(hmm, have to) start NetBackup though cluster software.
For bootup time issue, I usually add some trick in rc script. Default rc script always try to start server daemons - this startup is out of cluster control. It is better to add some lines into rv script so that startup of server daemons is disabled. it is easy to determine if the node is clusterd or not - check NBU_RSP is placed under /usr/openv/netbackup/bin/cluster.
11-12-2013 10:05 PM
I have attached main.cf
11-13-2013 12:40 AM
I did not find somthing in main.cf that can explain to behavior.
11-13-2013 08:32 AM
Please complete:
1. Shutdown NetBackup processes.
2. Check the /usr/openv/var/global/databases.conf file - make sure the path is correct in there for NBAZDB
3. Start Sybase (nbdbms_start_server) and emm (nbemm &)
4. Rename the NBAZDB.log file to NBAZDB.gol
5. Run: dbeng11 -f /nbucat/db/data/NBAZDB.db
6. Start NetBackup.
7. Verify that there is a new NBAZDB.log file in the /nbucat/db/data
Hopefully that will work <fingers crossed>!
Deb
11-13-2013 11:07 AM
we attmpted copy & rename oprtion did not worked
Server.log
I. 11/13 16:59:06. 64 physical processor(s) detected.
I. 11/13 16:59:06. Processor limit (licensed processors): 128
I. 11/13 16:59:06. Maximum number of physical processors the server will use: 64
I. 11/13 16:59:06. This server is licensed to:
I. 11/13 16:59:06. NetBackup
I. 11/13 16:59:06. Symantec Corporation
I. 11/13 16:59:06. Running SunOS 5.10 Generic_148888-02 on SPARC
I. 11/13 16:59:06. Server built for SPARC processor architecture
I. 11/13 16:59:06. 524288K of memory used for caching
I. 11/13 16:59:06. Minimum cache size: 524288K, maximum cache size: 2097152K
I. 11/13 16:59:06. Using a maximum page size of 4096 bytes
I. 11/13 16:59:06. Starting database "NBAZDB" (/nbucat/db/data/NBAZDB.db) at Wed Nov 13 2013 16:59
I. 11/13 16:59:06. Starting database "NBDB" (/nbucat/db/data/NBDB.db) at Wed Nov 13 2013 16:59
I. 11/13 16:59:06. Transaction log: /NBAZDB.log
I. 11/13 16:59:06. Transaction log mirror: /nbucat/db/data/NBAZDB.m.log
I. 11/13 16:59:07. Opening dbspace 'EMM_DATA' in file '/nbucat/db/data/EMM_DATA.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'EMM_INDEX' in file '/nbucat/db/data/EMM_INDEX.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'DBM_DATA' in file '/nbucat/db/data/DBM_DATA.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'DBM_INDEX' in file '/nbucat/db/data/DBM_INDEX.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'DARS_DATA' in file '/nbucat/db/data/DARS_DATA.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'DARS_INDEX' in file '/nbucat/db/data/DARS_INDEX.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'SEARCH_DATA' in file '/nbucat/db/data/SEARCH_DATA.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'SEARCH_INDEX' in file '/nbucat/db/data/SEARCH_INDEX.db' for database 'NBDB'
I. 11/13 16:59:07. Opening dbspace 'JOBD_DATA' in file '/nbucat/db/data/JOBD_DATA.db' for database 'NBDB'
I. 11/13 16:59:07. Transaction log: /nbucat/db/data/NBDB.log
I. 11/13 16:59:07. Transaction log mirror: /nbucat/db/data/NBDB.m.log
I. 11/13 16:59:07. Starting checkpoint of "NBDB" (NBDB.db) at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. Finished checkpoint of "NBDB" (NBDB.db) at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. Database "NBDB" (NBDB.db) started at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. This database is licensed for use with:
I. 11/13 16:59:07. Application: CommonRepository
I. 11/13 16:59:07. Company: VERITAS
I. 11/13 16:59:07. Starting checkpoint of "NBAZDB" (NBAZDB.db) at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. Finished checkpoint of "NBAZDB" (NBAZDB.db) at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. Database "NBAZDB" (NBAZDB.db) started at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. This database is licensed for use with:
I. 11/13 16:59:07. Application: CommonRepository
I. 11/13 16:59:07. Company: VERITAS
I. 11/13 16:59:07. Database server started at Wed Nov 13 2013 16:59
I. 11/13 16:59:07. Trying to start SharedMemory link ...
I. 11/13 16:59:07. SharedMemory link started successfully
I. 11/13 16:59:07. Trying to start TCPIP link ...
I. 11/13 16:59:07. Starting on port 13785
I. 11/13 16:59:07. TCPIP link started successfully
11-13-2013 11:20 AM
What is the contents of the databases.conf file?
Also - the server.conf file (in the same location???)
/usr/openv/var/global/databases
Deb
11-14-2013 12:13 PM
[hbdakcmstn1]# cat databases.conf
"/nbucat/db/data/NBDB.db" -n NBDB
"/nbucat/db/data/NBAZDB.db" -n NBAZDB
Yes server.conf is in same location i.e /usr/openv/var/global/
11-14-2013 12:22 PM
What are the contents of the server.conf file?
11-14-2013 02:40 PM
[hbdakcmstn1]# cat server.conf
-n NB_dakcmstnetbkp
-x tcpip(LocalOnly=YES;ServerPort=13785) -gn 27 -gp 4096 -gd DBA -gk DBA -gl DBA -ti 0 -c 512M -ch 2048M -cl 512M -zl -os 1M -o /usr/openv/db//log/server.log
-ud -m
11-15-2013 08:33 AM
Ok - I'm stumped.... Possibly disabling mirroring might be helpful... I'm not sure though.
Please open a case with support. Ask that they assist you using the nbdbadmin.exe or nbdbadm tool to disable mirroring and to see if that is helpful.
If that doesn't work, ask the TSE to give me a call and I'll take a look at it with them. Thanks,
Deb W
11-22-2013 10:33 AM
Thnaks D/A
Done call log with TSE & will Post resolution here