1 / 90

ASAP Server Components Overview

ASAP Server Components Overview. ASAP Server Components. APP. CPU & PCB. DISK. EXPAND. MONITOR. COLLECTOR. NODE. ASAP CI. PROCESS. RDF. LOG. SPOOLER. TAPE. TMF. ASAP - Command, Control, & Diagnosis. ASAP command interpreter provides:

preston
Download Presentation

ASAP Server Components Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASAP Server Components Overview ASAP Server Components APP CPU & PCB DISK EXPAND MONITOR COLLECTOR NODE ASAP CI PROCESS RDF LOG SPOOLER TAPE TMF

  2. ASAP - Command, Control, & Diagnosis ASAP command interpreter provides: • Command, control, status, and reporting for ASAP. • ASAP database configuration. • ASAP CI is also used to view ASAP exception log. This section covers: • ASAP CI control commands. • ASAP CI control example. • ASAP CI status and log commands. • ASAP CI database configuration commands. • ASAP CI database maintenance commands. • ASAP CI server time synchronization. • ASAP CI entity display commands. • ASAP CI basic commands.

  3. PC Host Remote Hosts ASAP CI - Control Commands SET Displays or Alters ASAP Server Settings. STARTUP Starts COLLECT or MONITOR in specified nodes. SHUTDOWN Stops COLLECT or MONITOR in specified nodes.

  4. DBAPP DBDSK DBCPU ASAP DATABASE FEATURES • ASAP Relational DB provides History of Objects, States, Performance, and Service Level objectives. • Data Base Automatically maintained. • User defined database partitions. • Schema published in TIM and as DDL on CD • Published DDL allows Ad Hoc DB Queries • Provides Customer/Third Party DB access

  5. ASAP Database Configuration ASAP Database configuration allows: • Default Database support. • User defined Database location. • Defined partition support for any ASAP entity. • User defined default partitioning rules. Database configuration commands: • SET Collect command. • SET DB command. • SET SLEEPTIME command. • SET Partition command. Note: Asap Version 1 records can be written to the ASAP Version 2 collector.

  6. Database Commands • SET COLLECT defines the Node were the ASAP Database resides. SET COLLECT \DBNODE • SET DB defines the location ($Volume.subvol) for the ASAP database files SET DB $DATA.ASAPDB.DB • SET SLEEPTIME defines the time range (hhmm,hhmm) that statistics collection does not occur. Although statistics collection ceases, the ASAP system remains active. SET SLEEPTIME 00:00, 03:30

  7. DBCPU Part 0 DBCPU Part 1 DBCPU Part 2 $Data00 $Data01 $Data02 Partition Command • SET PARTITION displays and defines partitioning parameters for the ASAP database. Asap partitioning uses standard NSK partitioning rules. The parameters can be set individually for each entity, globally for all entities, or may utilize a combination of the two approaches. To display the current partitioning settings, enter SET PARTITION without any additional parameters.

  8. SET PARTITION Continued • SET PARTITION [ <partition descriptor> | <reset descriptor> | FORMAT2 ] The <partition descriptor> has the following format: { <entity> | DEFAULT } { <part-num> | BASE | ALL } <part-opt> [, <part-opt>] <entity> is the name of the specific entity (e.g. CPU, DISK) to which the partitioning options apply. DEFAULT can be used in place of an entity name in order to set default properties which will apply to all entities. <part-num> is the partition number to which the partitioning options apply. The value must be between 0 and 15 inclusive, BASE, or ALL, where 0 and BASE indicate the base partition of the given entity, and values 1 - 15 indicate secondary partitions. ALL can be used in place of a partition number in order to specify primary and secondary extent sizes or maxextents values that are to apply to all partitions of the entity.

  9. SET PARTITION Continued <part-opt> is one of: {KEY <key-value> } { SYSNO <system-number> } { PRIEXT <ext-value> } { SECEXT <ext-value> } { MAXEXTENTS <maxext-value> } { VOLUME <volume-name> } The SET PARTITION command can also be used to reset the partitioning attributes for all entities, a given entity, a single partition, or a single attribute of a single partition. To do so, use the SET PARTITION command with a <reset descriptor>. SET PARTITION RESET SET PARTITION DEFAULT 1 RESET SET PARTITION DEFAULT 1 KEY “FUNDSTRANSFER” RESET SET PARTITION FORMAT2 ON FORMAT2 ON|OFF allows files to grow beyond 2 GB.

  10. SET PARTITION Notes NOTES: • A VOLUME cannot be specified for a base partition (i.e. partition number = 0), since this is controlled by the SET DB command. • Volume, SysNo, and Key values cannot be specified if the partition number is all. • A KEY and/or SYSNO value must be given for all secondary partitions. • Partitioning keys (made up of a combination of the SYSNO and KEY values) must be defined in ascending order for each partition. • A VOLUME must be given for all secondary partitions.

  11. Notes Continued • MAXEXTENTS values cannot be specified for secondary partitions if Format2 is ON. • PRIEXT, SECEXT, and MAXEXTS values specified for partitions of the DEFAULT entity are used when creating partitions of all other entities. • The collector automatically adjusts the length of the partitioning keys. • SET DB command will reset all partitioning attributes. • The Collector utilizes only valid partition descriptions when creating the database. • When partitioning is enabled for a given entity, the "Valid" column of the SET PARTITION output will indicate the status of each configured partition. The column contains one of the following values: • YES • No-Vol • No-Sys/Key • No-Vol, Sys/Key • No-Prior Inv • ??-Key Seq • ??-Dup Vol • ??-Vol UnKnown • ??-Vol Down • ??-Partn Size • MaxExt n/a

  12. SET PARTITION Examples • SET PARTITION DEFAULT ALL PRIEXT 256, SECEXT 512, MAXEXTENTS 300 • SET PARTITION PROCESS 1 SYSNO 53 • SET PARTITION PROCESS 1 SYSNO 11, VOLUME $DATA1 • SET PARTITION PROCESS 2 SYSNO 21, VOLUME $DATA2 • SET PARTITION APP 1 SYSNO 120, KEY “FUNDSTRANSFER”, VOLUME $DATA • SET PARTITION APP 0 SYSNO 120

  13. ASAP 2 Entities

  14. ASAP 2.0 ENTITIES ASAP Entities Characteristics: • Default Entity support. • User defined Entity configurations. • Entities can report on availability of user specified objects. • User defined threshold settings of specified objects and attributes using the operators >, <, =, <>, <= and >=. Entity configuration commands: • SET <entity> command. • MONITOR command. • RANK <entity> command. Note: Asap Version 1 records can be written to the ASAP Version 2 collector.

  15. CPU Entity Features $<AsapID>0..F • All CPU types are supported. • All memory types are supported. • Auto-discovery of all configured cpu’s. • Performance availability counters. • Supports user defined CPU object monitoring. • Supports user defined discrete object thresholds

  16. CPU Attributes

  17. DISK Entity Features $<AsapID>J • All disk types are supported except for Virtual disks and optical disks. • Auto-discovery of all configured disk volumes. • Availability information reported by the client is: The largest performance value of a volume pair. Highest operational state information of the volume pair. • Supports user defined disk object monitoring. • Supports user defined discrete object thresholds

  18. DISK SET Command • SET Disk ON|OFF Enables/Disables disk availability information. Default OFF • Set Disk object $System.system.asapdsk defines theDisk program object filename. Default $SYSTEM.SYSTEM.ASAPDSK • Set Disk Param “Param, param1…” Disk params: CPU <cpu num> defines the Cpu where the MEASFH process will reside. NOMEAS prevents disk performance statistics and availability thresholds from being collected. RATE <minutes> defines the interval, in minutes, that DISK availability information is reported back to the Collector. The Disk SGP uses the ASAP rate as the default.

  19. DISK SET Command Continued Disk Params Cont: VOLUME [<$volume>][.][<subvolume>] specifies the location of the Measure Data file. Default $System.system SUBVOL <subvolume> specifies the subvolume location of the Measure Data file. The default subvolume is SYSTEM. SWAPVOL [<$volume>] specifies the location for the Measfh swap volume. The default is $SYSTEM. Here is an example of the SET DISK command: +SET DISK ON, OBJECT $SYSTEM.ASAP.ASAPDSK, PARAMETERS “SWAPVOL $DATA.ASAP RATE 10"

  20. DISK Attributes

  21. DISK – Troubleshooting tips • DISK SGP uses measure API interface for collecting raw DP2 counters. • Use the commands in MEASCOM for determining if it is a measure problem or disk entity problem • ADD MEASUREMENT $VOL.SUBVOL.ZASP<AsapID> • STATUS MEASSUBSYS • LISTACTIVE DISC $VOL (Cpu, Channel, Controller Unit) LISTACTIVE DISC $SYSTEM (0, 0, %24, 0) or (0, 0, 20, 0) • LISTACTIVE DISC $VOL (cpu, SVNET, Group, Module, Slot) LISTACTIVE DISC $SYSTEM (0, X, 1, 1, 11) • STOP MEASUREMENT $VOL.SUBVOL.ZASP<ASAPID> • DELETE MEASUREMENT $VOL.SUBVOL.ZASP<ASAPID>

  22. EXPAND Entity Features $<AsapID>K • All Expand line types are supported. Including multi-line Expand. • Auto-discovery of all configured Expand lines and Expand paths. • Performance availability counters. • Expand SGP is a multiple entity. The two entity types are Expand and ExpandIP. • Supports user defined Expand object monitoring. • Supports user defined discrete object thresholds

  23. EXPAND Set Command • Set Expand ON|OFF Enables/Disables Expand availability information. Default OFF • Set Expand object $System.system.asapdsk definestheExpand program object filename. Default $SYSTEM.SYSTEM.ASAPEXP • Set Expand Param “Param” Expand params: RATE <minutes> defines the interval, in minutes, that EXPAND statistics are reported back to the Collector. The Expand SGP uses the ASAP rate as the default. Here is an example of the SET EXPAND command: +SET EXPAND ON, OBJECT $SYSTEM.ASAP.ASAPEXP, PARAMETERS “RATE 10"

  24. EXPAND Attributes

  25. EXPANDIP Attributes

  26. EXPANDIP Attributes Continued

  27. EXPAND – Troubleshooting tips • Expand SGP uses SPI interface for communicating with the Expand manager process $Zexp. • Use the commands in SCF for determining if it is a Expand manager problem or Expand entity problem • Assume line $<Expand line handler> Type 63 subtype 1,2,6 are Multiline Expand. • STATS LINE $<Expand line handler> • STATS PATH $<Expand line handler>non multiline Expand • STATS PATH $<Path name> • STOP $ZEXP if allowed by customer

  28. File Features $<AsapID>L • File domain can be a selected file or a sub-volume • Domain name examples: • $System.system.userid • $Data.sqldb • All file types supported, including Format2, SQL, virtual files, but not OSS files • Sub-domains attributes and states are aggregated to the sub-volume domain level • Detailed information about sub-domains of a sub-volume is available via ‘Show Object Details’ Client popup menu • Auto-discovers ASAPMON file • Supports user defined file object monitoring. • Supports user defined discrete object thresholds

  29. FILE Set Command • Set File ON|OFF Enables/Disables file availability information. Default ON • Set File object $System.System.Asapfil defines theFile program object filename. Default $SYSTEM.SYSTEM.ASAPFIL • Set File Param “Param” File params: RATE <minutes> defines the interval, in minutes, that FILE availability information is reported back to the Collector. The File SGP uses the ASAP rate as the default. Here is an example of the SET FILE command: +SET FILE ON, OBJECT $SYSTEM.ASAP.ASAPFIL, PARAMETERS “RATE 10"

  30. File Attributes *Status attribute also has StateIsOp=Yes, you cannot set objectives on it. .

  31. NODE Entity Features $<AsapID>G • Auto-discovery of all configured nodes. • End to End Performance availability counters. • Does NOT support user defined node object monitoring. • Does NOT support user defined discrete object thresholds

  32. NODE Set Command • Set Node ON|OFF Enables/Disables Node availability information. Default OFF • Set File object $System.System.Asapncp defines thenode program object filename. Default $SYSTEM.SYSTEM.ASAPNCP • Set Node Param “Param” Node params: RATE <minutes> defines the interval, in minutes, that NODE statistics are reported back to the Collector. The Node SGP uses the ASAP rate as the default. Here is an example of the SET NODE command: +SET NODE ON, OBJECT $SYSTEM.ASAP.ASAPNCP, PARAMETERS “RATE 10"

  33. PROCESS Entity Features $<AsapID>T • NonStop Kernel are supported, OSS processes are not supported. • Performance availability counters. • User defined process object monitoring. • User defined discrete object thresholds support. • Auto-discovery of $<aspaid>M

  34. PROCESS Set Command • Set Process ON|OFF Enables/Disables Process availability information. Default ON. • Set Process object $System.System.Asappro defines theProcess program object filename. Default $SYSTEM.SYSTEM.ASAPPRO • Set Process Param “Param, Param1” Process params: RATE <minutes> defines the interval, in minutes, that PROCESS availability information is reported back to the Collector. The Process SGP uses the ASAP rate as the default. TRACE turns on $RECEIVE trace to the EMS and ASAP log files. Here is an example of the SET PROCESS command: +SET PROCESS ON, OBJECT $SYSTEM.ASAP.ASAPPRO, PARAMETERS “RATE 10 TRACE"

  35. PROCESS Objective Attributes • The following process attributes can have objectives set against using the RANK PROCESS, <attr> <Val> command.

  36. PROCESSBUSY Features $<AsapID>0..F • All NonStop Kernel processes are supported. • Ranks n Busiest Processes. • Performance availability counters. • Supports user defined Busy PCB object monitoring. • Supports user defined discrete object thresholds

  37. PROCESSBUSY Attributes

  38. PROCESSBUSY Set Command • Processbusy is not an Extended SGP it is part of the CPUSGP ($ZOO0..$ZOOF) • To set Processbusy availability information off use the Monitor Processbusy 0..F,OFF. Default ON • Set Processbusy Param “Param, Param1” Processbusy params ENTRIES <cnt> defines the number of busy processes per CPU will be collected/displayed. The range is 1- 20. default is 3. This attribute is optional. SUBSAMPLES <cnt> defines the number of subsampling will be taken during a sample interval, specified by SET RATE. The range is 1- 10. The default is 3. This attribute is optional. Example: SET PROCESSBUSY ENTRIES 5, SUBSAMPLES 3.

  39. RDF Features $<AsapID>N • Supported with RDF/IMP(X) V1.3 onward • RDF SGP object by default is installed on $SYSTEM.RDF.ASAPRDF • Collects availability information on the RDF monitor, extractors, receivers, updaters and purger. • Supports user defined RDF object monitoring. • Supports user defined discrete object thresholds • SGP autodiscovers RDF environments by finding RDF CONFIG files (code 721) on $SYSTEM

  40. RDF Set Command • Set RDF ON|OFF Enables/Disables RDF availability information. Default OFF • Set RDF object $System.System.Asaprdf defines theRDF program object filename. Default $SYSTEM.SYSTEM.ASAPRDF • Set RDF Param “Param, Param1” RDF params: RATE <minutes> defines the interval, in minutes, that RDF availability information is reported back to the Collector. The RDF SGP uses the ASAP rate as the default. TRACE turns on $RECEIVE trace to the EMS and ASAP log files. Here is an example of the SET RDF command: +SET RDF ON, OBJECT $SYSTEM.ASAP.ASAPRDF, PARAMETERS “RATE 10 TRACE"

  41. MONITOR RDF command • The alternative to autodiscovery is to monitor specific RDF environments. MONITOR RDF CHI->NYC(note no backslashes on node names) • Limited validation, errors will be reported by RDF SGP to event log every poll interval

  42. RDF Objective Attributes • The following RDF attributes can have objectives set against using the RANK RDF, <attr> <Val> command.

  43. RDF Command RDF [/out <file>/] [\* ] [[.] * ] [, <options>] [\<node>] [[.] <domain>] where options is one or more of: CPUDisplays RDF domain/metric values in the specified CPU DETAILDisplays RDF Metric values based on FORMAT command settings. SAMPLES Number of samples to display. STATE Displays RDF Metric values and their objective states. TIME Show stats starting at a time other than the current time. VOLUME Displays the associated disk volumes.

  44. RDF Troubleshooting • Check RDF SGP is actually running on both the RDF primary and backup nodes • If no stats are being reported, check RDF status with RDFCOM from the RDF primary system using STATUS RDF • If autodiscovery is being used find all the code 721 RDF CONFIG files FILEINFO $SYSTEM.*.CONFIGThis will show the environments that should be reporting stats • If using MONITOR RDF for specific RDF environments check what is being monitored with MONITOR RDF, LIST • Manually stopping the $<AsapIA>N process will cause it to be re-started and re-autodiscover

  45. Spooler Features $<AsapID>O • Spooler autoconfiguration is $SPLS • 4 Spooler sub-domains for each spooler domain. • $SPLS\Coll, $SPLS\Dev, $SPLS\Print and $SPLS\Super for the $SPLS spooler • Specific detail information at a lower sub-domain level • $SPLS\DEV\$LP has specific device info • Spooler monitoring is done at the top domain level • MONITOR SPOOLER $SPLS • Spooler ranking can be done at any level • RANK SPOOLER $SPLS\DEV\$LP, DEACTIVATE

  46. Spooler Features (cont.) • Information available in 2 modes: aggregation and detail • $SPLS\Dev is the aggregate for the print devices • $SPLS\Dev\$LP is a specific device available in detail mode • SGP default mode is aggregation • Use SGP startup parameter DETAIL to have SGP work in detail mode

  47. SPOOLER Set Command • Set Spooler ON|OFF Enables/Disables Spooler availability information. Default OFF • Set Spooler object $System.System.Asapspl defines thenode program object filename. Default $SYSTEM.SYSTEM.ASAPSPL • Set SPL Param “Param, Param1” SPL params: DETAIL returns individual records for the spooler collector, processes and devices. RATE <minutes> defines the interval, in minutes, that Spooler availability information is reported back to the Collector. The Spooler SGP uses the ASAP rate as the default.

  48. SPOOLER Set Command Continued TRACE turns on $RECEIVE trace to the EMS and ASAP log files. Here is an example of the SET SPOOLER command: +SET SPOOLER ON, OBJECT $SYSTEM.ASAP.ASAPSPL, PARAMETERS “RATE 10 TRACE"

  49. Spooler Attributes *Status attribute also has StateIsOp=Yes, you cannot set objectives on it.

  50. Spooler Attributes - Detail

More Related