60 likes | 77 Views
Clustered Application. Clustered Application. Clustered Application. Clustered Application Policies. Clustered Application Policies. Clustered Application Policies. ZZcluster. ZZcluster. ZZcluster. Monitoring Clusters. Agent is cluster aware – NT/W2K/W2K3, HP-UX, Solaris, Veritas
E N D
Clustered Application Clustered Application Clustered Application Clustered Application Policies Clustered Application Policies Clustered Application Policies ZZcluster ZZcluster ZZcluster Monitoring Clusters • Agent is cluster aware – NT/W2K/W2K3, HP-UX, Solaris, Veritas • ‘APM’ subagent registers with cluster subsystem to receive cluster config change events • Enables and disables clustered application policies as appropriate. • Configured via two (or more) XML configuration files P o l i c i e s P o l i c i e s Resources Operating System Zag Zig Network Hardware
Monitoring Clusters - Example SQL Cluster A two Node Microsoft Cluster Server cluster with two SQL Instances Cluster Name:ZZcluster Shared E: drive (SQL) Network Name SQLVS1 etc. MSCS resource GROUP “SQLgroup1” SQL server instance data for default SQL server instance (“SQLVS1”) Shared F: drive Local Disk OS & SQL binaries (SQL) Network Name SQLVS2 etc. MSCS resource GROUP “SQLgroup2” SQL server instance data for the named “SQLVS2\SQLINSTANCE2” instance Local Disk OS & SQL binaries
Monitoring Clusters – Where to get the data? Where is the source data for the APMINFO.XML file? MSCS resource GROUP “SQLgroup1” MSCS resource GROUP “SQLgroup2” SQL server instance names for “SQLVS1” and “SQLVS2\SQLINSTANCE2” Cluster Admin Utility and SQL Enterprise Manager (both on the cluster nodes) are best sources of information. DB SPI will discover SQL instances…
Monitoring Clusters – Sample APMINFO.XML APM = “Application Package Management” %OvAgentDir%\bin\instrumentation\ dbspi_mssqlserver.APM.XML • Appl.APM.XML files install with Instrumentation • Define which policies need to be enabled for a package. • Can also include package start/stop actions. • Exchange SPI, DB SPIs, Webshere SPI , Weblogic SPI etc ship with Appl.APM.XML files • Must build for each cluster • (edit the XML sample ‘source’ with Notepad) • Manually copy to %OvAgentDir%\Conf\OpC • then opcagt –KILL / opcagt -START
Monitoring Clusters – Multiple ‘applications’ APMINFO.XML <Application> <Name> SQLX</Name> <Instance> <Name> SQLVS1 </Name> <Package> SQLgroup1</Package> </Instance> </Application> <Application> <Name> SQLY</Name> <Instance> <Name> SQLVS2\SQLINSTANCE2 </Name> <Package> SQLgroup2</Package> </Instance> <Instance> <Name> SQLVS6\BillsInstance </Name> <Package> TestGroup</Package> </Instance> </Application> SQLX.APM.XML <Name> SQLX</Name> <Template>SQL policy 1A</Template> <Template> SQL policy 1B</Template> … <StartCommand> $InstanceName <StopCommand> $InstancePackage SQLY.APM.XML <Name> SQLY</Name> <Template>SQL policy 2A</Template> <Template> SQL policy 2B</Template> … <StartCommand> $InstanceName <StopCommand> $InstancePackage