Professional Documents
Culture Documents
GUIDE
PURE STORAGE® FLASHARRAY™
COMMVAULT® SIMPANA 10
Prepared by Commvault
Distribution: Public
Publish Date: January 21, 2015
Version History
Jonathan Howard
Table of Contents
IntelliSnap® Technology Field Guide Overview .................................................................................................................. 7
Commvault® Software.............................................................................................................................................. 11
Util_File .............................................................................................................................................................. 89
Util_Vol .............................................................................................................................................................. 89
Util_Vol_Online ................................................................................................................................................... 90
Commvault IntelliSnap technology enables a modernized approach to operational recovery by leveraging array based snapshot
technology and making it an automated part of the protection/backup process. By automatically integrating with storage array
technology, Simpana software is able to automatically discover volume/disk configurations for snapshot operations and
coordinate these operations with proper application integration. This minimizes the administrative configuration and eliminates
manual scripting requirements.
The IntelliSnap technology process is defined and scheduled to automatically quiesce the selected system or application, and
to create a persistent snapshot within the production storage array. The speed at which these protection operations complete
allows for consistent protection copies to be created in minutes, regardless of the size of the dataset, ensuring that critical
RPO/RTO requirements can be adhered too. Once these primary protection operations have been completed the production
system(s) are returned to normal operations and are not part of any secondary operations, thus insuring that load on the
production system is minimized.
Unlike other hardware-based snapshot approaches IntelliSnap technology extends beyond just creating or deleting snapshots.
Secondary operations are automatically mounted to a proxy server which will mount the snapshots for further processing,
whether that is further indexing or cataloging of the data or creating longer term copies of the data to deduplicated disk, cloud
copies, or tape. This content aware process provides rapid recovery options whether a full system recovery or a single file is
required. The scheduling and retention is also managed inside of Commvault software to ensure that only the relevant amount
of data is retained for recovery minimizing the overhead on the production arrays.
These recovery capabilities can be securely delegated to application and recovery users to ensure that this advanced technology
can bring speed and efficiency of array technology directly into the hands of the end users, safely and securely.
IntelliSnap technology supports the leading storage solutions from Pure Storage, INFINIDAT, Dell, EMC, Fujitsu, Hitachi, HP,
IBM, NetApp, and Oracle – and this list continues to expand. Please visit www.commvault.com for the most up to date revision
of the supported hardware and software configurations.
Pure Storage FlashArray Storage Overview
Pure Storage’s FlashArray line of storage systems enable customers to improve storage and application performance and
simultaneously reduce their storage footprint. FlashArray combines the high throughput and low latency of flash storage with
built-in deduplication and compression to provide extremely high application performance with effective density as high as 40TB
per rack unit. Price points are competitive to spinning disk.
FlashArray is targeted primarily at database workloads, where the latency and throughput improve application response time,
and virtual desktop and server workloads, where performance and scalability are increased. Pure Storage also markets a
FlashStack architecture that combines FlashArray with Cisco UCS servers and networking.
In addition to high performance and density, FlashArray is designed to be simple to buy, deploy and manage. Products are
aligned to small, medium and large configurations. Physical installation is intended to be appliance-like, with minimal cabling
required. Capacity expansion and performance upgrades are transparent and non-disruptive. Provisioning takes just a couple
of clicks, with no configuration of RAID groups or storage pools. The arrays self-tune and self-monitor and will proactively open
support cases automatically when issues are detected.
Density is achieved through a combination of capabilities. All storage is thin provisioned, consuming only space as needed. All
data is deduplicated and compressed on ingestion, with variable block size from 512B to 32KB (up to 128KB on //m) optimizing
reduction across workloads. Compression and deduplication deliver an average of 5:1 reduction across all deployed arrays and
workloads. Post-processing compression further reduces storage consumption. And because blocks are single instance,
snapshots, clones and replication do not consume space without data change.
FlashArray includes additional features that protect data integrity and privacy. All data at rest is encrypted in hardware, with no
performance penalty or key management required. Pure Storage’s proprietary RAID-3D algorithm protects against data
corruption and multiple drive loss with no significant performance impact.
FlashArray connectivity is available in fibre channel, iSCSI and combinations of the two. Specific available configurations vary
depending on the array model.
FA-400 Series
//m Series
FA-405 11TB / 35TB 100,000 3GB/s 2x1Gb/s Ethernet 4x8Gb/s Fibre Channel or
(Management)
4x10Gb/s iSCSI
2x1Gb/s Ethernet
(Replication)
8
Model Max Capacity Max Max Onboard Ports Additional IO
(raw / effective*) IOPS** Throughput
FA-420 35TB / 100TB 150,000 5GB/s 2x1Gb/s Ethernet 8x8Gb/s Fibre Channel or
(Management)
8x10Gb/s iSCSI or
2x1Gb/s Ethernet
8x8Gb/s Fibre Channel and
(Replication)
4x10GB/s iSCSI or
FA-450 70TB / 200TB 200,000 7GB/s 2x1Gb/s Ethernet 8x16Gb/s Fibre Channel or
(Management)
8x10Gb/s iSCSI or
2x1Gb/s Ethernet
12x16Gb/s Fiber Channel or
(Replication)
12x10Gb/s iSCSI or
8x12Gb/s SAS
8x12Gb/s SAS
8x12Gb/s SAS
*Effective capacity is estimated based on reduction through thin provisioning, deduplication and compression. Actual capacity
may vary based on customer data.
This is NOT a Pure Storage Administrators / Maintenance Training and Manual Guide. For Pure Storage documentation, please
visit www.purestorage.com.
9
FlashArray Volumes and Snapshots
A Volume is the logical unit of storage presented to a host. Volumes are thin provisioned, and data blocks are deduplicated
against all other blocks in the array. Volumes can have snapshots and copies created from them with zero additional initial
storage use. As there are no storage pools, all volumes share the entire array and the deduplicated blocks. FlashArray maintains
a multi-level metadata layer that tracks data block use by volumes. Metadata is constantly optimized to ensure peak
performance. Volumes can be sized from 1MB to 4PB and can be resized on the fly.
FlashArray volumes can be copied to create new volumes identical to the original. The copy operation simply creates new
metadata, making the operation instantaneous and consuming no additional storage. Copied volumes are independent of the
original volume and can be mapped, unmapped and resized without affecting the original volume. Snapshots can also be created
from copied volumes independent of the original volume.
Snapshots on FlashArray are effectively read-only volumes with a dependency on the source volume. Creating a snapshot is the
same as copying a volume, with no additional storage consumption or performance impact. Volumes can be restored in hardware
(reverted) to any snapshot, essentially another volume copy and snapshots can be copied into new volumes. Because all of
these operations are in metadata they are all instantaneous, regardless of volume size or data change.
Commvault ® Licenses
Enabling IntelliSnap tehnology may require additional licensing in Simpana. The required licenses depend on whether the
customer is under a capacity license agreement (CLA) or traditional agents and options licensing.
For CLA, customers require enough Data Protection Snapshot licensing to cover the size of the application data being
protected. For backup copy operations an equal amount of Data Protection Core or Data Protection Enterprise is required.
For agents and options, customers require a Hardware Snapshot Enabler license for each client computer where IntelliSnap
technology will be enabled. Note that only production hosts require the enabler license; it is not required for proxies unless
they are also acting as production hosts.
10
Commvault ® Software
IntelliSnap technology solutions will require the appropriate data agents as defined by the customer configuration. Below we
will define a few terms in use going forward in this document:
Production Host – Server hosting the actual production LUN for snapshot operations
Proxy Host – Server mounting the snapshot for backup purposes off of the Production Host
File System iDataAgent – iDataAgent for protecting the file system of a host and is also a base requirement for most
Application iDataAgents.
MediaAgent – Agent for creating and managing snapshots as well as for writing data to backup targets
Application iDataAgent – iDataAgents to protect applications such as SQL, Exchange, DB2, SAP and Oracle. Enables
Application Aware snapshots to be created when protection operations are scheduled. See Simpana Documentation for a
current list of agents supported on Pure Storage arrays.
Virtual Server Agent (VSA) – iDataAgent providing protection of Virtualization Environments without installing backup
iDataAgents internal to the guests
Commvault VSS Software Provider – Commvault VSS Software Provider for Windows Guests to allow for programmatic
controls of the Windows VSS components
Commvault VSS Hardware provider – Commvault VSS Hardware Provider for Windows enables VSS snapshot control
on Windows Server 2012 Hyper-V hosts
MediaAgent
For a configuration where snapshots mount off-host to a Proxy server, implement the following agents on the Proxy server:
MediaAgent
Application Environments
When implementing IntelliSnap technology for a specific application simply add the appropriate application iDataAgent to the
base configuration as follows on the production host:
MediaAgent
For a configuration where snapshots mount off-host to a proxy server, implement the following agents on the proxy server:
File System iDataAgent (operating system must be similar to the production host)
MediaAgent
Application API (i.e. – Exchange Management Pack, Oracle for RMAN integration, etc.)
VMware Environments
IntelliSnap technology integration with the Virtual Server iDataAgent (VSA) for VMware enables point-in-time hardware
snapshots to provide rapid data protection and recovery operations for virtual guests. Using a dedicated ESX server for selective
copy to Tier 2 storage completely removes any utilization on the production ESX farm. The copy operation to Tier 2 storage
enables granular recovery of individual files and folders. To enable IntelliSnap technology for the VMware environment ensure
the following:
MediaAgent
The Virtual Server Agent may be run as a physical proxy server in SAN transport mode. It may also be run as a Hot Add mode
virtual guest external to the production farm to eliminate production processing. The Virtual Server Agent enables proxy
capabilities with no agents installed on the ESX server.
Hyper-V Environments
IntelliSnap technology integration with the Virtual Server iDataAgent for Hyper-V enables point-in-time hardware snapshots to
provide rapid data protection and recovery operations for virtual guests. Using a dedicated Hyper-V server for selective copy to
Tier 2 storage completely removes any utilization on the production cluster. The copy operation to Tier 2 storage enables
granular recovery of individual files and folders. To enable IntelliSnap technology for the Hyper-V environment ensure the
following:
MediaAgent
In Hyper-V environments IntelliSnap software will create a hardware snapshot for each host connected sharing the Cluster
Shared Volume hosting the protected guest(s) unless the VSA is configured for single snapshots. Ensure enough capacity and
licensing exist on the array to contain the snapshot data. See Commvault Documentation for details and caveats on
configuring single snapshots.
12
13
FlashArray Configuration Details
The Pure Storage FlashArray includes everything required to perform IntelliSnap software operations. To ensure proper
functionality the following section describes how to create a volume, create a host, map the volume, check the Purity Operating
System version and get the API Token that is utilized for authentication between Commvault software and the Pure Storage
array.
To successfully provision storage for IntelliSnap technloogy, you require the following steps to create, assign and map logical
devices for production host use as well as creating a device group for local replication use:
Create a volume
Create a host
Creating a Volume
Volumes are created on the Storage tab. Click the + button on the Volumes bar to create a new volume or volumes.
14
Enter a name and provisioned size for the volume and click OK. Note that all volumes are thin provisioned and deduplicated, so
no space is consumed until unique blocks are written to the volume. To create multiple volumes with the same size click the
Create Multiple button and enter the appropriate information.
Creating a Host
To create a host, from the Storage tab, click the + button on the Hosts bar and select Create Host.
Enter a name for the host and click the Create button. To create multiple hosts using a naming pattern click the Create Multiple
button and enter the appropriate information.
Once the host is created it needs fibre channel or iSCSI addresses need to be associated to it. To add addresses, select the host
from the Hosts list, then click Host Ports. Click the gear icon at the right and select either Configure Fibre Channel WWNs or
Configure iSCSI IQNs as appropriate. Follow the instructions on the screen that appears.
15
For fibre channel, unallocated logged-in WWNs will be listed. Either click the desired WWNs to select them, or click Enter WWNs
Manually to add a WWN that is not logged in.
iSCSI IQNs must be added manually. Multiple IQNs can be added at the same time.
Repeat the process for all hosts where snapshots will be created or mounted.
16
Mapping a Volume to a Host
Volumes can be mapped from the Volume details or Host or Host Group details views. This section explains the Host view, but
the process is nearly identical. From the Host details, switch to the Connected Volumes tab. Click the gear icon at the right and
select “Connect Volumes.”
Clicking a volume or volumes on the left will select them for mapping to the host. Volumes already mapped will show host and
host group icons with the number of each to which the volume is mapped. Volumes without host and host group icons are
unmapped. Click Confirm when all desired volumes are selected. The selected volumes will be mapped to all available paths to
the host.
1. Open a Web Browser and navigate to the Pure Storage Administrative Console. Login with a user that has
administrative rights (e.g. “pureuser”).
17
3. Select Configuration > Array.
SP-2 (CommCell ID #)
Job ID (2512)
18
This naming convention is automatic, and ensures that no snapshots with identical names will be issued. The Job ID is useful
to correlate specific snapshots to Job IDs in the future.
When a snapshot is copied to allow mapping to a host, the copied volume is named following the convention:
CV_<Unique ID>
1. Open the Commvault Administrative Interface, login with a user that has administrative rights (e.g. “admin”).
2. Once in the main interface, navigate to Storage -> Array Management on the top menu bar.
4. The Array Properties menu will appear. Set options as follows to configure the Pure Storage Array:
Hostname or IP Address of
Pure Storage FlashArray
5. Click OK to save the Pure Storage array configuration, and click OK again to exit the Array Management screen. The
array is now configured in Commvault.
19
number of different Storage Policy configurations, please refer to Commvault Documentation for additional options and
configuration choices.
1. From the CommCell Browser, expand Policies. Right-Click on Storage Policies and select “New Storage Policy:
2. This will bring up the “Create Storage Policy Wizard” window, the default Storage Policy type is “Data Protection and
Archiving”, select “Next” to continue:
Leave the Incremental Storage Policy, and Provide OnCommand Unified Manager Server Information blank.
NOTE: Storage Policies can be used to identify a number of attributes with them. In this example the Storage Policy Name
shows that it is a Storage Policy that utilizes IntelliSnap technology and deduplication on HDS, utilizing MA-01. Pick a
naming convention that enables ease of troubleshooting and no confusion or overlap.
4. If the usage of deduplication is planned enable the use of the Global Deduplication Storage Policy here:
20
5. Select the existing Global Deduplication Storage Policy:
Note: For detailed information on Storage Policy design and creation, please refer to CommVault
Documentation
1. Right-Click on a Storage Policy, select “All Tasks”, and then click on “Create New Snapshot Copy”
21
2. This will bring up the Snap Copy Properties menu for the newly create Snapshot Copy in the Storage Policy
Under “Copy Name” enter a unique but easily identifiable name for this copy.
Under the “Default Index Destination” Section, define the Disk Library and corresponding MediaAgent that the IntelliSnap
technology indexes will be kept.
To store snapshots solely based on the amount of jobs that have been run, regardless of time passed, select the “Retain
Snaps by Number of Jobs” setting:
To store snapshots based on days, set the amount of days under the Basic Retention Rule for All Backups, and set the
Cycles to 0:
Extended Snapshots configurations can be enabled from this screen also. In the below configuration snapshots are kept
for every 2 hours for the first day, and then an hourly snapshot becomes the daily snapshot and is retained for 7 days, and
finally a daily snapshot is retain for 14 days as a weekly snapshot.
22
4. Click “OK” to create the Snapshot Copy in the Storage Policy
Note: Make sure the snapshot retention will not overrun the capabilities of the array.
23
Customizing Array Properties
There are several Array Properties that can be set for Pure Storage arrays, however in certain instances there are some settings
that are best suited to be specified at the Storage Policy or Subclient level to ensure that specific configurations are utilized only
for those chosen host(s).
These types of configurations are good for changing mount and mapping behavior or enabling diagnostic logging of REST API
calls.
To override at the Subclient, click the Manage Array button on the IntelliSnap Operations tab in the Subclient properties.
To override the settings for an entire Storage Policy Copy, edit the appropriate snapshot copy in the Storage Policy, and under
the General tab click the Manage Array button:
Both options will open up the Array Management screen. This version of the Array Management screen will identify the array(s)
that are associated with the Subclient or the Storage Policy. Array settings can be overridden for arrays listed in either the
Available Arrays or Associated Arrays section.
24
The Array Properties screen will appear, select the Snap Configuration Tab.
On the bottom of the Array Properties screen it will notate if these settings are relating to a Storage Policy of a Subclient.
Subclient Settings:
25
Connect to a Host Group
By default snapshots will be mapped to a Host within the Pure Storage array. The “Connect to a Host Group” setting allows
mapping to a Host Group instead. Volumes mapped to Host Groups are visible to all Hosts in the group. This can be useful in
virtualized environments in conjunction with the nClusterMount Additional Setting. This setting requires that the Host already
belongs to a Host Group.
1. The IntelliSnap software job initiates from the CommCell® Console via schedule or an on-demand job.
2. When the IntelliSnap software job starts, the file system, associated applications, or Virtual Machines properly quiesce, via
VSS calls in Windows or through application interfaces such as RMAN to put the DB in a Hot Backup mode. In VMware
configurations, vStorage APIs are called to create software snapshots and enable delta file creation for each of the guests
targeted as contents of the snapshot.
a. Verify the backup job contents, i.e. validating the underlying disk structure for file systems, databases, VM Datastores,
etc. and any required log files
c. Create a clone from the snapshot and assign the clone to the appropriate host, either the production or the proxy host.
d. Mount up the clone on the source or the selected proxy host for post-snapshot operations, e.g. scan & catalog for file
system, integrity checks for Exchange database & backup to media if selected. For VMware, Hyper-V and RMAN proxy
configurations, the Virtual Machines and database files are registered by the proxy application software.
4. Unmount the clone and delete it, protecting the original snap from any modifications
This snapshot now provides availability for backup copy operations and high speed restore / mount / revert operations.
A backup copy execution occurs during the IntelliSnap software backup or at a later time, depending on the job options. The
backup copy operations can be useful for creating additional standby copies of data. When selecting/deselecting a job for backup
copy operations, ensure that all the dependent jobs (for example, incremental, differential, etc.) in the complete backup cycle
are selected/deselected as the snapshots are copied to media in a sequential order. If a previously selected snapshot has not
26
been copied to media, an inline backup copy job will complete without creating the backup copy due to sequential order in
which these copies must be made. On-demand offline backup copy operations must be scheduled for both the current backup
and the previously non copied job to get the data to backup media. Backup Copy operations mount the selected snapshots in
sequential fashion to execute a file system level backup of the snapshots. For Oracle and VMware, the backup copy operations
will leverage RMAN and VADP to provide complete object integration (table level restore, single file access, etc.) in to the backup
copy store.
1. A linked copy of the clone or snapshot is created to protect the original from any modifications.
2. The linked copy is mounted to the source or proxy host. The mounted snapshot receives commands to scan and backup just
like a normal file system and the required contents are read.
3. The file system backup is performed to the Primary copy of the storage policy for all defined files. The data is indexed and
linked back to the original source paths on the production host.
4. When the backup copy job is finished, the linked copy is unmounted and destroyed. The original snapshot or clone is retained
based upon Snapshot Copy retention settings.
2. Select the Snapshot tab. Select the “Disable Backup Copy” option. Click OK.
27
Production Host Configuration
Protecting application databases and log volumes
through an array snapshot provides fast access for
recovery and many flexible options for data
protection. IntelliSnap technology integrates key
application awareness together with the array and
our platform to deliver all of the benefits of
traditional streaming backups with all of the
performance and proxy capabilities of a snapshot.
This application awareness allows true log-
consistent “hot” backups with appropriate log
management operations based off the contents of
the data in the snapshot. IntelliSnap technology
aligns all of the log and database volumes and
snapshots, using them in concert to provide fast,
low-impact recovery points through the array
without scripts.
If no supported application iDA is available, end-user written Pre and Post Snap scripts can be used to quiesce the
unsupported application for IntelliSnap software integration through the File System iDA.
MediaAgent – Provides media management capabilities to execute array functions and provide LAN-free access to
snapshots for recovery
Commvault VSS Provider – Provide VSS interaction with the array and the Simpana platform to ensure Microsoft
applications are properly quiesced and protected during the snapshot process
Commvault VSS Hardware Provider (only for Hyper-V on Windows Server 2012 and later) – Provide VSS interaction with
the array and the Simpana platform to ensure Hyper-V virtual machines are properly quiesced and protected during the
snapshot process
Application iDataAgent for selected Application – Provides low-level application integration for Oracle, SQL, Exchange,
MySQL, VMware, Hyper-V, DB2, SAP, etc., ensuring the appropriate APIs are called when quiescing and releasing the
application during the snapshot operations. This iDataAgent will also align the volumes for snap based off the logical
databases or contents defined in the subclient, including logs. If five databases all have separate LUNs assigned for databases
and logs, the application agent will define the contents appropriately for all ten LUNs to be snapshotted together.
The following steps will configure the implemented application environment for IntelliSnap software operations:
1. Enable IntelliSnap technology on the client computer acting as the production host in the CommCell GUI. Right Click on
the client name, then select Properties.
2. Click the Advanced button and check the box marked Enable IntelliSnap. This will consume a Hardware Snapshot
Enabler license from the license key. Click OK on the Advanced Client Properties and Client Computer Properties dialogs.
28
3. Browse to the Production Host Application iDA (in this case we are using Exchange Database iDA) and open the properties
for the desired subclient to enable IntelliSnap Operations:
4. Browse to the IntelliSnap Operations tab; check the IntelliSnap box. Select PURE Storage Snapshot from the Available
Snap Engines dropdown:
29
5. To define proxy configurations on the IntelliSnap Operations tab click on the drop down box next to Use Proxy. This provides
available servers to use as the proxy during the index and backup copy operations. The selected server mounts the array
snapshot when a backup copy operation executes.
Checking the Use Separate Proxy for Backup Copy box will let you specify different proxies for operations at snap time, in
this case database integrity checks, and streaming protection.
If the Use source if proxy is unreachable box is selected, the snapshot will mount to the production host if the defined proxy
server is unreachable for any reason:
6. Ensure the Storage Device tab has a storage policy with a snap copy defined and click OK to close the Subclient properties.
7. To execute a snap operation for the application agent, simply schedule or generate a backup job for the previously configured
Subclient. Simpana software will detect the configuration and automatically run a snap backup job. If a proxy is configured,
ensure that it has all prerequisites set up before running the operation.
30
Exchange Database Configuration
1. Enable IntelliSnap on the Exchange server client object in the CommCell console.
Right click on the server name, select All Tasks, and then select Properties.
Navigate to the advanced properties page and check the box marked Enable IntelliSnap. This will consume a Hardware
Snapshot Enabler license from the license key.
In the case of Exchange DAG the client object in question is the master client.
Browse to and highlight the Exchange Database iDataAgent then right click on the desired Subclient and select
properties.
3. Click on the “IntelliSnap Operations” tab, check the IntelliSnap box, then select the appropriate array snapshot mechanism
as the “Available Snap Engine.”
31
4. To define Proxy configurations on the “IntelliSnap Operations” tab click on the drop down box next to “Use Proxy.” The list
shows available servers to use as the proxy to offload index, backup copy, and consistency checking operations. The selected
proxy server will mount the snapshot to perform these operations. A proxy host must have the Media Agent software installed
and access to mount the snapshots taken from the source production host.
You can define a secondary proxy to separate the index and consistency checking operations from the backup copy
operations by populating the “Use Separate Proxy for Backup Copy” option.
If the “Use source if proxy is unreachable” is selected all operations will default to the source host if the defined proxy
server is unreachable for any reason.
5. Confirm the Storage Device tab has a Storage Policy with a Snap Copy defined and click OK to close the Subclient properties.
IntelliSnap Jobs
1. Execute an IntelliSnap Operation
Use the Advanced button when executing or schduling a backup to configure consistency checking. This option is on be
default and will add considerable processing time to the job.
With the advent of Exchange Database Availability Groups that replicate and manage multiple copies of a database the
consistency checking option has become less critical then it was when there was only a single database copy. If you can
afford the processing time to complete the consistency checks then leave them enabled but if operations are extending
beyond the desired backup window administrators can disable the consistency check.
The Exchange System Management Tools must be installed on any proxy host that needs to perform a
consistency check.
32
Note: For Exchange Database IntelliSnap software operations, an ESE consistency check is run
on the snapshot copy to validate the integrity of the database files. This is enabled by default
and can be found and modified under the Advanced Job Options dialog for the backup
operation. It is highly recommended to leave this enabled to provide integrity checks to
Exchange messaging environments.
A Full backup will snap both the database and transaction log volumes (if separate) and marks a full database recovery
point in Exchange.
The Pre-selected backup type is configured at the Exchange Database iDataAgent properties page.
In almost all cases this should be set to Incremental. When an incremental snap is performed the transaction log volume
is snapped and a transaction log backup is marked in Exchange.
If the database and log files are hosted on the same volume and an incremental snapshot is executed the entire volume is
still snapped but only an incremental backup is marked in Exchange and only the log files will be moved to media during a
backup copy operation.
Use the Copy Backup option to enable application consistent snap shots without truncating transaction logs. By default
transaction logs will be marked for truncation following a successful Full or Incremental IntelliSnap operation. Use the Copy
Backup option to avoid log truncation when desired.
A common use case for the copy backup feature is a stretched DAG where an administrator wants snap database copy 1 in
the data center 1 and then also snap database copy 2 in data center 2. This would provide the administrator with IntelliSnap
history in both data centers. Using the copy backup option in one of the data centers allows for an application consistent
snapshot to occur without interfering with the transaction log chain being managed by the IntelliSnap operations occurring
in the other data center.
33
34
Access and Restore
1. Browse and Restore
Right click on the Exchange Database iDataAgent and select Browse and Restore.
2. Browse by Job
Right click on the Exchange Database iDataAgent and select View then Backup History or right click on a specific Subclient
policy and select Backup History.
Narrow the history returned via the “Backup History Filter” window or leave the default options to return all history and
click Ok.
Right click on the desired job and select Browse and Restore.
Set the proper “Destination host” to receive the data being restored. Only hosts that have the Exchange Database
iDataAgent will appear in the list.
Select Restore to same database to restore the database to the original location with the original database name.
In order to overwrite an existing database, that database must be dismounted and must also have the “this
database can be overwritten by a restore” option enabled. Both options are set in the Exchange System
Manager/Exchange Admin Center or via PowerShell.
35
Configure the “Only for VSS Restore” options. All Exchange database backups from Exchange 2010 and later required
VSS. Exchange 2007 clusters required VSS for backup. All IntelliSnap operations will use VSS as well. The only non-VSS
backups in history would be from non-clustered Exchange 2007 or prior.
To restore to an alternate database: select Restore to another database then click on the ellipsis button under
Destination DB/Out of Place Location to select a database to overwrite.
A common use case here will be to restore to an Exchange Recovery Database or Recovery Storage Group.
The list returned will include all databases and storage groups currently hosted by the Exchange server selected in the
Destination client drop down box.
36
To restore to a file system location: select Out of place restore to file location then click the ellipsis button under “Destination
DB/Out of Place Location” to select a file system location to restore the database and log files too.
It is possible to restore to the file system of a non-Exchange client but you must first install the Exchange database
iDataAgent for that server to be an available destination client
Use the “Without Recovery” option to restore the database and transaction log files to disk without playing the transaction
log files into the database. By default recovery, or playing the restored logs forward into the database, will automatically
occur. This process requires the Exchange System Management tools to be installed on the target client.
37
To perform a hardware revert; select the Advanced button in the restore options window then select Use hardware
revert capability if available option then click Yes to the warning.
The warning is informing the user that this operation will overwrite the entire volume. If there is more than one database
on a volume and only one database is being restored, the entire volume is still reverted back. When there are multiple
database on the same volume it is a best practice to group them together in the same Subclient for backup.
The hardware revert feature is not available for all array types and configurations.
38
39
Snap Mining - Mailbox OnePass from IntelliSnap®
The snap mining feature in Simpana 10 allows for Mailbox OnePass operations to be run against a snapshot of the Exchange
database rather than from the live production host.
Outlook x64
Media Agent
Click on the Mining tab and check the box for Perform backup using mining off snapshot then enter out the following
criteria
Subclient to use – The IntelliSnap enabled Exchange Database Subclient that contains the database to be mind.
Proxy Client – (optional) select another Exchange Mailbox client to process the operations through.
a. Outlook x64
a. Use the List Snaps feature, see the section above, to mount the Exchange database snap shot to be mined to the Offline
Mining Tool host.
a. Start the Offline Mining Tool then click on Exchange then New.
b. On the Import Exchange Database screen enter the path or browse to the recovered or mounted database (.EDB) file
and click OK.
c. If using Exchange 2007 add the path to the STM file as well.
d. If prompted enter the path to the recovered or snapshot mounted log files and click OK.
e. Enter the database file path and stm file path if applicable (Exchange 2007 only) and click OK.
a. The Save option allows administrators to save the currently registered databases to a configuration file. Use the Open
option to open any saved configuration files which bypasses the need to reregister a database in the tool.
41
5. Browse and Restore
a. Right click on a mailbox and select Restore to PST to recover the entire mailbox to a PST file.
b. Right click on individual messages or a group of messages to view or restore to MSG or PST.
42
6. Search and Restore
43
44
Exchange Proxy Configuration
Any proxy configuration interacting with Exchange databases provides the capability to execute an ESE integrity check against
the Exchange database snapshot to ensure recoverability. To enable this capability, install the proper version of the Microsoft
Exchange Management Tools from the Exchange installation media on to the proxy:
In addition to installing the Exchange management tools, verify the proper installation of the necessary MediaAgent and File
System iDataAgent as well. These must be installed to allow the selecting the proxy as the proxy host in the application Subclient
contents.
The database integrity check is enabled by default, but it can be disabled to shorten the process or reduce overhead. This is
not recommended since recoverability cannot be guaranteed without the integrity check. The integrity check is controlled in the
advanced job options. To disable it, when scheduling the Microsoft Exchange IntelliSnap backup operation, click the Advanced
button to bring up the Advanced Backup Options dialog. To enable the integrity check for the Exchange Backup job upon
Snapshot Index completion:
45
SQL Configuration
1. Enable IntelliSnap on the SQL server client object in the CommCell console.
Right click on the server name, select All Tasks, and then select Properties.
Navigate to the advanced properties page and check the box marked Enable IntelliSnap. This will consume a Hardware
Snapshot Enabler license from the license key.
In the case of SQL cluster the client object in question is the master client.
Browse to and expand the SQL iDataAgent, highlight the SQL instance, then right click on the desired Subclient and select
Properties.
46
Check the box to enable IntelliSnap then select the appropriate snap engine in the drop down. The following defines
optional IntelliSnap configuration options on the same tab.
Manage Array – Short cut to the Array Management control panel applet where snap shot capable storage arrays are
registered with the commcell.
Use sepearte proxy for backup copy – assign a separate proxy for creating protection copies of the snap shots to disk,
tape, or cloud media
Use source if proxy is unreachable – check this box to default processing to the source client if the proxy is unreachable
for any reason
Proxy for SQL Integrity check – sepecify a system to perform integrity checks on the database snap shots
Credentials – logon credentials for the SQL instance that will be performing the integrity check when proxy is used.
47
3. Navigate to the Content tab and review any databases that exist and use the Discover feature to add databases to the policy.
All databases that exist on a single volume should be added to the contents to ensure all databases are quieced when
the volume snap shot occurs.
Do not add databases on different volumes to the same subclient policy. While this is possible to do so it’s a best practice
in most cases to have each volume to be snapped dedicated to a unique subclient policy.
48
Review the backup conversion rules tab and SQL Settings tab.
Navigate to the Storage Device tab and configure both Data and Log storage policies, review data transfer and
deduplication options and click OK.
As a best practice, administrators should create user-defined subclients for persistent databases that will be part of daily data
protection operations and allow the default subclient to manage discovery or new databases.
As new databases are discovered administrators can use the Contents tab in a subclient policy to move the databases from
default and into a user-defined subclient.
IntelliSnap® Jobs
1. To start or schedule an IntelliSnap operation, right click on the Subclient policy and select Backup
49
Optionally you can start or schedule the backup for all Subclients by right clicking on the Instance and selecting Backup
All Subclients
Full – A full database backup will be executed which includes quiescing the databases in the Subclient contents then
executing a full snap shot of the source volume(s)
Transaction Log – The corresponding transaction log files for the databases listed in the Subclient contents are
protected and truncated. No hardware snap shot will occur during transaction log backups.
Do Not Truncate Log – use this option to perform a transaction log backup without truncating the transaction logs.
Differential – A differential database backup is executed which includes quiescing the databases in the Subclient
50
contents then executing a full snap shot of the source volume(s). While a snap shot always includes the entire volume,
a differential type backup is recorded in SQL and only the differential changes would be moved to the backup copy if
taken.
Advanced Backup Options – click the “Advanced” button on the Backup Options window to access optional features for the
IntelliSnap or traditional backup operation.
Start Log Backup After Successful Backup – When scheduling database backups use this option to automatically
start a Transaction Log backup following a successful database backup (full or differential)
Copy Only – A copy only backup captures an application consistent snap shot of the databases in the Subclient policy
without writing into the SQL backup chain. This feature is useful when there is a need to take additional backups of a
database, perhaps to alternate media or from an alternate CommCell, without interrupting the typical backup chain.
Perform Snap Integrity Check – Execute an integrity check for the database(s) in the snap shot. This option requires
the integrity check options to be enabled on the IntelliSnap tab for the Subclient.
Create Backup Copy Immediately – Select this option to force a backup or protection copy of the snap shots
immediately following the IntelliSnap job. The backup copy or protection copy will essentially backup the snap shot from
the storage array to alternate media such as disk, tape, or cloud.
Navigate to and expand the SQL client in the CommCell Console then right click on the SQL instance and select Browse
and Restore
Enter the desired browse dates and click View Content to start the browse window
Use the Time Range option and enter specific backup start and end dates
Use the Relative Time option to view data based on a recent number of days
Use the Advanced tab to filter the browse to include database or file groups.
51
Select the database(s) to be restored and click Recover All Selected
By default the restore options are configured to restore to the original server, instance, and database name and path with
the latest backup data. The following defines restore options.
52
Destination Server – The SQL server to restore the data too. Requires the SQL iDataAgent to be installed as well as
Media Agent if a snap shot is to be mounted on that host.
Point-in-Time – Set the restore time to the exact point in time desired. The restore of the database and transaction
logs and the playing of the transaction logs to get the database to the exact point in time specified is fully automated.
Click into the database and physical path fields to modify the database name and path if desired.
Restore type
Step restore – used with No Recovery and Standby restore options, step restore allows the administrator to restore
the database and play the log sequence one step/log at a time.
53
Recover Only – database is recovered to an online state. No data is written.
Transaction Log Marks – the restore will recover transaction log marks in the database if they existed at the time
of backup.
Partial Restore – AKA Piecemeal Restore, restores file groups individually in a sequence.
Apply Log backups only – Restores only the transaction log backups created since the last restore operation.
Used with the Latest Backup Data feature this allows administrators to keep a restored copy of a production data
on another server (hot standby) and update it with the latest transaction.
Skip Full Backup – Prevents the full database backup from being restored and applies only the transaction logs.
Drop Connections to Database – Automatically drops connections for the database being restored.
Restore to Disk – Restore the database and log files to a disk location. Allows for a database from VSS or IntelliSnap
backup to be recovered to disk then manually added to an instance.
Attach to SQL server – Automates the addition of a recovered database to a SQL instance. Used with VSS and
IntelliSnap backups and the Restore to Disk option.
Checksum – checks database to ensure it has not been corrupted while stored on backup media.
Continue After Error – Allows a job to complete if part of its contents is causing errors. Otherwise the job will go
into a pending state.
Leave Database in Restricted User Mode – Only the owner of the database will be able to access it post restore.
54
Browse by Job
1. Right click on the SQL iDataAgent or instance and select View then Backup History or right click on a specific Subclient policy
and select Backup History.
Narrow the history returned via the “Backup History Filter” window or leave the default options to return all history and
click Ok.
2. Right click on the desired job and select Browse and Restore.
55
Oracle Configurations
IntelliSnap® backup enables you to create a point-in-time snapshot of the data used for backups. An effective way to back up
live data is to quiesce it temporarily, take a snapshot, and then resume live operations. IntelliSnap backup works in conjunction
with storage arrays to provide snapshot functionality for backup.
You can use the IntelliSnap backup to perform any level of backups (e.g. Full, Incremental). When you switch from a snap to a
traditional backup or vice-versa, the next job is converted to a full backup. While performing an IntelliSnap backup or any
subsequent operations, you can use a proxy server to reduce the load on the production server. Also, the backup copy operation
will use the proxy to move the snap to backup media. Proxy server is supported with hardware storage arrays.
Right click on the server name, select All Tasks, and then select Properties.
Navigate to the advanced properties page and check the box marked Enable IntelliSnap. This will consume a Hardware
Snapshot Enabler license from the license key.
In the case of Oracle RAC the client object in question is the master client.
56
3. From the Agent Properties dialog box, select the “Enable Instance Discovery” checkbox.
4. Click OK.
6. Right-click Oracle, point to All Tasks and then click Discover Instance.
57
7. Click Yes.
If your Oracle database uses an ASM instance and the instance is in a different Oracle Home, you may have to
manually configure the ASM instance as the discovery operation may not find it. When configuring the instance, verify the
database status shows as STARTED.
58
59
10. On Windows clients:
Click Change.
In the User Account box, enter the user name to access the Oracle application.
In the Password box, enter the password for the user account.
Click OK.
In the Use Catalog Connect field, type the user name to connect to the Recovery Catalog database.
In the Password field, type the password for the user to connect to the Recovery Catalog database.
In the Confirm Password box, re-type the password for the user.
Click OK.
60
12. Click the Storage Device tab.
In the Storage Policy used for user command backup of data box, select a storage policy name.
61
In the Storage Policy used for all Archive Log backups box, select a storage policy name.
Click OK.
14. From the CommCell Browser, navigate to Client Computers | <Client> | Oracle | <Instance>.
Click OK.
62
Please note: IntelliSnap can be enabled on the default subclient; however, best practice is to create a separate subclient when
using IntelliSnap. This guide will describe the process for creating an IntelliSnap-enabled subclient.
The following sections provide the necessary steps to configure a Subclient to perform the IntelliSnap backup of a single
Oracle database:
1. From the CommCell Browser, right-click Client Computers node and select All Tasks | New Subclient:
2. On the “General” tab, enter the name of the Subclient and, optionally, a user friendly description for the Subclient:
63
3. On the “Content” tab, select whether the backup will be Online or Offline:
4. Optionally, on the “Backup Arguments” tab, RMAN parameters may be tuned here to help tune performance. Testing must
be performed in each specific environment to optimize these RMAN parameters.
64
5. Optionally, on the “Pre/Post Process” tab, scripts may be called out to perform tasks during the operation, both pre/post
snap and pre/post backup:
6. On the “Storage Device” tab, the storage policy is chosen and the number of streams is also configured. Compression and
deduplication option can also be optionally configured on Storage Device tab:
65
7. The “Logs Backup” tab contains the options for the Oracle Archive Logs. Options include whether or not to backup the
archive logs and if the logs are to be deleted after backup. By default, the logs are not deleted after an IntelliSnap backup.
Deletion of the logs has to be enabled.
When you perform an IntelliSnap backup for archive logs, you can specify the location for which an IntelliSnap operation
should be performed. This capability enables you to schedule IntelliSnap operations from different log destinations on the
same Subclient. If necessary, you can also delete the logs after an IntelliSnap backup.
66
8. The “IntelliSnap Operations” tab controls the snap options. Enable the IntelliSnap checkbox. Next select the appropriate
snap engine from the Available Snap Engines dropdown pick list. If the use of a proxy is desired for backup copy operations,
select the proxy from the Use Proxy dropdown pick list.
67
By default, the backup copy uses the file system for copying data to the media. In this case, the Media Agent and File System
iDataAgent must be installed on the proxy. By enabling the “Use RMAN for backup copy”, the RMAN backup interface is used
for block level backup operations. Also, these backup operations are recorded on the RMAN catalog. RMAN is required in the
case of Automatic Storage Management (ASM) Oracle Databases, since ASM data is not available on the file system. You can
also run RMAN restores/reports from these backups.
Prior to using RMAN for copying the data to the media, ensure the following:
The Oracle iDataAgent and MediaAgent must be installed on the proxy computer.
The Oracle instance on the proxy computer should have the same name as that in the source computer.
The Oracle version installed on the proxy and source computers should be compatible. However, the major version of Oracle
should be the same.
For backups involving ASM instances, both ASM and the RDBMS instances have to be configured on the proxy computer.
The catalog user and the catalog database must be the accessible by the source and the proxy Oracle instances.
The proxy and source computer should have the same directory structure e.g. dump, diagnostic and data directories.
Oracle database requires the ASM to be registered with Oracle Cluster Registry (OCR). It will ensure the RMAN to successfully
mount the disk group.
If multiple source client database instances are configured to run RMAN backup copy on the same proxy MediaAgent, the
backup copy may fail due to instance and database name conflicts. The conflicting database and instances need to be moved
to a different proxy MediaAgent in such cases.
When performing IntelliSnap backup using a proxy, ensure that the operating system of the proxy server is
either same or higher version than the client computer.
For clustered environments, ensure the proxy you want to select is not part of a cluster setup.
During an RMAN backup copy, the proxy database is started in mount mode using the backup control file from the IntelliSnap
backup. Additional Oracle licenses may be required for the proxy database. Please inquire with Oracle support to determine if
additional Oracle licenses are required in your environment.
The “Enable Snap Integrity Check” option is disabled by default. When enabled, the following additional steps are performed
after taking the snapshot:
1. The snapshot is mounted on the source and cataloging of datafiles/archived logs is performed from the mounted snapshot.
This verifies whether all the datafiles/archived logs are properly captured during an IntelliSnap backup. RMAN catalog
datafilecopy checks the datafile header and verify its authenticity before cataloging it.
2. Once the catalog is completed, an uncatalog happens and the snapshot is unmounted from the source.
ASM Considerations
Make sure to separately configure an ASM instance on the CommCell Console in addition to an RDBMS instance.
Make sure that the kfed utility resides under <Oracle ASM Home>/bin location. If the kfed utility do not exist, then build the
kfed utility as shown in the following example:
2. Right-click Oracle, point to All Tasks and then click Discover Instance.
68
3. Click Yes.
4. If your instance is in a different Oracle Home, you may have to manually add the instance as the discovery operation may
not find it. When configuring the instance, verify the database status shows as STARTED.
6. Right-click Oracle, point to All Tasks, and then click New Instance (ORACLE SID).
8. In the User Account box, type the login credentials to access the Oracle client.
9. In the ORACLE HOME box, type the Oracle application install path.
10. In the Storage Policy used for the data of default subclient box, select a storage policy name.
12. In the Storage Policy used for user command backup of data box, select a storage policy.
14. In the Storage Policy used for all Archive Log backups box, select a storage policy name.
69
16. Click the Details tab.
17. In the Connect String box, type the credentials to access the Oracle database. For example, sys/pwd12@orcl4.
19. In the Storage Policy used for user command backup of data box, select a storage policy.
20. In the Storage Policy used for all Archive Log backups box, select a storage policy name.
Once you create the ASM instance, you also need to create a corresponding RDBMS instance for the Oracle client. You can
create Subclients for the regular RDBMS instance and perform IntelliSnap backup jobs. When creating the Subclient for
IntelliSnap operations, you must manually refresh the database after enabling IntelliSnap. This will automatically select and
grey out the Use RMAN for backup copy option on the Subclient. If the ASM disks are from a persistent snap engine, then you
need to disable the snap integrity.
Preventing RMAN Backup Copy Failures due to Mount Point and ASM Disk Group Name Conflicts on
a Proxy MediaAgent
By default, during RMAN backup copy the data snaps are mounted in the same location as source on proxy MediaAgents. In
case of ASM databases, the ASM Disk Groups are not renamed during RMAN backup copy. This is to facilitate incremental RMAN
backup copy where the datafile paths need to be in the same path as source. However, if you use the same proxy MediaAgent
for multiple databases RMAN backup copy may fail if the file system mount points or ASM Disk Group names of different Oracle
instances conflict with each other.
70
In such cases, use the following steps to make the data snaps to be mounted on a different path or in case of ASM databases,
to rename the ASM Disk Groups uniquely:
4. Click Add.
9. RMAN incremental backups will not be possible if we set this registry key as we use BACKUP DATAFILECOPY syntax in this
case.
Prerequisites
Prior to using RMAN for copying the data to the media, ensure the following:
Both source and proxy machine should have the same O/S resources like directory structure, memory, and kernel.
The Oracle instance (RDBMS) on the proxy computer should have the same name as that in the source computer.
71
The Oracle version installed on the proxy and source computers should be compatible. However, the major version of Oracle
should be the same.
For backups involving ASM instances, both ASM and the RDBMS instances have to be configured on the proxy computer.
Also RDBMS and ASM instances should be configure on CommCell GUI for PROXY client.
Using ASM storage, ASM data group should not be same as source database. For example, if source ASM instance has a
disk group “DG1”, proxy machine should not use “DG1” as disk group name.
Use the following SQL Script to find data group names on both source and proxy computers:
Make sure the software has permissions to create a disk group on proxy machine similar to source.
The proxy and source computer should have the same directory structure e.g. dump, diagnostic and data directories.
Oracle database requires the ASM to be registered with Oracle Cluster Registry (OCR), since the ASM instance is a resource
in CRS repository. It will ensure that the RMAN has successfully mounted the disk group.
Use the following steps to configure RMAN backup copy for ASM database:
Grid@dbproxy>sqlplus -v
SQL*Plus: Release 11.2.0.1.0 Production.
11. Copy spfile<SID>.ora from source to target for both ASM instance and RDBMS instance.
12. Create a user for proxy ASM instance with SYSASM, SYSOPER privileges.
14. Configure the ASM instance and RDBMS instance from the CommCell® Console for proxy.
Once configured, you can run inline or offline backup copy jobs on the CommCell Console.
The Oracle database instance on the proxy machine should be the same version as the source. For example, if Oracle
10.2.0.4 is installed on source then the proxy should be 10.2.0.4.
Use of ASM requires configuration of both ASM and RDBMS instances on the proxy.
72
An RMAN recovery catalog database is required.
The catalog user and the catalog database must be accessible by both the source and proxy Oracle instances.
Best Practice is to mount the snapshots on the same ASM mount point as the source. When using the same proxy for
multiple source instances, this means each source should have a different ASM mount point to avoid conflicts.
Best Practice is to ensure that the data and log mount points do not overlap.
Before executing any ASM based snapshot or movement to media jobs, run the following commands:
cd $ORACLE_HOME/rdbms/lib
gmake -f ins_rdbms.mk ikfed
Ensure that KFED utility is specified in the path.
After putting the above configurations and considerations in place, the configured server may enable RMAN for tape movement
and properly manage ASM databases in a proxy configuration.
Note: It is highly recommended to work with Professional Services to ensure successful implementation of IntelliSnap with
Oracle databases, especially in proxy configuration.
73
Oracle IntelliSnap ® and Backup Copy
An Oracle IntelliSnap is not an RMAN backup. The following steps are performed to protect the Oracle database:
Backup job is scheduled from the CommCell Console. When the backup job is started:
List of data files, control files, and log files that make up the database are determined.
The database is put in a hot backup mode using the following command:
The snapshots for DATA and LOG volumes are mounted and the integrity of files on snap are verified by using RMAN
interface for file cataloging. Once this is done, uncatalog operation is also done.
Depending on the requirements and resource availability, users can choose File Level Copy or Block level copy.
The snap device is cloned and Volume Group/Logical Volumes are automatically created to mount the snapshot.
The Index created during snap is queried to identify files to backup to tape and generates collect file for backup copy.
Both FULL and incremental job types are supported. In this case, catalog configuration is mandatory.
74
If proxy is not selected, only FULL jobs are supported and RMAN 'backup datafilecopy' command is used. Also the snapshots
are mounted in /opt/simpana/MediaAgent/SnapVolumeMounts/ path.
If Proxy is selected, the snapshots are mounted in the same path as that of source and the backup database command is
issued.
The snap device is cloned and Volume Group/Logical Volumes are automatically created to mount the snapshot.
The Index created during snap is queried to identify files to backup to tape and generates RMAN scripts for backup copy
operations.
The integrity of files on snap are verified by using RMAN interface for file cataloging. Once this is done, uncatalog operation
is also done.
There are two options when taking a backup copy, inline and offline.
1. From the CommCell Console, navigate to Client Computers | <Client> | <Agent> | <Instance>
Click Advanced.
2. From the Advanced Backup Options dialog box, select Create Backup Copy immediately check box to create a backup copy.
Click OK.
75
3. You can track the progress of the Inline Backup Copy job from the Job Controller window.
When job is initiated, two separate jobs (i.e., Snap Copy job and Backup Copy job) will be displayed in the Job
Controller window.
Under Snapshot Management Rules, make sure that Enable Backup Copy is selected.
Click OK.
Right-click the <storage policy> and click All Tasks | Run Backup Copy.
77
Select Mark media full on Success to mark the media that is used for this operation after the snapshot copy operation
has successfully completed.
Click OK.
For Oracle iDataAgent the backup copy operations are performed using either the File System or RMAN scripts. By default, File
System backup copy is performed. See Configuring Backup Copy Operations for detailed information.
78
SAP Oracle Configurations
When using SAP environments with BRTools version 7.1 and above, you can perform IntelliSnap backups using the util_vol or
util_vol_online backup interfaces. These backup interfaces are provided by SAP to take volume level backups of the database.
SAP Oracle iDA on the proxy server and the database server
Prior to using the SAP specific IntelliSnap backups, configure the following parameters in the init<SID>.sap file.
For UNIX
util_vol_access = copy - specifies that the IntelliSnap backups can be copied to a different target location for verification
purposes.
util_vol_nlist = nocheck - disables the check for non-database files that reside in the volume but does not exist in the input
file. Alternatively, you can also set this parameter to disable a specific non database file. For eg., util_vol_nlist =
(/oracle/oracle10g/CER/sapdata6/non_db_file)
util_vol_unit = sap_data - specifies that the smallest unit for the IntelliSnap backup will be the sapdata, origlog,
ormirrorlog directories.
For Windows
util_vol_access = copy - specifies that the IntelliSnap backups can be copied to a different target location for verification
purposes.
util_vol_unit = all_data
Right-click SAP for Oracle, point to All Tasks, and click New Instance (ORACLE SID).
79
2. On Windows client:
Click Change.
In the User Account box, enter the user name to access the Oracle application.
Use <domainname>\<SID>adm, in order to perform backup and restore operations from CommCell Console for the
associated instance.
Make sure that the user has administrator privileges to access the Oracle application.
Browse or enter the path to the Oracle application files in Oracle Home.
Browse or enter the path to the Oracle data and control files in SAP DATA PATH.
80
On UNIX Client:
Enter the user name in User Account to access the Oracle application on a UNIX client.
Use <SID_name>adm in order to perform backup and restore operations from CommCell Console for the associated
instance.
Make sure that the user has administrator privileges to access the Oracle application.
Browse or enter the path to the Oracle application files in Oracle Home.
Browse or enter the path to the Oracle data and control files in SAP DATA PATH.
81
3. Click Details tab and add the following information:
Browse or enter the path to the SAP EXE folder in SAP EXE Folder (Required).
In the Storage Policy used for user command backup of data box, select a storage policy name.
82
5. Click the Logs Backup tab.
In the Storage Policy used for all Archive Log backups box, select a storage policy name.
Click OK.
Please note: IntelliSnap can be enabled on the default subclient; however, best practice is to create a separate subclient when
using IntelliSnap. This guide will describe the process for creating an IntelliSnap-enabled subclient.
Right click on the server name, select All Tasks, and then select Properties.
Navigate to the advanced properties page and check the box marked Enable IntelliSnap. This will consume a Hardware Snapshot
Enabler license from the license key.
83
SAP Oracle Subclient Configuration
Once the SAP Oracle iDataAgent is installed on a client and the Oracle instance is defined, configure a Subclient to backup the
SAP Oracle database and /or archive logs.
The following sections provide the necessary steps to configure a Subclient to perform the IntelliSnap backup of a single Oracle
database:
1. From the CommCell Browser, right-click the SAP Oracle instance and select All Tasks | New Subclient:
2. On the “General” tab, enter the name of the Subclient and, optionally, a user friendly description for the Subclient:
84
3. On the “Content” tab, select whether the backup will be Online or Offline. Also note that when the IntelliSnap option is
selected, the only “Backup Device” options which are available are:
Util_File - Specifies that a backup is performed file-by-file using a backup program specified by the BACKINT interface.
Util_Vol_online - Specifies that a backup is performed at disk-volume level with dynamic switching of tablespace
backup status.
The Util_File is a default option when you select IntelliSnap Operations. However, you can select the option as per your
requirement.
The Util_Vol, Util_Vol_online options will not be available in the following circumstances:
85
4. Optionally, on the “Pre/Post Process” tab, scripts may be called out to perform tasks during the operation, both pre/post
snap and pre/post backup:
5. On the “Storage Device” tab, the storage policy is chosen and the number of streams is also configured. Compression
86
and deduplication option can also be optionally configured on Storage Device tab:
6. The “Logs Backup” tab contains the options for the SAP Oracle Archive Logs. Options include whether or not to backup
the archive logs and if the logs are to be deleted after backup. By default, the logs are not deleted after an IntelliSnap
backup. Deletion of the logs has to be enabled.
When you perform an IntelliSnap backup for archive logs, you can specify the location for which an IntelliSnap operation
should be performed. This capability enables you to schedule IntelliSnap operations from different log destinations on the
same Subclient. If necessary, you can also delete the logs after an IntelliSnap backup.
7. The “IntelliSnap Operations” tab controls the snap options. Enable the IntelliSnap checkbox. Next select the
appropriate snap engine from the Available Snap Engines dropdown pick list. If the use of a proxy is desired for backup
copy operations, select the proxy from the Use Proxy dropdown pick list.
87
Note: When performing IntelliSnap software backup using proxy, ensure that the
operating system of the proxy server is either same or higher version than the client
computer.
By default, the backup copy uses the file system for copying data to the media. In this case, the Media Agent and File System
iDataAgent must be installed on the proxy. By enabling the “Use RMAN for backup copy”, the RMAN backup interface is used
for block level backup operations. Also, these backup operations are recorded on the RMAN catalog. RMAN is required in the
case of Automatic Storage Management (ASM) Oracle Databases, since ASM data is not available on the file system. You can
also run RMAN restores/reports from these backups.
Prior to using RMAN for copying the data to the media, ensure the following:
The Oracle iDataAgent and MediaAgent must be installed on the proxy computer.
The Oracle instance on the proxy computer should have the same name as that in the source computer.
The Oracle version installed on the proxy and source computers should be compatible. However, the major version of Oracle
should be the same.
For backups involving ASM instances, both ASM and the RDBMS instances have to be configured on the proxy computer.
The catalog user and the catalog database must be the accessible by the source and the proxy Oracle instances.
The proxy and source computer should have the same directory structure e.g. dump, diagnostic and data directories.
Oracle database requires the ASM to be registered with Oracle Cluster Registry (OCR). It will ensure the RMAN to successfully
mount the disk group.
If multiple source client database instances are configured to run RMAN backup copy on the same proxy MediaAgent, the
backup copy may fail due to instance and database name conflicts. The conflicting database and instances need to be moved
to a different proxy MediaAgent in such cases
During an RMAN backup copy, the proxy database is started in mount mode using the backup control file from the IntelliSnap
backup. Additional Oracle licenses may be required for the proxy database. Please inquire with Oracle support to determine if
additional Oracle licenses are required in your environment.
The “Enable Snap Integrity Check” option is disabled by default. When enabled, the following additional steps are performed
after taking the snapshot:
The snapshot is mounted on the source and cataloging of datafiles/archived logs is performed from the mounted snapshot.
88
This verifies whether all the datafiles/archived logs are properly captured during an IntelliSnap backup. RMAN catalog
datafilecopy checks the datafile header and verify its authenticity before cataloging it.
Once the catalog is completed, an uncatalog happens and the snapshot is unmounted from the source.
Util_File
The util_file interface is used when you need to perform a full backup or a selective online full backup operation. When
selecting this option for online backup, the Oracle database is locked till the full backup operation is completed.
1. From the CommCell Browser, right-click the Subclient and click Properties.
Util_Vol
When you perform backups using the util_vol backup interface, the entire database is locked till the backup operation is
completed.
Use the following steps to configure backups using util_vol backup interface:
1. From the CommCell Browser, navigate to <Client> | SAP for Oracle | <Instance>
89
Util_Vol_Online
The util_vol_online backups are similar to the util_vol backups. However, when using these type of backups, each volume that
is being backed up is locked during the backup and is released once the backup is completed.
Use the following steps to configure backups using util_vol_online backup interface:
1. From the CommCell Browser, navigate to <Client> | SAP for Oracle | <Instance>
90
Optimizing IntelliSnap® Backup
Each IntelliSnap backup job snaps many volumes that are used for data, archive logs, detail and summary files, database init
files etc. A large number of IntelliSnap backup jobs can quickly consume the snap data reserve. To overcome this, use the
CV_SAP_SNAP_BKP_OPTIMIZE additional setting to reduce the total number of snapshots per job.
3. Click Advanced.
8. Click OK.
You can use the backint util_file interface to perform an IntelliSnap backup of the split-mirror disks on the production server.
Later, you can even mount these snapshots on the proxy or production server and copy any data file needed. You can also
91
perform restores on the production or proxy server either from the snapshots or the snap copies depending upon the selected
copy precedence.
1. We would need to create the SAP Instance from CommCell GUI for both Source and Proxy client. Install the Oracle SID on
both the production and proxy servers. Make sure to install the same Oracle SID and maintain the same directory structure
on both the production and proxy servers.
$ORACLE_HOME/dbs/init<SID>.utl file:
CvSrcClient
<Source_Client_Name>
Example:
Production=tigersnap
Proxy=tigersnap2
$ORACLE_HOME/dbs/init<SID>.utl file on the Proxy
CvSrcClient
tigersnap
2. Configure the Snap-able volumes on the production server.
Example:
[root@tigersnap ~]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
32408432 30528060 207568 100% /
/dev/sda1 101086 14827 81040 16% /boot
tmpfs 972264 0 972264 0% /dev/shm
/dev/sdj1 1031888 17736 961736 2% /home/oracle/product/10g/dbs
/dev/sdg1 5156292 1373028 3521336 29% /home/oracle/product/10g/CER
/dev/sdh1 3093976 831496 2105312 29% /home/oracle/product/10g/CER/DATA
/dev/sde1 2062716 118036 1839900 7% /home/oracle/product/10g/CER/LOG
[root@tigersnap ~]# ls -l /home/oracle/product/10g/CER
total 48
drwxrwx--- 9 oracle oracle 4096 Apr 27 17:52 DATA
drwxrwx--- 7 oracle oracle 4096 May 29 16:34 LOG
drwxrwxrwx 2 oracle oracle 16384 Apr 27 10:56 lost+found
drwxrwxr-x 3 oracle oracle 4096 May 30 02:00 saparch
drwxrwxr-x 2 oracle oracle 4096 May 29 16:37 sapbackup
drwxrwxr-x 2 oracle oracle 4096 Apr 27 11:13 sapcheck
drwxrwxr-x 2 oracle oracle 4096 Apr 30 11:11 sapreorg
drwxrwxr-x 3 oracle oracle 4096 Apr 27 11:13 sapscripts
drwxrwxr-x 4 oracle oracle 4096 Apr 27 11:13 saptrace
[root@tigersnap ~]# ls -l /home/oracle/product/10g/CER/LOG
total 76
drwxrwxr-x 2 oracle oracle 4096 May 29 16:34 mirrlogA
drwxrwxr-x 2 oracle oracle 4096 May 29 16:34 mirrlogB
-rw-r----- 1 oracle oracle 2560 Oct 22 2010 orapwCER
drwxrwx--- 2 oracle oracle 4096 May 29 16:34 origlogA
drwxrwx--- 2 oracle oracle 4096 May 29 16:34 origlogB
-rw-r----- 1 oracle oracle 2560 May 29 11:59 orapwCER
[root@tigersnap ~]#
92
3. Configure the volumes on the proxy server. Make sure that the data, logs, control files and the mirror are configured on
separate volumes. This is to ensure that the sapbackup directory on the proxy is not replaced when you mount the
snapshots /split-mirror disks on the proxy server.
4. Configure the SSH with user equivalence (RSA Key sharing) between OraSID's on both the proxy server and production
server. If you do not configure the SSH sharing, you will be prompted for the account passwords multiple times.
You should have the same user name, UID and password on both the production and proxy servers.
You should belong to the same group with the same group ID.
Make sure you get the same results on the production and the proxy:
Example:
Example:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tigersnap.commvault.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
CER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tigersnap.commvault.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CER)
)
)
CER.tigersnap =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tigersnap.commvault.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CER)
)
)
93
CER.tigersnap2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tigersnap2.commvault.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CER)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
7. Add the service name entries on the production server.
Example:
94
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 88080384 bytes
Fixed Size 1217836 bytes
Variable Size 79694548 bytes
Database Buffers 4194304 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 -
Production
With the Partitioning, OLAP and Data Mining options
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 30-MAY-2012 21:12:39
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/product/10g/network/admin/listener.ora
Listener Log File /home/oracle/product/10g/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tigersnap.commvault.com)(PORT=1521)))
Services Summary...
Service "CER" has 1 instance(s).
Instance "CER", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@tigersnap 10g]$
8. Configure the InitSID.* on the Production server.
95
RMAN_PARMS="BLKSIZE=1048576,SBT_LIBRARY=/opt/simpana2/Base/libobk.so,
ENV=(CvClientName=tigersnap,CvInstanceName=instance001)"
_rman_sess_stmt = ("alter session set optimizer_mode=RULE")
Add the following to initCER.ora
remote_login_passwordfile = EXCLUSIVE
control_file_record_keep_time = 100
Add the following to initCER.utl
CvInstanceName
Instance001
snapBackup
1
numstreams
1
CV_restCopyPrec
0
9. Configure the InitSID.* on the Proxy server.
primary_db = CER.tigersnap
stage_copy_cmd = scp
pipe_copy_cmd = ssh
rman_channels = 1
rman_filesperset = 64
For example:
RMAN_PARMS="BLKSIZE=1048576,SBT_LIBRARY=/opt/simpana2/Base/libobk.so,
ENV=(CvClientName=tigersnap2,CvInstanceName=instance001,CvSrcClient=tigersnap)"
_rman_sess_stmt = ("alter session set optimizer_mode=RULE")
Add the following to initCER.ora
control_file_record_keep_time = 100
Add the following to initCER.utl
CvInstanceName
Instance001
snapBackup
0
numstreams
1
10. The Snapshots/Split-mirror disks will be mounted (in place) on the proxy server. Make sure that those pertinent directories
are empty on the proxy.
11. Install the SAP Oracle iDataAgent on both the production and proxy servers.
12. Configure the instance for the production server in the CommCell Console. See Configuration for step-by-step instructions
on how to configure an instance.
96
oracle@tigersnap 10g]$ orapwd file=/home/oracle/product/10g/dbs/orapwCER
password=manager entries=10 force=Y
2. Configure the remote_login_passwordfile parameter to exclusive in the init<DBSID>.ora profile.
3. Authorize the system user with SYSOPER authorization in the production server.
4. Start the SQLPLUS as user SYS and execute the Oracle command:
Use the following BRBACKUP command to perform split-mirror disk backups with online_mirror using util_file interface:
You can also perform IntelliSnap backup of SAP for Oracle if the database resides on a Direct NFS volume. IntelliSnap backup
supports volumes using the Oracle Direct NFS (dNFS) protocol.
File level revert is performed by default when revert restore is run on NFS volumes. For Volume Level revert on NFS volumes,
use the sUSE_FILE_LEVEL_REVERT registry key. File level revert cannot be performed when the database resides on regular
SAN Volumes (LUNs).
Consider the following while performing an IntelliSnap backup for data or databases that reside on an NFS Volume:
The export name on the storage device should be the same as the storage path on the storage device.
E.g., if the storage path of the storage device is /vol/Volume/Qtree, use /vol/Volume/Qtree as the export name and not an
alias such as /ExportName.
You can use the exports both at the root of a NetApp volume and at subdirectory levels below the root of the volume.
Make sure that the storage device is accessible from the source and proxy machine (even if they exist in different domains)
using the storage device's short name while mounting NFS exports from the storage device. Make sure to enter the storage
device credentials using its short name. Do not use an IP address or the fully qualified domain name.
E.g., use a short name for the server such as server1 or server2.
97
Backup Copy Operations
A backup copy operation provides the capability to copy snapshots of the data to any media. It is useful for creating additional
standby copies of data and can be performed during the IntelliSnap backup or at a later time. Note that if primary snap copy is
configured as Spool copy (copy with no retention rules) then the snapshots will be automatically deleted after the backup copy
operation completes successfully.
1. From the CommCell Console, navigate to Client Computers | <Client> | <Agent> | <Instance>
4. Click Advanced.
98
5. From the Advanced Backup Options dialog box, select Create Backup Copy immediately check box to create a
backup copy.
Click OK.
6. You can track the progress of the Inline Backup Copy job from the Job Controller window. When job is initiated, two
separate jobs (i.e., Snap Copy job and Backup Copy job) will be displayed in the Job Controller window.
99
Offline Backup Copy
Backup copy operations performed independent of the IntelliSnap backup job are known as offline backup copy.
4. Under Snapshot Management Rules, make sure that Enable Backup Copy is selected.
5. Click OK.
7. Right-click the <storage policy> and click All Tasks | Run Backup Copy.
100
8. Select Start New Media to copy the data to a different tape.
9. Select Mark Media Full On Success to mark the media that is used for this operation after the snapshot copy operation
has successfully completed.
101
DB2 Configurations
IntelliSnap backup enables you to create a point-in-time snapshot of the data used for backups. An effective way to back up
live data is to quiesce it temporarily, take a snapshot, and then resume live operations. IntelliSnap backup works in conjunction
with storage arrays to provide snapshot functionality for backup.
You can use the IntelliSnap backup to perform a Full Backup. While performing an IntelliSnap backup or any subsequent
operations, you can use a proxy server to reduce the load on the production server. Also, the backup copy operation will use
the proxy to move the snap to backup media. Proxy server is supported with hardware storage arrays.
Backup job is scheduled using the CommCell Console. When the backup job is started:
The DB2 online log can be configured on the same/different snap volumes as you configure for snap database.
Data could be moved from the SNAP to a library either on the same client or using a proxy.
This snapshot is used for backup copy operations. This can also be used for restore/mount operations.
The mounted snapshot is treated like file system and the required contents are read.
The file system backup is performed to Primary Copy of the storage policy.
DB2 Parameters
You can automatically update DB2 parameters (LOGARCHMETH1, LOGARCHOPT1, VENDOROPT, TRACKMOD, etc.,) using
Db2_config.sh on UNIX and Db2_config.ps1 on windows to perform backups and restores. See the Commvault Documentation
on “Automatically updating DB2 parameters” for more information.
You can manually configure the following parameters to back up any type of DB2 database online or offline, update the database
configuration parameters when DB2 agent is installed on a cluster or multiple instances of Simpana are installed.
From the DB2 console, type the following command to set the LOGARCHOPT1 parameter:
102
Configure the DB2 Instance
1. From the CommCell Browser, navigate to Client Computers | <Client>.
In the Home box, click Browse or enter the path to the DB2 application files.
In the User Account field, type the user name and password to access the DB2 application. Click OK.
4. On the Data Backup tab under the Storage Device tab of the Creating New Instance dialog box:
In the Default Storage Policy box, select a storage policy name for data backups
103
5. On the Command Line Backup tab under the Storage Device tab of the Creating New Instance dialog box:
In the Storage Policy for Command Line Backup box, select a storage policy name.
6. On the Log Backup tab under the Storage Device tab of the Creating New Instance dialog box:
In the Storage Policy for All Log Files box, select a storage policy name for log backups.
7. Click OK.
9. Right-click the <Instance> and click All Tasks | Create New Backup Set.
10. On the Creating New Backup Set dialog box, under Available DB Names, click the database name, and then click
the arrow button to move the database name to the Selection box.
104
2. Right-click the <BackupSet>, point to All Tasks, and then click New Subclient.
3. On the Creating New Subclient dialog box, navigate to the General tab and enter the Subclient name.
4. On the Creating New Subclient dialog box, navigate to the Storage Device tab and select or type the Storage Policy in the
combo box.
105
5. On the Creating New Subclient dialog box, navigate to the IntelliSnap Operations tab and select the IntelliSnap check box
and the Snap engine from Available Snap Engines list.
From the Use Proxy list, select the MediaAgent where IntelliSnap and backup copy operations will be performed.
When performing IntelliSnap backup using proxy, ensure that the operating system of the proxy server is either same
or higher version than the client computer.
6. On the Creating New Subclient dialog box, navigate to the Backup Arguments tab:
106
7. Click OK.
are snapped.
The database operations are then resumed. The archived log files are not included with the snapshot. The logs are streamed
after the data snapshot is taken.
History files
4. Click OK.
3. On the Backup Options dialog box, select Full as the Backup Type and Immediate for the Job Initiation.
5. On the Data tab of the Advanced Backup Options dialog box, select the Create Backup Copy immediately check box to
create a backup copy.
6. Click OK.
You can view the progress of the job, by going to the CommCell Console ribbon, clicking the Home tab, and then clicking Job
Controller.
107
Offline Backup Copy
Backup copy operations performed independent of the IntelliSnap backup job are known as offline backup copy.
3. On the Storage Policy Properties dialog box, navigate to the Snapshot tab.
4. Under Snapshot Management Rules, select the Enable Backup Copy option.
5. Click OK.
7. Right-click the <storage policy> and click All Tasks | Run Backup Copy.
8. On the Backup Copy For dialog box, select the Start New Media check box to copy the data to a different tape.
9. Select Mark Media Full On Success to mark the media that is used for this operation after the snapshot copy operation
has successfully completed.
108
VMware Configurations
IntelliSnap technology enables fast protection of
large or volatile VMware environments without
placing load on the production vSphere Farm.
IntelliSnap technology integration with the
Virtual Server Agent (VSA) enables the array to
perform backups in minutes even with large
numbers of virtual machines and sizable data
stores. A dedicated ESX server for proxy data
movement completely removes any utilization on
the ESX farm with granular access providing
individual file and folder recovery from the
secondary tier of storage.
File System iDataAgent on the Windows physical server(s) or virtual hot-add guest(s)
The following steps will configure the implemented VMware Environment for IntelliSnap operations:
1. A vCenter pseudoclient should be created if one does not already exist. See Commvault Documentation – Virtual Server
Agent for VMware for instructions on adding a vCenter virtualization client.
2. Enable IntelliSnap on the vCenter virtualization client. Right-click on the vCenter server name, then select Properties.
This will consume a Hardware Snapshot Enabler license from the license key.
109
5. Click OK to close the Advanced Client Properties window, and again on OK to close the Client Computer Properties window.
6. Browse through the VSA iDataAgent to the desired VMware backup set and then access the properties of the desired
subclient to enable IntelliSnap Operations:
7. Browse to the IntelliSnap Operations tab, check the IntelliSnap box. Select the appropriate snap engine as the
Available Snap Engines.
110
8. To define proxy configurations on the IntelliSnap Operations tab, below the Proxy ESX Server, click on Select ESX
server for snap mount. This opens a dialog box with the available ESX servers in the environment. Select the desired
ESX server to perform the Proxy operations for generating granular backups to disk/tape/cloud. The selected ESX server
mounts the array snapshot when a backup copy operation executes.
9. Ensure the Storage Device tab has a storage policy with a Snap Copy defined and click OK to close the Subclient
properties.
10. To execute a snap operation for the VSA agent, simply schedule or generate a backup job for the previously configured
Subclient. Simpana will detect the configuration and automatically run a snap backup job. If a proxy is configured, ensure
that it has all prerequisites set up before running the operation.
1. From the CommCell Browser, navigate to Client Computers | <vCenter Client> | Virtual Server | VMware. Right-click the
defaultBackupSet and click New Subclient.
111
2. Enter the Subclient name.
112
4. Click the available list and select Host from the list. Enter the host name which appears in the vCenter or IP address of the
host.
Otherwise, click “…” to open the Browse dialog box. Navigate to the required host and select the host. Click OK.
The selected host will appear in the Contents of Subclient list on the Content tab.
5. Click Preview to view all the virtual machines on the host. These virtual machines will get backed up when you perform
the backup of the Subclient. Click OK.
113
Discover Virtual Machines from a Datastore
If you want to back up all the virtual machines from a specific Datastore, set the criteria as follows:
1. From the CommCell Browser, navigate to Client Computers | <vCenter Client> | Virtual Server | VMware.
114
4. Click the Content tab. Click Add.
5. Click the available list and select Datastore from the list. Enter the Datastore name.
7. Select the Datastore from the available list. Navigate to the required Datastore and select the host. Click OK on the Browse
dialog box. Click OK on the Add Rule dialog box.
115
8. The selected Datastore will appear in the Contents of Subclient list on the Content tab.
9. Click Preview to view all the virtual machines in the Datastore. These virtual machines will get backed up when you
perform the backup of the Subclient. Click OK.
Note: If a virtual machine has only one disk in the selected Datastore and remaining disks and VMX
files are located on other Datastores, the virtual machine will be added to the Subclient.
116
Hyper-V Configurations
IntelliSnap enables fast protection of large or volatile
Hyper-V environments without placing load on the
production Hyper-V cluster. IntelliSnap technology
integration with the Virtual Server Agent (VSA) enables the
array to perform backups in minutes even with large
numbers of virtual machines and sizable Cluster Shared
Volumes (CSVs). A dedicated Hyper-V host for proxy data
movement completely removes any utilization on the
production cluster, with granular access providing
individual file and folder recovery from the secondary tier
of storage.
The following steps will configure the implemented Virtualization Environment for IntelliSnap operations:
1. A Hyper-V pseudoclient should be created if one does not already exist. See Books Online
(http://documentation.commvault.com/commvault/v10/article) for instructions on adding a Hyper-V pseudoclient.
2. Enable IntelliSnap on the Hyper-V pseudoclient. Right-click on the Hyper-V cluster/server name, then select Properties.
This will consume a Hardware Snapshot Enabler license from the license key.
117
5. Click OK to close the Advanced Client Properties window, and again on OK to close the Client Computer Properties
window.
8. Browse to the IntelliSnap Operations tab, then check the IntelliSnap box. Select the snap engine from the
Available Snap Engines dropdown.
118
9. To define proxy configurations on the IntelliSnap Operations tab, select the desired VSA from the Use Proxy dropdown.
10. Ensure the Storage Device tab has a storage policy with a snap copy defined and click OK to close the Subclient properties.
11. To execute a snap operation for the VSA agent, simply schedule or generate a backup job for the previously configured
Subclient. Simpana will detect the configuration and automatically run a snap backup job. If a proxy is configured, ensure
that it has all prerequisites set up before running the operation.
Proxy Configuration
IntelliSnap technology provides a modernized architecture for handling data protection operations within the datacenter. Proxy
capabilities enable an array-based snapshot to mount off-host, eliminating backup processes on the production servers. Allowing
for multiple snapshots from different source servers across high-speed FC and IP networks eliminates any compression,
deduplication, and encryption load on the production servers and centralizes streaming protection to a dedicated tier of services.
Each OS with an IntelliSnap software client requires a similar OS (i.e. Windows to Windows, Linux to Linux, etc.) for proxy
execution. Simpana will automatically link indexing information for data protected through the proxy back to the original host,
enabling recovery back to the production host within the production application context. Application integrity checks may also
be executed on the proxy servers to validate the consistency of snapped data prior to streaming protection operations.
For a configuration where snapshots mount off-host to a proxy server, implement the following agents on the proxy server.
MediaAgent
Application-specific binaries for proxy if required (i.e. – Exchange Management Pack, Oracle for RMAN integration, etc.)
1. Locate the SnapTest executable in the base directory, and execute it:
119
For Windows - <Installation Directory>\Simpana\Base\SnapTest.exe
2. For this example we are utilizing a Windows host, we will be selecting the File System - Main Menu, Option 1.
3. To prevent automatic reverts or to prevent automated tests, select Advanced Operations. Option 2:
On Windows you must enter a drive letter or a mount path (junction point), without the trailing slash.
On a UNIX/Linux environment, enter the mount path location, e.g. /mnt/path, not the underlying device name under
/dev.
121
7. From the Main Menu (use option 0 to return), choose option 1: Perform Individual Snap Operations.
8. Select the PURE Storage Snap option (this will change as engines are added; it is 41 as of V10 SP12):
122
9. Exercise the selected Snapshot Engine by selecting Option “1”. Enter the mount path to the FlashArray volume:
This will create a new snapshot based on the engine you have selected and will give you the necessary information to confirm
all works. You may also test mounting and unmounting snapshots. Make sure to delete any snapshots you create with the
SnapTest tool to avoid using unintended storage space.
123
Security & Storage Policy Best Practices
Security Roles
The power of a Storage Array in providing fast full volume
recovery changes data architectures and SLA alignment.
Any technology providing fast sweeping recovery directly
linked to production data can be potentially dangerous
without proper controls. Revert operations are perfect for
massive data corruptions on productions volumes that
require fast recoveries, assuming the proper controls are
in place to allow only those who understand what the
defined action will do for/to the business. Typical script
based tools lack these controls and expose environments
to high risk side effects with very little oversight or
reporting. A single misaligned scripted argument could
bring an entire production database environment down
and cause catastrophic data loss. Further, restoring data
through array based reverts when a single file/database is
all that is necessary can destroy entire collections of data
resetting the environment back hours or days if done
incorrectly. Recent mail, revenue transactions, business
data, etc. would all be lost due to a simple mistake in
operation.
Rather than risking the business to make or beat the backup window with scripts or standalone tool sets, an integrated data
management platform should provide proper safety controls to allow critical actions to entrust the right users at the right time
while ensuring a reporting and audit system to overlay the full end-to-end view. In most medium to large environments,
application operational responsibilities, backup, DR, compliance and audit may be distributed functions that need to be
coordinated into a single policy. The embedded role based security system native to Simpana automates this function.
For Example, a customer may have three specific roles within an operations environment:
Backup Admins
Each of these roles “owns” specific responsibilities for managing and protecting the enterprise. Backup Admins are the typical
day to day operators with access to perform standard backup and recoveries, manage media, issue reports, etc. However, the
Backup Admin role may not be the right team to execute application-level recoveries or have the capabilities to issue array-
based reverts for recoveries due to knowledge and awareness of the application architecture. The Application Owner role is not
so concerned about the general day to day backup environment, but is laser focused on the application space they own. They
need to know what tools are available to them and who has the capabilities to execute on those toolsets at any time as they
manage the applications running the business. Any recovery operations involving their applications, especially powerful
techniques such as array reverts and snapshots must be managed from their group to mitigate any risk to the business. The
Audit role simply needs to eliminate red flag events and provide security, operational, and process proof of who can perform
what and how.
124
To meet this requirement specific roles should be defined solely for the IntelliSnap technology client and application iDA’s within
the CommCell. An example of this basic security structure as defined in Simpana Security Roles as noted here:
Browse X X
Compliance Search X
Data Protection X X
Data Protection X X
Management
Job Management X X
Library Management X
Library Administration X
License Management X
MediaAgent Management X
Report Management X X X
Storage Policy X X
Management
User Management
Storage Policies
Managing proper retention on the snapshot copies becomes another critical requirement. Improper retention either increases
the amount of tier 1 storage that is holding recovery points, or it causes the snapshots to fall short of fully meeting SLA
requirements for the business. Simpana Storage Policies are broken down into copies for managing retention on the proper tier
of storage. In the typical Storage Policy for IntelliSnap technology, three copies will be available, the primary snap copy, the
primary backup to disk copy, and the offsite disk/tape copy. Properly meeting SLA requirements for the business requires proper
alignment for the retention characteristics of each of the storage tiers. For example, SLAs for sub-24hr RPO/RTO drastically
lower the returns on leveraging snapshot technology on copies beyond 48 hours.
The typical best practice for storage policy configuration will vary from environment to environment. The standard retention for
the snap copy should align to the primary recovery SLA, with the backup to disk and tape copies providing SLA coverage for
125
complete site-based disasters. For example, with the previous description, retention may be set as follows to meet customer
requirements:
This definition allows snapshot retention on a 48-hour rotation, providing multiple high-speed recovery points on the array to
meet the SLA requirement. This configuration requires sufficient storage space allocated to maintain two days’ worth of changes
for the associated clients. Note that when setting “cycles” to 0, the removal of old snapshots occurs regardless of success, so
proper alerting and monitoring is required.
Another recommended option for snap copy retention sets the “days” variable to 0 and focuses solely on the Number of cycles.
In this configuration full backups must occur frequently to allow for proper snap management. With this setup, the number of
snapshots retained will be determined based on the number of cycles configured. The scheduled frequency becomes very
important to defining the environment conditions. Assume a cycle consists of eight snapshots. If those eight snapshots execute
over a week timeframe, then 7 days of delta change must be available in the Array configuration. If the eight Snapshots execute
in a 48-hour period, only 48 hours of delta change must be available in the Array configuration. Fully understanding the schedule
and process configurations enables making the proper retention setting when keying off of “cycles.” Improperly setting retention
and effects of days and cycles can adversely affect the available recovery scenarios for the business applications.
The other recommended option for snap copy retention sets a specific number of snapshots to retain, regardless of days and
cycles. This configuration aligns best to storage teams’ practices. If retention is set to eight snapshots, eight snapshots will
always be retained, regardless of how long it takes to reach eight. It is therefore important to understand the rate of change
for the application to determine how much delta change must be accounted for. It is also important to note that because cycles
are not factored it is possible to end up with an incomplete cycle in a snap-only scenario, so secondary copies on disk or tape
are recommended with this option.
This definition will then enable the Primary and Secondary backup to disk and tape copies. Backup Copies should follow a
standard backup schedule for the production (i.e. daily backups should equate into at least one Snap Copy Point in time to drive
local and offsite backups). Remember, backup copies will execute synchronously, and the failure to “backup” Snap Copies to
disk/tape will extend the storage requirement on the Array, as snapshots selected for Backup Copy will not prune until they are
moved to disk/tape. Application data will always be consistent on this data movement. Backup Copy operations will always use
File System mechanisms to protect the properly quiesced applications, except in the instance of RMAN proxies in an Oracle
configuration. The rest of the copies in the storage policy follow the standard days and cycles rules for data aging.
Snapshots should not be deleted from the array outside of Simpana software’s control, but there are situations where this might
happen. Snapshots may be deleted from the array due to factors like low disk space on the array, number of snapshots exceeds
the threshold etc., and the jobs corresponding to these deleted snapshots can no longer be used for any data recovery or
backup copy operations. Simpana can be configured to reconcile differences between the available snapshots on the array and
records in the database. With the nRunSnapRecon registry key set, snap reconciliation will execute once every 24 hours to
check for missing snapshots and mark any jobs corresponding to the missing snapshots as invalid. See Appendix for detailed
information.
126
Manipulating Snapshots
Part of the value of creating and leveraging snapshots is the flexibility it provides IT for typical tasks by calling on the high
speed storage infrastructure. Out of place refresh, single file recoveries, mount and browse capabilities, etc. accelerate daily
IT operations. The following sections describe how to perform these operations for hosts protected with IntelliSnap technology.
1. Snapshot access is always achieved via right clicking on your defined object and selecting the All Tasks option and selecting
List Snaps
2. The snapshot list for the client application is displayed when the List Snaps item is selected. From the dialog several
snapshot operations are available.
127
2. The following dialog appears. Click “Yes” to continue. On Pure Storage arrays the mount time rarely will exceed 1 – 2
minutes.
3. Define the host you wish to mount the snapshot to (this must be a MediaAgent with a similar OS to the source). Ensure
the host has the appropriate Storage Zoning to mount this snapshot. If this is an iSCSI volume log in the initiator for this
host if not already done, otherwise the mount will fail. For Destination Path, enter or browse to a mount point. This must
be a folder, and is recommended to be empty folder.
4. Once the snapshot is mounted the following dialog will appear. Click OK.
5. The Snapshot list updates with the current information on the snap which will include the mount path and the updated
time of the mount operation.
128
6. The mounted snapshot can now be accessed from the mount host.
7. Dismount of the snapshot is a simple process. Select the mounted snapshot and use the right click menu to select the
Unmount option.
129
9. Once completed the following dialog will appear.
It is important to remember to dismount the snapshot once finished. If a snapshot has been manually mounted it will not be
pruned until it no longer is being accessed.
Reverting a Snapshot
There are two ways to revert a snapshot. One is application aware and one is not. Generally the application aware revert is the
mechanism to use.
Application-aware Revert
1. An application-aware revert is done in the context of a standard recovery. This starts with browsing for the application data
to be restored. Click the All Tasks menu item, then select Browse and Restore.
2. The backup selection dialog appears to choose the time frame from which the restore will take place.
130
4. The browse window will appear from which the appropriate application data can be selected for restore. Select all the
content contained in the snapshot(s) being reverted; the revert may fail if not all content is selected. Click the Recover
All Selected button.
5. The Recovery dialog box appears. Click the Advanced button to open the Advanced Restore Options dialog. The dialog
will vary based on the application type.
131
For Exchange:
132
For SQL:
133
For Oracle:
134
For DB2
The “use hardware revert” option is on the “Recover Database” tab of the DB2 Restore Options dialog box:
135
This will execute a LUN revert from the latest snapshot back to the production server.
It is recommended to perform an application aware revert operation to prevent a possible loss of data.
Make sure the volume is not being used during the revert operation.
Ensure that the online log files and their mirror log files reside on the same array volume.
After a revert operation is completed successfully, the roll forward to end of logs will be performed by default. The revert
operation will include all the latest logs that are recovered to the current database status. If you want to revert the DB2
snap to a point-in time, you have to select the roll forward and log point-in-time.
On UNIX clusters, use pre/post scripts to freeze and unfreeze the cluster for revert operations. For example, on Red Hat
Linux cluster, use the following command in the pre/post scripts:
This is required because during revert the application is shut down and corresponding volumes are unmounted. In that case,
the cluster will automatically failover to another node thus preventing the revert operation.
It is recommended to verify the contents of the backup and ensure that you want to perform a revert operation as it is an
irreversible operation.
If you plan to perform a revert operation, you will not be able to use the associated storage policy for further auxiliary copy
operations.
6. Click Yes to the warning dialog to proceed with the revert operation. Click OK to close the dialog and OK again to start the
recovery.
136
This will execute a LUN revert from the latest snapshot back to the production server.
Some Applications require an overwrite option for any restore to occur, including LUN-based reverts. Ensure applications like
Exchange and others have the appropriate “overwrite” settings defined for this to execute properly
Note: ALL FILES and DATABASES on the LUN will be rolled back to the point in time of the snapshot. DO
NOT REVERT UNLESS ALL DATA REQUIRES TO BE ROLLED BACK TO THE PREVIOUS POINT IN TIME
Hardware-specific Revert
A hardware revert can also be performed without application awareness. This is done directly from the snapshot list. This
process initiates a rollback for the selected volumes instantly to the desired point in time, but without communicating with
applications for a graceful restore. This option may be leveraged for file systems and application environments that have been
shut down.
1. The process begins by selecting the List Snaps menu item to bring up the list of snapshots dialog.
137
2. When the dialog appears, select the desired snap and use the right click menu to select the “Use hardware revert …” option
to revert the snap. The following confirmation dialog will appear.
3. Validate this operation is correct and type “Confirm” in the dialog box and click OK to perform the operation.
Caution should be taken when using the non-application aware revert functionality as you can corrupt a running application
because of this operation. You should be sure that you will not cause any data corruption issues before using this option.
1. To restore out of place, select the Browse and Restore option for the desired data set. Select the appropriate time or
the latest backup. For some agent types, primarily virtualization, you will also need to choose the type of restore.
138
139
2. Depending on the application different options are available for out of place restore. Browse into the Subclient contents
and select the data to be recovered out of place. In this case the selection is a virtual machine.
3. When the Recover All Selected button is clicked the following dialog appears to direct the restore activity. Note the VM
Name. A variety of options is available for out of place restore, including changing the VM display name, ESX host, or
Datastore. You can also change vApp and resource pool membership, provisioning policy, and transport mode. The VM can
be powered on automatically after restore by checking the Power ON Virtual Machine after restore box.
140
4. Clicking the browse (…) button in the ESX Server field provides out of place selections. Here FirestoneLocalRaid5 on ESX
server 172.19.122.34 is the location for the VM recovery. Select OK, and then OK again on the Restore Options windows
to execute the recovery, out of place.
141
Out of Place Restore – Oracle Example
Snapshots can be used for recovery out of place just like any other media based backup. LAN and LAN-free recovery are both
supported. For LAN-free recovery the target must have access to the array hosting the snapshots, and MediaAgent and any
required iDataAgent software must be installed.
1. To restore out of place select the Browse Backup Data option for the desired data set, select “All Tasks” > “Browse and
Restore” when right-clicking the desired Oracle database instance. Select the appropriate time or the latest backup.
2. Select either latest backup or the desired time range to restore from and click “View Content”:
142
3. Enable the “Use Snap Restore” checkbox as shown in below and then select the “Advanced” button:
4. In the advanced tab, the choice to use RMAN or File System methods for restoring the database is given, along with all of
the usual RMAN restore options that are available during a non-snap Oracle iDA restore:
143
Out of Place Restore – SAP Oracle Example
Snapshots can be used for recovery out of place just like any other media based backup. LAN and LAN-free recovery are both
supported. For LAN-free recovery the target must have access to the array hosting the snapshots, and MediaAgent and any
required iDataAgent software must be installed.
For SAP Oracle restores, copy precedence governs which copy (snap vs. backup) is used for the restore. To choose the desired
copy for restore, perform the following steps:
5. Right-click the entity that contains the snapshots you want to restore, and point to All Tasks | Browse and Restore.
144
7. From the Browse window, select the data you want to restore in the right pane and click Recover All Selected.
8. From the Restore Options for All Selected Items window, select the correct destination client and the desired
restore/recover options. Click Advanced.
145
9. Click the Copy Precedence tab and select the Restore from Copy Precedence checkbox.
10. In the Copy Precedence box, type the copy precedence number for the backup copy.
12. Click OK to close the Restore Options window and start the restore job.
On Windows configurations, make sure there are no databases existing on the destination's directory. If there are databases,
the restore will destroy the databases because the SQLDBDIR information from the source database overwrites the
destination information.
The operating system on the destination client must be the same as that in the source client.
The DB2 application on the destination client must be the same (or later) version as that in the source client.
The DB2 user must have sufficient rights to restore the database. See Configuring User Accounts for more information.
The database path (db_path) and storage path must be the same on the destination for redirected restores.
When performing a restore for storage paths, the number of storage paths on the destination must be equal or less than
the number on the source because the Simpana software provides a source to destination mapping to restore and relocate.
When you restore the database to a new client, use the same user/group IDs of the DB2 instance.
Install the DB2 iDataAgent on both the source client and the destination client.
Create and configure an instance of DB2 on both the source client and the destination client on the CommCell.
When the original database is removed from the DB2 system, after the redirect restore on the same instance of the same
host, you must manually clean the original data files on the source.
1. From the CommCell Browser, navigate to Client Computers | <SourceClient> | DB2 | <Instance>.
2. Right-click the <BackupSet>, point to All Tasks and then click Browse and Restore.
147
4. Select the database and click Recover All Selected.
8. Select the destination client name from the Destination Computer list.
9. To change the instance, select the Destination Instance from the destination instance list.
148
10. To change the target database name and location, enter it in the Target Database Name or click Browse to select
the Target Database Path.
11. For Windows clients, the Target Database Path is the drive letter (for example: E:\).
149
Appendix
Contacting Pure Storage support
Contact support@purestorage.com
Location
Windows HKEY_LOCAL_MACHINE\SOFTWARE\CommVault
Systems\Galaxy\Instance<xxx>\MediaManager
Created in CommServe
Description To enable Snap Reconciliation from the Media Manager. When this registry key
is set to 1, the snap reconciliation is enabled and the MM will run the snap
reconciliation every 24 hours. When this registry key is set to 0, the snap
reconciliation is disabled. Also, the absence of this registry key is considered
as if the value is set to 0 and hence the snap reconciliation will not be started.
150