Storage Mirroring for LinuxUser’s GuideThird Edition (April 2009)Part Number: T2558-96317
1 - 5Failure monitoring and failoverFailover is the process in which a target stands in for a failed source. As a result, user and application request
15 - 144056 Service Info. Service has stopped a restore task to %1 (%2) for Replication Set %3, ID: %4No action required. 4057 Service Info. Service h
15 - 154150 Service Error Target write %1 failed after %2 retries and will be discarded. See the event log or log files for error conditions. After co
15 - 164303 Service Warning Blocking of target path: %1 failed. Error Code: %2If you need to block your target paths, contact technical support.4304 S
15 - 175108 Failover Error The source machine %1 is not responding to a ping.This occurs when all monitored IP addresses on the source machine stop re
15 - 185502 Service Warning E-mail notification could not be initialized. Check to make sure Internet Explorer 5.0 or later is installed.E-mail notifi
15 - 19DTStatStatistics logging is the process of taking snapshots of Storage Mirroring statistical data. The data can be written to a file for future
15 - 20Configuring the statistics file1. Right-click a machine in the left pane of the Management Console and select Properties. 2. Select the Loggi
15 - 21Running DTStat from the command promptFrom a command prompt, use the DTStat command from the location where Storage Mirroring is installed.
15 - 22DTStat statisticsThe following statistics appear in the default statistic.sts file. NOTE: The categories you see will dep
15 - 23Kernel MirOpsGenerated The number of mirror operations transmitted to the target. Mirroring is completed by transmitting the file system opera
1 - 6RestorationRestoration provides an easy method for copying replicated data from the target back to its original location on the source. The proc
15 - 24Target Bytes In Target Disk Queue The number of bytes currently in the disk queue on the targetTasksSucceeded The number of task commands that
15 - 25Connection conOpsInMirQueue The number of mirror operations currently waiting to be executed on the targetconBytesInRepQueue The number of rep
15 - 26SNMPSNMP, Simple Network Management Protocol, is the Internet's standard for remote monitoring and management of hosts, routers and other
15 - 27SNMP statistics The following tables identify the Storage Mirroring statistics provided through SNMP. Object Type Statistic DescriptionG
15 - 28Connection dtconState The state of the active connection 0—None. This indicates a connection has not been established. Statistics are still
15 - 29SNMP trapsThe following tables identify the Storage Mirroring traps provided through SNMP. Object Type Trap DescriptionKernel dttrapKernelSta
15 - 30Connection dttrapAutoDisconnectPauseTransmission Auto-disconnect requested that the source pause any operation (create, modify, or delete) sen
16 - 116Server SettingsMost of the Storage Mirroring server settings are located in the Management Console Server Properties dialog box. To access th
16 - 2GeneralThe General tab identifies the server. Nickname—A nickname is saved in the Management Console workspace, therefore, it only
16 - 3 Activation Code—This is the Storage Mirroring license which is required on every Storage Mirroring machine. There are three licenses available
1 - 7Sample configurationsStorage Mirroring is an exceptionally flexible product that can be used in a wide variety of network configurations. To impl
16 - 4SetupThe Setup tab contains various setup options. Log Statistics Automatically—If enabled, Storage Mirroring statistics logging will star
16 - 5NetworkThe Network tab contains settings that control network communications. Any changes made to this tab will not take effect until the Storag
16 - 6QueueThe Queue tab contains settings for Storage Mirroring queue usage. Folder—This is the location where the disk q
16 - 7application. In this case, you would need to configure the applications so that they collectively do not exceed the amount of RAM on the server.
16 - 8SourceThe Source tab contains settings specific to the source module of Storage Mirroring. Replication Packets to 1 Mirror Packet—You can s
16 - 9 Use Checksum on All blocks of data during a Difference Mirror—This option allows a file difference mirror to check each block of data, regardl
16 - 10TargetThe Target tab contains settings specific to the target module of Storage Mirroring. Target Mirror Capacity High Perc
16 - 11DatabaseThe Database tab identifies the Storage Mirroring database files. Folder—Specify the directory where each of the data
16 - 12LoggingThe Logging tab contains settings for various Storage Mirroring log files. Folder—Specify the directory where each of
16 - 13E-mail notificationThe E-mail Notification tab allows you to specify e-mail notification settings. When enabled, the messages logged to the Lin
1 - 8One-to-one, active/active Description Each server acts as both a source and target actively replicating data to each other. Applic
16 - 14 Subject Prefix and Add event description to subject—The subject of each e-mail notification will be in the format Subject Prefix : Server Nam
17 - 117SecurityTo ensure protection of your data, Storage Mirroring offers multi-level security using native operating system security features. Priv
17 - 2Clearing maintained security credentialsTo remove cached credentials, follow these steps. 1. To access the credentials security option, select F
IIndexAActive Directoryalternate data streams 4-3Bblock target paths 16-10Ccentralized backup 1-1chained configuration 1-11client logs 16-12client ove
IIsource settings 16-8sparse files 4-3statisticsDTStat 15-19log 16-12SNMP 15-26system information 8-1system log 15-9system requirements 2-1Ttarget con
1 - 9Many-to-one Description Many source servers are protected by one target server.Application This configuration is appropriate fo
1 - 10One-to-many Description One source server sends data to multiple target servers. The target servers may or may not be accessibl
1 - 11Chained Description The source servers sends replicated data to a target server, which acts as a source server and sends data to a
1 - 12Single server Description Source and target Storage Mirroring components are loaded on the same server allowing data to be replicat
1 - 13Virtual systems Description Source and/or target Storage Mirroring components are loaded on the guest operating system allowing dat
1 - 14ResourcesYou have many resources available to you when using Storage Mirroring. Operating System and application documentation—Make sure th
© Copyright 2009 Hewlett-Packard Development Company, L.P.Hewlett-Packard Company makes no warranty of any kind with regard to this material, includin
2 - 1InstallationReview System requirements on page 2-1 and then use the appropriate instructions from the following list to meet your goal. Install
2 - 2 System Memory—At a minimum, you should have 512 MB of memory on each server. Ideally, you should have 1 GB. Disk Usage—The amount of disk spa
2 - 3Installing or upgrading Storage Mirroring for LinuxUse these instructions if you are installing or upgrading Storage Mirroring. 1. Determine the
2 - 4Configuring your servers using DTSetupDTSetup is a menu-driven application to provide easy access to Storage Mirroring server configuration.1. Ru
2 - 51.3. Configure File System or Block Device Replication—Storage Mirroring hooks operations for replication by interjecting itself between the kern
2 - 61.3.2. Configure Block Device Replication setup file—In order to use Storage Mirroring replication, data that will be replicated on a block devic
2 - 71.3.3.3. Manually attach DTLOOP to a block device—Enter the path to the block device that is to be replicated and press Enter. Then, enter the pa
2 - 84.1.3. View /var/log/messages in less—This option uses the less file viewer program to view the system log messages. 4.1.4. Follow the output o
2 - 9Installing or Upgrading the Storage Mirroring Client for WindowsUse the instructions to install the Storage Mirroring clients on a Microsoft Wind
2 - 10Removing (Erasing) Storage MirroringUse these instructions if you want to remove (erase) an existing Storage Mirroring installation.1. Go to a s
iTable of ContentsChapter 1 Introduction ...1-1Storage Mirroring operations ...
3 - 1ClientsStorage Mirroring has two clients, the Management Console and the Failover Control Center that control and manage your connections and fai
3 - 2Logging on and off of Storage MirroringTo ensure protection of your data, Storage Mirroring offers multi-level security using native operating sy
3 - 3Storage Mirroring workspacesThe Management Console workspace contains the display of the panes of the Management Console and any servers that may
3 - 4Failover Control CenterFrom the Failover Control Center, you can manage, monitor, and control failover for your Storage Mirroring servers. The Fa
4 - 14Replication SetsA replication set defines the data on a source machine that Storage Mirroring protects. Replication sets are defined by volumes,
4 - 2 Storage Mirroring will not replicate the same data from two different replication sets on your source. The data will only be replicated from on
4 - 3Replication capabilitiesStorage Mirroring replicates all file and directory data in the supported Linux file systems. (See System requirements on
4 - 4 If you are using hard links, keep in mind the following. If a hard link exists (or is created) only inside the replication set on the source,
4 - 5Creating a replication setBefore you can establish a connection, you must create a replication set. 1. Highlight a source in the left pane of the
4 - 6Creating or modifying replication rules manuallyThere may be times when you cannot browse for data when creating a replication set. For example,
iiChapter 5 Establishing a Connection Using the Connection Wizard ...5-
4 - 7Selecting a block device for replicationStorage Mirroring allows you to select block devices for replication. 1. In the left pane, right-click th
4 - 8Calculating replication set sizeWhile Storage Mirroring is mirroring, the right pane of the Management Console displays statistics to keep you in
5 - 15Establishing a Connection Using the Connection WizardThe Connection Wizard guides you through the process of protecting your data. It helps you
5 - 27. Select the location on the target where the data will be stored. Send all data to a single path on the target—This option sends all select
6 - 16Establishing a Connection Using the Connection ManagerAfter you have created a replication set, you can establish a connection through the Conne
6 - 2 All To One—This option replicates data from the source to a single volume on the target. The pre-defined path is /source_name/replication_set_n
6 - 3 Use checksum comparison to send minimal blocks of data—For those files flagged as different, the mirror performs a checksum comparison and only
7 - 17Establishing a Connection Across a NAT or FirewallIf your source and target are on opposite sides of a NAT or firewall, you will need special co
7 - 2Configuring the hardwareYou need to configure your hardware so that Storage Mirroring traffic is permitted access through the router and directed
8 - 18Simulating a ConnectionStorage Mirroring offers a simple way for you to simulate a connection in order to generate statistics that can be used t
iiiChapter 13 Failover and Failback ...13-1Configuring failover ...
8 - 2Establishing the simulated connectionAfter you have created a replication set, you can establish the simulated connection through the Connection
9 - 19Managing ConnectionsA unique connection ID is associated with each Storage Mirroring connection. The connection ID provides a reference point fo
9 - 2Monitoring connectionsWhen a source is highlighted in the left pane of the Management Console, the connections and their statistics are displayed
9 - 3Mirror Status Mirroring—If the file size of the replication set has not been calculated and the data is being mirrored to the target machine,
9 - 4You can change the statistics that are displayed by selecting File, Options and selecting the Statistics tab. The statistics displayed in the
9 - 5Connection and Server Display You can configure when the icons and colors change to accommodate your network environment. For example, a slow
9 - 6Monitoring the message windowIn addition to the statistics and status shown in the Management Console, you can also open a message window to view
9 - 73. To change which server you are viewing messages for, select a different machine from the dropdown list on the toolbar. If necessary, the login
9 - 8Queuing Storage Mirroring dataDuring the Storage Mirroring installation, you identified the amount of disk space that can be used for Storage Mir
9 - 96. Like the source, system memory on the target contains the oldest data so when data is applied to the target, Storage Mirroring pulls the data
1 - 11IntroductionWelcome to Storage Mirroring® for Linux®! Storage Mirroring is a real-time data replication and failover software product. Storage M
9 - 10Configuring queuingYou should configure queuing on both the source and target. 1. Right-click the server on the left pane of the Management Cons
9 - 11Since the source is typically running a production application, it is important that the amount of memory Storage Mirroring and the other applic
9 - 12Configuring automatic reconnectionsWhile disk queues are user configurable and can be extensive, they are limited. If the amount of disk space s
9 - 13Configuring compressionTo help reduce the amount of bandwidth needed to transmit Storage Mirroring data, compression allows you to compress data
10 - 1Mirroring and ReplicationMirroring and replication are the key components of Storage Mirroring. This chapter contains information on the followi
10 - 2File Differences Mirror Options Compared Server Properties Source Tabaa.A checkmark enclosed in parentheses () indicates that the global op
10 - 3Controlling an automatic mirrorIn certain circumstances, for example if the disk-based queues on the source are exhausted, Storage Mirroring wil
10 - 4 Full—All files are sent to the target. 5. Click OK to save the settings. NOTE: Database applications may update files without changing the
10 - 5Configuring and removing orphan filesAn orphan file is a file that exists in the target’s copy of the replication set data, but it does not exis
10 - 63. Specify if you want to log the name of the orphan files to the Storage Mirroring log file on the target by marking Log Orphaned Files to Targ
1 - 2The following diagram is one common Storage Mirroring configuration. Testing or MigrationOffsite Disaster High Availability CentralizedProduct
11 - 1VerificationVerification is the process of confirming that the data on the target is identical to the data on the source. Verification creates
11 - 2Scheduled verificationVerification can be scheduled to occur automatically at periodic intervals. 1. Right-click the connection on the righ
11 - 3Verification logA verification log is created on the source during the verification process. The log identifies what is verified as well as whic
12 - 112Data TransmissionStorage Mirroring data is continuously transmitted to the target machine. Although the data may be queued if the network or t
12 - 2Scheduling transmission criteria and bandwidth limitingUsing the Connection Manager Transmit tab, you can set start and stop criteria along w
12 - 34. When you schedule transmission start criteria, transmission will start when the criteria is met and will continue until the queue is empty or
12 - 45. Schedule any desired stop criteria to stop transmission after a transmission start criteria has initiated the transmission. If you do not est
12 - 56. Schedule a transmission window to establish a period of availability for all Storage Mirroring transmissions. You can specify a begin and end
13 - 1Failover and FailbackFailover is the process in which a target stands in for a failed source. As a result, user and application requests that ar
13 - 2 Click Browse to search for a machine. Select a domain from the list box at the top of the Select Machine dialog box to list the available mach
1 - 3Storage Mirroring operationsStorage Mirroring performs four basic types of operations. Mirroring—The initial copy or subsequent resynchronizati
13 - 3 Include Unmonitored—All of the IP address(es) will be failed over. 11. By default, Manual Intervention is enabled, allowing you to control wh
13 - 4Removing failover configurationIf you want to discontinue monitoring a source, highlight that machine on the Monitored Machines tree on the main
13 - 5The following table identifies how the visual indicators change as the status of failover changes. Testing failoverThe failover process,
13 - 6Initiating failbackWhen failover occurs, a source machine has failed. The steps below must be completed in order to complete failback without IP
13 - 75. You will be prompted to determine if you want to continue monitoring the source. Bring the source online and select Continue or Stop to indic
14 - 1RestorationThe Management Console provides an easy method for restoring replicated data from the target back to the original source or to a new
14 - 27. Select the Use Backup Replication Set check box to use the target’s copy of the replication set database for the restoration. If this check b
15 - 1Monitoring ToolsIn addition to the monitoring capabilities within the Storage Mirroring clients, you can monitor Storage Mirroring processing us
15 - 2Log filesVarious Storage Mirroring components (Storage Mirroring daemon, Management Console, Failover Control Center, and the Command Line Clien
15 - 3Viewing the log filesThe log files can be viewed, from the location where Storage Mirroring is installed, with a standard text viewer. Sample S
1 - 4ReplicationReplication is the real-time transmission of file changes. Unlike other related technologies, which are based on a disk driver or a sp
15 - 4Log messagesThe following table describes some of the standard Storage Mirroring alerts that may be displayed in the log files. The ID appears i
15 - 578 Auto-disconnect threshold has been reached. The Storage Mirroring queue has exceeded its limit, and the auto-disconnect process will disconne
15 - 697 Restore started con_id The restoration process of copying the up-to-date data from the target back to the original source machine has starte
15 - 752000 Unfinished Op error This error message contains various Microsoft API codes. The text Code -<x> Internal <y> appears at the en
15 - 8600002 Unified login provides ADMIN access User user has level access (x) Using the current login grants ADMIN access. The listed user has
15 - 9Linux System LogAn event is a significant occurrence in the system or in an application that requires administrators to be notified. The operati
15 - 104007 Service Warning Auto-disconnecting from %1 (%2) for Replication Set %3, ID: %4 due to %5The connection is auto-disconnecting because the d
15 - 114023 Service Info. Service has completed a mirror to %1 %2 for Replication Set %3, ID: %4, %5No action required. 4024 Service Info. Service has
15 - 124034 Service Error Error verifying the service name. The product functionality has been disabled.Reinstall the software, using the installation
15 - 134043 Service Error This product can only be run on a limited number of processors and this server exceeds the limit. The product functionality
Komentarze do niniejszej Instrukcji