A server policy needs to be specified when
you are configuring IBM Storage Protectâ„¢ policies.
Specify how files are backed up, archived, moved from client node
storage, and how they are managed in server storage. A policy definition
includes the definition of a policy domain, a policy
set, management classes, and copy
groups.
About this task
After you set definitions, a default policy set must be assigned, validated, and activated. For
the policy definition, log on as an IBM Storage Protect Administrator by using the Admin
Command Line or the Web Admin and run the following commands.
Procedure
- Define a policy domain and policy set:
define domain sap_c21
define policyset sap_c21 p_c21
- Define a management class for file system backups, data
files, offline redo log files redo logs log files and
copies of offline redo logs log files redo
logs:
define mgmtclass sap_c21 p_c21 mdefault
define mgmtclass sap_c21 p_c21 mdb
define mgmtclass sap_c21 p_c21 mlog1
define mgmtclass sap_c21 p_c21 mlog2
If you are planning to
use this
IBM Storage Protect server
with multiple SAP systems, use a set of different management classes
for each system.
- Define a copy group:
define copygroup sap_c21 p_c21 mdefault type=backup destination=sap_incr
define copygroup sap_c21 p_c21 mdefault type=archive destination=archivepool
define copygroup sap_c21 p_c21 mdb type=archive destination=sap_db retver=nolimit
define copygroup sap_c21 p_c21 mlog1 type=archive destination=sap_log1 retver=nolimit
define copygroup sap_c21 p_c21 mlog2 type=archive destination=sap_log2 retver=nolimit
define copygroup sap_c21 p_c21 mdefault type=backup destination=sap_incr
define copygroup sap_c21 p_c21 mdefault type=archive destination=archivepool
define copygroup sap_c21 p_c21 mdb type=archive destination=sap_db retver=90
define copygroup sap_c21 p_c21 mlog1 type=archive destination=sap_log1 retver=90
define copygroup sap_c21 p_c21 mlog2 type=archive destination=sap_log2 retver=90
Data Protection for SAP uses version
control for managing SAP database backups by backing up
all data to only those management classes for which an archive copy
group is defined (typearchive).
To prevent backed up files within IBM Storage Protect server
storage from being deleted due to expiration dates (IBM Storage Protect deletes
expired files), the copy group parameter retver,
which specifies the number of days a file is to be kept, must be set
to unlimited (9999 or nolimit).
Data Protection for SAP HANA
stores data in the archive copy group of the management classes. This
data expires after a defined number of days. In the example, a retver value
of 90 days is used. When no backup is being done within this time
frame, all backup data expires and is no longer available for restore.
As an alternative the copy group parameter retver,
which specifies the number of days a file is to be kept, can be set
to unlimited (9999 or nolimit).
Obsolete backups can be deleted manually using the SAP HANA Studio.
- Assign the default management class:
assign defmgmtclass sap_c21 p_c21 mdefault
- Validate and activate the policy set:
validate policyset sap_c21 p_c21
activate policyset sap_c21 p_c21