12-05-2021 06:10 PM - edited 12-05-2021 06:12 PM
OS environment: SuSE 15SP1
NBU environment: Master/Media/Client 8.2
SAP environment: HANA 2.0 SP04
I wonder whether there is some best pratical way to furthest keep the continuity and consistency of the log_backup when the corresponding storages are unavailable due to some unexpected hard or soft faults.
Notes: the hard storage might be either a disk array or a tape library.
Solved! Go to Solution.
12-09-2021 12:27 AM - edited 12-09-2021 12:27 AM
Hi @liuyl
No worries, a restore request is not tied to the current storage unit configuration in a policy
Let say you have a policy using STU Tape1
but after some time you change the policy to use Tape2
Then a restore request show up. Netbackup know in the image catalog where the image is written, and will allocate Tape1 for the restore request. You don't to change the configuration in the policy.
In a lab environment, try it ou by creating two disk storage units and a storage unit group. Create a test policy and do backup and restore test to see how Netbackup behaves.
Hope this clarify
12-06-2021 12:57 AM
Hi @liuyl
Use a storage unit group with with mode = failover. This does however require you got more than one storage unit.
See :
https://www.veritas.com/support/en_US/doc/39129704-133515633-0/v38490072-133515633
https://technoworldnow.com/how-to-configure-netbackup-storage-unit-groups/
Best Regards
Nicolai
12-06-2021 06:07 PM
Would be there other ways for this demand, except for the STU groups ?
12-08-2021 04:33 AM
Hi @liuyl
I guess you can do it manual with policies being enabled/disabled depending on what ressource is down. Personally I don't recommend it. Another option is to extend the log file area in SAP Hana so the system can survey if Netbackup environment is down or out for maintenance.
What is the problem using a storage unit group ?
Best Regards
Nicolai
12-08-2021 05:10 AM
Just worry whether the STU groups in its corresponding policy could still find those log_backup images with their own different STUs each other when the log_backup would need to be recovered .
12-09-2021 12:27 AM - edited 12-09-2021 12:27 AM
Hi @liuyl
No worries, a restore request is not tied to the current storage unit configuration in a policy
Let say you have a policy using STU Tape1
but after some time you change the policy to use Tape2
Then a restore request show up. Netbackup know in the image catalog where the image is written, and will allocate Tape1 for the restore request. You don't to change the configuration in the policy.
In a lab environment, try it ou by creating two disk storage units and a storage unit group. Create a test policy and do backup and restore test to see how Netbackup behaves.
Hope this clarify
12-10-2021 04:26 AM
In a word, the media image with its corresponding STU would be accurately loaded via the netbackup catalog ?
12-10-2021 07:04 AM
hi @liuyl
Yes you are correct. A restore will retrieve all required information from the Netbackup catalog. A policy is not required for restore to work. You even delete the policy, a restore will still work.
Best Regards
Nicolai