W H I T E P A P E R : V E R I T A S C L U S T E R S E R V ER. Veritas Cluster Server:



Similar documents
Cluster Server Agent for Symantec Data Loss Prevention Installation and Configuration Guide

Veritas Cluster Server from Symantec

Veritas Cluster Server Agent for Sybase Installation and Configuration Guide

recovery at a fraction of the cost of Oracle RAC

Veritas Replicator from Symantec

Symantec Cluster Server powered by Veritas

Data Sheet: Disaster Recovery Veritas Volume Replicator by Symantec Data replication for disaster recovery

Symantec ApplicationHA 6.2 Agent for Apache HTTP Server Configuration Guide - AIX on IBM PowerVM

VERITAS Cluster Server v2.0 Technical Overview

Symantec ApplicationHA Agent for Microsoft SQL Server 2012 Configuration Guide

Veritas Cluster Server by Symantec

Administration of Veritas Storage Foundation High Availability 5.0 for Windows

Strategies to Solve and Optimize Management of Multi-tiered Business Services

Veritas Storage Foundation High Availability for Windows by Symantec

Symantec ApplicationHA 6.1 Agent for DB2 Configuration Guide - AIX on IBM PowerVM

Veritas Storage Foundation and High Availability Solutions Getting Started Guide

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

Veritas InfoScale Availability

Symantec ApplicationHA agent for Internet Information Services Configuration Guide

Symantec NetBackup Clustered Master Server Administrator's Guide

Veritas Operations Manager Release Notes. 3.0 Rolling Patch 1

Symantec ApplicationHA agent for SharePoint Server 2010 Configuration Guide

Veritas Cluster Server Getting Started Guide

Symantec Backup Exec.cloud Customer Pricing and Licensing Guide

Symantec ApplicationHA agent for Microsoft Exchange 2010 Configuration Guide

Symantec ApplicationHA 6.1 Agent for JBoss Application Server Configuration Guide - Linux on KVM

Virtual Business Service-Availability User's Guide. Veritas Operations Manager 6.0

Symantec Desktop and Laptop Option 7.6

Symantec ApplicationHA Agent for WebSphere Application Server Configuration Guide

Veritas Operations Manager LDom Capacity Management Add-on User's Guide 4.1

Symantec ApplicationHA 6.1 Generic Agent Configuration Guide - AIX on IBM PowerVM

Symantec NetBackup Snapshots, Continuous Data Protection, and Replication

Symantec ApplicationHA 6.2 User's Guide - Solaris on Oracle VM Server for SPARC

Keeping GE Healthcare Universal Viewer Highly Available with Symantec ApplicationHA

Confidently Virtualize Business-critical Applications in Microsoft Hyper-V with Symantec ApplicationHA

WHITE PAPER: HIGH CUSTOMIZE AVAILABILITY AND DISASTER RECOVERY

Veritas Cluster Server Application Note: High Availability for BlackBerry Enterprise Server

Data Sheet: Server Management Altiris Server Management Suite 7.0 Essential server management: Discover, provision, manage, and monitor

Cluster Server Agent for WebSphere MQ FTE Installation and Configuration Guide

Data Sheet: Storage Management Veritas Virtual Infrastructure Bringing enterprise-class storage management to virtual server environments

Veritas Cluster Server Agent for Oracle Installation and Configuration Guide

Altiris IT Management Suite 7.1 from Symantec

Symantec Storage Foundation High Availability for Windows

Instant Recovery for VMware

Veritas Storage Foundation and High Availability Solutions HA and Disaster Recovery Solutions Guide for Enterprise Vault

Symantec NetBackup Clustered Master Server Administrator's Guide

VERITAS Storage Foundation 4.0

WHITE PAPER: ENTERPRISE SECURITY. Symantec Backup Exec Quick Recovery and Off-Host Backup Solutions

Datacane - When the bits hit the fan!

Altiris IT Management Suite 7.1 from Symantec

Symantec ApplicationHA Agent for Microsoft Internet Information Services (IIS) Configuration Guide

Veritas Cluster Server Application Note: Dynamic Reconfiguration for Sun Servers

Enterprise Vault 11 Feature Briefing

Veritas Cluster Server Application Note: Disaster Recovery for Microsoft SharePoint Server

Direct virtual machine creation from backup with BMR

Symantec Licensing Portal and License Management User Guide

Symantec Workspace Streaming 6.1

Data Sheet: Archiving Altiris Server Management Suite 7.0 from Symantec Essential server management: Discover, provision, manage, and monitor

Symantec Disaster Recovery Advisor

Database Storage Management with Veritas Storage Foundation by Symantec Manageability, availability, and superior performance for databases

Veritas NetBackup 6.0 Database and Application Protection

Altiris Monitor Pack for Servers 7.1 SP2 from Symantec Release Notes

