0% found this document useful (0 votes)
160 views

Configuration and Performing Backups Using Netbackup For SAP HANA

The document provides instructions for configuring NetBackup for backups of SAP HANA databases. It discusses installing and configuring the NetBackup server, media server, and client, as well as configuring the SAP HANA agent and database for backups and restores using NetBackup.

Uploaded by

bjaguar33
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
160 views

Configuration and Performing Backups Using Netbackup For SAP HANA

The document provides instructions for configuring NetBackup for backups of SAP HANA databases. It discusses installing and configuring the NetBackup server, media server, and client, as well as configuring the SAP HANA agent and database for backups and restores using NetBackup.

Uploaded by

bjaguar33
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Configuration and performing backups

using NetBackup for SAP HANA

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


About NetBackup for SAP HANA..........................................................................................................3
NetBackup for SAP HANA databases.....................................................................................................3
Installing NetBackup for SAP HANA..................................................................................................4
Planning the installation..........................................................................................................................4
Verifying the operating system and platform compatibility for NetBackup for SAP HANA..........5
NetBackup server and client requirements for NetBackup for SAP HANA............................................5
SAP HANA software requirements for NetBackup for SAP HANA.......................................................6
Configuring NetBackup for SAP HANA.................................................................................................6
About configuring the master and the media servers...............................................................................6
Configuring the media server for NetBackup SAP HANA......................................................................7
Configuring the master server for NetBackup SAP HANA.....................................................................7
Configuring the NetBackup client...........................................................................................................8
Configuring the SAP HANA Agent........................................................................................................8
Configuring SAP HANA Instance for redirected restore.........................................................................8
List of activities that you need to perform in the HANA Studio for NetBackup configuration...............9

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


About NetBackup for SAP HANA
The NetBackup for SAP HANA Agent integrates the backint interface for SAP HANA along with the
backup and the recovery management capabilities of NetBackup.

The software works in single as well as multi-node environments.

NetBackup for SAP HANA databases


The NetBackup HANA agent implementation should work on all vendor HANA appliances that have
HANA version 5, revision 46 and later versions. For Hitachi and IBM appliance there is a need to add an
extra library libelf.so.0.

For the current support, a backup and a restore for HANA are initiated from the SAP HANA studio and not
from NetBackup Administration Console.

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


Installing NetBackup for SAP HANA
This section includes the following topics:
 Planning the installation

 Verifying the operating system and platform compatibility for NetBackup for SAP HANA

 NetBackup server and client requirements for NetBackup for SAP HANA

 SAP HANA software requirements for NetBackup for SAP HANA

Planning the installation


Table: Installation steps for NetBackup for SAP HANA shows the major installation steps that are needed
to run NetBackup for SAP HANA. Each step contains one or more links to pertinent procedures and
concepts.

For details about installing the media server and the master server, refer to the NetBackup Installation
Guide.

Table: Installation steps for NetBackup for SAP HANA

Step Action Description

Step Verify the installation See Verifying the operating system and platform
1 prerequisites. compatibility for NetBackup for SAP HANA.

See NetBackup server and client requirements for


NetBackup for SAP HANA.

See SAP HANA software requirements for NetBackup for


SAP HANA.

Step Add the license key for See About the license for NetBackup for SAP.
2 NetBackup for SAP.

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


Verifying the operating system and platform compatibility for NetBackup for
SAP HANA
Verify that the NetBackup for SAP HANA agent is supported on your operating system or platform.

To verify operating system and compatibility

1. Go to the following webpage:

http://www.netbackup.com/compatibility

2. In the list of documents, click on the following document:

Application/Database Agent Compatibility List

NetBackup server and client requirements for NetBackup for SAP HANA
Verify that the following requirements are met for the NetBackup server:

 The NetBackup server software is installed and operational on the NetBackup server. The
NetBackup server platform can be any that NetBackup supports. See the NetBackup Installation
Guide.

Make sure that you configure any backup media that the storage unit uses. The number of media
volumes that are required depends on several things:

 The devices that are used and storage capacity of the media
 The sizes of the databases that you want to back up
 The amount of data that you want to archive
 The size of your backups
 The length of retention of the backup images.
 The frequency of backups or archives

See the NetBackup Administrator's Guide, Volume I.

Verify that the following requirements are met for the NetBackup clients:

 The NetBackup client software is installed on the computer that has the databases you want to
back up.
 Check that libelf.so.0 is symbolically linked to the libelf.so.0.8.12 file. These files are
located in /usr/lib64/.

SAP HANA software requirements for NetBackup for SAP HANA


Verify the following regarding the SAP HANA software on the NetBackup client:

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


 SAP HANA software must be installed and operational.
 One or more SAP HANA instances must exist.

Configuring NetBackup for SAP HANA


This section includes the following topics:

 About configuring the master and the media servers


 Configuring the media server for NetBackup SAP HANA
 Configuring the master server for NetBackup SAP HANA
 Configuring the NetBackup client
 Configuring the SAP HANA Agent
 Configuring SAP HANA Instance for redirected restore

About configuring the master and the media servers


You must configure the master and the media servers before you configure the NetBackup client. The
procedures for configuring master and media servers are very similar. However, Veritas recommends that
you configure all server information such as storage devices and volumes from the master server.
Following this configuration sequence helps ensure that the master server properly administers the media
servers.

For initial NetBackup server configuration, Veritas recommends that you launch the NetBackup
Administration Console and click the Getting Started icon. Configure the storage devices, volumes, and
the catalog backup and then create a backup policy.

