HP StorageWorks Storage Mirroring for LinuxUser’s GuideFirst Edition (February 2008)Part Number: T2558-96078
iiOnline ReferencesThe online manual and online help provide a means of accessing product information. The online help for the Management Console, Fai
8 - 4Processing task commandsTask command processing is a Storage Mirroring feature that allows you to insert and run tasks at various points during t
8 - 5Managing Replication Through the Text ClientFor each of the replication commands, first identify which source you are working with by using the s
8 - 6Options 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 - 7Controlling replication manuallyIdentify the connection ID by locating the number in the left column below the target machine name and use one of
8 - 8Monitoring replicationStorage Mirroring offers a variety of methods for monitoring Storage Mirroring mirroring. Statistics include information li
8 - 9Processing task commandsTask command processing is a Storage Mirroring feature that allows you to insert and run tasks at various points during t
8 - 104. Use the queuetask command to places task(s) in the replication queue inline with current processing. CommandQUEUETASKDescription Queues tasks
8 - 11Notes 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 X VerificationVerificationVerification is the process of confirming that the data on the target is identical to the data on the source. Ve
9 - 2Remirror Options When Verifying Block Checksum All Server Properties Source Ta baa.A checkmark enclosed in parentheses (3) indicates that
1 - 11 X Introduction to Storage MirroringIntroduction to Storage MirroringStorage Mirroring is a real-time data replication and failover software
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
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 initiated after a connection is establi
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
1 - 2Storage Mirroring FeaturesStorage Mirroring has high availability and disaster recovery management features, resource utilization features, multi
10 - 110 X Data TransmissionData TransmissionStorage Mirroring’s replication and mirroring processes place replication set data on queues on the s
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
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
1 - 3Storage Mirroring OperationsStorage Mirroring performs four basic types of operations: Mirroring—The initial copy or subsequent resynchronizati
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
11 - 111 X FailoverFailoverFailover is a component of Storage Mirroring that allows a target to stand in for a failed source machine. The failover
11 - 2Failover Terminology Missed Packets—The missed packets is the configurable setting that specifies how many monitor replies can be missed before
11 - 34. The failed source’s IP address and subnet mask are added to the target’s identity. 5. Failover sends updates to routers and other machin
11 - 4How Failure Detection Works1. The target sends a monitor request to each monitored IP address at a user-defined interval. A monitor reply is sen
11 - 5Failover Hardware ConfigurationsFailover can be configured to stand in for one or more IP addresses associated with different NICs on the source
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 - 6Multiple NICs on the source and targetWith any source configuration, additional NICs on the target increases flexibility and control. Secondary
11 - 7Failover OptionsIn order for failover to stand in for a failed machine, you must configure the monitoring and failover options. These options ar
11 - 8Managing Failover Through the Failover Control CenterThrough the Failover Control Center, you can configure and monitor the failover process. Th
11 - 95. 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 c
11 - 1012. Specify if you want to Failover IP Address(es) on the source to the target. 13. If you are using any scripts, click Scripts and enter t
11 - 11Monitoring failoverNow that replication and failover monitoring are configured and started, you will need to know if and when there is a proble
11 - 12The following table identifies how the visual indicators change as the status of failover changes. Initiating failbackWhen failover occ
11 - 134. Select the failed source and click Failback. If you specified a pre-failback script in your failover configuration, that script will be exec
11 - 14Communication portsThe Storage Mirroring daemon and the Failover Control Center use two ports for various Storage Mirroring communications. S
11 - 15Testing failoverThe failover process, including pre-failover and post-failover script processing, can be tested at any time. To force unavailab
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 - 16Managing Failover Through the Text ClientThrough the Failover Control Center, the failover process can be configured, monitored, and tested. In
11 - 175. 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 - 187. To remove an IP address from an established monitor, use the monitor remove command. 8. Configure the failover settings by using the monito
11 - 19 Options MOVENAME—Moves the server name during failover NOMOVENAME—Does not move the server name during failover MOVEADDRESSES—Moves the
11 - 209. Specify any scripts by using the monitor script add command. Command MONITOR SCRIPT ADDDescription Specifies the scripts that should be run
11 - 2110. Remove any scripts by using the monitor script remove command. 11. Review your failover settings by using the monitor display command. C
11 - 22 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 - 2314. 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 - 24Initiating failbackWhen failover occurs, a source machine has failed. The steps below must be completed in order to complete failback without I
12 - 112 X RestorationRestorationThe Storage Mirroring restoration process provides an easy method for copying replicated data from the target bac
1 - 6RestorationRestoration provides an easy method for copying replicated data from the target back to its original location on the source. The proc
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 (3) 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. Use the following file as a sample. SPOSTBA
12 - 10SPOSTBACK.TXT (continued) # Restore target data to source before ## recreating original connection
13 - 113 X Monitoring ToolsMonitoring ToolsStorage Mirroring offers a variety of tools for monitoring Storage Mirroring activity. With these moni
1 - 7Sample ConfigurationsStorage Mirroring is an exceptionally flexible product that can be used in a wide variety of network configurations. To impl
13 - 2Management Console StatisticsBy highlighting a source on the left pane of the Management Console main window, the current connections and their
13 - 3Replication Status Replicating—Data is being replicated to the target machine. Ready—There is no data to replicate to the target machine. St
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 When you have the World View selected in the left pane of the Management Console, the icons displayed in the following table may be displayed
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
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 main windowAfter a source/target connection is established, the Text Client main window displays basic connection and statistical i
1 - 8One-to-One, Active/Active DescriptionEach machine acts as both a source and target actively replicating data to each other. Application
13 - 12DTCL status commandUse the status command to display connection and status information as described in the table below. Command STA
13 - 13Linux System LogAn event is a significant occurrence in the system or in an application that requires administrators to be notified. The operat
13 - 14DblTake 16385 Info Internal function ReferenceOrBuildStreamInfo returned an unexpected result. The last Word in the Data Window is the NT stat
13 - 15Failback 5200 Info Failback completed for %1. No action required. 5201 Info IP address %1 was removed from target machine's %2 adapter.No
13 - 16NSIPHDriver 9004 Error Could not allocate buffer to hold initial IP address list for adapter Reboot the server and contact technical support if
13 - 17Resources 8200 Warning Failed to allocate buffer for querying very long filenames, i.e., names over 260 characters. Replication will continue
13 - 18Service 4017 Info Service has disconnected from %1 for Replication Set %2, ID: %3No action required. 4018 Warning %1, however, mirroring and re
13 - 19Service 4034 Error Error verifying the service name. The product functionality has been disabled.Reinstall the software, using the installatio
13 - 20Service 4110 Warning Target can not write %1 due to target disk being full. Operation will be retried (%2 times or forever)The disk on the tar
13 - 21Service 5002 Info Placeholders were modified to %1. No action required. 10000 Error Connect failed to node %1 for resource %2. Adding node to r
1 - 9Many-to-One DescriptionMany source machines are protected by one target machine.ApplicationThis configuration is appropriate for off
13 - 22System 4100 Error Failed to open file. The Status and IoStatusBlock status are in the data window.Contact technical support. 4100 Warning Fail
13 - 23DTStatStatistics logging is the process of taking snapshots of Storage Mirroring statistical data and writing it to a file for future use. Sta
13 - 24Modifying the log file settings through the Management Console1. Right-click a machine in the left pane of the Management Console and select Pr
13 - 25Modifying the log file settings through the text clients1. To determine the current location where the log file is stored, use the get command
13 - 26Running DTStatYou can run DTStat from the Storage Mirroring Text Client or from any command prompt. Running DTStat from the text clientsTo dete
13 - 27Running DTStat from the command promptFrom a command prompt, use the DTStat command from the location where Storage Mirroring is installed.
13 - 28DTStat statisticsThe following statistics appear in the statistic.sts file. If you convert that file to an ASCII, comma-delimited file using th
13 - 29Ta rget aPeerAddressThe IP address of the source machineOps Received The total number of operations received by this machine as a target since
13 - 30Connection conState The state of the active connection 0—Error. This indicates a connection that is not transmitting because something has gone
13 - 31Connection conTaskCmdsSubmittedThe number of task commands that have been submitted on the sourceconTaskCmdsQueuedThe number of task commands t
© Copyright 2008 Hewlett-Packard Development Company, L.P.Hewlett-Packard Company makes no warranty of any kind with regard to this material, includin
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 - 32LogViewerLogViewer is a utility that gathers Storage Mirroring alerts. These alerts, which are proccessing notifications, warnings, and error m
13 - 33LogViewer 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 - 34Modifying 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 - 35Viewing the log filesUse the LogViewer command from the directory where Storage Mirroring is installed to view a Storage Mirroring log file. Co
13 - 36LogViewer MessagesThe following table describes the standard Storage Mirroring alerts that may be displayed in the LogViewer. The ID appears in
13 - 3779 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 - 38102 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 - 3954000 Kernel started The Storage Mirroring daemon was started.54001 Failover module failed to load The Storage Mirroring failover module failed
14 - 114 XXXX Advanced SettingsAdvanced SettingsThe Storage Mirroring program settings are the user-definable options that control Storage Mirrori
14 - 2 Storage Mirroring Version Information—The Storage Mirroring version number and build number are displayed. Activation Code—This is the Stor
1 - 11Chained DescriptionOne or more source machines sends replicated data to a target machine that in turn acts as a source machine and sends
14 - 3Setup options The Setup tab consists of settings that are initialized when Storage Mirroring is started. Log Statistics Automaticall
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 - 12AutoRemirrorRetry Specifies how often, in seconds, the source should check for connections that have been reconnected but still need to be remi
1 - 12Single Machine DescriptionSource and target Storage Mirroring components are loaded on the same machine allowing data to be replicated fro
14 - 13ClientLog Indicates whether commands entered in the Text Client are trackedValues: (0) Not tracked (1) Tracked Default: 0If you change this va
14 - 14DriverMode Specifies the type of I/O control Values: (0) No paging or throttling(1) Throttling(2) Paging (3) Mixed, both throttling and pagingD
14 - 15FailoverHostname Automatically removes the host SPN (Service Principle Name) from Active Directory on the source Values:(0) Disabled (1) Enable
14 - 16HBTTL Number of seconds without receiving a heartbeat before a remote machine is considered unavailableValues: 0 - 65535Default: 10 HeartbeatIg
14 - 17IPFailover Specifies whether or not to failover the IP addresses during failoverValues: (0) Do not failover IP addresses (1) Failover IP addres
14 - 18MaxConnections Number of network requests that can be processed simultaneously. Values: 0 - 65535Default: 5HP recommends that you not change th
14 - 19MirrorChunkSize Block size (in bytes) used in the mirroring processValues: 1 - 375000Default: 32768 (32K)A higher block size value gives you be
14 - 20NetworkRetry Specifies the interval, in seconds, at which Storage Mirroring will attempt to reconnect to the targetValues: any positive numberD
14 - 21PreFailoverWait Specifies whether or not to wait for the pre-failover script to complete before finishing a failoverValues: (0) Do not wait (1)
14 - 22Registered This entry is no longer used.RemapLink Specifies how Storage Mirroring handles a soft link Values: (0) If a soft link exists in a
2 - 12 X Management ConsoleManagement ConsoleThe Management Console is a 32-bit, Microsoft® Windows® GUI client that can manage and monitor Storag
14 - 23ScheduleFile Name of the database file that contains transmission scheduling informationValues: any valid file nameDefault: Schedule.dbIf you c
14 - 24StatsMaxObjects This entry is no longer used.StatsPort Port used by DTStat to gather Storage Mirroring statisticsValues: 1025 - 65535Default: 1
14 - 25TGFileAlloc Indicates that Storage Mirroring allocates an entire file on the first write of a mirror operation Values: (0) Disabled (1) Enabled
14 - 26UNetPort Port connection for UDP communicationsValues: 1025 - 65535Default: 1500If you change this value, the source daemon must be stopped and
14 - 27VersionInfo The version of Storage Mirroring that was installedValue: determined by the version installedDefault: determined by the installatio
15 - 115 X SecuritySecurityTo ensure protection of your data, Storage Mirroring offers multi-level security using native operating system security
15 - 2Clearing Maintained Security CredentialsTo remove the credentials, follow these steps: 1. To access the credentials security option, click File,
A - 1A X Storage Mirroring CommandsStorage Mirroring CommandsThe Double-Take Command Language (DTCL) is a scripting language that can be used in e
A - 2Connect Command CONNECTDescription Establishes a connection between a replication set and a target machineSyntaxCONNECT <repset> TO <ta
A - 3Connect TDUDisconnect Command CONNECT TDUDescription Establishes a connection between a replication set and the Throughput Diagnostics Util
2 - 2Understanding the Display The left pane is a tree view displaying each machine running Storage Mirroring. As each machine name is highlighted, no
A - 4DTStat Command DTSTATDescription Starts the DTStats statistics logging utility from a command prompt.Syntax DTSTAT [-i <interval>] [-p
A - 5EnvironmentExitFailbackCommand ENVIRONMENTDescription Displays a list of all Storage Mirroring machines available to the specified machine. Each
A - 6FailoverGetGet LocalCommand FAILOVERDescription Manually initiates the failover process for the specified monitor machineSyntaxFAILOVER <monit
A - 7GetEnvStrHelpLimit BandwidthCommand GETENVSTRDescription Retrieves an operating system environment variable and stores the value in a variable.Sy
A - 8Load Source Load Target Login Command LOAD SOURCEDescription Loads the Storage Mirroring source moduleSyntaxLOAD SOURCE <machine>Opti
A - 9Logout LogViewerCommand LOGOUTDescription Logs off of a Storage Mirroring machineSyntaxLOGOUT <machine>Options machine—Name of the machine
A - 10Mirror PauseMirror ResumeCommand MIRROR PAUSEDescription Pauses a mirror that is in progressSyntaxMIRROR PAUSE <con_id | *> Options con_
A - 11Mirror Start Mirror StopCommand MIRROR STARTDescription Initiates the mirror processSyntaxMIRROR START <con_id> [CLEAN | DIFFERENT [,
A - 12Monitor ClearMonitor CreateMonitor DeleteCommand MONITOR CLEARDescription Clears all of the failover configuration and monitoring parameters for
A - 13Monitor DisplayMonitor GetMonitor ListCommand MONITOR DISPLAYDescription Displays the monitoring and failover configuration settings for the spe
2 - 3 The right pane displays the following information depending on the item selected in the left pane of the Management Console and the tab selecte
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
A - 17Monitor Script RemoveMonitor StartCommand MONITOR SCRIPT REMOVEDescription Specifies the scripts that should not be run during the failover and
A - 18Monitor StopMonitor UseNiclistCommand MONITOR STOPDescription Stops monitoring the source machine for a failureSyntaxMONITOR STOP <monitor>
A - 19Orphans StartOrphans StopPause TargetCommand ORPHANS STARTDescription Manual operation to remove any orphan files on the targetSyntaxORPHANS STA
A - 20PingQuitQueue TaskCommand PINGDescription Checks a specified machine to see if Storage Mirroring is runningSyntaxPING <machine>Options mac
A - 21Options job_name—Any name that you have assigned to the job. This will be the identifier you will see in the log files. target_machine—Name
A - 22Replication StartReplication StopRepset CalculateCommand REPLICATION STARTDescription Initiates the replication processSyntaxREPLICATION START &
A - 23Repset CreateRepset DeleteRepset DisplayCommand REPSET CREATEDescription Creates a replication setSyntaxREPSET CREATE <name>Options name—N
2 - 4Management Console toolbarThe following icons appear in the Management Console toolbar. Icon FunctionExit the Storage Mirroring Management Co
A - 24Repset ListRepset ResyncRepset Rule Add Command REPSET LISTDescription Lists all replication set names for the currently selected sourceSynt
A - 25Repset Rule RemoveRepset SaveRepset UseCommand REPSET RULE REMOVEDescription Removes a rule from a replication setSyntaxREPSET RULE REMOVE <p
A - 26RestoreCommand RESTOREDescription Initiates the restoration processSyntaxRESTORE <repset> FROM <target_machine> [ORIGINAL <origin
A - 27Resume TargetSchedule ClearSchedule DisableCommand RESUMETARGETDescription Allows you to resume the execution of Storage Mirroring operations on
A - 28Schedule EnableSchedule EndCommand SCHEDULE ENABLEDescription Enables the transmission scheduleSyntaxSCHEDULE <target_machine> ENABLEOptio
A - 29Schedule Start Schedule Window Command SCHEDULE STARTDescription Sets criteria to start the transmission of data from the source to the
A - 30Set Set LocalCommand SETDescription The Text Client/DTCL sends a request to Storage Mirroring to modify the value of a Storage Mirroring prog
A - 31ShutdownSourceStatslog StartCommand SHUTDOWNDescription Stops the Storage Mirroring daemonSyntaxSHUTDOWN <machine>Options machine—Name of
A - 32Statslog StatusStatslog StopStatus Command STATSLOG STATUSDescription Identifies whether or not the DTStats statistics logging utility is cu
A - 33TargetTestconTimeNowCommand TARGETDescription Identifies a machine as the active target machineSyntaxTARGET <target_machine>Options target
2 - 5Logging On and Off of Storage MirroringTo ensure protection of your data, Storage Mirroring offers multi-level security using native operating sy
A - 34Transmission PauseTransmission ResumeTransmission Start Transmission StopCommand TRANSMISSION PAUSEDescription Pauses the transmission pauseSy
A - 35Unload SourceUnload TargetCommand UNLOAD SOURCEDescription Unloads the Storage Mirroring source moduleSyntaxUNLOAD SOURCE <machine>Options
A - 36Verify Wait Command VERIFYDescription Verifies the integrity of the data between the source and target machines.SyntaxVERIFY <con_i
A - 37Wait on Mirror Wait on Restore Wait on TargetCommand WAITONMIRRORDescription This command is used in scripts to force the script to stop exe
A - 38WriteCommand WRITEDescription Displays the value of a DTCL variableSyntaxWRITE $<variable_name> Options variable_name—The name of the vari
A - 39DTCL ScriptingTo simplify using Storage Mirroring and DTCL, you can create script files to execute series and combinations of commands to meet s
A - 40 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 - 41-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 - 42-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 - 43DTCL Scripting ExamplesThis section shows examples of different script files. Basic getting started scriptThe following script will start a Stor
2 - 6Storage Mirroring PortsBoth the Management Console and the Storage Mirroring server use ports to communicate with each other. Management Console
A - 44Basic flow control scriptThe following script uses the IF conditional, FOR loop, and WHILE loop commands. In the following examples the FOR loo
B - 1B X GlossaryGlossaryAlerts—Notifications, warnings and errors that describe Storage Mirroring processes.Auto-disconnect—When the Storage Mirr
IndexIAactive/active 1-8active/standby 1-7administrator access 15-1Management Console 2-5text clients 3-3advanced settingsManagement Consoledatabase 1
IIHheartbeats 14-4help A-7Management Console 2-9high availability 1-2HP OpenView Storage Mirroringoverview 1-1Iiconsat-a-glance monitoring 13-5connect
IIIManagement Consoleat-a-glance monitoring 13-5display colors 13-8message window 13-9statistics 13-2overview 13-1Text Clientmain window 13-11text cli
IVsetlocal A-30shutdown A-31single machine configuration 1-12source 6-12, 7-11, 8-5, 9-9, 12-7, A-31source/target functionalitycurrent session 3-5stat
2 - 7Storage Mirroring server portsThe Storage Mirroring daemon uses three ports for Storage Mirroring communications. Service Listen Port—The Stora
Table of ContentsPreface ...
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
2 - 9Storage Mirroring WorkspacesThe Management Console workspace contains the display of the panes of the Management Console and any servers that may
3 - 13 X Text ClientsText ClientsThe Double-Take Command Language (DTCL) is a scripting language that can be used in either the Text Client or Com
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 DaemonTo stop the Storage Mirroring daemon from the Text Client, use the shutdown command. Exampleslogout indyNotes Machine names th
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 1500.4. To modify the un
3 - 8Storage Mirroring server portsThe Storage Mirroring daemon uses two ports for Storage Mirroring communications. netport—The Storage Mirroring s
Chapter 3: Text Clients ...3-1The Text Client
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 X Failover Control CenterFailover Control CenterThe Storage Mirroring Failover Control Center is a 32-bit Windows client that controls all
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 daemon and the Failover Control Center use two ports for various Storage Mirroring communications. Ser
5 - 15 X Replication SetsReplication SetsA replication set defines the data on a source machine that is to be protected by Storage Mirroring. Repl
5 - 2 If a soft link to a directory is part of a replication set rule’s path above the entry point to the replication set data, that link will be cre
5 - 3Replication Set OperationsThe following replication set operations are available: Create—You can create replication sets through the Management
5 - 4Managing Replication Sets Through the Management ConsoleThe following sections describe how to manage replication sets through the Storage Mirror
Chapter 6: Connections ...6-1Connection Option
5 - 53. 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 - 6Creating a replication set using wild cards and direct rule entryIn some instances, data may need to be replicated that cannot be easily selected
5 - 7Calculating replication set sizeWhile Storage Mirroring is mirroring, the right pane of the Management Console displays statistics to keep you in
5 - 8Modifying 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 - 9Managing Replication Sets Through the Text ClientThe following sections describe how to manage replication sets through the Storage Mirroring tex
5 - 103. Define a replication set rule by using the repset rule add command. 4. Repeat the repset rule add command to completely define your
5 - 11Calculating replication set sizeWhile Storage Mirroring is mirroring, the Text Client displays statistics to keep you informed of its progress.
5 - 12b. To modify whether or not the replication set size will be calculated when the connection is established, use the set command with the Calcula
5 - 13Modifying a replication setMake modifications to a replication set when you want to change the data you wish to protect. 1. View the replication
5 - 144. Remove the existing rule that you need to change using the repset rule remove command. Storage Mirroring version 4.3 Source Machine: indy
Managing Replication Through the Management Console ...8-2Initiating replication upon connection ...
5 - 155. 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 - 16Deleting a replication set1. View the replication sets associated with the active source machine by using the repset list command. 2. Delete
6 - 16 X ConnectionsConnectionsThe Storage Mirroring connection is the link between the source replication set and a target machine. It is a logic
6 - 2Connection OptionsWhen establishing a connection, you must specify the machines that are involved with the connection, what data is being protect
6 - 3Throughput Diagnostic UtilityBuilt into Storage Mirroring is a null, or non-existent, target that allows you to imitate a normal connection witho
6 - 4QueuingQueuing to disk allows Storage Mirroring to accommodate high volume processing that might otherwise fill up system memory. For example, on
6 - 5Auto-Disconnect and Auto-ReconnectWhile disk queues are user configurable and can be extensive, they are limited by the amount of physical disk s
6 - 6Managing Connections Through the Management ConsoleThe Management Console can be used to establish, disconnect, and monitor a connection between
6 - 75. 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 - 8Monitoring a connectionYou can monitor an established Storage Mirroring connection by viewing the connection statistics and/or the connection dis
Chapter 11: Failover ...11-1The Failover P
6 - 9Connection displayYou can monitor the connection by understanding the different icons displayed in the Management Console. Established Connecti
6 - 10Configuring queuingThere are five queuing parameters available for configuration. 1. Right-click a source machine and select Properties. 2. Sele
6 - 11Configuring auto-reconnectIf Storage Mirroring is stopped on a source machine while a Storage Mirroring connection is active, auto-reconnect wil
6 - 12Managing Connections Through the Text ClientFor each of the connection related commands, first identify which source you are working with by usi
6 - 13Options 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 - 14Connecting to the Throughput Diagnostics UtilityTo initiate a connection to the Throughput Diagnostics Utility, use the connect to tdu command.
6 - 15Monitoring a connectionStorage Mirroring offers a variety of methods for monitoring a Storage Mirroring connection. Statistics include informati
6 - 16Configuring queuingThere are five queuing parameters available for configuration. Use the get and set commands to view or modify an option. See
6 - 172. To modify the auto-reconnect setting, use the set command with the AutoReconnect option. The AutoReconnect option is set to 1 for enabled or
7 - 17 X MirroringMirroringMirroring is the process of transmitting the data contained in a replication set from the source to the target machine
LogViewer ...13-32LogViewer
7 - 2File Differences Mirror Options Block Checksum All Server Properties Source Ta baa. A checkmark enclosed in parentheses (3) indicates th
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
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 daemon stops, data integrity between the source and ta
7 - 11Managing Mirroring Using the Text ClientFor each of the mirroring commands, first identify which source you are working with by using the source
PrefaceiPrefaceIntended AudienceThe intended audience for the Storage Mirroring User’s Guide is network administrators with expertise in Linux. The ne
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 directory.
7 - 18Setting auto-remirrorIn the event of a source machine failure or if the Storage Mirroring daemon stops, data integrity between the source and ta
8 - 18 X ReplicationReplicationA file change, also called a file request or operation, is the creation, modification, or deletion of a file. This
8 - 2Managing Replication Through the Management ConsoleUsing the Management Console, replication can be initiated upon connection, manually controlle
8 - 3Controlling replication manuallyTo stop and start replication for an established source/target connection, right-click the connection on the righ
Commentaires sur ces manuels