Endpoint Virtualization. Workspace Management: Simplify IT Organizations. Data Sheet Symantec TM Workspace Streaming 6.1

Veritas High Availability Agent for Oracle Installation and Configuration Guide

High Availability for Databases Protecting DB2 Databases with Veritas Cluster Server

Data Sheet: Archiving Symantec Enterprise Vault for Microsoft Exchange Store, Manage, and Discover Critical Business Information

Symantec NetBackup 7.1 What s New and Version Comparison Matrix

W H I T E P A P E R : T E C H N I C AL. Enterprise Vault 9.0 Archiving from Exchange Server Dan Strydom Technical Field Enablement November 2010

Administration Guide NetIQ Privileged Account Manager 3.0.1

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

Oracle Databases on VMware High Availability

Veritas Operations Manager Advanced 5.0 HSCL Pack 1 Release Notes

Intellicus Enterprise Reporting and BI Platform

Virtualizing Business-Critical Applications with Confidence

Symantec Disaster Recovery Orchestrator Administration Guide

Symantec Backup Exec 2012

Veritas Cluster Server Application Note: Support for Kernel-Based Virtual Machines

Symantec Storage Foundation and High Availability Solutions Microsoft Clustering Solutions Guide for Microsoft SQL Server

Oracle Database Solutions on VMware High Availability. Business Continuance of SAP Solutions on Vmware vsphere

Symantec Server Management Suite 7.6 powered by Altiris technology

Symantec Backup Exec.cloud Partner Pricing and Licensing Guide

VERITAS FlashSnap Point-In-Time Copy Solutions

Symantec ServiceDesk 7.1

Symantec NetBackup OpenStorage Solutions Guide for Disk

An Oracle Technical White Paper June Oracle VM Windows Paravirtual (PV) Drivers 2.0: New Features

Symantec Enterprise Vault Technical Note. Backing up Enterprise Vault in a clustered environment. Windows

Altiris Server Management Suite 7.1 from Symantec

Cloud Storage Backup for Storage as a Service with AT&T

Cluster Server Implementation Guide for Microsoft SQL Server 2014

TECHNICAL BRIEF. Primary Storage Compression with Storage Foundation 6.0

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

Symantec ApplicationHA Agent for Microsoft Internet Information Services (IIS) Configuration Guide

Symantec NetBackup 7 Clients and Agents

Improving the Customer Support Experience with NetApp Remote Support Agent

Data Sheet: Archiving Symantec Enterprise Vault Discovery Accelerator Accelerate e-discovery and simplify review

Data Sheet: Storage Management Veritas CommandCentral Storage 5.1 Centralized visibility and control across heterogeneous storage environments

Comparison: Microsoft Logical Disk Manager (LDM) and VERITAS Volume Manager

Storage Foundation and High Availability Solutions HA and Disaster Recovery Solutions Guide for Microsoft SQL Server 2008 and 2008 R2

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Consulting Services for Veritas Storage Foundation

Transcription:

W H I T E P A P E R : V E R I T A S C L U S T E R S E R V ER Veritas Cluster Server: Steps to minimize application downtime with Intelligent Monitoring Framework (IMF) Anthony Herr Storage and Availability Management Group November 2011

Contents Executive Summary... 3 Introduction... 3 Legacy Poll-Based Monitoring... 3 Intelligent Monitoring... 3 Feature Description... 3 Technology Overview... 4 Agent Support in VCS 5.1SP1... 4 Storage Foundation Based Agents... 4 Process Based and Application Agents... 4 The haimfconfig utility... 4 Command Usage:... 4 Enable IMF for all available IMF-aware agents in a cluster and enable the kernel module:... 4 Disable IMF for all IMF-aware agents on a cluster and disable the kernel module:... 4 How to Enable IMF without the haimfconfig script... 5 IMF Status Check... 5 How to Disable IMF without the haimfconfig script... 5 Recommended values for setting IMF Attributes... 7 IMF value settings:... 8 Conclusion... 8 2