Note:

Before beginning the NetBackup configuration for each HANA appliance, check that libelf.so.0 is
linked to the libelf.so.0.8.12 file in each HANA box Operating System. The location of the library
is /usr/lib64/.

If the libelf.so.0.8.12 file is not present at the /usr/lib64/ location then copy


the libelf.so.0.8.12 file from installable of SUSE SLES 11 SP1 to /usr/lib64/.

Run the following commands:

 cd /usr/lib64/
 ln -s libelf.so.0.8.12 libelf.so.0

Configuring the media server for NetBackup SAP HANA


For SAP HANA, for debugging and troubleshooting purpose you need to set the logging level to 5
(maximum).

Host Properties > Media Servers select the media server > Properties Logging > Global logging


level.

Configuring the master server for NetBackup SAP HANA

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


When you configure the master server for SAP HANA, you must make the following additional changes:

 You must add the media server to the list of servers that the client will accept connections from.
To add the media server:

Select Host Properties > Clients (select the client) > Properties > Servers > Additional


Servers > Add.

 Configure the maximum number of concurrent jobs in the selected storage unit.

The maximum concurrent jobs setting on the storage unit specifies the maximum number of jobs
that NetBackup can send to a disk storage unit at one time. The default setting is one job and the
job count can range from 0 to 256. For SAP policy type, configured for HANA, set this value to a
value greater than 64.

For SAP policy type (specifically for HANA), when the storage unit is Advanced Disk type, or
MSDP, set the Maximum Jobs Per Client setting to a value in accordance to the value of the
Maximum Streams Per Drive * number of drives. Set the Maximum Jobs Per Policy setting to a
value higher than the value of Maximum Streams Per Drive * number of drives. For example, if
you have 2 drives and Maximum Streams Per Drive is set to 3, the total expected jobs to that
storage unit is 6.

 Set the logging level.

See Setting the logging level.

 Set value of the maximum jobs per client.

See Setting maximum jobs per client.

 Create a SAP HANA-specific backup policy.

See Creating a backup policy for SAP HANA.

Configuring the NetBackup client


The following steps help you configure the NetBackup client:

 Setting the log levels.


 Updating the initSAP.utl file.

See Enabling the debug logs manually (UNIX).

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


See Setting the debug level on a UNIX client.

See Updating the initsap.utl file.

If you need to un-install or remove the NetBackup client software, refer to the NetBackup Installation
Guide.

Configuring the SAP HANA Agent


To configure the SAP HANA agent, you must perform a node level configuration. You must also configure
the backint file.

Configuring SAP HANA Instance for redirected restore


SAP HANA Platform SPS 09 and later have a new feature: redirected restore of an SAP HANA instance
to another SAP HANA instance. With NetBackup release 7.7.1 and later, the NetBackup SAP HANA
agent also supports this feature.

To configure an SAP HANA instance to support redirected restores

1. Add all destination instance of SAP HANA hosts in the source instance NetBackup policy.

For more details on adding the destination host client from the Clients tab, see See Creating a
backup policy for SAP HANA.

2. Add the current source SAP HANA master node name in the destination SAP HANA Master node
file. Open the node file from the following location:

/usr/openv/netbackup/ext/db_ext/sap/node_names.txt

For more details on node-level cofiguration, see See Configuring the SAP HANA Agent.

3. Follow the steps in the Copying a Database Using Third-Party Backup Tools topic in the SAP
HANA Administration Guide. This topic describes the requirements to use the $(SAPSYSTEMNAME) in
the SAP HANA configuration.

List of activities that you need to perform in the HANA Studio for NetBackup
configuration.
1. Create hdbbackint soft link from /usr/sap/<SID>/SYS/global/hdb/opt/hdbbackint to
/usr/openv/NetBackup/bin/hdbbackint_script for every database instance.

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


2. The parameter file (initSAP.utl) must be specified for data in the SAP HANA database instance
configuration. To specify the parameter file, go to

     Instance->Configuration-> global.ini > data_backup_parameter_file.

3.  The parameter file (initSAP.utl) must be specified for logs in the SAP HANA database instance
configuration. To specify backup using the parameter file,
    go to Instance->Configuration->global.ini-> log_backup_parameter_file.

4. To specify backup using the backint file, go to Instance->Configuration->global.ini->


log_backup_using_backint->SYSTEM = true.

After setting up the above configuration. The HANA studio -> configuration ->global.ini file should
look like the below

Performing backups and restores of SAP HANA using backint:

Use the SAP HANA studio to backup the SAP HANA data. The following steps help you to setup the
backup. Setting up the backup using the SAP HANA studio

1 On the SAP HANA studio interface, select the HANA instance that you want to backup.

2 Right-click on the instance and select the Back Up option.

3 The Backup of System screen is displayed. Select the Backint option. Specify the Backup
Destination and Backup Prefix as shown and click “Next”.

4 Confirm the settings under Review Backup Settings and click Finish.

5 Check the Activity Monitor of the NetBackup Administration Console to get the backup information.
On a successful backup the results will be displayed

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies


Notes:

OSS 1986958 – Common issues / Configuration recommendations for Symantec NetBackup for
SAP HANA

OSS 1913568 – Support Process for Symantec NetBackup

In case of backup failure you need to analyze the backint.log &backup.log files.

NetBackup for SAP HANA www.anzimatech.com Anzima Technologies

You might also like