cancel
Showing results for 
Search instead for 
Did you mean: 

How to furthest keep the continuity and consistency of HANA log_backup due to its faulty storage

liuyl
Level 6

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

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

View solution in original post

7 REPLIES 7

Nicolai
Moderator
Moderator
Partner    VIP   

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

liuyl
Level 6

Would be there other ways for this demand,   except for the STU groups ?

Nicolai
Moderator
Moderator
Partner    VIP   

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

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 .

Nicolai
Moderator
Moderator
Partner    VIP   

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

In a word,   the  media image with its corresponding STU would be accurately loaded via the netbackup catalog ?

Nicolai
Moderator
Moderator
Partner    VIP   

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