Executive Summary Veritas Cluster Server provides immediate detection of application faults with the Intelligent Monitoring Framework(IMF) feature. This white paper provides a detailed overview of the IMF feature and its benefits in your data center. Introduction All clustering applications have a single requirement in common: monitor the health of applications that they are protecting. There are two basic methodologies to achieve this: Legacy Monitoring and Intelligent Monitoring. Legacy Poll-Based Monitoring Legacy monitoring is a poll based monitor and it has two major setbacks: delay in monitoring and inefficient use of CPU resources. There is an interval of time between polling the state of an application component. If the component faults, there will be a gap from the point the component has faulted until the next monitor is run. If a monitor is run every 60 seconds then there is a potential delay in detecting the fault for up to a minute. Also with a large number of monitored components or resources within a cluster, there will be some amount of CPU needed just to determine the state of the application on each node in the cluster. Even if the load for each check is small, combined, these loads can take up a measurable amount of CPU. Thus this can add up to a few percent of the CPU when clusters have hundreds of resources. Intelligent Monitoring Intelligent Monitoring Framework, introduced in VCS 5.1SP1, addresses both issues seen with the Legacy Monitoring. By removing the constant monitoring cycle needed in legacy clustering products, there is no additional CPU overhead. In addition, this framework provides instant notification to VCS when a resource goes offline. As a result, action is taken immediately instead of any delay caused by the timing of the monitoring process. With IMF, as soon as an application faults, VCS is alerted and it immediately takes action. NOTE: VCS for Windows also has the IMF feature introduced within this document. The Windows release of VCS implemented IMF in SFWHA 6.0. Feature Description IMF is an extension to the VCS agent framework. The intelligent monitoring functionality of VCS agents is disabled by default during a fresh installation or an upgrade to VCS 5.1 SP1. You can enable or disable this functionality as needed. In future releases of VCS, this feature will be enabled by default. There is a downloadable script called haimfconfig that will assist with complete enable/disable of IMF for a cluster. Details on downloading the haimfconfig utility will be addressed in this document. The benefits of intelligent monitoring over legacy poll-based monitoring are as follows: Significant reduction of failover or restart times, based on cluster configuration, due to faster notification of resource faults Reduction in VCS system utilization which enables VCS to effectively monitor a larger number of resources without load on the CPU When an IMF-enabled agent starts up, the agent initializes the IMF notification module. After the resource is in a steady state, the agent registers with the IMF notification module the monitoring details of the resource. The IMF notification module hooks into system calls and other kernel interfaces of the operating system to get notifications on various events such as when a process starts or dies, or when a block device gets mounted or unmounted from a mount point. The current IMF implementation is supported with process-based and mount-based agents. They use the Intelligent Monitoring Framework (IMF) kernel module that provides asynchronous event notifications to the agents that are enabled for intelligent resource monitoring. 3

In the event that the kernel module has an issue, IMF will monitor the resource using the legacy monitor. Also, when IMF determines that a resource has changed its state, based on notification from the kernel module, a traditional monitor is run to validate this state change. Technology Overview Agent Support in VCS 5.1SP1 Storage Foundation Based Agents Mount CFSMount CVMVxconfigd Process Based and Application Agents Process Application Oracle Netlsnr DB2 (Introduced in VCS 5.1SP1RP2) There is also support for the above agents running within a Solaris Zone or AIX WPAR The haimfconfig utility When the IMF feature was introduced, it was disabled by default to allow customers to choose to enable it. You can still go through the steps outlined in a later section to manually enable or disable IMF or you can download the utility to enable or disable IMF from a single command. The haimfconfig command was created to assist users working with IMF. This utility will come as part of the binaries on future releases and it would be best to download it to your systems to the following location: /opt/vrtsvcs/bin/haimfconfig Online, the utility can be downloaded using the following link and is only valid on the 5.1SP1 release: https://www-secure.symantec.com/connect/downloads/intelligent-monitoring-framework-imf-configuration-utility-vcs-51sp1. Command Usage: haimfconfig [ validate] { enable -disable} [ agent <agent> -amf] haimfconfig enable : This will set AMF_START = 1, load kernel module and enable IMF for all possible agents haimfconfig disable : Disable IMF for all agent.this will unload the kernel module and set AMF_START = 0 haimfconfig enable agent <agents> : Enable IMF for specified set of agent haimfconfig disable agent <agents> : Disable IMF for specified set of agent haimfconfig enable amf : This will set AMF_START = 1 and load the kernel module haimfconfig disable amf : This will unload the kernel module and set AMF_START = 0 -validate : Displays a brief description of the steps performed by the script for specified command. Enable IMF for all available IMF-aware agents in a cluster and enable the kernel module: # haimfconfig enable Disable IMF for all IMF-aware agents on a cluster and disable the kernel module: # haimfconfig disable 4

