当前位置: 首页 > 未分类 > 正文

Configuring DD Boost on Linux for Oracle RMAN

In this post, we are going to install the DD Boost module for Oracle RMAN.

In the previous post, Configuring DD Boost Replication for Oracle RMAN, we enabled DD Boost on the Data Domain and set up storage units that replicate automatically between sites.

In this post, we are going to install and configure the DD Boost for Oracle RMAN module so that our RMAN backups can leverage the performance benefits of DD Boost.

The DD Boost for Oracle RMAN module installs as an RMAN MML library. The 1.3 version for Linux is shipped as a tar file which is installed on the Oracle Linux host.

Download the tar file as the Oracle user.

Un-taring the file creates yields the following files:

The Oracle environment must be sourced before executing the install.sh script:

To write backups to the DD Boost system, our Oracle RMAN client needs to authenticate against the DD Boost user we defined on the appliance. In our example we used the username ddboostora and used the same password as username.

The typical method to authenticate is to create a lockbox.

This is a simple RMAN script that establishes the Oracle server as a trusted user of the DD Boost service of the Data Domain. The following shows our lockbox RMAN script where we set the username and password, and send the authentication request to rstdd0205mgmt.emc.com.

Launch RMAN and connect to any local instance. You do not need to connect to a catalog. Then execute the lockbox script:

Now that the DD Boost MML library is installed on our Oracle server and we have authenticated against the Data Domain, we can incorporate DD Boost into our RMAN backup script.

As stated, DD Boost uses the RMAN MML library to facilitate the offloading of certain parts of the deduplication and compression process from the Data Domain appliance to the database server. This means that RMAN will think it is writing the backup files to a tape, and not to a disk.

We will therefore be setting the RMAN channels to type sbt.

In our example, the channel allocate command will look as follows:

You can see above that the channel allocate command references the library we installed earlier. You can also see where I have highlighted the storage unit to use, and the DNS entry for the Data Domain we will write the backup to.

The complete backup to DD Boost script is as follows:

In this simple RMAN script we are running an RMAN level zero backup of the database and including the archivelogs in our backup. The script forces a log switch before the backup starts. The backup is tagged with the tag FULL_BACKUP.

The FILESPERSET parameter is set to one. In older releases of the Data Domain system, setting the FILESPERSET parameter to one was required to achieve de-duplication. Since DDOS 5.2 this restriction is no longer required, but is shown here for backwards compatibility.

The backup script uses four channels to run the backup. In this lab we have a 4 vCPU system and our ASM +DATA diskgroup is comprised of four LUNs, so four channels is an appropriate setting.

The channel allocate command sets the tape block size to 1MB.

Executing this RMAN script should backup the database to the Data Domain via DD Boost.

After a period of time, we can use the NFS mounts to see if the RMAN backup replicated to the second site:

本文固定链接: http://t.yjsec.com/index.php/2017/12/06/59/ | 下一站

该日志由 admin 于2017年12月06日发表在 未分类 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: Configuring DD Boost on Linux for Oracle RMAN | 下一站

Configuring DD Boost on Linux for Oracle RMAN:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter