Veritas Storage Foundation Volume Replicator Administrator's Guide

Article:DOC3124  |  Created: 2010-09-24  |  Updated: 2010-09-24  |  Article URL http://www.symantec.com/docs/DOC3124
Article Type
Documentation

Description



Table of Contents:
Understanding Veritas Volume Replicator
About Veritas Volume Replicator
Feature highlights of VVR
Basic VVR terms
Primary and secondary host
Write-order fidelity
Consistent data versus up-to-date data
Heartbeat protocol
Building blocks of VVR (volume replicator objects)
Replicated Volume Group
Replicator Log volume
Replication Link-RLINK
Replicated Data Set
Data Change Map
Understanding replication in the VVR environment
VVR at the primary
VVR at the secondary
How replication happens in the VVR environment
Modes of replication
Synchronous mode of replication
Advantage of synchronous mode of replication
Disadvantages of synchronous mode of replication
Understanding data flow in VVR synchronous mode
Asynchronous mode of replication
Advantages of Asynchronous mode of replication
Disadvantages of Asynchronous mode of replication
Understanding data flow in VVR asynchronous mode
Synchronous override mode
Understanding data flow in an RDS that contains multiple secondary hosts
Managing data during failure and recovery
Preventing data loss
Preventing data loss during normal operations
Preventing data loss during a primary host failure
Maintaining data consistency
Detecting host and connection failures
Securing VVR
Replication concepts
Using VVR as a disaster recovery tool
Migrating the primary role
Taking over the primary role
Performing takeover with fast-failback
Understanding how VVR logs writes to the Replicator Log
Sizing the Replicator Log
Determining the size of the Replicator Log
Understanding replication settings for a secondary
Mode of replication-synchronous attribute
Using the available bandwidth effectively
Bandwidth of the available network connection
Choosing the network protocol
Measures to protect log overflow and replication latency
Replicator Log overflow protection-srlprot attribute
Primary and secondary connected
Primary and secondary disconnected
Changing between the states of Replicator Log protection
Latency protection-latencyprot attribute
Understanding latency protection
Primary and secondary connected
Primary and secondary disconnected
Pausing replication
Pausing replication from the primary host
Pausing replication from the secondary host
Applications of the pause feature
Understanding checkpoints
Synchronizing the secondary
Using automatic synchronization
Performing intelligent synchronization
Using incremental synchronization after log overflow
Using backup and checkpoint
Understanding VVR support for Flashsnap
About the snapshot operation
Conditions for creating disk group split friendly snapshots
Forcing the snapshot operation
About the snapback operation
About Synchronized Snapshots
How VVR creates synchronized snapshots
Understanding Bunker replication
About Bunker replication
Advantages of Bunker replication
How Bunker replication differs from normal replication
Bunker node workflow during normal operations
Using the Bunker node for disaster recovery
Understanding VVR TCP multi-connection
Advantages of TCP multi-connection
About VVR compression
General functionality constraints for VVR compression
About VVR memory monitoring and control support
Advantages of VVR memory monitoring
General functionality constraints for VVR Memory Tuning
About VVR Graphs
General functionality constraints for VVR Graphs in a clustered environment
VVR installation and security requirements
About installing VVR and security requirements
Prerequisites for installing VVR
Initial installation
Licensing information
Before installing VVR
Installing VVR
Verifying the VVR installation
Verifying the VVR agents installation
User access rights
Security considerations for VVR
Validating the user access rights
Checklist that will help your VVR operations pass the security checks
Prerequisites for configuring VxSAS
Configuring the VxSAS Service
Points to note when configuring VxSAS
About specifying network ports for replication
Port numbers used by VVR
Ports for replicating over firewall
Enabling NAT support for VVR
Setting up replication
About setting up replication
Best practices for setting up replication
Setting up replication using the setup replicated data set wizard
Prerequisites for setting up the RDS
Creating a Replicated Data Set (RDS)
Setting up the Bunker RVG for replication
Prerequisites for setting up Bunker RVG
Best practices for creating the Bunker RVG
Adding the Bunker RVG to the RDS
Using the VEA Console for VVR Operations
About performing VVR operations in the VEA console
Features of VEA console
Launching the VEA console
Managing connections
Connecting to a host
Disconnecting from a host
Reconnecting hosts at startup
Using history to view recent connections
Managing favorites
Adding a host to the favorites
Removing a host from the favorites
Switching connections
Layout of the VEA console
Performing tasks related to views
Selecting objects
Left pane or navigation view (tree view)
Right pane or details view (tabular view)
Status pane
Console view
Tasks view
URL bar
Perspective
Control Panel
Changing the NPP usage limits through the Control Panel
Menu bar and tool bar
Accessing the VVR options
Menu bar options
File menu
Tools menu
Actions menu
Tool bar options
Exiting the VEA client
Monitoring replication
About monitoring replication
Interpreting the information in the VVR views
Viewing all the RDSs on the host
Viewing RDS information
RVG states
Replication status
Viewing information about the primary RVG
Viewing information about the secondary RVG
Viewing information about the primary data volume
Viewing the Replicator Log volume information
Viewing information about the secondary data volume
Monitoring replication
Displaying the monitor view
Specifying preferences for the monitor view
Interpreting the information in the monitor view
Configuration information
Log usage information
Obtaining replication status information
Obtaining statistical information
Interpreting error information
Checking replication performance using vxrlink stats
Identifying the most up-to-date secondary
Analyzing VVR performance
Monitoring alerts to interpret error conditions
Handling VVR events
Administering VVR
About administering VVR
Modifying the configuration
Adding volumes
Prerequisite for adding data volumes to an RDS
Adding a secondary host
Administering the RVG
Enabling or disabling data access to the RVG data volumes
Expanding the data volumes
Expanding the Replicator Log
Shrinking the data volumes
Adding or removing the DCM logs from the data volumes
Adding or Removing the DCM logs for all Volumes in an RVG
Resynchronizing the secondary hosts
Associating or dissociating the Replicator Log volume
Associating the Replicator Log
Dissociating the Replicator Log volume
Administering replication
Disabling the SwiftSync feature
Starting replication
Stopping replication
Changing replication settings
Managing checkpoints
Ending the checkpoint
Pausing replication
Notes on pausing replication
Pausing secondary from the primary
Resuming the secondary host from primary
Pausing the secondary host from the secondary
Converting the primary to a secondary
Migrating the primary role
Creating snapshots for the data volumes
Reattaching the snapshots back to the original volumes
Creating synchronized snapshots using the VSS Snapshot Wizard
About snapshot naming convention on the Secondary
Creating synchronized snapshot sets
Prerequisites for creating synchronized snapshot sets
Creating schedules for synchronized snapshots
Displaying the status of the scheduled synchronized snapshot
Reattaching synchronized snapshots
Deleting a synchronized snapshot schedule
Recovering the RVG
Restoring the secondary
Administering Bunker replication
Stopping replication
Pausing secondary
Changing replication settings
Associating or Dissociating the Replicator Log
Dissociating the Replicator Log volume
Associating the Replicator Log
Activate Bunker
Deleting the Bunker secondary
Performing disaster recovery operation
Using the Bunker node to update the secondary
Resynchronizing the original primary when it becomes available
Updating the secondary from the Bunker
Taking over the primary role
Performing takeover with fast-failback
Prerequisites for takeover with fast-failback
Performing takeover without using fast-failback
General notes on take over operation
Performing takeover in a multiple Bunker setup
Deleting VVR objects
Removing data volumes
Understanding the remove data volume behavior in different scenarios
Deleting the replicated data set
Deleting the Primary RVG
Deleting the Secondary RVG
Accessing data on secondary host
Creating a mirror break-off
Creating snapshots
Performing automated system recovery (ASR)
Automated system recovery (ASR) overview
VVR support for ASR
ASR recovery process
Considerations when restoring a secondary with a healthy primary
Microsoft Cluster recovery
Alternative methods to synchronize the secondary faster
Method 1: Moving the secondary RVG disk group on to a spare server within the same LAN as the primary
Method 2: Using snapshots for synchronizing the secondary data volumes
Renaming Volumes on the Secondary host
Method 3: Using mirrored plexes
Renaming Volumes on the Secondary host
Obtaining statistical information through VVR Graph
Graph types and usage
Viewing statistical information using VVR Graph
Viewing Online bandwidth usage for an RLINK
Viewing Historic bandwidth usage for an RLINK
Viewing VVR Non-Paged Pool (NPP) Memory Graph
Saving an Online or Historic bandwidth usage graph
Re-opening a saved CSV graph file
Starting or stopping the Historic Bandwith Data Collection
Using the command line interface
About using the command line interface
Conventions for command line syntax
Administering the RDS using the vxrds command
Activating the Bunker RVG
Creating and adding a secondary RVG
Adding an existing volume to the RDS
Adding a Bunker node
Changing the host name or IP
Creating the primary RVG
Deactivating the Bunker RVG
Deleting the Bunker node
Deleting the secondary
Deleting the primary
Dissociating data volumes
Resynchronizing a failed primary with the new primary
Converting a primary to a secondary
Migrating the primary to a secondary
Pausing replication
Displaying the RDS
Resizing the data volumes
Growing the Replicator Log volume
Resuming replication after pausing
Resynchronizing the secondary
Setting replication attributes
Starting replication
Stopping replication
Taking over the primary role
Performing RLINK Operations using the vxrlink command
Associating a secondary
Attaching a secondary
Displaying the list of secondary checkpoints
Deleting the secondary checkpoint
Detaching an RLINK
Dissociating an RLINK
Creating new RLINK
Pausing the RLINK
Recovering the RLINK
Restoring the RLINK
Resuming the RLINK
Removing the RLINK
Setting the RLINK attributes
Displaying the network statistics for the RLINK
Output values for vxrlink stats without the -e option
Output values for vxrlink stats with the -e option
Displaying the RLINK status
Identifying the most up-to-date secondary
Verifying the RLINK
Starting the Historic Bandwidth Data Collection using the CLI
Stopping the Historic Bandwidth Data Collection using the CLI
Administering the RVGs using the vxrvg command
Adding DCM log
Associating the Replicator Log volume to an RVG
Associating data volume with the RVG
Ending checkpoint
Starting the checkpoint
Deleting the RVG checkpoint
Displaying RVG checkpoints
Dissociating volumes from RVG
Dismounting data volumes
Creating new RVG
Converting a secondary RVG to primary RVG
Converting a primary RVG to secondary RVG
Recovering the RVG
Removing an RVG
Resynchronizing the RVG
Setting RVG attributes
Creating snapshots for data volumes in an RVG
Reattaching the snapshot volumes back to the data volumes in an RVG
Enabling data access (Starting the RVG)
Generating application statistics
Disabling data access (Stopping the RVG)
Displaying information using the vxprint command
Displaying a specific RLINK
Interpreting RLINK flag settings
Displaying an individual RVG
Interpreting RVG flag settings
Displaying an individual data volume or Replicator Log
Creating snapshots using the vxsnap command
Preparing volumes for snapshots
Creating Synchronized Snapshots
About snapshot naming convention on the Secondary
Reattaching the Snapshots
Displaying memory statistics using the vxmemstat command
Analyzing the increase and decrease action of reduction factor
Factors affecting the reduction factor
Administering replicated volumes using the vxvol command
Associating a data volume with an RVG
Associating a volume to an RVG as a Replicator Log
Dissociating a volume from an RVG
Displaying and changing replication ports using the vrport command
Displaying or setting ports for replicating data
Displaying or setting ports for heartbeats
Displaying or setting ports for vradmind
Displaying the port number used by vradmind
Changing the port number used by vradmind
Displaying or setting ports for vxrsync
Displaying the port number used by vxrsyncd
Changing the port number used by vxrsyncd
Administering the RVG using the vxedit
Deleting the VVR objects
Setting the attributes
Administering the RVG using the vxassist command
Adding a DCM log
Growing the volumes
Removing a DCM log
Tuning VVR
Displaying the tunable values
Setting the tunable values
Examples: Using the command line
Sample setup
Example 1: Setting up replication using the command line interface
Creating the RLINK on the primary machine VVRPRI
Creating the Primary RVG on the primary machine VVRPRI
Creating the RLINK on the secondary machine VVRSEC
Creating the secondary RVG on secondary machine VVRSEC:
Attaching the RLINKs and starting replication on the secondary
Attaching the RLINKs and starting replication on the primary
Example 2: Setting up Bunker replication
Example 3: Using Bunker node for disaster recovery
Updating the Secondary from the Bunker
Transferring the primary role
Restoring the original primary in a Bunker setup
Migrating the primary role back to the original primary
Recovering the original primary during Bunker replay
Failing back to the original primary
Restoring the Bunker setup after failback to original primary
Example 4: Using synchronized snasphots to restore data
Sample setup
Configuration details
Preparing the volumes
Creating snapshot Volumes
Using the snapshots to recover the corrupted volumes
Restoring the original primary
Migrating the primary role back to the original primary (failing back to the original primary)
Configuring VVR in a VCS environment
About configuring VVR in a VCS environment
Components of a VCS cluster
Resources
Attributes
Service groups
Application Service group
Replication Service group
Illustrating a highly available VVR setup
List of agents for VVR
Installation information
How the agents work
VvrRvg agent
Agent specific information
Sample replicated Service group definition
Dependency graph
Resource dependencies within a replication Service group
Service group dependencies
RVGPrimary agent
Typical multiple secondary setup
How the agent works in a multiple secondary setup
How the agent works in a Bunker set up
Agent specific information
Sample RVGPrimary resource definition
Configuring the agents
About configuring the Disaster Recovery Solutions using the DR Wizard
Taking the application group offline on Secondary
Setting up replication using a virtual IP address
Changing the Primary and Secondary IP
Creating RLINKs between each pair of Secondary hosts
Creating the replication service group
Prerequisites for creating the replication service group
Working with existing replication service groups
Adding a new RVG resource to an existing replication Service group
Modifying an existing resource in the replication service group
Configuring VVR with Hyper-V
Implementing VVR replication on Hyper-V with Microsoft Failover Cluster
Prerequisites for setting up VVR with Hyper-V
Configuring a virtual machine group and resource dependencies
Configuring replication for the virtual machine
Setup 1: Replicating the System as well as Data disks
Setup 2: Replicating the Data disks
Recommendations and workarounds
Advanced settings in VVR
About using the advanced settings in VVR
Tuning the VVR memory parameters
Understanding the concept of a buffer space
Shared memory between VVR and SFW
Minimum memory required by SFW and VVR
Size of the memory available on the secondary
Readback buffer space on the primary
Modifying the tunable values
Understanding IBC messaging
Features of the IBC messaging
Application of IBC messaging
IBC messaging commands
Command arguments
Registering an application
Unregistering the application
Sending a message
Receiving a message
Unfreezing the secondary RVG
Displaying registered application names
Registering and sending messages
Registering and receiving messages
Example: Using IBC messaging facility to take snapshots
Sample setup
Troubleshooting VVR
About troubleshooting VVR
Recommendations and checks
Encrypted files on replicated volumes
Selecting the mode of replication
VVR issues when Norton Antivirus scan is performed
Monitor view does not display the RDS information
Preventing the connect problems
Configuration checks for RLINKS
Network, process, and operating system checks
Configuration checks for volume mappings
Troubleshooting the VVR performance
Other information and checks
Recovering from problems in a firewall or NAT setup
Errors when replicating across a firewall
Recovering from problems during replication
Permission denied errors when performing VVR Operations
Error when configuring the VxSAS Service
Configuring the VxSAS using the Service Control Manager
Deleting the volume and disk group after uninstalling VVR
VEA Service is not started
Connecting to cluster having multiple IP addresses
Error when disabling data access to the RVG, creating secondary RVG, adding volumes
Error when resizing volumes
Replica link already exists
Unable to perform delete RDS, add volume, delete volume
Removing the Replicator Log volume mirror
Pausing when writes are in progress
Unable to see volume name for associating Replicator Log
Unable to see the volume names for adding volumes to RDS
Adding logs to dissociated volumes
Using two commands in succession
Renaming dynamic disk group while importing
Problems when performing the snapshot operation
Operation timeout errors
The vxrvg stop command displays operation timeout error
Pausing secondary from primary displays operation timeout error
Problems when configuring VVR in a VCS environment
Application Service group does not fail over correctly
Resources fail to come online
Problems when setting performance counters
VVR objects are not displayed
Using the vxrsync utility
About using the vxrsync utility
When to use vxrsync
Understanding how the utility works
Layout of the configuration file
Sample configuration file layout:
Using the vxrsync utility
vxrclient
vxrserver
Example: Using vxrsync for difference-based synchronization
Index

Attachments

VVR_Admin_51SP1.pdf (3.2 MBytes)

Article URL http://www.symantec.com/docs/DOC3124


Terms of use for this information are found in Legal Notices