How to Enable IMF without the haimfconfig script Use the following procedures to start IMFs kernel module, which is the kernel module IMF uses for kernel notification. Run the first two commands on each node in the cluster: 1. Set the value of the AMF_START variable to 1 in the following file: # vi /etc/sysconfig/amf 2. Start the kernel module. Run the following command: # /etc/init.d/amf start 3. Make the VCS configuration writable: # haconf makerw To enable intelligent resource monitoring within VCS run steps 4 through 6 just once for the cluster per agent and then continue on with step 7 when completed with the steps after enabling IMF for the chosen agents. 4. Run the following command to enable intelligent resource monitoring. For more info on the number, see the IMF agent recommend values section of this document: # hatype -modify <Resource Type> IMF -update < Number> 5. Change the values of the and the key of the IMF attribute: # hatype -modify <Resource Type> IMF -update <Frequency Value> 6. Change the value of the key of the IMF attribute if needed: # hatype -modify <Resource Type> IMF -update <default is 3> 7. Save the VCS configuration: # haconf -dump -makero 8. Make sure that the kernel module is configured. Please run the following command on every node in the cluster: # /etc/init.d/amf status 9. Restart the agent on each node in the cluster: # haagent -stop <Agent Type> -force -sys <Cluster Node Name> # haagent -start <Agent Type> -sys <Cluster Node Name> IMF Status Check To check the current status of IMF you can run the command: # /opt/vrts/bin/amfstat This will show the resources currently registered with the IMF kernel module. Note: If you validate the IMF functionality by causing a monitored application to fault and restart, after each restart of the resource, the agent needs to reregister with the IMF kernel module. Based on the Agent framework there is also an allowance of time for the agent to go into a steady state. If you attempt to cause the agent to fault immediately after a restart occurs, it will take a full monitoring cycle to report the fault. Instead, if you wait a few minutes before attempting a second fault then the resource will be registered with IMF and fault detection will be immediate. You can run the amfstat command above to ensure that the agent has reregistered with the kernel module. How to Disable IMF without the haimfconfig script Once IMF has been enabled, IMF will be persistently on. The following instructions are designed to turn off IMF for each Agent. To view which agents currently have active IMF registrations run the following command : # /opt/vrts/bin/amfstat The following process can be used to disable IMF for an agent. 1. Run on each node in the cluster and for each Agent that had IMF enabled: # haagent -stop <Agent> -force -sys <System> 2. After the agent(s) are stopped, stop the kernel module on each node in the cluster: # /etc/init.d/amf stop 3. Make sure that the IMF kernel module is no longer configured on all nodes in the cluster. Run on each cluster node to ensure IMF was turned off for all agents: # /etc/init.d/amf status 5

4. Run on each node and for each agent that had IMF enabled to restart the agent: # haagent -start <Agent > -sys <System> 5. Modify the startup file if IMF will be disabled for all Agents: Set the value of the AMF_START variable to 0 in the following file on every node in the cluster to disable IMF from starting automatically upon boot: # vi /etc/sysconfig/amf 6. Make the VCS configuration writable: # haconf -makerw 7. Run the following command to disable intelligent resource monitoring for each resource type that has IMF enabled: # hatype -modify <Agent > IMF -update 0 8. Save and close the VCS configuration: # haconf -dump -makero 6

Recommended values for setting IMF Attributes The values of the IMF attributes are per agent type and need to be set per agent. Recommended values for setting these attributes per agent are: : : : 0 FSType attribute value is vxfs: For VxFS version 5.1 SP1 For VxFS versions 5.1 or earlier FSType attribute value is other than vxfs Mount You can either set the to 0 or a high value. Setting the value of the key to a high value will ensure that the agent does not run the monitor function frequently. Setting the key to 0 will disable the traditional monitoring while IMF monitoring is in progress. Traditional monitoring will be done only after receiving the notification for a resource. With VxFS versions prior to 5.1 SP1, VCS IMF only monitors file systems getting mounted and unmounted. To monitor other events, you must enable poll-based monitoring. Set the key value to the frequency at which you want the agent to run the monitor agent function. VCS IMF monitors file systems getting mounted and unmounted. To monitor other events, you must enable poll-based monitoring. For the following cases, set the key value to the frequency at which you want the agent to run the monitor agent function. OptCheck attribute is not set to 0 AccessPermissionChk is not set to 0 SecondLevelMonitor (applicable only for nfs) is set to 1 CFSMount 0 or 1 Similar considerations as the Mount Resource Type Process Application Oracle 7

Netlsnr CVMVxconfigd 2 Online only Monitoring CFSFsckd IMF value settings: value 0 has IMF disabled value 1 is Offline only Monitoring value 2 is Online only Monitoring value 3 is both Online and Offline Monitoring Conclusion IMF was developed to take the CPU cost of application monitoring away. It provides an added benefit of instant notification with application monitoring to make a significant reduction of failover or restart times due to faster notification of resource faults. It is our recommendation that you implement this green technology to reduce your CPU load for your clustering product as well as reduce the amount of application downtime within your cluster. 8

About Symantec Symantec is a global leader in providing security, storage and systems management solutions to help businesses and consumers secure and manage their information. Headquartered in Mountain View, Calif., Symantec has operations in 40 countries. More information is available at www.symantec.com. 9

For specific country offices and contact numbers, please visit our Web site. For product information in the U.S., call toll-free 1 (800) 745 6054. Symantec Corporation World Headquarters 350 Ellis Street Mountain View, CA 94043 USA +1 (408) 517 8000 1 (800) 721 3934 www.symantec.com Copyright 2008 Symantec Corporation. All rights reserved. Symantec and the Symantec logo are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. 02/08 10