netqos.com
Change Failover Monitoring (Automatic and Manual) ................................ Ошибка! Закладка не определена.
Pg. 1 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
Double-Take is a real-time data replication and failover software product that monitors updates received at the source (primary) server and sends them to the target (back-up) server. The target monitors the source, using a heart-beat, and initiates failover when it detects the source is unavailable. The target will assume the IP address of the source and begin processing the NetFlow records received. Therefore, it is imperative that ReporterAnalyzer Console and Flow Manager can communicate with the target Harvester using the source’s IP address in the event of a failure.
When the outage is repaired, Operations can initiate failback during a designated maintenance window.
Updates are restored to the source from the target with minimal disruption or data loss upon completing the restoration. This document describes the steps necessary to install and operate Double-Take to provide high availability for NetQoS Harvester components of ReporterAnalyzer.
Pre-install checklist:
Source Server Name DC3NQRAHARV01A
Source IP Address
Target Server Name
167.215.232.204
DC3NQRAHARV01B
Target IP Address
Double-Take Activation Code
(one for each server)
167.215.232.205
02C480C440C4143C
024580C440C8143C
SMTP Server Name (for emailing alerts)
Double-take uses ports 1100 and 1105 for communication. These must be enabled through firewalls or alternative ports configured in the Double-take console. If the network is not configured to propagate UDP broadcasts, Double-take servers must be added manually using Insert -> Server . The Double-take service depends on Windows Management Instrumentation (WMI) and Remote Procedure Call (RPC) services being enabled and running.
Pg. 2 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
1.
Install Double-Take for Windows on the source and target servers using the installation defaults and the activation codes supplied above. Use 512mbytes for maximum memory on Harvesters. Ignore any warning messages about missing registry keys.
2.
Unzip the file install_ha.zip
on the source and target systems.
3.
Login to the source. Run install_ha.hta from the zip file.
Pg. 3 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
4.
Enter the source and target Microsoft machine names (not Fully Qualified Domain name), and the source IP address. Click the Source button .
5.
Login to the target. Run install_ha.hta
. Repeat step 4 on the target using the IP address the
Source will have during the restore process. Note: This address must be different from source’s original address during the restore process to avoid IP conflicts with the target standing in for the source. Click the Target button.
6.
From the target and run c:\program_files\doubletake\s top_services to stop MySQL and NetQos services.
This ensures that all data files are closed on the target and the Double-Take source can replicate changes to it. These services automatically restart on the target when failover is initiated and stop prior to completing the failback to the source so replication can resume.
By default, services are set to automatic startup and need to be changed to manual start on the target.
These services automatically restart on the target when failover is initiated and stop prior to completing the failback to the source so replication can resume.
Pg. 4 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
7.
From the target, select Start > Administration Tools > Services , then right-click each NetQoS service and select Properties. Select Manual in the start-up type drop-down box.
8.
Repeat this for MySQL.
9.
Verify the Double-Take management console can communicate with the servers. Select Start -
> Programs -> Double-Take -> Management Console .
Double-click on each server to login. If the NetQoS systems are not registered in the DNS, the target and source server names and IP addresses must added to the local Hosts file
( c:\windows\system32\drivers\etc\).
10.
If console login to a server fails, check that the Double-take service is running on that system. The
Double-take service depends on Windows Management Instrumentation (WMI) and Remote
Procedure Call (RPC) services being enabled and running.
Pg. 5 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
11.
Run c:\program_files\doubletake\install.bat
on the source system. Double-click the source server in the Double-take management console to see that the backup and archive replication sets are running. If a mirror does not start automatically, see Appendix B for steps to manually start it.
12.
To verify that the target is monitoring the source, from the Double-Take Management Console, select
Tools -> Failover Control Center.
13.
Select the target machine in the drop-down box and click Login . The target computer may need to be added to the Failover Control Center each time it is launched. See Appendix A for instructions to create the failover monitor manually if there are no monitored machines displayed as below.
Pg. 6 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
15.
Select the source IP address, then click “Edit Monitor” to verify that the “current IP address(es)” match the IP of the target system. See Appendix C for troubleshooting suggestions if the IP does not match.
Pg. 7 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
Configure email notification from the Double-Take Management Console.
1.
Start the Double-Take Console by selecting Start->Programs -> Double-Take -> Management Console .
2.
Double-click the source server to login.
3.
Right-click the server and select properties.
4.
Select the E-mail notification tab.
5.
Click the enable notification check-box to enable the email configuration. Enter the SMTP server name and click the Add button after entering a Send to address.
6.
Set the events to “information” and exclude all but 5100 – event failover automatic and 5102 – manual intervention required (if enabled).
Pg. 8 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
SNMP trap service is also available. The Double-Take MIB is located at c:\program files\doubletake\dt.mib
.
Pg. 9 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
Failover occurs after the target does not receive a response from the source for 120 seconds (12 tensecond polls). When a failover is detected, the target sends an email notification (if configured). The target system will assume the IP address of the source system for transparent operations. NetQoS services will start automatically on the target.
Pg. 10 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
After a failure is resolved and the source is accessible again, restoration of data from the target to the source must be initiated manually. The IP address of the source NIC must be changed before connecting to the network to avoid an IP address conflict during the restoration phase.
1.
Ensure that the source NetQoS services are stopped by running c:\program files\doubletake\stop_services.bat on the source system .
2.
Change the IP address of the source NIC before connecting the source system to the network.
3.
Login to the target system. Run c:\program files\doubletake\nqrestore.bat
to initiate restoration.
4.
Start the Double-Take Console by selecting Start->Programs -> Double-Take -> Management Console .
Login to the target system.
5.
Double-click the target server to login.
The rstrbackup and rstrarchive replication sets should be mirroring to synchronize files on the source with the target. Updates on the target (such as new polling responses) will be replicated to the source in real-time. See Appendix B to initiate manual mirroring if the mirroring does not start automatically – target data state indicates “mirror required.”
Pg. 11 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
Restoration is complete when the mirror status is Idle .
Pg. 12 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
When restoration of the source is complete, initiate the failback process:
1.
From the Double-Take Management Console, select Tools -> Failover Control Center.
2.
Select the target machine in the drop-down box and click Login.
NOTE: The target must be added manually ( Add Target ) if the servers do not appear in the dropdown box.
3.
Select the source server in the pane and click failback .
A warning appears: The source has not been restored. Do you want to fallback?
Click Okay and this will stop NetQoS services on the target. New updates will not be processed from this time until failback completes.
4.
The next prompt will be Click Continue to restart monitoring.
This will cause the target to release the source’s original IP address. Leave this box open, temporarily. The process
will complete in step 6, below.
5.
Restore the source NIC IP address to its original address.
6. Return to the target and complete the failback process by clicking “Continue” from step 4 above.
7. Exit the Double-take management console on the target.
NetQoS services will start on the source machine and the target will resume monitoring the source for failure.
Pg. 13 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
The mirroring and replication processes must be re-started on the source.
1.
Run c:\program files\doubletake\fallback.bat to initiate mirroring and replication.
The source will begin synchronizing its files and updates with the target.
See Appendix B if mirroring does not start automatically.
Pg. 14 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
1.
Start the Failover Control Center: Start > Programs > Double-Take > Failover Control Center.
2.
Click Add Target for the backup server.
3.
Click Login .
4.
Click Add Monitor.
A prompt will appear for the source (monitored) server name.
5.
Check the box next to the Source server to enable the other options; ensure the IP Addresses box under Items to Failover is checked.
6.
Click Scripts… to add the failover and failback scripts.
7.
Click … to browse to the files for the following scripts:
Post-Failover - C:\Program Files\doubletake\start_services.bat
Pre-Failback - C:\Program Files\doubletake\stop _services.bat
Source Post-FailBack - C:\Program Files\doubletake\start_services.bat
8.
Click OK and OK to complete the process.
Pg. 15 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
Follow these steps if a mirror does not start automatically:
1.
Right-click the mirror that has not started.
2.
Select Mirroring then Start .
Pg. 16 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
3.
Check Send data only if Source is newer than Target for archive and rstarchive replication sets only.
Check Use block checksum for the backup and rstbackup replication sets on all products.
4.
Click OK .
Pg. 17 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
If the monitor status in the Failover Control Center is not green, it may because the incorrect source NIC is being monitored.
1.
Start the Failover Control Center: Start > Programs > Double-Take > Failover Control Center.
2.
Click Add Target for the backup server.
3.
Click Login .
4.
Select the source under Names to Monitor .
5.
Click Edit Monitor .
6.
Select another NIC in the Target Adapter drop-down box. Verify the “Current IP Address(es)” matches the IP address of the Target.
7.
If the target adapter needs to change, edit c:\program files\doubletake\install.txt
.
8.
Find the line “monitor move 10.8.0.54 to nic 65539 use network interval 5 timeout 60;” Replace
65539 with the number in brackets from the correct Target Adapter. Save the file.
9.
Click “OK” on the Monitor Settings.
Pg. 18 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com
About NetQoS
NetQoS is the fastest growing network performance management products and services provider. NetQoS has enabled hundreds of the world’s largest organizations to take a Performance First approach to network management—the new vanguard in ensuring optimal application delivery across the WAN. By focusing on the performance of key applications running over the network and identifying where there is opportunity for improvement, IT organizations can make more informed infrastructure investments and resolve problems that impact the business. Today, NetQoS is the only vendor that can provide global visibility for the world’s largest enterprises into all key metrics necessary to take a Performance
First management approach. More information is available at www.netqos.com.
NetQoS Global Headquarters
5001 Plaza On The Lake
Austin, TX, 78746 United States
Phone: 512.407.9443
Toll-Free: 877.835.9575
Fax: 512.407.8629
NetQoS EMEA
1650 Arlington Business Park
Theale Reading, RG7 4SA United Kingdom
Phone: + 44 (0) 118 929 8032
Fax: + 44 (0) 118 929 8033
NetQoS APAC
NetQoS Singapore Representative Office
Level 21, Centennial Tower
3 Temasek Ave., Singapore 039190
Phone: + 65 6549 7476
Fax: + 65 6549 7001
Website: www.netqos.com
E-mail: sales@netqos.com
© 2001-2008 NetQoS, Inc. All rights reserved. NetQoS, the NetQoS logo, SuperAgent, and NetVoyant are registered trademarks of NetQoS,
Inc. ReporterAnalyzer and Allocate are trademarks of NetQoS, Inc. Other brands, product names and trademarks are property of their respective owners.
Pg. 19 Copyright 2009 NetQoS, Inc. 877.835.9575 www. netqos.com netqos.com