Module 1 – Deployment
Module 1 – Deployment
Professional
Advanced
Student Guide
Module 1 – Deployment
The Commvault platform provides capabilities and functionality for the performance, security, compliance, and economic
benefits of a holistic data management strategy. The key concepts covered in this first step learning module highlight the
core features of the platform. To realize the full value of these features, Commvault provides multiple levels of education
and certification for users at all levels.
Commvault's Certification Program validates expertise and advanced knowledge in topics, including Commvault
Professional, Engineer and Expert technologies. Certification is a valuable investment for both a company and the IT
professional. This program provides certification based on a career path, and enables advancement based on an
individual’s previous experience and area of focus.
Go to http://cloud.commvault.com for resources to help you manage and maintain your Commvault environment.
Download Center – lets you download feature releases, hot fixes, and binaries for new installations.
Forms and Store – allows new features and components like workflow or custom reports to be downloaded and
installed into an existing installation. Commvault regularly releases updates to product. In addition to new features
and functionality, Commvault may retire some components or features.
Documentation – provides a link to Commvault’s technical documentation site
For the new customer, the Quick Start section of the documentation site guides you through steps to review prerequisites
and steps to install and configure Commvault components.
The documentation site is divided into two sections: Essential and Expert. To view Expert information, you must log into
with your Maintenance Advantage credentials.
The CommCell console is the interface used to configure and manage the CommCell environment, monitor, and control
active jobs, and view events related to all activities. The console is accessed using local CommCell accounts or by using
Active Directory integrated account authentication.
1. The CommCell browser displays all CommCell components in an easy-to-navigate tree structure
2. Tabbed windows include details of item selected in CommCell browser, Job Controller, and Event Viewer
3. The toolbar provides access to CommCell configuration settings
The browser provides two views: Browser (default) view and Agents. The navigation is hierarchical, and most settings are
customizable.
1. Hierarchical structure showing all CommCell components
2. Select the Agents view to displays a categorized view of agents in the CommCell environment
3. The browser displays all agents categorized by type
1. Content View - Displays detailed information based on what is selected in the CommCell browser window
2. Summary View - Can be selected to display summarized information
o Extended Summary – When specific objects in the browser are selected, the extended summary view
provides greater detail than the summary view
o Feature View – Displays feature related to the selected object
The Job Controller provides monitoring functionality for all active jobs within the CommCell environment. Jobs remain in
the Job Controller for five minutes after the job completes, fails, or is killed. The default time jobs are maintained after they
finish and can be modified in User Preferences applet in the Control Panel.
1. Currently active jobs and job status are displayed in the Job Controller
2. Add or apply Job Controller filters if needed
3. Pause and play buttons are used to freeze and unfreeze the Job Controller window refresh, but do not pause the
actual jobs
4. CommCell summary data for all active jobs and streams is displayed here
All Commvault software related events are reported in the Event Viewer. By default, 200 events are displayed in the event
viewer, but the event log can maintain up to 10,000 events or 7 days of events. These options are configured in the
System Settings applet in the Control Panel.
1. Select the tab for All Events or Focused Events
2. Set a time range for the Focused Events tab
3. These icons indicate job severity
4. The main window displays event details
Tabbed windows can be rearranged in any order by dragging and dropping the tab. This is beneficial when many windows
are open at the same time.
1. Click and drag the tab to the tab location
2. Tabs are reordered in console
Each job includes information about the job status, data path, and media usage or job errors.
1. Right-click on the job and select Detail or double-click the job
2. Details for job are displayed here
By default, a job remains in the Job Controller for five minutes after it has completed successfully, failed, or was killed by
the administrator.
1. Tools tab > User Preferences
2. Define how long you want to retain jobs
To reduce communication traffic during normal operations, the job status in the Job Controller updates every five minutes.
Unless required for a specific job type, it is NOT recommended to decrease these values as it could have a negative
impact on backup or restore performance. However, in certain situations where job status must be closely monitored, the
update intervals can be modified.
1. Configuration tab > Job Management
2. Select the Job Updates tab to modify protection and recovery operations for different agents
The Event Viewer window displays events reported based on conditions within the CommCell environment. By default, the
event viewer displays the most recent 200 events. This number can be increased up to 1,000. The event log maintains up
to 10,000 events or 7 days of events.
1. Click to see all events or focused events
2. Set a time range for the Focused Events tab
3. Job severity icons allows to quickly gauge events
4. Event details are displayed
The event viewer can be filtered based on the available fields to quickly locate specific events.
1. Click the double down arrow to expand Event Viewer menu
2. Select Filter to enable Event Viewer filtering
3. Filter fields using the drop-down arrow
The event viewer displays up to 1,000 events, but the entire event log can be searched from the event viewer. The default
total number of events retained is 10,000. Search events by time range, severity, and job ID. Common searches can be
saved as a query and run at any time.
1. Right-click in the Events window > Search Events
2. Define search criteria to display all relevant events in the event log
3. Check to save the query to run it as needed
4. Click OK
By default, the event log retains 10,000 events or 7 days of events. When the event logs reach their upper limit, the oldest
events are pruned from the event logs. These options can be customized.
1. Home tab > Control Panel
2. In the CommCell category > System
3. Set the event retention criteria
4. Modify the Database space check interval
5. Click OK
Installing Commvault software is a straightforward process. However, it is important to note that a full CommCell
deployment must be well-planned and executed. This section presents the high-level steps and best practices for
deploying a CommCell environment.
Deployment Sequence
Planning
Downloading the Commvault software
Installing the CommServe server and executing post-install tasks
Installing the MediaAgents and executing post-install tasks
Configuring storage and deduplication
Configure solutions
Apply security
Commvault offers several methods for obtaining the software installation media required for installing a CommCell
environment. The Commvault software installation media is available for download from the Maintenance Advantage
website or from the Commvault Software Cloud Services download center.
The Commvault Maintenance Advantage website or Commvault Cloud website provides the latest version of the
Commvault installation media. Select the Downloads & Packages tile to access the most current software installations
and feature releases or select a previous version.
Download Options
Resumable Download Manager – Based on the bootstrapper download manager; select the required files from
the list and then click Launch Download Manager at the bottom of the screen.
Bootstrapper Direct Download – This option reduces deployment time by selecting only the required
Commvault software components and download of installation media.
1. Once the file is downloaded, extract the contents into a directory and run the Setup.exe as administrator
2. Follow the prompts to install the CommCell, MediaAgent, and optional agents
When deploying Commvault software, it is important to note that every environment is different relative to the available
infrastructure, technology, budget, culture, and requirements of the organization. Whether performing a new installation,
an upgrade, or expanding an existing environment, a good amount of planning should take place prior to installing
Commvault software. The more emphasis put into planning, the more likely the deployment will go smoothly.
Commvault software must be downloaded prior to installation. Plan for routinely downloading updates and for
uploading log files from the CommServe host. If the CommServe will not have internet access, alternate methods
should be discussed and documented.
Determine the location for a local and remote software cache. The software cache is a directory where
Commvault updates and software packages are stored. These position the software to be routinely accessible
throughout the organization and are essential for disaster recovery.
Verify the hardware and system requirements.
Assess the size of the environment to allow for adequate resource availability for the CommServe server.
o Based on the sizing assessment, determine if the CommServe server will be physical or virtual.
o Determine if the CommServe server needs to be deployed in a clustered configuration for high
availability.
Ensure the operating system meets the Commvault specifications and patched with updates prior to the
installation.
Determine if the method of deployment requires additional considerations for Disaster Recovery. For example,
configuring a 'Floating Host Name' for the CommServe server.
Evaluate additional components such as metrics reporting or if the workflow engine will be installed on the
CommServe server.
Determine the methods for accessing the CommCell console and/or Commvault Command Center. These are
installed by default along with the CommServe components.
Proper documentation of the CommCell components being installed is essential for a smooth deployment. The following
chart provides a sample of the information that must be obtained for the CommServe deployment. Having this information
in advance will help the deployment go quicker, bring any shortcomings to the surface, aid in verifying site readiness, and
serve as a template for post deployment documentation.
Configure the email server to allow Commvault software to send alert notification or reports by email. If your corporate
mail server is secured, it is important to understand the level of security. Commvault software uses SMTP which must be
allowed on the mail server for the CommServe server IP address. Refer to your software vendor documentation for more
information about SMTP relay and the mail server.
1. Home tab > Control Panel
2. Maintenance section > Email, Web, and FTP Server
3. Enter the email server name
4. Define the SMTP port to use
5. Enter the sender’s name and email address displayed to recipients
6. Click Test Mail to send a test email to the user currently logged in
Maintenance Modes
Full – Performs a full maintenance on the database. It includes CheckDB, ReindexAll and ShrinkDB commands.
It is recommended to run this twice each year.
Recommended – Performs a recommended maintenance including ShrinkDB and ReindexRecommended
commands. It is recommended to run this maintenance mode every two weeks. By default, a system created
schedule will execute it on every other Sunday.
CheckDB – Validates the consistency of the CommServe database by running an integrity check.
ReindexRecommended – Re-indexes the largest and most frequently used tables of the database.
ReindexAll – Re-indexes all tables of the database.
ShrinkDB – If table re-indexing creates a significant amount of fragmentation, the ShrinkDB command will
reclaim that space by shrinking the database.
The System Created DB Maintenance schedule runs every other Sunday at 3:00 PM and executes a recommended
maintenance. The Full maintenance is not automatically scheduled. It is therefore recommended to either run it manually
or schedule it twice a year. This schedule executes a workflow called ‘DBMaintenance,’ which executes the maintenance
based on the mode that is selected in the schedule. The workflow also contains email components that can be modified to
send a result notification on failure or success.
1. Right-click the CommServe server > View > Schedules
2. Right-click the System Created DBMaintenance schedule > Edit
The CommServe Recovery Assistant tool is used to restore the CommServe database from the DR backup. The tool is
used to rebuild the CommServe server on the same or different computer, change the name of the CommServe host, and
update the CommCell license.
1. From the installation directory, execute CSRecoveryAssistant.exe
2. Choose the operation type
3. Click Browse to provide the location of the DR Backup
The index directory must be located on a dedicated high-speed disk, preferably solid-state drives. Index directory
performance is critical when streaming a high number of jobs to a MediaAgent and when conducting DASH full
operations. When MediaAgent software is first deployed to a server, the location of the index directory will be on the
system drive. It is recommended to change the location to a dedicated drive prior to any jobs running.
1. Right-click the MediaAgent hosting the Index Directory > Properties. From the Properties window select the
Catalog tab
2. Click Browse to change the location of the Index Directory
3. Set the index retention thresholds
Note: Days and percentage apply to V1 indexing clients only.
1. Check the status of updates by selecting the client computers in the CommCell Browser
2. Product version, Service Pack or Platform Release level, and update status will be displayed in the Contents /
Summary window
A MediaAgent can receive and handle a certain amount of parallel data transfer operations, or streams. This is based on
hardware resources of the MediaAgent, as well as the Commvault Online Documentation. By default, a MediaAgent has
100 set as a maximum of streams it can receive. After proper evaluation, this number can be increased or decreased.
1. Right-click the MediaAgent > Properties
2. Defines the maximum number of streams received by the MediaAgent
In some cases, it can be useful to limit the bandwidth used by a MediaAgent when it communicates with clients during
backups and/or another MediaAgent to replicate data, especially when the network is shared with other systems and
users. A network throttling rule determines now the bandwidth is controlled and the time range of the day or the days of
the week for which the rule is enforced.
1. Right-click the MediaAgent > Properties
2. Check the box to enable the use of network throttling
3. Click Add to create a rule to limit bandwidth usage
4. Define when throttling will be enforced
5. Set an absolute or a relative throttling rule
6. Choose computers or computer group to which the rule will be applied
If maintenance is required on the MediaAgent or hardware, it is possible to disable or mark a MediaAgent offline for
maintenance. It is important to understand the differences between disabling a MediaAgent and marking it offline for
maintenance.
Agent Requirements
Prerequisites will vary. W\Always confirm as it may change when a new service pack is released, even for components
that you frequently deploy. Pay particular attention to:
Operating system version
Application version (for application agents)
Service account with specific privileges
The CommCell console is used to push the Commvault software to clients. The following ports are used to achieve the
install:
Commvault base services – Ports 8400 and 8401
Linux – port 22
Windows — ports 135, 139, and 445
It is possible to download the packages on a client machine by using the download bootstrapper. Once downloaded, start
the installation by executing Setup.exe.
1. Download the packages or remotely reach the Software Cache > Execute Setup as an administrator
2. Select the Language
3. Check the box to agree with the License Agreement
4. Choose to install packages on this computer
5. Browse through categories to display the different agents
6. Select agent(s) and component(s) to install
A custom package is a lightweight agent package created by the Commvault administrator. A typical agent installation
requires many questions to be answered. The custom package has all these questions pre-answered. It also is useful to
run silent installations. If an enterprise level deployment solution is in place, such as Microsoft SCCM, it can be leveraged
to silently push the package to multiple machines.
1. Download the packages or remotely reach the Software Cache > Execute Setup as an administrator
2. Select the Language
3. Check the box to accept the license agreement
4. Choose to create a package for installation on a different computer
Encrypting data is an essential part of data protection, especially when data is entrusted to a third party for storage. Equal
consideration must be paid to backup and archive data. If an unencrypted tape is stolen with sensitive information on it,
there is no way to prevent someone from accessing that data. Simple security measures such as password protection
may only delay access to the data. Preventing intrusion into your production environment requires a front-line defense that
is costly and time consuming.
Advantages
Data can be encrypted on the client during initial data protection providing complete end-to-end security.
Different encryption ciphers are used based on security requirements.
In certain cases, software encryption can provide a performance benefit by distributing the load of data encryption
to multiple systems as opposed to hardware encryption, where all data encryption is handled on the tape drive.
Data can selectively be encrypted using inline encryption by configuring encryption settings at the subclient level.
This can further improve performance by only encrypting data that requires encryption.
Restore operations always decrypt data at the destination location.
Inline encryption is used to encrypt data during primary protection operations. The encryption can take place on the client
or the MediaAgent. Encryption is enabled for Commvault software through the storage policy primary copy or at the client
level. Encryption can further be configured at the subclient level. Subclient level encryption provides the flexibility of
defining only that data which requires encryption. By default, when encryption is enabled on a client, encryption is enabled
on all subclients.
When encryption is enabled on a client, the cipher and key length must be set. The default cipher used is blowfish 128 bit.
The 'Direct Media Access' setting determines whether encryption keys are stored on the media. The 'Via Media Password'
option puts the keys on the media. The 'No Access' option only stores the keys in the CommServe database. If the keys
are stored on the media, data can be recovered using Commvault software's 'catalog' feature, or in the case of Disaster
Recovery data, the Media Explorer tool. Encryption keys are always stored in the CommServe database.
DR Data recovery using Media Explorer requires the user to provide the Media Password used when the data was written.
The default Media Password is blank. If the media password is not known, contact Commvault Support to assist in
recovering the password.
1. Expand Client Computers > Right-click the client > Properties
2. Click Advanced to configure client properties
3. Enable the use of encryption
4. Define the cipher and key length
5. Define if the encryption keys should be stored on the media
When encryption is enabled for a client, the default subclient encryption setting 'Client and MediaAgent' encrypts all data
on the client and the data remains encrypted when written to storage.
1. Expand client > Right-click the subclient > Properties
2. Click Advanced to configure the subclient properties
3. Define where to apply encryption
Offline encryption uses Commvault software encryption to secure data during auxiliary copy jobs.
In some cases, encrypted source data will be decrypted first then re-encrypted when storing deduplicated data or
changing encryption ciphers. By default, encrypted data is preserved during an auxiliary copy operation.
1. Expand the storage policy > Right-click the storage policy copy > Properties
2. Advanced tab > Re-encrypt Data and configure the cipher and media access key
Commvault software can enable or disable an encryption operation on the drive and manage encryption keys for tape
drives that support hardware encryption. Keys are stored in the CommServe database.
Commvault software writes data in chunks. Tape media uses 8GB chunks for indexed-based backups and 16GB chunks
for database backups. When encryption is enabled for data protection jobs writing to tape media with 'hardware
encryption' enabled, each chunk has a separate encryption key seeded by a random number generator and other factors.
Generating keys at the chunk level provides an enhanced level of security and greatly reduces the potential of data
compromise.
The Media Password is used when recovering data through Media Explorer or when the 'Catalog Media' option for tape is
used. A media password is essential when using hardware encryption or Commvault software copy-based encryption
(with the 'Direct Media Access' option set to 'Via Media Password').
By default, the password is set for the entire CommCell environment in the System applet in Control Panel. The default
password is blank. Storage policy level media passwords can be set to override the CommCell password settings. For
higher level of security or if a department requires specific passwords, use the 'Policy level' password setting which is
configured in the Advanced tab of the storage policy properties.
1. Home tab > Control Panel
2. CommCell section > System
3. Enable and set Media Password
Erase Media
To ensure encryption keys are destroyed in the CommServe database when tapes are aged, the 'Erase Media' option is
used. Erase Media is a physical operation that mounts the tape and overwrites the OML header. Once the header is
overwritten, data cannot be recovered using any method Commvault software provides. This is considered a destructive
operation so it cannot be performed on any tapes where jobs are actively being retained. The option to erase media is
available in all logical media groups except the Assigned Media group.
When tapes are recycled, they can automatically be marked to be erased. This is done by selecting the 'Erase Media'
check box in the Media tab of a storage policy copy. An erase media operation must be scheduled for the library, which
physically loads each marked tape and overwrites the OML header.
When the 'Mark Media to be Erased' option is enabled for storage policy copies, erase media operations must be
scheduled for any library where media is marked for erasing.
1. Right-click Library > Erase Spare Media
2. Set the erase operation to be quick (overwrite OML header) or full (overwrite entire tape)
3. Choose to start the erase operation immediately
4. Alternatively, click Save As Script to save as a script
The option 'Mark Media to be Erased After Recycling' in the Media tab of the storage policy copy marks all tapes
managed by the policy to be erased once all jobs have aged. A schedule must then be set up at the tape library to erase
the media. The erase media operation mounts the tape and write a new OML header to the tape. This makes the data
completely unrecoverable through the CommCell console, Media Explorer, or through a tape catalog operation. It is
important to note that the data on the tape is not actually erased. As such, it is recommended to encrypt all tapes.
1. Right-click a storage policy copy > Properties
2. In the pop-up window, from the Media tab, check the box for Mark Media to be Erased After Recycling
3. Click Yes to confirm