User’s Guidehp OpenViewStorage MirroringFourth Edition (May 2004)Part Number: 360226-002The intended audience for the Storage Mirroring User’s Guide
PrefaceiPrefaceIntended AudienceThe intended audience for the Storage Mirroring User’s Guide is network administrators with expertise in Windows. The
8 - 18 !!!! ReplicationReplicationA file change, also called a file request or operation, is the creation, modification, or deletion of a file. Th
8 - 2Recovery From Network LossesStorage Mirroring handles packet losses on the network as well. Storage Mirroring verifies the incoming sequencing b
8 - 3Managing Replication Through the Management ConsoleUsing the Management Console, replication can be initiated upon connection, manually controlle
8 - 4Controlling replication manuallyTo stop and start replication for an established source/target connection, right-click the connection on the righ
8 - 5Replicating permissions by name1. To determine if Windows security is being replicated by name, right-click a source machine and select Propertie
8 - 6Processing task commandsTask command processing is a Storage Mirroring feature that allows you to insert and run tasks at various points during t
8 - 7Managing Replication Through the Text ClientFor each of the replication commands, first identify which source you are working with by using the s
8 - 8Options ! repset—Name of the replication set! target_machine—Name of the target machine, an IP address on the target machine, or a virtual IP add
8 - 9Controlling replication manuallyIdentify the connection ID by locating the number in the left column below the target machine name and use one of
8 - 10Monitoring replicationStorage Mirroring offers a variety of methods for monitoring Storage Mirroring mirroring. Statistics include information l
iiOnline ReferencesThe online manual and online help provide a means of accessing product information. The online help for the Management Console, Fai
8 - 11Processing task commandsTask command processing is a Storage Mirroring feature that allows you to insert and run tasks at various points during
8 - 124. Use the queuetask command to places task(s) in the replication queue inline with current processing. CommandQUEUETASKDescription Queues tasks
8 - 13Notes ! The default setting for this command is nointeract. ! Any combination of one or more execution points can be used with the same queuetas
9 - 19 !!!! VerificationVerificationVerification is the process of confirming that the data on the target is identical to the data on the source.
9 - 2Remirror Options When Verifying Block Checksum All Server Properties Source Ta baa.A checkmark enclosed in parentheses (!) indicates that
9 - 3Verification LogA verification log is created on the source during the verification process. The log identifies what is verified as well as whic
9 - 4How Verification WorksTo better understand how Storage Mirroring verification works, the following diagram identifies the steps involved with the
9 - 5Managing Verification With the Management ConsoleIn the Management Console, verification can be configured when a connection is established or it
9 - 6Initiating verification manually1. To initiate verification manually, right-click the connection on the right pane of the Management Console and
9 - 7Verification logA verification log is created during the verification process. The log details what is verified as well as which files are not s
1 - 11 !!!! Introduction to Storage MirroringIntroduction to Storage MirroringHP OpenView Storage Mirroring is a real-time data replication and fa
9 - 8Monitoring verificationTo view the connection on the Management Console, highlight the source machine on the left pane and the connection will ap
9 - 9Managing Verification Using the Text ClientIn the Storage Mirroring Text Client, verification can only be initiatied after a connection is establ
9 - 103. Identify the connection ID by locating the number in the left column below the target machine name and initiate the verification process by u
9 - 11Setting the verification log attributes1. To determine the current status of the verification log, use the get command with the VerifyLogName op
9 - 123. To determine the current status of the verification log append setting, use the get command with the VerifyLogAppend option. 4. To modify the
10 - 110 !!!! Data TransmissionData TransmissionStorage Mirroring’s replication and mirroring processes place replication set data on queues on th
10 - 2Scheduled Transmission OptionsThe following transmission options are available through the Management Console and the Text Clients. They are use
10 - 3! Setting a Storage Mirroring Transmission Window—The transmission window establishes a period of availability for all Storage Mirroring transmi
10 - 4Setting bandwidth limitations1. Select the Bandwidth option in the Limit Type box. 2. Mark the Limit Bandwidth check box to enable the bandwidt
10 - 5Setting transmission start criteriaTransmission start criteria initiates Storage Mirroring data transmission which continues until the queue is
1 - 2Storage Mirroring FeaturesStorage Mirroring has high availability and disaster recovery management features, resource utilization features, multi
10 - 6Setting transmission stop criteriaTransmission stop criteria stops Storage Mirroring data transmission after a transmission start criteria has i
10 - 7Setting a transmission windowThe transmission window establishes a period of availability for all Storage Mirroring transmissions. 1. Select t
10 - 8Controlling transmission manuallyTo start, stop, pause, or resume the transmission of data from the source to the target, right-click an establi
10 - 9Setting Transmission Criteria Using the Text ClientThe Text Client uses the schedule commands to establish scheduled transmission criteria. To c
10 - 10Setting bandwidth limitationsSet the bandwidth by using the limit bandwidth command. Setting transmission start criteriaSpecify any combination
10 - 11Setting transmission stop criteriaSpecify any of the following options to stop transmitting Storage Mirroring data to the target machine. ! Spe
10 - 12Transmission schedule examples This section shows examples of how the different schedule commands could be used together. ! Example 1—In this
10 - 13Controlling transmission manuallyTo start, stop, pause, or resume the transmission of data from the source to the target, use the transmission
10 - 14Pausing Storage Mirroring Execution on the TargetStorage Mirroring servers running version 4.2 or later can pause the execution of operations o
10 - 15Resuming through the Management ConsoleUse either of the following methods, to resume execution on the target: ! Right-click on the left pane o
1 - 3Storage Mirroring OperationsStorage Mirroring performs four basic types of operations: ! Mirroring—The initial copy or subsequent resynchronizati
11 - 111 !!!! FailoverFailoverFailover is a component of Storage Mirroring that allows a target to stand in for a failed source machine. The failo
11 - 2Failover Clients! Management Console—Failover processing is integrated in the Management Console Connection Manager allowing you to:! Configure
11 - 3How Failover Works1. The target machine monitors the source machine and waits for a failure. 2. A source failure is detected and
11 - 45. Source shares are created on the target allowing shared resources on the source to be accessible on the target machine. Any drives shares tha
11 - 5How Failure Detection Works1. The target sends a monitor request, which is an ICMP ping, to each monitored IP address at a user-defined interval
11 - 6Windows NT 4.0! Storage Mirroring failover can monitor an unlimited number of source machines (limited only by the number of IP address placehol
11 - 7Failover Hardware ConfigurationsFailover can be configured to stand in for one or more IP addresses associated with different NICs on the source
11 - 8Multiple NICs on the source and targetWith any source configuration, additional NICs on the target increases flexibility and control. Secondary
11 - 9Failover OptionsIn order for failover to stand in for a failed machine, you must configure the monitoring and failover options. These options ar
11 - 10Managing Failover Through the Management Console1. After you have configured a source/target connection by following the steps in Establishing
1 - 4ReplicationReplication is the real-time transmission of file changes. Unlike other related technologies, which are based on a disk driver or a sp
11 - 1111. If you are monitoring multiple IP addresses, specify Trigger Condition. ! All Monitored Addresses Fail—Failover begins when all monitored I
11 - 12Managing Failover Through the Failover Control CenterThrough the Failover Control Center, you can configure and monitor the failover process. T
11 - 135. Specify your source machine by any of the following methods: ! Type the name of the machine that you want to monitor in Machine Name(s) and
11 - 14! Failover Processing—Failover Trigger, Failover Method, and Items to Failover! Miscellaneous Source Machine Options—Manual Intervention, Use .
11 - 15! Shares—Failover is performed on shares. 14. Disable Manual Intervention only if you want failover to occur immediately when a failure o
11 - 1619. If you are using any scripts, click Scripts and enter the path and filename for each script type. 20. If you want to delay the fa
11 - 17Monitoring failoverNow that replication and failover monitoring are configured and started, you will need to know if and when there is a proble
11 - 18The following table identifies how the visual indicators change as the status of failover changes. Initiating failbackWhen failover occ
11 - 194. Select the failed source and click Failback. If you specified a pre-failback script in your failover configuration, that script will be exec
11 - 20Failover IP address placeholdersFor Windows NT 4.0, IP address placeholders exist so that during the failover process, the source’s IP address
1 - 5Failure monitoring/failoverFailover is a process in which a target machine stands in for a failed source machine. As a result, user and applicati
11 - 21Communication portsThe Storage Mirroring service and the Failover Control Center use two ports for various Storage Mirroring communications. !
11 - 22Testing failoverThe failover process, including pre-failover and post-failover script processing, can be tested at any time. To force unavailab
11 - 23Managing Failover Through the Text ClientThrough the Failover Control Center, the failover process can be configured, monitored, and tested. In
11 - 245. Specify that you want to use the monitor that was just created by using the monitor use command. 6. Configure the monitor settings (includin
11 - 257. To remove an IP address from an established monitor, use the monitor remove command. 8. Configure the failover settings by using the monito
11 - 26 9. Specify any scripts by using the monitor script add command. Examples! monitor option ! monitor option nomovenameNotes The default settin
11 - 2710. Remove any scripts by using the monitor script remove command. 11. Review your failover settings by using the monitor display command. C
11 - 28 12. Start monitoring by using the monitor start command.13. If after starting a monitor you need to stop it, use the monitor stop command.Stor
11 - 2914. If you need to clear the monitor settings so that they can be reconfigured, use the monitor clear command. 15. If you need to delete an est
11 - 30Initiating failbackWhen failover occurs, a source machine has failed. The steps below must be completed in order to complete failback without I
1 - 6RestorationRestoration provides an easy method for copying replicated data from the target back to its original location on the source. The proc
12 - 112 !!!! RestorationRestorationThe Storage Mirroring restoration process provides an easy method for copying replicated data from the target
12 - 2How the Restoration Process Works 1. The network administrator resolves the source machine problems and in the process reinstalls Storage Mir
12 - 3Restoration OptionsWhen restoring Storage Mirroring data, you must specify the source and target machines and the replication set from the sourc
12 - 4Restoration Conditional Options Block Checksum All Server Properties Source Tabaa.A checkmark enclosed in parentheses (!) indicates
12 - 5Restoring Storage Mirroring Data Through the Management Console1. From the Management Console, select Tools, Restoration Manager. 2. Select t
12 - 67. Select the Use Backup Replication Set check box to use the backup of the replication set stored on the target machine for the restore. If thi
12 - 7Restoring Storage Mirroring Data Through the Text Client1. Log on to your source machine using the login command. 2. Log on to your target mach
12 - 84. Restore Storage Mirroring data from target to the source by using the restore from command. Command RESTOREDescription Initiates the
12 - 9Automating RestoreYou can use a post-failback script on the source to automate the restore process. For example, the following two files automa
12 - 10SPOSTBACK.TXT # SAMPLE SOURCE FAILBACK AND RESTORE SCRIPT ##
1 - 7Sample ConfigurationsStorage Mirroring is an exceptionally flexible product that can be used in a wide variety of network configurations. To impl
12 - 11SPOSTBACK.TXT (continued) # Restore target data to source before ## recreating original connection
13 - 113 !!!! Monitoring ToolsMonitoring ToolsStorage Mirroring offers a variety of tools for monitoring Storage Mirroring activity. With these m
13 - 2Management Console ToolsThe Management Console tools include:! The Management Console main window which displays source/target connection and st
13 - 3Mirror Status ! Percentage Complete—If the file size of the replication set has been calculated and the data is being mirrored to the target mac
13 - 4Customizing the statisticsYou can change the statistics that are displayed on the Management Console main window by following these steps:1. Sel
13 - 5At-a-Glance monitoringAt-a-glance monitoring includes icons and colors that indicate the status of Storage Mirroring machines and connections. E
13 - 6! The right pane displays the following information depending on the item selected in the left pane of the Management Console and the tab select
13 - 7! The following table identifies the different icons and colors that you may see in the right pane of the Management Console when you have a mac
13 - 8Customizing when the background color and icons changeCommunications between the Management Console and the source are monitored by requests and
13 - 9Management Console message windowThe Management Console message window displays Storage Mirroring processing alerts. These alerts include notifi
1 - 8One-to-One, Active/Active DescriptionEach machine acts as both a source and target actively replicating data to each other. Application
13 - 102. To control the window after it is created, use either of the following methods to access the control methods listed in the table: ! Right-cl
13 - 11Text Client ToolsThe text client tools include:! The Text Client main window which displays source/target connection and statistical informatio
13 - 12DTCL status commandUse the status command to display statistical and informational data. Command STATUSDescription Requests connection
13 - 13Operating System Dependent ToolsThe operating system dependent tools include:! Windows Event Viewer! Windows Performance MonitorWindows Event V
13 - 14Activation Key 5 Error This product edition can only be run on Windows 2000 Server or Advanced Server running the Server Appliance Kit.Verify y
13 - 15DblTake 16391 Error An error occurred while accessing the replication pagefile. Replication has been stopped. The paging of replication ops is
13 - 16Failover 5100 Info Failover completed for %1. No action required. 5101 Info IP address %1 with subnet mask %2 was added to target machine'
13 - 17NSIPHDriver 9008 Error Could not write registry value for subnet mask list for adapter Reboot the server and contact technical support if this
13 - 18Resources 8202 Error Failed to create Tracked File System worker thread. The last Word in the Data Window is the NT status code.The Storage Mi
13 - 19Service 4022 Info Service has stopped a mirror to %1 for Replication Set %2, ID: %3No action required. 4023 Success Service has completed a mir
© Copyright 2004 Hewlett-Packard Development Company, L.P.Hewlett-Packard Company makes no warranty of any kind with regard to this material, includin
1 - 9Many-to-One DescriptionMany source machines are protected by one target machine.ApplicationThis configuration is appropriate for off
13 - 20Service 4038 Error Error verifying the product code. The product functionality has been disabled.Reinstall the software, using the installatio
13 - 21Service 4200 Info In band task %1 submitted from %2 by %3 at %4No action required. 4201 Warning In band task %1 discarded (submitted from %2 by
13 - 22Service 10005 Info Node %1 is taking ownership of the group %2. The group will be brought online on this node.No action required. System 4096 W
13 - 23Windows Performance MonitorPerformance Monitor is a graphical tool for measuring the performance of your own computer or other computers on the
13 - 24Performance Monitor statisticsObject Statistic DescriptionConnection Bytes in disk queue The number of bytes in the source disk queueBytes in r
13 - 25Security Failed logins Number of failed login attempts since the last time the Storage Mirroring service was restartedSuccessful logins Number
13 - 26Operating System Independent ToolsThe operating system independent tools include:! DTStat! LogViewer! SNMPDTStatStatistics logging is the proce
13 - 27Modifying the log file settings through the Management Console1. Right-click a machine in the left pane of the Management Console and select Pr
13 - 28Modifying the log file settings through the text clients1. To determine the current location where the log file is stored, use the get command
13 - 29Running DTStatYou can run DTStat from the Storage Mirroring Text Client or from any command prompt. Running DTStat from the text clientsTo dete
1 - 10One-to-Many DescriptionOne source machine sends data to multiple target machines. The target machines may or may not be accessible by one
13 - 30Running DTStat from the command promptFrom a command prompt, use the DTStat command from the location where Storage Mirroring is installed.
13 - 31DTStat statisticsThe following statistics appear in the statistic.sts file. If you convert that file to an ASCII, comma-delimited file using th
13 - 32Ta rg et aPeerAddressThe IP address of the source machineOps Received The total number of operations received by this machine as a target sinc
13 - 33Connection conState The state of the active connection 0—Error. This indicates a connection that is not transmitting because something has gone
13 - 34Connection conTaskCmdsSubmittedThe number of task commands that have been submitted on the sourceconTaskCmdsQueuedThe number of task commands t
13 - 35LogViewerLogViewer is a utility that gathers Storage Mirroring alerts. These alerts, which are proccessing notifications, warnings, and error m
13 - 36LogViewer log fileEach log file consists of a base name, a series number, and an extension. ! Base Name—The base name is determined by the appl
13 - 37Modifying the log file settings through the Text Client1. To determine the current location where the log file is stored, use the get command w
13 - 38Viewing the log filesUse the LogViewer command from the directory where Storage Mirroring is installed to view a Storage Mirroring log file. Co
13 - 39LogViewer MessagesThe following table describes the standard Storage Mirroring alerts that may be displayed in the LogViewer. The ID appears in
1 - 11Chained DescriptionOne or more source machines sends replicated data to a target machine that in turn acts as a source machine and sends
13 - 4079 Memory freed to bring Storage Mirroring memory usage below the limitData in the source queue has been sent to the target machine, bringing t
13 - 41102 Target full! The disk to which data is being written on the target is full. This issue may be resolved by deleting files on the target mach
13 - 4253003 Could not read filename Storage Mirroring could not read a file on the source machine because the file may have been renamed or deleted.
13 - 43SNMPSNMP, Simple Network Management Protocol, is the Internet's standard for remote monitoring and management of hosts, routers and other
13 - 44Source dtSourceState 0—Source is not running1—Source is running without the replication driver2—Source is running with the replication driver.T
13 - 45SNMP trapsThe following tables identify the Storage Mirroring traps provided through SNMP. Object Type Trap DescriptionGeneral dttrapLicenseVi
13 - 46Verification dttrapVerificationEnd Verification has endeddttrapVerificationFailure Verification has faileddttrapVerificationStart Verification
14 - 114 !!!! Advanced SettingsAdvanced SettingsThe Storage Mirroring program settings are the user-definable options that control Storage Mirrori
14 - 2General optionsThe General tab contains basic settings for the selected machine including the machine’s identity and its Storage Mirroring funct
14 - 3Setup options The Setup tab consists of settings that are initialized when Storage Mirroring is started. ! Log Statistics Automaticall
1 - 12Single Machine DescriptionSource and target Storage Mirroring components are loaded on the same machine allowing data to be replicated fro
14 - 4Network optionsThe Network tab consists of settings that control network communications. Any changes made to this tab will not take effect until
14 - 5Queue optionsThe Queue tab consists of settings for Storage Mirroring queue usage. Folder—This is where the queue will be stored.
14 - 6Source optionsThe Source tab consists of settings specific to the source module of Storage Mirroring. ! Replication Packets to 1 Mirro
14 - 7Target optionsThe Target tab consists of settings specific to the target module of Storage Mirroring. ! Target Mirror Capacity Hi
14 - 8Database optionsThe Database tab consists of settings that specify the name and location for the database files used by Storage Mirroring proce
14 - 9Logging optionsThe Logging tab consists of settings for various log files. ! Folder—Specify the directory where each of the log files
14 - 10Changing the Settings Through the Text ClientChanging Storage Mirroring settings using the Text Client can be confusing because the settings fo
14 - 11Storage Mirroring Text Client program settingsThe following table contains a complete listing of each Storage Mirroring program setting.
14 - 12AutoRemirror Specifies whether to remirror when a source is brought online after an auto-disconnect Values: (0) Do not remirror (1) Perform a f
14 - 13ChecksumAll Setting to allow for the difference checksum option on mirror, verify, or restore to ignore the date, time, and size of the file an
2 - 12 !!!! Management ConsoleManagement ConsoleThe Management Console is a 32-bit GUI client that can manage and monitor Storage Mirroring compon
14 - 14DefaultAddress The default primary IP address in a multi-homed serverValues: any valid IP address that will act as your primary IP address for
14 - 15EnableDHCP Indicates if Storage Mirroring DHCP support is enabledValues: (0) Disabled (1) Enabled Default: 1GUI Setting: NoneEnablePerformance
14 - 16FileQueueSize When a mirror is started, one thread reads from the disk and builds the file queue. Another set of threads reads files off of th
14 - 17HPQueueRatio Ratio of replication packets to one mirror packetValues: 0 - 65535Default: 5A HPQueueRatio of 5 indicates 5 replication packets to
14 - 18LanguagesAvailable Specifies the Storage Mirroring language support that has been installed. Do not modify this setting. If you need to add or
14 - 19MaxConnections Number of network requests that can be processed simultaneously. Windows is limited to 5 simultaneous requests.Values: 0 - 65535
14 - 20MemoryAllocatorCallbackModeDetermines what action is taken when the MemoryQueueToDiskThreshold is metValues: (0) Auto-disconnect—Auto-disconnec
14 - 21MoveOrphanedFiles Specifies if orphaned files are deleted or moved to the directory specified by MoveOrphansDir Values: (1) Move (0) Delete De
14 - 22PlaceHolderCounts For Windows NT 4, the number of IP address placeholdersValues: 0 - 50Default: determined by the Storage Mirroring installatio
14 - 23QJournalDir The location where the queue is stored. Values: any valid pathDefault: the location specified during the installation GUI Setting:
2 - 2Understanding the Display The left pane is a tree view displaying each machine running Storage Mirroring. As each machine name is highlighted, no
14 - 24QueueSizeAlertThresholdThe percentage of the queue that must be in use to trigger an alert message in the Windows Event Viewer.Values: any vali
14 - 25RestorePrompting This entry is no longer used. SaveStatFile Determines if the statistic.sts (statistics logging) file is saved or ovewrittenVal
14 - 26StatsFileName Default file for logging statisticsValues: any valid file nameDefault: statistic.stsGUI Setting: Server Properties, Logging tab,
14 - 27Te m p D i r Temporary directory used when replicating Windows 200x encrypted files. GUI Setting: NoneTGCloseDelay The length of time, in milli
14 - 28TGThreadCount This setting is no longer used TGUnfinishedOpEventSpecifies whether or not unfinished operations on the target are logged to the
14 - 29UseShareFile Specifies whether to create and use a share file or to use the shares that are currently stored in the target memoryValues: (0) Us
15 - 115 !!!! SecuritySecurityTo ensure protection of your data, Storage Mirroring offers multi-level security using native operating system secur
15 - 2How Storage Mirroring Security Works1. When any Storage Mirroring client machine attempts to access a source or target machine running on Window
15 - 3Clearing Maintained Security CredentialsBy default, Storage Mirroring maintains cached security credentials on the client machine as described i
15 - 4Storage Mirroring ServiceBy default, Storage Mirroring is configured to log on as the system account. If you want to select a specific account t
2 - 3! After you have logged into a machine, a collapsable and expandable tree view of the volumes and directories it contains is displayed. To expand
15 - 5Storage Mirroring GroupsStorage Mirroring requires two local groups on each source and target for security. During the installation process, the
15 - 6Adding users to a groupUsers that need administrator access to Storage Mirroring must be added to the Double-Take Admin group. All users that ne
15 - 7Windows 200x Active DirectoryActive Directory, a central component of Windows 200x, manages information about the resources in a networking envi
15 - 8Configuring the Storage Mirroring service for Active DirectoryThe Storage Mirroring service must have privileges to modify Active Directory, if
A - 1A !!!! Storage Mirroring CommandsStorage Mirroring CommandsThe Double-Take Command Language (DTCL) is a scripting language that can be used i
A - 2Storage Mirroring CommandsThe Storage Mirroring commands are listed in alphabetical order on the following pages. Each command includes the follo
A - 3Connect Command CONNECTDescription Establishes a connection between a replication set and a target machineSyntaxCONNECT <repset> TO <ta
A - 4Connect TDUDisconnect Command CONNECT TDUDescription Establishes a connection between a replication set and the Throughput Diagnostics Util
A - 5DTStat Command DTSTATDescription Starts the DTStats statistics logging utility from a command prompt.SyntaxDTSTAT [-i <interval>] [-p]
A - 6EnvironmentExitFailbackFailoverCommand ENVIRONMENTDescription Displays a list of all Storage Mirroring machines available to the specified machin
2 - 4Management Console toolbarThe following icons appear in the Management Console toolbar. Icon FunctionExit the Storage Mirroring Management Co
A - 7GetGet LocalGetEnvStrCommand GETDescription The Text Client/DTCL sends a request to Storage Mirroring to return the value of a Storage Mirroring
A - 8HelpLimit BandwidthLoad Source Load Target Command HELPDescription Displays the DTCL commands and their syntaxSyntaxHELPNotes ! Press any key
A - 9Login Logout Command LOGINDescription Log on to a Storage Mirroring machineSyntaxLOGIN <machine> <username> <password> [dom
A - 10LogViewerMirror PauseCommand LOGVIEWERDescription The Storage Mirroring logging utility that records alerts (processing notifications, warnings,
A - 11Mirror ResumeMirror Start Command MIRROR RESUMEDescription Resumes a paused mirrorSyntaxMIRROR RESUME <con_id | *> Options ! con_id—C
A - 12Mirror StopMonitor ClearMonitor CreateMonitor DeleteCommand MIRROR STOPDescription Stops a paused mirrorSyntaxMIRROR STOP <con_id | *> Opt
A - 13Monitor DisplayMonitor GetMonitor ListCommand MONITOR DISPLAYDescription Displays the monitoring and failover configuration settings for the spe
A - 14Monitor MoveCommand MONITOR MOVEDescription Designates the IP address that will be failed over to the specified target NIC. SyntaxMONITOR MOVE &
A - 15Monitor Option Command MONITOR OPTIONDescription Configures the settings to determine how failover will be performedSyntaxMONITOR OPTION [MOVENA
A - 16Monitor RemoveMonitor Script AddCommand MONITOR REMOVEDescription Removes an IP address that is currently being monitoredSyntaxMONITOR REMOVE &l
2 - 5Logging On and Off of Storage MirroringTo ensure protection of your data, Storage Mirroring offers multi-level security using native operating sy
A - 17Monitor Script RemoveMonitor StartCommand MONITOR SCRIPT REMOVEDescription Specifies the scripts that should not be run during the failover and
A - 18Monitor StopMonitor UseNiclistOrphans StartCommand MONITOR STOPDescription Stops monitoring the source machine for a failureSyntaxMONITOR STOP &
A - 19Orphans StopPause TargetPingQuitCommand ORPHANS STOPDescription Stops the process to remove orphan files on the targetSyntaxORPHANS STOP con_id
A - 20Queue TaskCommandQUEUETASKDescription Queues tasks inline with replication data. Syntax QUEUETASK <job_name> TO <target_machine> ON
A - 21Replication StartReplication StopNotes ! The default setting for this command is nointeract. ! Any combination of one or more execution points c
A - 22Repset CalculateRepset CreateRepset DeleteCommand REPSET CALCULATEDescription Calculates the size of a replication setSyntaxREPSET CALCULATE [re
A - 23Repset DisplayRepset ListRepset ResyncCommand REPSET DISPLAYDescription Displays the rule of a replication setSyntaxREPSET DISPLAY [repset]Optio
A - 24Repset Rule Add Repset Rule RemoveCommand REPSET RULE ADDDescription Adds a rule to a replication set. A rule is the specification of a path
A - 25Repset SaveRepset UseCommand REPSET SAVEDescription Saves all replication set rules for the currently selected sourceSyntaxREPSET SAVECommand RE
A - 26RestoreCommand RESTOREDescription Initiates the restoration processSyntaxRESTORE <repset> FROM <target_machine> [ORIGINAL <origin
2 - 6Stopping the ServiceTo stop the Storage Mirroring service from the Management Console, right-click the machine name on the left pane of the Manag
A - 27Resume TargetSchedule ClearSchedule DisableSchedule EnableCommand RESUMETARGETDescription Allows you to resume the execution of Storage Mirrorin
A - 28Schedule EndSchedule Start Command SCHEDULE ENDDescription Sets criteria to end the transmission of data from the source to the targetSyntax
A - 29Schedule Window Set Command SCHEDULE WINDOWDescription Sets criteria to only allow transmissions during a certain period of timeSyntaxSCHE
A - 30Set LocalShutdownSourceCommand SETLOCALDescription The Text Client/DTCL sends a request directly to the registry, bypassing Storage Mirroring, t
A - 31Statslog StartStatslog StatusStatslog StopCommand STATSLOG STARTDescription Starts the DTStats statistics logging utility.SyntaxSTATSLOG START &
A - 32StatusTargetTestconCommand STATUSDescription Requests connection and statistical informationSyntaxSTATUS CONNECT | MIRROR | REPLICATE | TRANSMI
A - 33TimeNowTransmission PauseTransmission ResumeTransmission Start Command TIMENOWDescription Prints the current date and time. SyntaxTIMENOW Exam
A - 34Transmission StopUnload SourceUnload TargetCommand TRANSMISSION STOPDescription Stops the transmission processSyntaxTRANSMISSION STOP <target
A - 35Verify Wait Command VERIFYDescription Verifies the integrity of the data between the source and target machines.SyntaxVERIFY <con_i
A - 36Wait on Mirror Wait on Restore Wait on TargetCommand WAITONMIRRORDescription This command is used in scripts to force the script to stop exe
Table of ContentsPreface ...
2 - 7Storage Mirroring server portsThe Storage Mirroring service uses three ports for Storage Mirroring communications. ! Service Listen Port—The Stor
A - 37WriteCommand WRITEDescription Displays the value of a DTCL variableSyntaxWRITE $<variable_name> Options variable_name—The name of the vari
A - 38DTCL ScriptingTo simplify using Storage Mirroring and DTCL, you can create script files to execute series and combinations of commands to meet s
A - 39! WHILE Loop—The WHILE loop evaluates a relational expression and, if it is true, then the statement block is executed. When the statement bloc
A - 40-122 The replication set you are attempting to create already exists. -123 The replication set you are attempting to delete does not exist. -124
A - 41-205 The monitor set you are attempting to enable is already in use.-206 The monitor you are attempting to use with monitor set does not exist.
A - 42DTCL Scripting ExamplesThis section shows examples of different script files. Using batch filesTo use a Storage Mirroring batch file, you must f
A - 43Basic restore scriptThe following script will restore the data in the Exchange replication set from the target machine to the source machine.
B - 1B !!!! Application FailoverApplication FailoverStorage Mirroring simulates application failover by replicating and failing over key applicati
B - 2Script SampleThe following batch file might be used to stop and start Microsoft Exchange services on a Windows machine. This file is just a sampl
C - 1C !!!! Disaster Recovery for MSCSDisaster Recovery for MSCSA Microsoft cluster is a group of independent servers, called nodes, working toget
2 - 8Inserting a ServerIf a machine is not displayed on the Management Console, it can be manually inserted. This feature is useful for machines that
C - 2MSCS and Storage MirroringThe Microsoft Cluster Server configuration typically contains two machines, called nodes, sharing at least one SCSI dis
C - 3Cluster to Cluster ConfigurationThe following instructions are for a cluster to cluster configuration. Configuring the first clusterFor the first
C - 42. Create an IP Address resource for the new group.a. Right-click the group that you just created and select New, Resource. b. Specify the follow
C - 53. Create a Network Name resource for the new group.a. Right-click the group and select New, Resource. b. Specify the following fields on the New
C - 6f. Specify the Network Name Parameters by entering the virtual name of the server. This is the name that clients will look for on the network and
C - 7Install and Configure Storage Mirroring on the first cluster1. If you have not already done so, install Storage Mirroring on the first node of th
C - 89. Double-click on the second node on the left pane of the Management Console to login. 10. Right-click the node and select New, Replication Set.
C - 9Completing the first cluster configurationTo finalize the configuration, you need to create a Double-Take Source Connection resource and bring bo
C - 10! Allow connection scripts to interact with the desktop—Mark this check box if you want to display the connection information in a command promp
C - 11Cluster to Standalone ConfigurationThe following instructions are for a cluster to standalone server configuration. Configuring the clusterFor t
2 - 9Storage Mirroring WorkspacesThe Management Console workspace contains the display of the panes of the Management Console and any servers that may
C - 122. Create an IP Address resource for the new group.a. Right-click the group that you just created and select New, Resource. b. Specify the follo
C - 133. Create a Network Name resource for the new group.a. Right-click the group and select New, Resource. b. Specify the following fields on the Ne
C - 14f. Specify the Network Name Parameters by entering the virtual name of the server. This is the name that clients will look for on the network an
C - 15Install and Configure Storage Mirroring on the cluster1. If you have not already done so, install Storage Mirroring on the first node of the clu
C - 1610. Right-click the node and select New, Replication Set.11. Enter the exact, case-sensitive name for the replication set as specified on the fi
C - 177. Specify the following on the Double-Take Source Connection Parameters dialog box:! Replication Set—Specify the name of the Storage Mirroring
C - 18Completing the cluster configurationYou will finalize the cluster configuration by bringing the components online. Bring the Components OnlineFr
C - 19Standalone to Cluster ConfigurationThe following instructions are for a standalone source server to a cluster target configuration. Configuring
C - 20d. Specify zero or one cluster node as the Preferred Owner. Do not specify both nodes. If a preferred node is selected for a resource group, the
C - 21! Network to use—If you have more than one route for network traffic defined, specify the network that this IP address will use. This should be
3 - 13 !!!! Te x t C l i e n t sText ClientsThe Double-Take Command Language (DTCL) is a scripting language that can be used in either the Text C
C - 22f. Specify the Network Name Parameters by entering the virtual name of the server. This is the name that clients will look for on the network an
C - 23Install Storage Mirroring on the cluster1. If you have not already done so, install Storage Mirroring on the first node of the cluster using the
C - 24Understanding the Double-Take Source Connection resourceThe Double-Take Source Connection resource is like other cluster resources. The cluster
D - 1D !!!! GlossaryGlossaryAlerts—Notifications, warnings and errors that describe Storage Mirroring processes.Auto-disconnect—When the Storage M
D - 2Replication—The real-time transmission of file changes. Replication Set—The data on a source machine that is to be protected by Storage Mirrorin
IndexIAActive Directory 15-7active/active 1-8active/standby 1-7administrator access 15-1Management Console 2-5text clients 3-3advanced settingsManagem
IIFailover Control Centerconfiguring failover 11-12–11-16display 4-2display refresh rate 11-21failback 11-18operations 4-2overview 4-1ports 4-5, 11-21
IIImonitor clear 11-29, A-12monitor create 11-23, A-12monitor delete 11-29, A-12monitor display 11-27, A-13monitor get A-13monitor list A-13monitor mo
IVrestorationautomating 12-9conditionals 12-3conditionals compared 12-4how it works 12-2Management Console 12-5options 12-3options compared 12-4overvi
Von connectionManagement Console 9-5options 9-1overview 9-1remirror options 9-1remirror options compared 9-2text clientslog 9-9manually initiating 9-9
3 - 2The Command Line ClientThe Command Line Client can be run from a command prompt. It can manage and monitor Storage Mirroring components on any pl
3 - 3Logging on and off of Storage MirroringTo ensure protection of your data, Storage Mirroring uses native operating system security and requires a
3 - 4Stopping the ServiceTo stop the Storage Mirroring service from the Text Client, use the shutdown command. Command LOGINDescription Log on to a St
3 - 5Specifying Source and Target FunctionalityIf you did not specify your machine as a source or target when starting the Storage Mirroring you will
3 - 6Storage Mirroring PortsBoth the text clients and the Storage Mirroring server use ports to communicate with each other. Text client portsThe St
3 - 7 3. To determine the current unetport setting, use the get command with the unetport option. The default port number is 1100.4. To modify the un
Chapter 3: Text Clients ...3-1The Text Client
3 - 8Storage Mirroring server portsThe Storage Mirroring service uses two ports for Storage Mirroring communications. ! netport—The Storage Mirroring
3 - 9Getting Help in the Text ClientsA listing of the DTCL commands and their syntax is available in the Storage Mirroring Text Client and Command Lin
4 - 14 !!!! Failover Control CenterFailover Control CenterThe Storage Mirroring Failover Control Center is the client that controls all aspects of
4 - 2Understanding the DisplayThe Failover Control Center’s main window controls three types of failover activities:! Identifying what the target is m
4 - 3Monitoring failoverNow that replication and failover monitoring are configured and started, you will need to know if and when there is a problem.
4 - 4The following table identifies how the visual indicators change as the status of failover changes. Time to Fail CountdownStatus Bar Color
4 - 5Communication PortsThe Storage Mirroring service and the Failover Control Center use two ports for various Storage Mirroring communications. ! Se
5 - 15 !!!! Replication SetsReplication SetsA replication set defines the data on a source machine that is to be protected by Storage Mirroring. R
5 - 2Replication Set OperationsThe following replication set operations are available: ! Create—You can create replication sets through the Management
5 - 3How Replication Sets WorkTo better understand how replication sets work, the following diagram identifies the steps involved with creating and sa
Chapter 6: Connections ...6-1Connection Option
5 - 4Replication Capabilities Storage Mirroring replicates all file and directory data stored on any Windows file system (FAT, FAT32, NTFS4, and NTFS5
5 - 5Managing Replication Sets Through the Management ConsoleThe following sections describe how to manage replication sets through the Storage Mirror
5 - 63. To see the directory tree for the source machine selected, expand and collapse the directory structure in the left pane of the Management Cons
5 - 7Creating a replication set using wild cards and direct rule entryIn some instances, data may need to be replicated that cannot be easily selected
5 - 8Calculating replication set sizeWhile Storage Mirroring is mirroring, the right pane of the Management Console displays statistics to keep you in
5 - 9Modifying a replication setStorage Mirroring allows you to make modifications to a replication set when you want to change the data you wish to p
5 - 10Managing Replication Sets Through the Text ClientThe following sections describe how to manage replication sets through the Storage Mirroring te
5 - 113. Define a replication set rule by using the repset rule add command. 4. Repeat the repset rule add command to completely define your
5 - 12Calculating replication set sizeWhile Storage Mirroring is mirroring, the Text Client displays statistics to keep you informed of its progress.
5 - 13b. To modify whether or not the replication set size will be calculated when the connection is established, use the set command with the Calcula
Chapter 8: Replication ...8-1Replication Op
5 - 14Modifying a replication setMake modifications to a replication set when you want to change the data you wish to protect. 1. View the replication
5 - 154. Remove the existing rule that you need to change using the repset rule remove command. Storage Mirroring version 4.3 Source Machine: indy
5 - 165. Add a new rule by using the repset rule add command. 6. If you decide that you do not like the changes you have just made, you can use t
5 - 17Deleting a replication set1. View the replication sets associated with the active source machine by using the repset list command. 2. Delete
6 - 16 !!!! ConnectionsConnectionsThe Storage Mirroring connection is the link between the source replication set and a target machine. It is a lo
6 - 2Connection OptionsWhen establishing a connection, you must specify the machines that are involved with the connection, what data is being protect
6 - 3! Start Replication on Connection—Replication can be initiated immediately when the connection is established. If replication is not configured t
6 - 4How Connections Are EstablishedTo better understand how Storage Mirroring connections work, the following diagram identifies the sequential steps
6 - 5QueuingDuring the Storage Mirroring installation, you identified the amount of disk space that can be used for Storage Mirroring queuing. Queuing
6 - 6Auto-Disconnect and Auto-ReconnectWhile disk queues are user configurable and can be extensive, they are limited by the amount of physical disk s
Pausing Storage Mirroring Execution on the Target ...10-14Pausing through the Management Console
6 - 7Managing Connections Through the Management ConsoleThe Management Console can be used to establish, disconnect, and monitor a connection between
6 - 85. Select the target path, which corresponds to the desired location on the target where the replicated data will reside, by selecting One-to-One
6 - 9Monitoring a connectionYou can monitor an established Storage Mirroring connection by viewing the connection statistics and/or the connection dis
6 - 10Connection displayYou can monitor the connection by understanding the different icons displayed in the Management Console. ! Established Connect
6 - 11Configuring queuingThere are five queuing parameters available for configuration. 1. Right-click a source machine and select Properties. 2. Sele
6 - 12Configuring auto-reconnectIf Storage Mirroring is stopped on a source machine while a Storage Mirroring connection is active, auto-reconnect wil
6 - 13Managing Connections Through the Text ClientFor each of the connection related commands, first identify which source you are working with by usi
6 - 14Options ! repset—Name of the replication set! target_machine—Name of the target machine, an IP address on the target machine, or a virtual IP ad
6 - 15Connecting to the Throughput Diagnostics UtilityTo initiate a connection to the Throughput Diagnostics Utility, use the connect to tdu command.
6 - 16Monitoring a connectionStorage Mirroring offers a variety of methods for monitoring a Storage Mirroring connection. Statistics include informati
Chapter 13: Monitoring Tools ...13-1Management Console Too
6 - 17Configuring queuingThere are five queuing parameters available for configuration. Use the get and set commands to view or modify an option. See
6 - 18Configuring auto-reconnectIf Storage Mirroring is stopped on a source machine while a Storage Mirroring connection is active, auto-reconnect wil
7 - 17 !!!! MirroringMirroringMirroring is the process of transmitting the data contained in a replication set from the source to the target machi
7 - 2File Differences Mirror Options Block Checksum All Server Properties Source Ta baa.A checkmark enclosed in parentheses (!) indicates that
7 - 3Stopping and Pausing MirroringWhile a mirror is in progress, you can manually stop or pause the transmission of data to the target. The Storage
7 - 4Auto-RemirrorWhen a source machine fails, the auto-reconnect feature will reestablish the source/target connection when the source is back online
7 - 5How Mirroring WorksTo better understand how Storage Mirroring mirroring works, the following diagram identifies the different steps that are comp
7 - 6Managing Mirroring Using the Management ConsoleThrough the Management Console, a mirror can be initiated upon connection, manually controlled, an
7 - 7Controlling a mirror manuallyAfter a connection is established you can manually start, stop, pause, or resume mirroring. Right-click the connecti
7 - 8Monitoring a mirror1. To view the connection on the Management Console, highlight the source machine on the left pane and the connection will app
Appendix B: Application Failover ... B-1Script Sample ...
7 - 9Configuring orphan files1. You can configure orphan files when establishing a connection or after a connection has been created. ! If you have no
7 - 10Setting auto-remirrorIn the event of a source machine failure or if the Storage Mirroring service stops, data integrity between the source and t
7 - 11Managing Mirroring Using the Text ClientFor each of the mirroring commands, first identify which source you are working with by using the source
7 - 12Options ! repset—Name of the replication set! target_machine—Name of the target machine, an IP address on the target machine, or a virtual IP ad
7 - 13Controlling a mirror manuallyIdentify the connection ID by locating the number in the left column below the target machine name and use one of t
7 - 14! Mirror Pause ! Mirror Resume Command MIRROR PAUSEDescription Pauses a mirror that is in progressSyntaxMIRROR PAUSE <con_id | *> Options
7 - 15Monitoring a mirrorStorage Mirroring offers a variety of methods for monitoring Storage Mirroring mirroring. Statistics include information like
7 - 16Configuring orphan files1. To determine the current orphan files setting, use the get command with the MoveOrphanedFiles option. By default, orp
7 - 176. To modify the location of renamed orphan files, use the set command with the MoveOrphansDir option. This option accepts any valid volume and
7 - 18Setting auto-remirrorIn the event of a source machine failure or if the Storage Mirroring service stops, data integrity between the source and t
Commenti su questo manuale