Reconfigure the production IP address of the primary node Mount the shared Apache installation directory Start all Apache processes
|
|
|
- Martha Atkinson
- 9 years ago
- Views:
Transcription
1 Introducing Heartbeat High Availability Clustering The purpose of this document is to explain how to implement a 2-node Apache high availability cluster (HAC). The purpose of this HA cluster is to couple a production Apache node with a hot backup node. In the event of a failure on the primary node, the following actions will take place automatically on the secondary node: Reconfigure the production IP address of the primary node Mount the shared Apache installation directory Start all Apache processes HAC Cluster Architecture The HAC architecture is comprised of two Linux systems running data synchronization and monitoring software. In order to achieve data synchronization and monitoring, the HAC implements a redundant physical private connection between the two nodes in the cluster. HAC Cluster Software Components The Apache HA cluster solution requires additional software packages and scripts not bundled with many Linux distributions. These packages are described below: Monitoring - Heartbeat Data Synchronization - Disk Replicating Block Device (DRBD) Apache Recovery - SYSV RC init scripts Monitoring Apache with Heartbeat The Heartbeat package is the most common open source HA package available. It has a simple syntax and monitoring approach to HA. Two systems share a heartbeat over a private closed loop. The heartbeat consists of a sequence of simple messages that use checksums to ensure normal activity. If the heartbeat is lost between the two nodes, the secondary node acquires the resources from the primary node. Heartbeat uses redundant physical private loops to monitor heartbeats between two systems. These loops consist of: Serial Ports Heartbeat monitors two nodes using a null-modem serial cable plugged into both devices. Ethernet Ports Heartbeat monitors two nodes on a secondary Ethernet port using a crossover cable and private IP address network between both hosts. Although only one private loop is required, two are needed to prevent the heartbeat itself from being a single point of failure (SPOF). Heartbeat will continue to monitor a system as long as 1 heartbeat loop is still active Darren Hoch webmaster[at]lit [dot]org 1
2 Heartbeat Resource Group A heartbeat resource group (HRG) consists of system components that are controlled by heartbeat. Heartbeat assumes full ownership of the management of these resources. The OS relinquishes control. An HRG is managed between the two nodes in the cluster. When a primary node fails, it relinquishes control of the HRG and the primary assumes control. The resources in an HRG consist of: IP addresses Filesystems Initialization of processes If the primary node fails, the Heartbeat program itself executes a series of SYSV init compatible run control scripts on both nodes. These scripts are executed in a similar fashion to SYSV init scripts using the stop and start keywords. On the primary node, Heartbeat executes these init scripts to perform the following actions: Down all Heartbeat controlled Ethernet interfaces (not system controlled interfaces) Stop all Heartbeat controlled processes Unmount all Heartbeat controlled filesystems The Heartbeat program on the secondary node, executes the same scripts in start mode to perform the following actions: Up all Heartbeat controlled Ethernet interfaces Start all Heartbeat controlled processes Mount all Heartbeat controlled filesystems Since these functions are controlled by Heartbeat and not the system init process, special modifications to the system (described later) must be made to ensure that both init and Heartbeat do not compete for access to the same resources. Synchronizing Data with DRBD The DRBD software package provides point to point synchronization between two disks over a private Ethernet connection. This is accomplished by creating a virtual disk block device for both Apache nodes to write to. Instead of mounting and performing filesystem checks on physical devices such as /dev/sda1, DRBD provides a metadevice called /dev/drbd0. The primary node in the HAC cluster mounts the DRBD metadevice: ha1# mount /dev/drbd0 /apache Any data written to the /apache directory at this point is replicated to the two underlying physical disks. The write on the primary node will occur on the local /dev/sda device file. The write to the secondary node will be dispatched over a closed loop private network ( x) connection on the eth1 Ethernet interface. A DRBD listener on the secondary node receives this write request and then passes it to the local /dev/sda device on the secondary node. The DRBD package is often referred to as a RAID 1 (mirror) device over Ethernet. The DRBD package includes extremely robust checksums and state management to ensure that synchronization occurs in the appropriate directions. It also provides mechanisms to avoid read and write contention between the primary and secondary nodes. The HAC uses DRBD instead of a separate NAS/NFS (or GFS) device because of these advanced read/write locking features. DRBD also reduces the complexity of the deployment by not requiring a 3 rd networked device Darren Hoch webmaster[at]lit [dot]org 2
3 DRBD only allows one device to be in write mode (primary). The secondary device is in read mode. Although the second device is in read mode, it still receives real time synchronization from the primary device. In the event that the primary node in the HAC fails, the secondary disk should have near millisecond synchronization with the primary disk when it mounts the DRBD device. Recovering Apache Custom RC Script Since Heartbeat executes a SYSV init script upon the failure of a node, the recovery of Apache must be placed in an RC script. The HAC contains the standard Apache init script (httpd). The httpd script supports the following standard options. start This option starts all Apache processes and also executes the recovery function. stop This option stops all Apache processes. status This option reports the status of the Apache processes reload This option reloads all configuration parameters. Heartbeat invokes the httpd script upon node failure with the start option. Heartbeat High Availability Deployment In order to successfully deploy a HAC, the following hardware resources and base configurations must be in place prior to implementing the HAC: Two X86 servers with a RedHat branch (CentOS and Fedora supported). Both eth0 interfaces configured with production IP addresses and connected to the network Both eth1 interfaces configured with a private network and directly connected by a crossover cable A null modem serial cable connected to the 9 pin serial ports on both servers Figure 1: HAC Configuration 2007 Darren Hoch webmaster[at]lit [dot]org 3
4 Installing Heartbeat/DRBD and Apache on Fedora Core 6 The Heartbeat source code is available at Various vendors and individuals have created packages for distributions. The Fedora Core branch contains pre-built versions of Heartbeat that can be installed through the Yum package interface. To install Heartbeat, perform the following: # yum install heartbeat The DRBD package requires a little more work. The DRBD source code contains a SPEC file for building an RPM. Since DRBD contains a kernel module, the DRBD RPMS built will be relevant only to the specific kernel loaded. To install DRBD perform the following steps: 1. You must first update your kernel to the latest revision. # yum update kernel 2. You also need the kernel source to build the DRBD module. # yum install kernel-devel 3. Reboot your system to load the new kernel. # init 6 4. Once rebooted, grab the source code from the DRBD site. # cd ~ # wget # tar zxvf drdb* 5. The Makefile has a target to make RPMS. Simply enter the directory and run the make command. # cd drbd* # make rpm 6. The RPM packages are stored in a local directory called dist. Enter this directory and install the packages. # cd dist/rpms/i386 # rpm ivh drbd-0* # rpm ivh drbd-km* Configuring DRBD Components The following section explains how to configure DRBD and Heartbeat in the appropriate order. Follow these steps closely as any misconfigurations will result in failure. Perform the following steps: 1. DRBD provides a preconfigured DRBD configuration file. Most of the defaults are sufficient. # cd /usr/share/doc/drbd / # cp drbd.conf /etc cp: overwrite `/etc/drbd.conf'? y 2007 Darren Hoch webmaster[at]lit [dot]org 4
5 There are many configurable parameters in the /etc/drbd.conf. The following example lists the main configuration of the file: on ha1 { } device /dev/drbd0; disk /dev/sda3; address :7788; meta-disk internal; The fields are as follows: on hostname - This directive requires the name of your host as per the uname n command. device /dev/drbd0 -This is the DRBD metadevice name you will use to mount your shared filesystem. All writes to this device will be replicated to the two underlying physical devices. disk /dev/sda3 This is the underlying physical device that the DRBD system will write to. address :7788 This is the IP address on which this node will try to connect to the secondary device. This IP address should be the address of the cross-over Ethernet connection on eth1. metadisk internal This is the location of the DRBD metadevice status information. The internal keyword states that the last 128MB of the filesystem /dev/sda3 will be reserved for DRBD metadata. 2. Edit the on hostname section of the drbd.conf file to reflect your system s hostname. This name should match the output of the uname n command. # vi /etc/drbd.conf on yourhostname1 { device /dev/drbd0; disk /dev/sda3; address :7788; meta-disk internal; } on yourhostname2 { device /dev/drbd0; disk /dev/sda3; address :7788; meta-disk internal; } 3. Delete all everything in the drbd.conf file from line 260 and down as these are other examples. 4. Configure the eth1 interface with the x ( for primary and for secondary) address. # vi /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 ONBOOT=yes BOOTPROTO=static IPADDR= NETMASK= Restart the eth1 interface Darren Hoch webmaster[at]lit [dot]org 5
6 # ifdown eth1 # ifup eth1 6. Using ifconfig, verify that the IP address of the second interface: # ifconfig eth1 # ifconfig eth1 eth1 Link encap:ethernet HWaddr 00:15:C5:F1:93:69 inet addr: Bcast: Mask: inet6 addr: fe80::215:c5ff:fef1:9369/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:404 (404.0 b) Interrupt:169 Memory:f f Modify the IPTables firewall ruleset to allow TCP port Insert the following line into the iptables file. # vi /etc/sysconfig/iptables CHANGE -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited TO -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited 8. Once finished, restart the IPTables firewall # service iptables restart 9. Check to make sure that the eth1 interface is in full 100Tx mode. # ethtool eth1 10. If the interface is not in full 100Tx mode, set it using ethtool. The eth1 interface only has to be at this speed for the initial sync. # ethtool -s eth1 speed 100 duplex full autoneg off Synchronizing DRBD Devices Now that the DRBD package is installed on both systems, you can migrate the physical /dev/sda3 devices on both ha1 and ha2 to the same shared logical device on both of /dev/drbd0. 1. Initialize the DRBD service on both nodes. You will eventually use LSB init scripts to control DRBD. ha1# modprobe drbd ha1# drbdadm up all ha2# modprobe drbd ha2# drbdadm up all Run the following commands on the primary node only! 2007 Darren Hoch webmaster[at]lit [dot]org 6
7 2. Neither device is mounted or writeable at this point. Both are in a secondary state. Since DRBD only allows one device to be in the primary state, force ha1 to be in the primary state: ha1# drbdsetup /dev/drbd0 primary -do-what-i-say 3. Create a new filesystem on the /dev/drbd0 device on the ha1 system. The changes will start replicating down to the /dev/drbd0 device on ha2. ha1# mkfs t ext3 /dev/drbd0 4. Once the filesystem is finished create a new directory to mount onto the /dev/drbd0 device: ha1# mkdir /apache ha1# mount /dev/drbd0 /apache ha1# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.9G 749M 8.7G 8% / none 1014M M 0% /dev/shm /dev/drbd0 56G 53M 53G 1% /apache 5. Modify the /etc/fstab on both systems so that the /apache directory uses the /dev/drbd0 device. Make sure to disable the mount at boot option for /apache directory. The mounting of this device will be handled by the Heartbeat program at boot. ha1# vi /etc/fstab <snip> /dev/drbd0 /apache ext3 noauto 0 0 ha2# vi /etc/fstab <snip> /dev/drbd0 /apache ext3 noauto To complete the DRBD configuration, enable DRBD at boot using the chkconfig command: ha1# chkconfig drbd on ha2# chkconfig drbd on 2007 Darren Hoch webmaster[at]lit [dot]org 7
8 Installing Apache on Primary Server The Apache web server ships with every distribution of Linux. Almost every distribution places Apache in multiple locations across the files system. This makes it difficult for DRBD. The purpose of DRBD is to provide one instance of Apache that can run on two systems. In order to do this, you must copy every Apache file into a shared DRBD directory and then symbolically link the file back to its original spot. This makes it difficult to use package management to upgrade as you have changed the locations and links of files. You can either figure out how to make this work OR install Apache from source. This document demonstrates the latter. Configuring Apache Download the latest Apache source tar ball from 1. Create Apache s source directory in the DRBD shared directory. # mkdir /apache/www 2. Unpack the Apache source. # cd /tmp # tar zxvf http* 3. Compile Apache from source. The following example shows a very basic install of Apache. If you want more robust features like DSO, SSL, and PHP/MySQL, you must do more research on how to compile these modules into Apache. # cd httpd-2.2* #./configure prefix=/apache/www; make; make install 4. Once Apache is done compiling, you must make an RC script that heartbeat can use to start and stop your Apache install. First, you must stop and disable the system version of Apache. # chkconfig httpd off # service httpd stop # cd /etc/init.d # mv httpd httpd.old 5. Create a new RC script called apache in the /etc/init.d directory. # vi /etc/init.d/apache #!/bin/bash # # httpd Startup script for the Apache HTTP Server # # chkconfig: # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # config: /etc/httpd/conf/httpd.conf # config: /etc/sysconfig/httpd # pidfile: /var/run/httpd.pid # Source function library.. /etc/rc.d/init.d/functions # things -- attempting to start while running is a failure, and shutdown 2007 Darren Hoch webmaster[at]lit [dot]org 8
9 # when not running is also a failure. So we just do it the way init scripts # are expected to behave here. start() { echo -n $"Starting $prog: " /apache/www/bin/apachectl start } stop() { echo -n $"Stopping $prog: " /apache/www/bin/apachectl stop } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo $"Usage: $prog {start stop restart condrestart reload status fullstatus graceful help configtest}" exit 1 esac exit $RETVAL 6. Make the apache file executable. # chmod +x /etc/init.d/apache 7. Enable the apache service, but do not start it at boot. # chkconfig -add apache # chkconfig apache off Configuring Apache on the Secondary Server Since the primary server currently has already setup Apache and the instance is shared, the only setup required on the secondary server is the run control script. # scp ha2:/etc/init.d/apache /etc/init.d # chmod +x /etc/init.d/apache # chkconfig add apache # chkconfig apache off 2007 Darren Hoch webmaster[at]lit [dot]org 9
10 Configuring Heartbeat Primary and Secondary The final step in configuring the Apache HAC is to configure Heartbeat. The Heartbeat package works by managing resources. A resource is a grouping of functions on a system. This resource group migrates from the primary node to the secondary node in the event of a failure. The resource group for the Apache HAC cluster consists of the following functions: Apache production IP addresses DRBD shared /apache drive Stopping and Starting Apache Heartbeat requires 3 configuration files in the /etc/ha.d directory. These files consist of the ha.cf, haresources, and authkeys. Perform the following steps on ha1. When complete, use scp to copy the files to ha2. 1. You must customize the ha.cf to add the names for your hosts. Modify the provided ha.cf to reflect your configuration. ha1# vi /etc/ha.d/ha.cf debugfile /var/log/ha-debug logfile /var/log/ha-log bcast eth0 eth1 # Linux auto_failback off node yourhostname1 # uname -n node yourhostname2 # uname -n ping ip.address.of.router 2. You must customize the haresources file and configure the IP address(es) for that Heartbeat will monitor. You need to modify this file to reflect your current configuration. This includes hostname, CIDR mask, interface, and broadcast. ha1# vi /etc/ha.d/haresources ha /24/eth0/ \ drbddisk::r0 Filesystem::/dev/drbd0::/apache::ext3 apache The configuration parameters are as follows: ha1 This is the hostname of the primary node that manages this resource /24/eth0/ This is the production IP address that Apache will use and that will fail over between the hosts. The fields are as follows: IP Address Subnet in CIDR notation Ethernet Interface Broadcast Address 2007 Darren Hoch webmaster[at]lit [dot]org 10
11 drbddisk::r0 This tells Heartbeat to make the DRBD resource r0 (defined in /etc/drbd.conf) the primary. The r0 name defines the /apache shared directory. filesystem::/dev/drbd0::/apache::ext3 This is a mount command issued by Heartbeat to mount the /apache directory. apache This is a custom RC script in /etc/init.d that starts Apache 3. Change the permissions on the authkeys file. ha1# vi /etc/ha.d/authkeys auth 1 1 crc ha1# chmod 600 /etc/ha.d/authkeys 4. Move the pre-configure apache start script provided by Heartbeat on both systems. It is not compatible with the custom compiled version of Apache. # cd /etc/ha.d/resources.d # mv apache apache.old 5. The ha1 system is not configured. In order to configure ha2, copy the ha* files to the system. ha1# cd /etc/ha.d ha1# scp haresources ha.cf authkeys ha2:/etc/ha.d 6. You must allow the heartbeat port on both systems through the IPTables firewall. Edit the iptables file to include this port. # vi /etc/sysconfig/iptables ADD -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp --dport 694 -j ACCEPT 7. Restart the IPTables firewall on both systems. # service iptables restart 8. Enable the Heartbeat and DRBD services at boot on both systems as the final step. # chkconfig heartbeat on # chkconfig drbd on If the system was already in production and had virtual interfaces already, be sure to remove these from the /etc/sysconfig/network-scripts/ directory. 9. Reboot the ha1 node first, followed by ha2. ha1# init 6 ha2# init Darren Hoch webmaster[at]lit [dot]org 11
12 HAC Monitoring Both the DRBD and Heartbeat packages include monitoring scripts and log files to check on the health of the cluster. The following sections provide details on how to monitor the HAC after it boots. HAC Log Files Both the DRBD and the Heartbeat programs write to the Syslog messaging framework and additional log files. The /var/log/messages file is the first file to check for all DRBD and Heartbeat information. In the following example output, the Heartbeat program reports that both nodes are online after a boot: # grep heartbeat /var/log/messages Aug 5 12:16:06 ha1 heartbeat: [3303]: info: ************************** Aug 5 12:16:06 ha1 heartbeat: [3303]: info: Configuration validated. Starting heartbeat Aug 5 12:16:06 ha1 heartbeat: [3304]: info: heartbeat: version Aug 5 12:16:06 ha1 heartbeat: [3304]: info: Heartbeat generation: 5 Aug 5 12:16:06 ha1 heartbeat: [3304]: info: G_main_add_TriggerHandler: Added signal manual handler Aug 5 12:16:06 ha1 heartbeat: [3304]: info: G_main_add_TriggerHandler: Added signal manual handler Aug 5 12:16:06 ha1 heartbeat: [3304]: info: Removing /var/run/heartbeat/rsctmp failed, recreating. Aug 5 12:16:06 ha1 heartbeat: [3304]: info: glib: Starting serial heartbeat on tty /dev/ttys0 (19200 baud) Aug 5 12:16:06 ha1 heartbeat: [3304]: info: glib: UDP Broadcast heartbeat started on port 694 (694) i nterface eth1 Aug 5 12:16:06 ha1 heartbeat: [3304]: info: glib: UDP Broadcast heartbeat closed on port 694 interfac e eth1 - Status: 1 Aug 5 12:16:06 ha1 heartbeat: [3304]: info: glib: ping heartbeat started. Aug 5 12:16:06 ha1 heartbeat: [3304]: info: G_main_add_SignalHandler: Added signal handler for signal 17 Aug 5 12:16:07 ha1 heartbeat: [3304]: info: Local status now set to: 'up' Aug 5 12:16:08 ha1 heartbeat: [3304]: info: Link ha2.example.net:/dev/ttys0 up. Aug 5 12:16:09 ha1 heartbeat: [3304]: WARN: G_CH_dispatch_int: Dispatch function for read child took too long to execute: 950 ms (GSource: 0x9f87bc8) Aug 5 12:16:09 ha1 heartbeat: [3304]: WARN: G_CH_dispatch_int: Dispatch function for read child was d elayed 950 ms before being called (GSource: 0x9f87cf8) Aug 5 12:16:09 ha1 heartbeat: [3304]: info: G_CH_dispatch_int: started at should have start ed at Aug 5 12:16:09 ha1 heartbeat: [3304]: info: Link ha2.example.net:eth1 up. Aug 5 12:16:09 ha1 heartbeat: [3304]: info: Status update for node ha2.example.net: status up Aug 5 12:16:09 ha1 heartbeat: [3304]: info: Link : up. Aug 5 12:16:09 ha1 heartbeat: [3304]: info: Status update for node : status ping Aug 5 12:16:09 ha1 heartbeat: [3304]: info: Link ha1.example.net:eth1 up. Aug 5 12:16:10 ha1 heartbeat: [3304]: info: Comm_now_up(): updating status to active Aug 5 12:16:10 ha1 heartbeat: [3304]: info: Local status now set to: 'active' Aug 5 12:16:10 ha1 heartbeat: [3304]: info: Starting child client "/usr/lib/heartbeat/ipfail" (500,50 0) The Heartbeat package also provides its own debug and info log files. They are called ha-debug and ha-log and are located in the /var/log directory. # cd /var/log # ls ha* ha-debug ha-log These contain many of the messages that are in the /var/log/messages, but their format is much simpler. The following example log entry from the ha-log shows a normal startup for Heartbeat on the primary node: # tail f /var/log/ha-log heartbeat[3636]: 2006/08/04_23:37:42 info: ************************** heartbeat[3636]: 2006/08/04_23:37:42 info: Configuration validated. Starting heartbeat heartbeat[3637]: 2006/08/04_23:37:42 info: heartbeat: version heartbeat[3637]: 2006/08/04_23:37:42 WARN: No Previous generation - starting at 1 heartbeat[3637]: 2006/08/04_23:37:42 info: Heartbeat generation: 1 heartbeat[3637]: 2006/08/04_23:37:42 info: No uuid found for current node - generating a new uuid Darren Hoch webmaster[at]lit [dot]org 12
13 heartbeat[3637]: 2006/08/04_23:37:42 info: G_main_add_TriggerHandler: Added signal manual handler heartbeat[3637]: 2006/08/04_23:37:42 info: G_main_add_TriggerHandler: Added signal manual handler heartbeat[3637]: 2006/08/04_23:37:42 info: Creating FIFO /var/lib/heartbeat/fifo. heartbeat[3637]: 2006/08/04_23:37:42 info: Removing /var/run/heartbeat/rsctmp failed, recreating. heartbeat[3637]: 2006/08/04_23:37:42 info: glib: Starting serial heartbeat on tty /dev/ttys0 (19200 baud) heartbeat[3637]: 2006/08/04_23:37:42 info: glib: UDP Broadcast heartbeat started on port 694 (694) interface eth1 heartbeat[3637]: 2006/08/04_23:37:42 info: glib: UDP Broadcast heartbeat closed on port 694 interface eth1 - Stat us: 1 heartbeat[3637]: 2006/08/04_23:37:42 info: glib: ping heartbeat started. heartbeat[3637]: 2006/08/04_23:37:42 info: G_main_add_SignalHandler: Added signal handler for signal 17 heartbeat[3637]: 2006/08/04_23:37:42 info: Local status now set to: 'up' heartbeat[3637]: 2006/08/04_23:37:43 info: Link : up. heartbeat[3637]: 2006/08/04_23:37:43 info: Status update for node : status ping heartbeat[3637]: 2006/08/04_23:37:43 info: Link ha1.example.net:eth1 up. heartbeat[3637]: 2006/08/04_23:37:44 info: Link ha2.example.net:/dev/ttys0 up. heartbeat[3637]: 2006/08/04_23:37:44 info: Status update for node ha2.example.net: status active heartbeat[3648]: 2006/08/04_23:37:44 debug: notify_world: setting SIGCHLD Handler to SIG_DFL heartbeat[3637]: 2006/08/04_23:37:44 info: Link ha2.example.net:eth1 up. harc[3648]: 2006/08/04_23:37:44 info: Running /etc/ha.d/rc.d/status status heartbeat[3637]: 2006/08/04_23:37:44 info: Comm_now_up(): updating status to active heartbeat[3637]: 2006/08/04_23:37:44 info: Local status now set to: 'active' heartbeat[3637]: 2006/08/04_23:37:44 info: Starting child client "/usr/lib/heartbeat/ipfail" (500,500) heartbeat[3659]: 2006/08/04_23:37:44 info: Starting "/usr/lib/heartbeat/ipfail" as uid 500 gid 500 (pid 3659) The Heartbeat program places the following entry in the ha-log file on the secondary node when it acquires the Example resources from the primary node. # tail f /var/log/ha-log heartbeat[3637]: 2006/08/04_23:39:53 info: ha2.example.net wants to go standby [all] heartbeat[3637]: 2006/08/04_23:40:22 info: standby: acquire [all] resources from ha2.example.net heartbeat[3663]: 2006/08/04_23:40:22 info: acquire all HA resources (standby). ResourceManager[3673]: 2006/08/04_23:40:22 info: Acquiring resource group: ha1.example.net /28/ eth0/ drbddisk::sm1 Filesystem::/dev/drbd0::/apache::ext3 apache IPaddr[3697]: 2006/08/04_23:40:22 INFO: IPaddr Resource is stopped ResourceManager[3673]: 2006/08/04_23:40:22 info: Running /etc/ha.d/resource.d/ipaddr /28/eth0/ start IPaddr[3898]: 2006/08/04_23:40:22 INFO: /sbin/ifconfig eth0: netmask broadcast IPaddr[3898]: 2006/08/04_23:40:22 INFO: Sending Gratuitous Arp for on eth0:0 [eth0] IPaddr[3898]: 2006/08/04_23:40:22 INFO: /usr/lib/heartbeat/send_arp -i 500 -r 10 -p /var/run/heartbeat/rsctmp/s end_arp/send_arp eth auto ffffffffffff IPaddr[3816]: 2006/08/04_23:40:22 INFO: IPaddr Success ResourceManager[3673]: 2006/08/04_23:40:22 info: Running /etc/ha.d/resource.d/drbddisk r0 start Filesystem[4100]: 2006/08/04_23:40:22 INFO: Running status for /dev/drbd0 on /apache Filesystem[4100]: 2006/08/04_23:40:22 INFO: /apache is unmounted (stopped) Filesystem[4036]: 2006/08/04_23:40:22 INFO: Filesystem Resource is stopped ResourceManager[3673]: 2006/08/04_23:40:22 info: Running /etc/ha.d/resource.d/filesystem /dev/drbd0 /apache ext3 start Filesystem[4209]: 2006/08/04_23:40:22 INFO: Running start for /dev/drbd0 on /apache Filesystem[4145]: 2006/08/04_23:40:22 INFO: Filesystem Success ResourceManager[3673]: 2006/08/04_23:40:24 info: Running /etc/init.d/apache start heartbeat[3663]: 2006/08/04_23:41:52 info: all HA resource acquisition completed (standby). heartbeat[3637]: 2006/08/04_23:41:52 info: Standby resource acquisition done [all]. heartbeat[3637]: 2006/08/04_23:41:53 info: remote resource transition completed Darren Hoch webmaster[at]lit [dot]org 13
14 All DRBD messages are located in the /var/log/messages file. The following sample log output shows the DRBD device starting on the secondary node. Aug 23 14:01:11 ha2 kernel: drbd: initialised. Version: (api:79/proto:74) Aug 23 14:01:11 ha2 kernel: drbd: SVN Revision: 2260 build by :12:22 Aug 23 14:01:11 ha2 kernel: drbd: registered as block device major 147 Aug 23 14:01:11 ha2 kernel: klogd 1.4.1, state change Aug 23 14:01:17 ha2 kernel: drbd0: resync bitmap: bits= words= Aug 23 14:01:17 ha2 kernel: drbd0: size = 56 GB ( KB) Aug 23 14:01:17 ha2 kernel: drbd0: 0 KB marked out-of-sync by on disk bit-map. Aug 23 14:01:17 ha2 kernel: drbd0: Found 6 transactions (324 active extents) in activity log. Aug 23 14:01:17 ha2 kernel: drbd0: drbdsetup [23655]: cstate Unconfigured --> StandAlone Aug 23 14:01:17 ha2 kernel: drbd0: drbdsetup [23668]: cstate StandAlone --> Unconnected Aug 23 14:01:17 ha2 kernel: drbd0: drbd0_receiver [23669]: cstate Unconnected --> WFConnection Aug 23 14:01:18 ha2 kernel: drbd0: drbd0_receiver [23669]: cstate WFConnection --> WFReportParams Aug 23 14:01:18 ha2 kernel: drbd0: Handshake successful: DRBD Network Protocol version 74 Aug 23 14:01:18 ha2 kernel: drbd0: Connection established. Aug 23 14:01:18 ha2 kernel: drbd0: I am(s): 1: : : : :00 Aug 23 14:01:18 ha2 kernel: drbd0: Peer(P): 1: : : a: :10 Aug 23 14:01:18 ha2 kernel: drbd0: drbd0_receiver [23669]: cstate WFReportParams --> WFBitMapT Aug 23 14:01:18 ha2 kernel: drbd0: Secondary/Unknown --> Secondary/Primary Aug 23 14:01:18 ha2 kernel: drbd0: drbd0_receiver [23669]: cstate WFBitMapT --> SyncTarget Aug 23 14:01:18 ha2 kernel: drbd0: Resync started as SyncTarget (need to sync 64 KB [16 bits set]). Aug 23 14:01:18 ha2 kernel: drbd0: Resync done (total 1 sec; paused 0 sec; 64 K/sec) Aug 23 14:01:18 ha2 kernel: drbd0: drbd0_worker [23656]: cstate SyncTarget --> Connected The most important line of output here is the Secondary/Primary line: Aug 23 14:01:18 ha2 kernel: drbd0: Secondary/Unknown --> Secondary/Primary This line states that the DRBD device on this node is in Secondary state and that its peer on the other node is in primary state. This is an expected condition for the secondary node. This should be the entry on the primary node: Aug 23 14:00:48 ha1 kernel: drbd0: Primary/Unknown --> Primary/Secondary It is impossible for the HAC to get into a state of Primary/Primary as only one device is allowed to be primary. The only time this will ever happen is if both the Serial and Ethernet heartbeats fail. This situation is called a Split Brain situation and can cause serious data corruption. The only way this can happen is if only the Ethernet and Serial ports fail while both systems are running (hardware failure) or if someone pulls both the Ethernet and Serial cables. The Split Brain occurs when the secondary node believes the primary is dead as a result of no heartbeats and it acquires the HA resources. The problem is that the primary node is still online and can t communicate with the secondary node. So, the primary node keeps the same HA resources and marks the secondary node as dead even though the secondary node has also acquired the resources. There is also a rare event when both devices boot into the secondary state. In this case, the /apache directory WILL NOT MOUNT. A device can t be mounted while in secondary state. The log file entry on either system looks like this: Aug 23 14:01:18 ha2 kernel: drbd0: Secondary/Unknown --> Secondary/Secondary The only way to fix this is to force one of the devices to be primary. In the following example, the primary node forces itself to be primary for the DRBD device: ha1# drbdadm primary all The syntax of this command is covered in the following sections Darren Hoch webmaster[at]lit [dot]org 14
15 HAC Monitoring Commands You can use both common UNIX and special HAC commands to monitor the cluster. In the following example, the ps command lists that all of the Heartbeat processes are up and running: # ps -ef grep heartbeat root Aug17? 00:00:20 heartbeat: master control process nobody Aug17? 00:00:00 heartbeat: FIFO reader nobody Aug17? 00:00:00 heartbeat: write: serial /dev/ttys0 nobody Aug17? 00:02:08 heartbeat: read: serial /dev/ttys0 nobody Aug17? 00:00:02 heartbeat: write: bcast eth1 nobody Aug17? 00:00:17 heartbeat: read: bcast eth1 nobody Aug17? 00:00:07 heartbeat: write: ping nobody Aug17? 00:00:23 heartbeat: read: ping Aug17? 00:00:00 /usr/lib/heartbeat/ipfail Even though the processes are all running, it does not guarantee that the heartbeats are coming across the wire. The Heartbeat program is using eth1 to transmit heartbeats. The HAC configuration states that these are sent over UDP port 694. The following example uses the tcpdump command to observe the heartbeats between the two nodes: # tcpdump -ni eth1 port 694 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes 16:06: IP > ha-cluster: UDP, length :06: IP > ha-cluster: UDP, length :06: IP > ha-cluster: UDP, length :06: IP > ha-cluster: UDP, length :06: IP > ha-cluster: UDP, length 185 Heartbeats also travel across the serial port via a null modem cable if configured. It is possible to listen to these heartbeats by opening the serial device file. The following cat command opens the serial device file to listen for heartbeats: # cat /dev/ttys0 >> t=stus st=tive d7530 ptocol=src=hastrongil.net(1)srcud=muuuz6rzel+t22ix== seqaffc h=6 ts=4e31f1 = / ttl auth=29e7016 <<< The following ps output shows that DRBD is running: # ps -ef grep -i drbd root Aug17? 00:00:20 [drbd0_receiver] root Aug23? 00:00:00 [drbd0_worker] root Aug23? 00:00:02 [drbd0_asender] 2007 Darren Hoch webmaster[at]lit [dot]org 15
16 The DRBD kernel module opens a TCP socket connection on port 7788 on the eth1 interface. The following netstat output demonstrates that that port is open in a bi-directional fashion. Both the ha1 node and the ha2 node are connected to each other s port 7788: # netstat -anp grep 7788 tcp : :32776 ESTABLISHED - tcp : :7788 ESTABLISHED - Using the tcpdump on the DRBD connection validates that DRBD traffic is flowing between the two endpoints: # tcpdump -ni eth1 port 7788 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes 16:26: IP > : : (1448) ack win <nop,nop,timestamp > 16:26: IP > :. 1448:2896(1448) ack 1 win <nop,nop,timestamp > 16:26: IP > : P 2896:4120(1224) ack 1 win <nop,nop,timestamp > 16:26: IP > :. ack 1448 win <nop,nop,timestamp > 16:26: IP > :. ack 2896 win <nop,nop,timestamp > 16:26: IP > :. ack 4120 win <nop,nop,timestamp > 16:26: IP > :. 4120:5568(1448) ack 1 win <nop,nop,timestamp > 16:26: IP > :. 5568:7016(1448) ack 1 win <nop,nop,timestamp > Checking Connection State The DRBD software comes with 2 command line utilities to extract state information from the system. The utilities are the drbdsetup and drbdadm commands. Both nodes in the cluster should always be connected. This is the normal state. Any other state signifies a problem in the cluster and needs to be addressed. The two states that signify a problem are: WFConnect This state occurs when one node can t contact another. This means that no communication is taking place on port Use netstat to see if port 7788 is in the ESTABLISHED state on both systems. You can also use telnet to try to connect to port 7788 on both systems. StandAlone This state occurs when the primary node has given up on the secondary and simply chooses to not send any updates until it can communicate with the secondary. This means that either the secondary is down OR the primary can t communicate with it. Both netstat and telnet may be used here to check the connection. The following drbdadm example displays that the DRBD device on the local system is in primary mode: # drbdadm state all Primary/Secondary The following drbdadm example displays that the devices are connected: # drbdadm cstate all Connected 2007 Darren Hoch webmaster[at]lit [dot]org 16
17 These commands read from the raw /proc/drbd file. This file provides 3 checks for health: state, mode, and consistency. # cat /proc/drbd version: (api:79/proto:74) SVN Revision: 2260 build by root@rhel4u4, :22:25 0: cs:connected st:primary/secondary ld:consistent ns:5004 nr:1184 dw:6188 dr:95413 al:0 bm:11 lo:0 pe:0 ua:0 ap:0 Anything else besides these three states presents a problem. In the following output, the /proc/drbd states that the secondary server is completely out of synch with the primary: # cat /proc/drbd version: (api:79/proto:74) SVN Revision: 2260 build by root@rhel4u4, :47:18 0: cs:wfconnect st:secondary/unknown ld:inconsistent ns:5004 nr:1184 dw:6188 dr:95413 al:0 bm:11 lo:0 pe:0 ua:0 ap:0 The following drbdsetup command displays the configuration information of the /dev/drbd0 device file on the ha1 node that was read in from the /etc/drdb.conf at runtime. # drbdsetup /dev/drbd0 show Lower device: 08:03 (sda3) Meta device: internal Disk options: on-io-error = panic Local address: :7788 Remote address: :7788 Wire protocol: C Net options: timeout = 6.0 sec (default) connect-int = 10 sec (default) ping-int = 10 sec (default) max-epoch-size = 2048 (default) max-buffers = 2048 (default) unplug-watermark = 128 (default) sndbuf-size = ko-count = 4 Syncer options: rate = KB/sec group = 1 al-extents = Darren Hoch webmaster[at]lit [dot]org 17
18 Performing Automatic Failovers of the HAC The HAC enables the ability to perform a system administrator initiated failover. This process may be done automatically or manually. The Heartbeat package contains a command called hb_standby to perform automatic failovers. It informs the primary node to give up resources and go into a standby state. It will then inform the secondary to acquire the resources and the secondary will then become primary. ha1# cd /usr/lib/heartbeat ha1# ls hb_standby hb_standby ha1#./hb_standby 2006/08/25_10:47:12 Going standby [all]. Observe the output in the ha-log on the primary node: ha1# tail f /var/log/ha-log heartbeat[2966]: 2006/08/25_10:47:13 info: ha1.apache.net wants to go standby [all] heartbeat[2966]: 2006/08/25_10:47:13 info: standby: ha2.apache.net can take our all resources heartbeat[14224]: 2006/08/25_10:47:13 info: give up all HA resources (standby). ResourceManager[14234]: 2006/08/25_10:47:13 info: Releasing resource group: ha1.apache.net /28/eth0/ drbddisk::sm1 Fi lesystem::/dev/drbd0::/apache::ext3 apache ResourceManager[14234]: 2006/08/25_10:47:13 info: Running /etc/init.d/apache stop ResourceManager[14234]: 2006/08/25_10:47:46 info: Running /etc/ha.d/resource.d/filesystem /dev/drbd0 /apache ext3 stop Filesystem[14863]: 2006/08/25_10:47:46 INFO: Running stop for /dev/drbd0 on /apache Filesystem[14863]: 2006/08/25_10:47:46 INFO: Trying to unmount /apache Filesystem[14863]: 2006/08/25_10:47:47 INFO: unmounted /apache successfully Filesystem[14799]: 2006/08/25_10:47:47 INFO: Filesystem Success ResourceManager[14234]: 2006/08/25_10:47:47 info: Running /etc/ha.d/resource.d/drbddisk r0 stop ResourceManager[14234]: 2006/08/25_10:47:47 info: Running /etc/ha.d/resource.d/ipaddr /28/eth0/ stop IPaddr[15040]: 2006/08/25_10:47:47 INFO: /sbin/route -n del -host IPaddr[15040]: 2006/08/25_10:47:47 INFO: /sbin/ifconfig eth0: down IPaddr[15040]: 2006/08/25_10:47:47 INFO: IP Address released IPaddr[14958]: 2006/08/25_10:47:47 INFO: IPaddr Success heartbeat[14224]: 2006/08/25_10:47:47 info: all HA resource release completed (standby). heartbeat[2966]: 2006/08/25_10:47:47 info: Local standby process completed [all] Darren Hoch webmaster[at]lit [dot]org 18
High Availability with DRBD & Heartbeat. Chris Barber http://www.cb1inc.com
High Availability with DRBD & Heartbeat Chris Barber http://www.cb1inc.com What is DRBD? Distributed Replicated Block Device RAID 1 mirror across network Realtime replications Linux-only kernel module
Twin Peaks Software High Availability and Disaster Recovery Solution For Linux Email Server
Twin Peaks Software High Availability and Disaster Recovery Solution For Linux Email Server Introduction Twin Peaks Softwares Replication Plus software is a real-time file replication tool, based on its
This howto is also a bit old now. But I thought of uploading it in the howtos section, as it still works.
Assalam-u-alaikum, This howto is also a bit old now. But I thought of uploading it in the howtos section, as it still works. Created : Mid 2007 Last updated: Mid 2007 The following link is very nice tutorial
Building Elastix-2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC)
Building Elastix2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC) This information has been modified and updated by Nick Ross. Please refer to the original document found at:
ZCP trunk (build 50384) Zarafa Collaboration Platform. Zarafa HA Manual
ZCP trunk (build 50384) Zarafa Collaboration Platform Zarafa HA Manual Zarafa Collaboration Platform ZCP trunk (build 50384) Zarafa Collaboration Platform Zarafa HA Manual Edition 2.0 Copyright 2015 Zarafa
Red Hat Linux Networking
The information presented should act as a guide to Red Hat Linux networking. It is intended to be accompanied with training and self study. To access most of these items you will need to have root access,
High availability infrastructures for TYPO3 Websites
1 High availability infrastructures for TYPO3 Websites Luc de Louw bit heads GmbH, Internet Services, Rosengartenstrasse 72, CH 8037 Zürich, Switzerland. luc.delouw@bit heads.ch Abstract. The best content
VM-Series Firewall Deployment Tech Note PAN-OS 5.0
VM-Series Firewall Deployment Tech Note PAN-OS 5.0 Revision A 2012, Palo Alto Networks, Inc. www.paloaltonetworks.com Contents Overview... 3 Supported Topologies... 3 Prerequisites... 4 Licensing... 5
PVFS High Availability Clustering using Heartbeat 2.0
PVFS High Availability Clustering using Heartbeat 2.0 2008 Contents 1 Introduction 2 2 Requirements 2 2.1 Hardware................................................. 2 2.1.1 Nodes...............................................
HIGH AVAILABILITY (HA) WITH OPENSIPS
HIGH AVAILABILITY (HA) WITH OPENSIPS Setting up the HA Environment Norm Brandinger SIP Transport SIP is able to be transmitted using Multiple Protocols such as: UDP, TCP, or TCP with TLS (SSL) encryption
Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Perlbal/Heartbeat On Debian Etch
By Falko Timme Published: 2009-01-11 19:32 Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Perlbal/Heartbeat On Debian Etch Version 1.0 Author: Falko Timme
1. Configuring Apache2 Load Balancer with failover mechanism
1. Configuring Apache2 Load Balancer with failover mechanism node01 Messaging Part 1 Instance 1 for e.g.: 192.168.0.140 192.168.0.2 node02 Messaging Part 1 Instance 2 for e.g.: 192.168.0.90 Configuring
High Availability Low Dollar Clustered Storage
High Availability Low Dollar Clustered Storage Simon Karpen [email protected] / [email protected] Thanks to Shodor for use of this space for the meeting. This document licensed under the Creative Commons
Cloud Storage Quick Start Guide
Cloud Storage Quick Start Guide Copyright - GoGrid Cloud Hosting. All rights reserved Table of Contents 1. About Cloud Storage...3 2. Configuring RHEL and CentOS Servers to Access Cloud Storage...3 3.
Open-Xchange Server High Availability
OPEN-XCHANGE Whitepaper Open-Xchange Server High Availability High Availability Concept for OX Example Configuration v1.00 Copyright 2005, OPEN-XCHANGE Inc. This document is the intellectual property of
Written by Saif ur Rab Monday, 07 December 2009 07:19 - Last Updated Monday, 27 December 2010 09:19
I have been trying to learn Asterisk and as many of you know about that main Service Povider has blocked the voice ports in Pakistan. Therefore, we cannot connect to asterisk servers through xlite, 3cx
Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012
Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012 1 The person installing the VC is knowledgeable of the Linux file system
SSL Tunnels. Introduction
SSL Tunnels Introduction As you probably know, SSL protects data communications by encrypting all data exchanged between a client and a server using cryptographic algorithms. This makes it very difficult,
Workshop on Scientific Applications for the Internet of Things (IoT) March 16-27 2015
Workshop on Scientific Applications for the Internet of Things (IoT) March 16-27 2015 IPv6 in practice with RPi Alvaro Vives - [email protected] Contents 1 Lab topology 2 IPv6 Configuration 2.1 Linux commands
QuickBooks Enterprise Solutions. Linux Database Server Manager Installation and Configuration Guide
QuickBooks Enterprise Solutions Linux Database Server Manager Installation and Configuration Guide Copyright Copyright 2007 Intuit Inc. All rights reserved. STATEMENTS IN THIS DOCUMENT REGARDING THIRD-PARTY
IBM Security QRadar SIEM Version 7.2.6. High Availability Guide IBM
IBM Security QRadar SIEM Version 7.2.6 High Availability Guide IBM Note Before using this information and the product that it supports, read the information in Notices on page 35. Product information This
SIOS Protection Suite for Linux v8.3.0. Postfix Recovery Kit Administration Guide
SIOS Protection Suite for Linux v8.3.0 Postfix Recovery Kit Administration Guide July 2014 This document and the information herein is the property of SIOS Technology Corp. (previously known as SteelEye
Load Balancing Clearswift Secure Web Gateway
Load Balancing Clearswift Secure Web Gateway Deployment Guide rev. 1.1.8 Copyright 2002 2016 Loadbalancer.org, Inc. 1 Table of Contents About this Guide...3 Loadbalancer.org Appliances Supported...3 Loadbalancer.org
VoIP Laboratory B How to re flash an IP04
VoIP Laboratory B How to re flash an IP04 (cc) Creative Commons Share Alike Non Commercial Attribution 3 This lab guides you through the process of re flashing an IP04. To re flash a unit is useful when
Scalable Linux Clusters with LVS
Scalable Linux Clusters with LVS Considerations and Implementation, Part II Eric Searcy Tag1 Consulting, Inc. [email protected] May 2008 Abstract Whether you are perusing mailing lists or reading
Syncplicity On-Premise Storage Connector
Syncplicity On-Premise Storage Connector Implementation Guide Abstract This document explains how to install and configure the Syncplicity On-Premise Storage Connector. In addition, it also describes how
BASIC TCP/IP NETWORKING
ch01 11/19/99 4:20 PM Page 1 CHAPTER 1 BASIC TCP/IP NETWORKING When you communicate to someone or something else, you need to be able to speak a language that the listener understands. Networking requires
Linux TCP/IP Network Management
Linux TCP/IP Network Management Arnon Rungsawang [email protected] Massive Information & Knowledge Engineering Department of Computer Engineering Faculty of Engineering Kasetsart University, Bangkok, Thailand.
Virtual Systems with qemu
Virtual Systems with qemu Version 0.1-2011-02-08 Christian Külker Inhaltsverzeichnis 1 Image Creation 2 1.1 Preparations.................................. 2 1.2 Creating a Disk Image.............................
avast! for linux technical documentation
avast! for linux technical documentation Martin Tůma, [email protected] June 4, 2014 Contents 1 Overview 1 2 Installation 2 3 Operation 3 4 Licensing 4 5 Virus definitions updates 4 6 AMaViS integration 4
Abstract. Microsoft Corporation Published: August 2009
Linux Integration Components Version 2 for Hyper-V (Windows Server 2008, Windows Server 2008 R2, Microsoft Hyper-V Server 2008, and Microsoft Hyper-V Server 2008 R2) Readme Microsoft Corporation Published:
Linux Integration Services 3.4 for Hyper-V Readme
Linux Integration Services 3.4 for Hyper-V Readme Microsoft Corporation Published: September 2012 Abstract This guide discusses the installation and functionality of Linux Integration Services for Hyper-V
How To Install Openstack On Ubuntu 14.04 (Amd64)
Getting Started with HP Helion OpenStack Using the Virtual Cloud Installation Method 1 What is OpenStack Cloud Software? A series of interrelated projects that control pools of compute, storage, and networking
SIOS Protection Suite for Linux: MySQL with Data Replication. Evaluation Guide
: MySQL with Data Replication This document and the information herein is the property of SIOS Technology Corp. Any unauthorized use and reproduction is prohibited. SIOS Technology Corp. makes no warranties
Abstract. Microsoft Corporation Published: November 2011
Linux Integration Services Version 3.2 for Hyper-V (Windows Server 2008, Windows Server 2008 R2, Microsoft Hyper-V Server 2008, and Microsoft Hyper-V Server 2008 R2) Readme Microsoft Corporation Published:
Intuit QuickBooks Enterprise Solutions. Linux Database Server Manager Installation and Configuration Guide
Intuit QuickBooks Enterprise Solutions Linux Database Server Manager Installation and Configuration Guide Copyright Copyright 2013 Intuit Inc. All rights reserved. STATEMENTS IN THIS DOCUMENT REGARDING
PBX DIGITAL TELEPHONE EXCHANGE MAINTENANCE GUIDE
PBX DIGITAL TELEPHONE EXCHANGE MAINTENANCE GUIDE PBX MAINTENANCE GUIDE MARCH -2010 II Version Table DATE/VERSION OF GUIDE 24.03.2010/AAA DS200L PBX BK REV. AAA 24.03.2010 KAREL reserves the right to make
Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide
Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide July 2010 1 Specifications are subject to change without notice. The Cloud.com logo, Cloud.com, Hypervisor Attached Storage, HAS, Hypervisor
netkit lab single-host Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group
Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group netkit lab single-host Version Author(s) E-mail Web Description 2.2 G. Di Battista, M. Patrignani,
short introduction to linux high availability description of problem and solution possibilities linux tools
High Availability with Linux / Hepix October 2004 Karin Miers 1 High Availability with Linux Using DRBD and Heartbeat short introduction to linux high availability description of problem and solution possibilities
High Availability in Linux Firewalls using VRRP
Translated Document ( from Spanish original) High Availability in Linux Firewalls using VRRP Original by Sancho Lerena 15 Abril 2002 Translated by Ben Terry 10 June 2002. It is prohibited
EDB Failover Manager Guide. Failover Manager Version 2.0.3
Failover Manager Version 2.0.3 December 18, 2015 EDB Failover Manager Guide, Version 2.0.3 by EnterpriseDB Corporation EnterpriseDB Corporation, 34 Crosby Drive Suite 100, Bedford, MA 01730, USA T +1 781
Configuring Offboard Storage Guide
Juniper Secure Analytics Release 2014.1 Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, CA 94089 USA 408-745-2000 www.juniper.net Published: 2014-12-03 Copyright Notice Copyright 2014 Juniper
BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter
BIT COMMANDER Serial RS232 / RS485 to Ethernet Converter (Part US2000A) Copyrights U.S. Converters 1 Contents Overview and Features... 3 Functions..5 TCP Server Mode... 5 Httpd Client Mode.5 TCP Auto mode....6
IP network tools & troubleshooting. AFCHIX 2010 Nairobi, Kenya October 2010
IP network tools & troubleshooting AFCHIX 2010 Nairobi, Kenya October 2010 Network configuration Reminder, configure your network in /etc/ rc.conf ( x = your IP, from.10 to...) ifconfig_bge0= 41.215.76.x/24
Network Diagnostic Tools. Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014
Network Diagnostic Tools Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014 Agenda Network Diagnostic Tools Linux Tcpdump Wireshark Tcpdump Analysis Sources of Network Issues If a system
pp=pod number, xxx=static IP address assigned to your pod
Lab 6: Dynamic Host Configuration Protocol The purpose of this lab is to configure a DHCP server for multiple subnets. You will configure additional options along with an IP address and netmask, and you
Overview: Clustering MySQL with DRBD & Pacemaker
Overview: Clustering MySQL with DRBD & Pacemaker Trent Lloyd 1 Overview Software Packages (OpenAIS, Pacemaker/CRM, DRBD) Concepts Setup & configuration Installing packages Configure
Sophos Anti-Virus for Linux configuration guide. Product version: 9
Sophos Anti-Virus for Linux configuration guide Product version: 9 Document date: September 2015 Contents 1 About this guide...5 2 About Sophos Anti-Virus for Linux...6 2.1 What Sophos Anti-Virus does...6
Linux Administrator (Advance)
Linux Administrator (Advance) Mr.Kriangsak Namkot Trainer & Director Jodoi IT&Service Co.,Ltd. [email protected] [email protected] http://www.jodoi.com Linux Administrator I Day 1 9.00 10.30 - Samba
Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.
Windows Template Creation Guide How to build your own Windows VM templates for deployment in Cloudturk. TABLE OF CONTENTS 1. Preparing the Server... 2 2. Installing Windows... 3 3. Creating a Template...
Forensic Network Analysis Tools
Forensic Network Analysis Tools Strengths, Weaknesses, and Future Needs Eoghan Casey Author, Digital Evidence and Computer Crime Editor, Handbook of Computer Crime Investigation Technical Director, Knowledge
How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy.
In this tutorial I am going to explain how to setup a home router with transparent proxy using Linux Ubuntu and Virtualbox. Before we begin to delve into the heart of installing software and typing in
Veritas Cluster Server
APPENDIXE This module provides basic guidelines for the (VCS) configuration in a Subscriber Manager (SM) cluster installation. It assumes basic knowledge of the VCS environment; it does not replace the
NRPE Documentation CONTENTS. 1. Introduction... a) Purpose... b) Design Overview... 2. Example Uses... a) Direct Checks... b) Indirect Checks...
Copyright (c) 1999-2007 Ethan Galstad Last Updated: May 1, 2007 CONTENTS Section 1. Introduction... a) Purpose... b) Design Overview... 2. Example Uses... a) Direct Checks... b) Indirect Checks... 3. Installation...
Avast for linux technical documentation
Avast for linux technical documentation Martin Tůma, [email protected] December 10, 2014 Contents 1 Overview 1 2 Installation 2 3 Operation 4 4 Licensing 4 5 Virus definitions updates 4 6 AMaViS integration
SnapLogic Sidekick Guide
SnapLogic Sidekick Guide Document Release: October 2013 SnapLogic, Inc. 2 West 5th Avenue, Fourth Floor San Mateo, California 94402 U.S.A. www.snaplogic.com Copyright Information 2011-2013 SnapLogic, Inc.
CS179i: Guide - Virtual Machine Setup and Internal Networking in Alpha Lab
CS179i: Guide - Virtual Machine Setup and Internal Networking in Alpha Lab This guide provide guidance on critical steps on using VirtualBox to setup a virtual machine (VM) on configure external (internet
Tue Apr 19 11:03:19 PDT 2005 by Andrew Gristina thanks to Luca Deri and the ntop team
Tue Apr 19 11:03:19 PDT 2005 by Andrew Gristina thanks to Luca Deri and the ntop team This document specifically addresses a subset of interesting netflow export situations to an ntop netflow collector
Highly Available VPNs on Linux
www.freeswan.ca Highly Available VPNs on Linux October 2002 Version 1.1 Ken Bantoft ([email protected]) Table of Contents 1. Introduction... 1 1.1. Solution Overview... 1 2. Heartbeat... 2 2.1. Introduction...
Resource Manager Corosync/DRBD HA Installation Guide
The Zenoss Enablement Series: Resource Manager Corosync/DRBD HA Installation Guide Document Version 422 P2 Zenoss, Inc. www.zenoss.com Copyright 2013 Zenoss, Inc., 275 West St., Suite 204, Annapolis, MD
Getting started with ARM-Linux
Getting started with ARM-Linux www.embeddedarm.com (480)-837-5200 usa Connecting serial communications and power (JP2 must be installed to enable console) An ANSI terminal or a PC running a terminal emulator
Configuring PPPoE. PPPoE server configuration
Configuring PPPoE PPPoE (Point-to-Point Protocol over Ethernet) is a network protocol for encapsulating PPP frames in Ethernet frames. Just as pptp, it allows organizing subscriber network access by using
Host Configuration (Linux)
: Location Date Host Configuration (Linux) Trainer Name Laboratory Exercise: Host Configuration (Linux) Objectives In this laboratory exercise you will complete the following tasks: Check for IPv6 support
TimeIPS Server. IPS256T Virtual Machine. Installation Guide
TimeIPS Server IPS256T Virtual Machine Installation Guide TimeIPS License Notification The terms and conditions applicable to the license of the TimeIPS software, sale of TimeIPS hardware and the provision
Unix System Administration
Unix System Administration Chris Schenk Lecture 08 Tuesday Feb 13 CSCI 4113, Spring 2007 ARP Review Host A 128.138.202.50 00:0B:DB:A6:76:18 Host B 128.138.202.53 00:11:43:70:45:81 Switch Host C 128.138.202.71
INF-110. GPFS Installation
INF-110 GPFS Installation Overview Plan the installation Before installing any software, it is important to plan the GPFS installation by choosing the hardware, deciding which kind of disk connectivity
Introduction to NetGUI
Computer Network Architectures [email protected] December 5, 2007 (cc) 2007. Algunos derechos reservados. Este trabajo se entrega bajo la licencia Creative Commons Attribution-ShareAlike.
ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4
ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4 1 PURPOSE:... 1 2 CPM-4/CPM-2 COMPATIBILITY... 2 2.1 NETWORK CABLES... 2 2.2 FACTORY DEFAULT SETTINGS... 2 2.3 CHANGING THE RS-232 SERIAL PORT BAUD
Linux: 20 Iptables Examples For New SysAdmins
Copyrighted material Linux: 20 Iptables Examples For New SysAdmins Posted By nixcraft On December 13, 2011 @ 8:29 am [ 64 Comments ] L inux comes with a host based firewall called
PRM and DRBD tutorial. Yves Trudeau October 2012
PRM and DRBD tutorial Yves Trudeau October 2012 Agenda Introduction to Pacemaker PRM principle PRM Hands-on HA over shared storage What is DRBD? Impacts of DRBD on MySQL DRBD Hands-on About me Pacemaker
THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering
THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering ENG 224 Information Technology Laboratory 6: Internet Connection Sharing Objectives: Build a private network that
Note: Guide not yet tested in the SFU Surrey Linux Lab (SUR4080). Some changes may be needed.
Quick Start Guide for BeagleBone Black by Brian Fraser Last update: Oct 28, 2015 This document guides the user through: 1. Installing Ubuntu in a virtual machine. 2. Connecting to the target using serial
EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server 2014. Version 1
EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server 2014 Version 1 NEC EXPRESSCLUSTER X 3.x for Windows SQL Server 2014 Quick Start Guide Document Number ECX-MSSQL2014-QSG, Version
bigbluebutton Open Source Web Conferencing
bigbluebutton Open Source Web Conferencing My favorites Project Home Downloads Wiki Issues Source Search Current pages for BigBlueButtonVM Download and setup your own BigBlueButton 0.81 Virtual Machine
Deployment Guide: Transparent Mode
Deployment Guide: Transparent Mode March 15, 2007 Deployment and Task Overview Description Follow the tasks in this guide to deploy the appliance as a transparent-firewall device on your network. This
PRILINK PRI Management System
www.prilink.com PRILINK PRI MANAGEMENT SSTEM INSTALLATION GUIDE PRI Management PRILINK PRI Management System Installation Guide Version 3.0, Rev. 12-01-24 Page 1 Table of Contents 1 HARDWARE INSTALLATION...
GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III
QWERTYUIOP{ GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III This GL254 course is designed to follow an identical set of topics as the Red Hat RH254, RH255 RHCE exam prep courses with the added
Newton Linux User Group Graphing SNMP with Cacti and RRDtool
Newton Linux User Group Graphing SNMP with Cacti and RRDtool Summary: Cacti is an interface that can be used to easily manage the graphing of SNMP data. These graphs allow you to visualize performance
LISTSERV in a High-Availability Environment DRAFT Revised 2010-01-11
LISTSERV in a High-Availability Environment DRAFT Revised 2010-01-11 Introduction For many L-Soft customers, LISTSERV is a critical network application. Such customers often have policies dictating uptime
GlobalSCAPE DMZ Gateway, v1. User Guide
GlobalSCAPE DMZ Gateway, v1 User Guide GlobalSCAPE, Inc. (GSB) Address: 4500 Lockhill-Selma Road, Suite 150 San Antonio, TX (USA) 78249 Sales: (210) 308-8267 Sales (Toll Free): (800) 290-5054 Technical
Load Balancing Bloxx Web Filter. Deployment Guide
Load Balancing Bloxx Web Filter Deployment Guide rev. 1.1.8 Copyright 2002 2016 Loadbalancer.org, Inc. 1 Table of Contents About this Guide...4 Loadbalancer.org Appliances Supported...4 Loadbalancer.org
Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address
Objectives University of Jordan Faculty of Engineering & Technology Computer Engineering Department Computer Networks Laboratory 907528 Lab.4 Basic Network Operation and Troubleshooting 1. To become familiar
HOWTO: Set up a Vyatta device with ThreatSTOP in router mode
HOWTO: Set up a Vyatta device with ThreatSTOP in router mode Overview This document explains how to set up a minimal Vyatta device in a routed configuration and then how to apply ThreatSTOP to it. It is
System administration basics
Embedded Linux Training System administration basics Michael Opdenacker Thomas Petazzoni Free Electrons Copyright 2009, Free Electrons. Creative Commons BY SA 3.0 license Latest update: Dec 20, 2010, Document
Job Aid: Replacing the Hard Drive on the Avaya S8710 Media Servers R2.2 or Later
Job Aid: Replacing the Hard Drive on the Avaya S8710 Media Servers R2.2 or Later This job aid describes the steps required to replace the hard drive on an Avaya S8710 Media Servers running Release 2.2
[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX3.0.0.0] 1
[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX3.0.0.0] 1 How to Recover an infiniti/evolution Modem Software Reference idx 3.0.0.0 (12.0.0.0) Updated: November 17 th 2011 Overview Recovery Procedures
What information you will find in this document
How To Set Up PPPoE Between a Linux Client and an Allied Telesis Access Concentrator Introduction This document describes how to set up PPPoE between a Linux client and an Allied Telesis device. What information
How Do I Recover infiniti Remotes and Line Cards?
How Do I Recover infiniti Remotes and Line Cards? Date: June 26, 2008 Overview This FAQ contains the following information and procedures pertaining to ids Release 6.0.1 and later: Before Attempting to
Commodity DataServer. Best Practices Guide
Commodity DataServer Best Practices Guide Table of Contents Introduction... 3 Commodity DataServer System Backup... 3 Disaster Recovery... 4 The Importance of Recovery Point Objective... 5 Commodity DataServer
How to build secure Apache Tomcat deployments with RPM.
How to build secure Apache Tomcat deployments with RPM. My security experiences really tie into everyday work. A colleague called me from my last gig and asked how to build a RedHat Package Manager (RPM)
Supermicro Ethernet Switch Performance Test Straightforward Public Domain Test Demonstrates 40Gbps Wire Speed Performance
Straightforward Public Domain Test Demonstrates 40Gbps Wire Speed Performance SSE-X3348S/SR Test report- 40G switch port performance on Supermicro SSE-X3348 ethernet switches. SSE-X3348T/TR 1. Summary
Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide
Acronis Backup & Recovery 10 Server for Linux Update 5 Installation Guide Table of contents 1 Before installation...3 1.1 Acronis Backup & Recovery 10 components... 3 1.1.1 Agent for Linux... 3 1.1.2 Management
Ahsay Replication Server v5.5. Administrator s Guide. Ahsay TM Online Backup - Development Department
Ahsay Replication Server v5.5 Administrator s Guide Ahsay TM Online Backup - Development Department October 9, 2009 Copyright Notice Ahsay Systems Corporation Limited 2008. All rights reserved. Author:
IBRIX Fusion 3.1 Release Notes
Release Date April 2009 Version IBRIX Fusion Version 3.1 Release 46 Compatibility New Features Version 3.1 CLI Changes RHEL 5 Update 3 is supported for Segment Servers and IBRIX Clients RHEL 5 Update 2
Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.
Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice. Before installing and using the software, please review the readme files,
FortiGate High Availability Overview Technical Note
FortiGate High Availability Overview Technical Note FortiGate High Availability Overview Technical Note Document Version: 2 Publication Date: 21 October, 2005 Description: This document provides an overview
Secure Web Gateway Version 11.7 High Availability
Secure Web Gateway Version 11.7 High Availability Legal Notice Copyright 2015 Trustwave Holdings, Inc. All rights reserved. This document is protected by copyright and any distribution, reproduction, copying,
Linux Integration Services 3.5 for Hyper-V Readme
Linux Integration Services 3.5 for Hyper-V Readme Microsoft Corporation Published: December 2013 Abstract Hyper-V supports both emulated ( legacy ) and Hyper-V-specific ( synthetic ) devices for Linux
