Customer is a big Veritas user and wants to do on-line backups of the ADA/NAT environment on OS.
- Can we do this.
- Has anyone done it ?
Thanks…DaveM
Customer is a big Veritas user and wants to do on-line backups of the ADA/NAT environment on OS.
Thanks…DaveM
Yes, I did!
I think there are 3 possiblilities:
Possibility 1: Inconsistent database blocks can be avoided by using the ADAOPR EXT_BACKUP functionality.
Wolfgang
Interesting Feature! The Documentation says:
The keyword PREPARE prepares the database for backup. During this phase, the following restrictions apply:
- new transactions will be stalled
So my question is: What is the advantage of ADAOPR EXT_BACKUP over ADABCK EXU_DUMP? If I understand the whole thing correctly, both ways are locking the Database for the users.
Modern storage systems allow creating a (logical) copy of data in a very short time. This means that you can get a consistent copy of your containers by doing the following:
adaopr ext_backup=prepare
Save the containers with the storage system functionality
adaopr ext_backup=continue
Note that ADABAS is blocked for updates between adaopr ext_backup=prepare and adaopr ext_backup=continue. Therefore it is not recommended using this feature for saving the database with a real physical copy operation.
On the other hand, ADABCK will lock the database only for a short time for update when the whole database has already been written to the backup file do do a final synchronization. If database blocks are updated while ADABCK is running, they are written to the backup file a second time if they have already been written to the backup file before.
Wolfgang
I’m trying to use this features to clone ( using storage utility ) adabas ( v.6.x.x. more or less 300GB of DATA/ASSO/WORK CONTAINER ) on linux platform.
Sometimes adaopr db=xx ext_backup=prepare takes a long time to complete ( more then 1 houres ).
Can it depends on TT or TNAE parameters?
Can someone help me on this topic?
Thanks,
Antonio.
It is not clear to me if EXT_BACKUP=PREPARE is performing ET synchronization? If seems not because there is not ET_SYNC_WAIT parameter like for ADABCK. If ET synchronisation is performed this could be the reason for your 1 hour wait time (TT has to expire). But then new transactions can also not start in the meantime which can be a big problem.
If it is not performing ET synchronisation I don’t understand why the example in the manual is not including WORK in the external backup:
Perhaps Wolfgang can clarify this?
Yes, of course an ET synchronization is necessary. The idea of ADAOPR EXT_BACKUP is to create a consistent state of the containers on disk. Additionally to the ET synchronization also a buffer flush is necessary. For ADAOPR EXT_BACKUP no ET_SYNC_WAIT parameter is provided, but you can set TT to a smaller value before performing EXT_BACKUP, for example:
adaopr db=…tt=20 ext_backup=prepare
When you continue processing after saving the containers you should set TT back to its original value, for example:
adaopr db=… ext_backup=continue tt=3600
Thanks Wolfgang.
So it is very likely it is your TT value that takes your prepare long time to complete. It is just waiting for ET-synchronization.
I highly recommend you to lower TT before the prepare because new transactions cannot start while waiting for this synchronzstion. And set it back again afterwards.
The considerations is the same as running online adabck.
Hi,
Found a chapter in documentation about this topic → [url]http://techcommunity.softwareag.com/ecosystem/documentation/adabas/ada63os/admin/ebs.htm#ebs[/url]
If all else fails, consult the documentation.