HP Model 712/60 System Configuration Repository User's Reference: HP-UX/HP 90
HP Model 712/60 - Workstation Manual
View all HP Model 712/60 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Model 712/60 manual content summary:
- HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 1
System Configuration Repository User's Reference HP-UX/HP 9000 Computers Edition 1.2 April 2001 Printed in: USA - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 2
Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability Packard product and replacement parts can be obtained from your local Sales and Service Office. Restricted Rights Legend Use, duplication, or disclosure by - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 3
Contents 1. Introduction 2. SCR Overview Installing SCR 13 Using SCR 14 Configuring SCR 15 Registering Managed Nodes 15 Setting the Data Collection Schedule 16 Collecting Configuration Data On Demand 17 Checking Data Collection Status 18 Viewing Configuration Information on a Node 19 Tracking - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 4
Contents 4 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 5
part number will change when extensive changes are made. Manual updates may be issued between editions to correct errors or document product changes. To ensure that you receive these updates or new editions, see your HP sales representative for details. April 2001...Edition 1.2. April 2000...Edition - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 6
tools. This guide contains the following information: • Chapter 1 , "Introduction," provides an introduction to this manual. • Chapter manual (no technical questions, please) can be directed to: [email protected]. Please consult your HP service and support representative for technical support - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 7
Typographic Conventions This guide uses the following typographic conventions: Boldface Computer User input file not found Bold, computer text indicates literal items that you type. For example: cd Manual titles and emphasized words appear in italics, as do values that you supply. For example, in - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 8
8 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 9
manual describes the features of Hewlett Packard's System Configuration Repository (SCR) for HP-UX and how to use them. Although powerful, SCR is simple to use, if you have a basic understanding of the HP can give you advance warning of potential problems. Using SCR, you can retrieve a instructions. 9 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 10
Introduction 10 Chapter 1 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 11
2 SCR Overview Figure 2-1 This chapter describes SCR and how it works. Then it tells you how to install SCR and how to configure it for first use. With this information, you can be tracking system changes and viewing reports about system nodes with SCR within a short time. SCR consists of seven - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 12
SCR Overview The Configuration Management component provides the scrconfig and scrstatus commands. Scrconfig maintains the configuration data collection schedule and managed node list. Scrstatus generates a status summary report of data collection activity. The Data Management component provides the - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 13
SCR Overview Installing SCR Installing SCR SCR is part of the SCR+DMI bundle. Install SCR+DMI to use SCR. SCR can only work on system nodes that have been configured to be managed by DMI. See the DMI User's Reference document for an explanation of DMI installation, concepts, and operations. When SCR+ - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 14
SCR SCR has two types of management systems: SCR Management Systems System Type Central Management Server (CMS) Managed Nodes Description An HP-UX system that maintains SCR Other HP-UX systems to be managed by the CMS. SCR can perform scheduled and on-demand configuration data collection on the - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 15
NOTE SCR Overview Configuring SCR Configuring SCR SCR must be configured to perform its data gathering and storing tasks. Use the scrconfig command to specify SCR tasks for each managed node. Registering Managed Nodes To begin, each managed node must be registered using the scrconfig command. To - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 16
SCR Overview Configuring SCR Setting the Data Collection Schedule The next step is to set up a day and time for the first data collection on each registered node. SCR will collect data automatically at that day and time each week. It takes a "snapshot" of the node data and stores it in the - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 17
SCR Overview Collecting Configuration Data On Demand Collecting Configuration Data On Demand The above steps set up automatic data collection on particular nodes at particular times. For immediate data collection, use the scrupdate command. For example, enter the following command to get a data - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 18
SCR Overview Checking Data Collection Status Checking Data Collection Status To check data collection status of all registered nodes, use the scrstatus command. This provides a summary report of the last, current, and scheduled data collection for all registered nodes, in time order. # scrstatus - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 19
that time is. # scrviewer elsa:latest elsa : 04/10/1999 13:05 PDT (latest) COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME HP Visualize Workstation : "HP-UX Standard Groups Definition" : "General Information" [System Name] elsa [System Location] 3000 Hanover St, Palo Alto, CA : If we - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 20
SCR Overview Tracking Configuration Changes with SCR Tracking Configuration Changes with SCR Use the scrhist command to check the configuration collection history for managed nodes. This command reports a brief list with node, time and tag information. To generate a report for all system nodes, enter - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 21
: 02/14/1999 12:05 PST [TARGET] elsa : 04/10/1999 13:05 PDT (latest) COMPONENT NAME BASE GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "Host File System" * [Host File System Index] - * [Mount Point] - * [Remote Mount Point] - * [File System Type] - * [File System - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 22
PDT (latest) COMPONENT NAME BASE TARGET GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "Host Processor" [Host Processor Index] 1 1 * [Processor Firmware ID "HP PA RISC1.1" "HP PA RISC2.0" * [Processor Load] 1 1 * [Host Processor Index] - 1 * [Processor Firmware ID - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 23
SCR Overview Using Tags to Simplify Node Management Using Tags to Simplify Node Management As you have already noticed, configuration designations are long. It is tedious to type them over and over, and it can be easy to mistype them. SCR allows you to replace a configuration designation with an - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 24
SCR Overview Using Tags to Simplify Node Management In the future, you can use the StandardConfig tag instead of typing the date and time in commands. Tags can be modified or deleted using options with scrtag. For example, to move the tag, StandardConfig, for node elsa to the next snapshot (now labeled - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 25
SCR Overview Using Filters Using Filters Component information collected by SCR might include information you do not want to see. With scrfilter, you can create a view or display filter to limit the information SCR shows you or prints. While the scrfilter command generally does not change what - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 26
Report elsa:04/18/1998 13:05 PDT COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME "HP-UX Installed Software Definition" Subproducts "scr dmi class" HPUX_Subproducts_ "scr dmi version" 001 "scr dmi key" "Subproduct Software Specification" [Subproduct Software Specification] C-ANSI - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 27
see none of the information shown above. You would, however, see a report about bundles and products and all the other information associated with the HP-UX Installed Software Definition component. Editing a Filter Definition You can modify a filter by sending the definition to a file, editing the file - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 28
SCR Overview Using Filters Standard Filters SCR comes with nine standard view/display filters that HP has defined for specific components. They are: • Disk • FileSystem • LVM • Network • Probe (special, see "Using the Probe Filter" on page 29) • Software • SystemProperty • Patch • - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 29
SCR Overview Using Filters Using the Probe Filter The Probe filter determines what information is collected from DMI components, groups, and attributes. The Probe filter determines what is stored in the SCR Repository. You can set Probe filter extension flags to collect (on) or not collect (off) specific - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 30
SCR Overview Additional Uses of SCR Additional Uses of SCR With the above procedures, you have configured SCR to begin collecting and reporting node data. You can further customize SCR's powerful commands using the information available in Chapter 3 and the man pages. In addition to the procedures - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 31
SCR Overview Additional Uses of SCR Change Management SCR can complement your system change management process by keeping good records of changes and alerting you to unplanned changes. • You can configure SCR to automatically take periodic snapshots. • You can take snapshots whenever you want them. • - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 32
SCR Overview Additional Uses of SCR Disaster Recovery SCR can also help with disaster recovery by showing you a comparison of the system state before and after recovery. To make disaster recovery most effective, set scrconfig to collect data weekly or more often, as described in step 3 above. 1. - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 33
SCR Reference (man Pages) - SCR Reference (man Pages) The System Configuration Repository extracts snapshots of a systems configuration by request and/or schedule and stores it as a record in the SCR persistent repository. The SCR is described in: • scr(5) - System Configuration Repository: page 34. - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 34
will include all relevant configuration information covered by HP-UX System Management Information Format (MIF) and HP Software MIF. SCR consists of seven components: Confi view commands, scrdiff and scrviewer. Repository Component provides services for storing configuration snapshots. 34 Reference - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 35
by the level of detail. Dependencies Between Software managed nodes The Desktop Management Interface for HP-UX product must be installed on managed nodes. management server The Desktop Management Interface for HP-UX product must be installed and functional before SCR is installed. SCR needs to be - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 36
SCR Reference (man Pages) scr (5) - EXAMPLES EXAMPLES SCR Configuration • Register the management server on managed nodes. The system administrator adds the management server name to the /var/dmi/dmiMachines file on each managed node to allow access from management server. • Register a managed node on - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 37
Data into SCR • Data expiration and data collection timeout parameters can be customized with the -e and -t options. See the scrconfig (1M) manual page for details. Collecting Configuration Data into SCR • For scheduled data collection, no further action is required. A daemon process is invoked by - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 38
12:05 PST [TARGET] node2 : 04/10/1999 13:05 PDT (latest) No filter applied. COMPONENT NAME BASE GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "Host File System" * [Host File System Index] - * [Mount Point] - node4:/SCR * [Remote Mount Point] - * [File System Type - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 39
node2:latest node2 : 04/10/1999 13:05 PDT (latest) No filter applied. COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME "HP-UX Installed Software Definition" : "HP-UX Standard Groups Definition" : "General Information" [System Name] node2 [System Location] W-206 : Reference 39 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 40
MIFs, a filter's extension flag can be set to on (visible) or off (masked). For example, suppose the software configuration data is not needed, the HP-UX Installed Software Definition component can be 40 Reference - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 41
node2 : 04/18/1998 13:05 PDT No filter applied. COMPONENT NAME GROUP NAME ATTRIBUTE NAME "HP-UX Installed Software Definition" "Bundle Contents" "scr dmi class" HPUX_BundleContents_ "scr dmi version" "scr dmi key" Specification,Index" VALUE 001 "Bundle Software [Bundle Software Specification - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 42
Standard Groups Definition component can be masked off with the command: # scrfilter -s filter1 "HP-UX Standard Groups Definition" \\\ "DNS Configuration" off FILES /opt/scr/bin Contains SCR executable files. /opt/scr/lbin Contains SCR backend executables for other commands. / - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 43
SCR Reference (man Pages) scrconfig (1M) - DESCRIPTION scrconfig (1M) NAME scrconfig - configure and query configuration parameters of SCR SYNOPSIS /opt/scr/bin/scrconfig [-f outfile] /opt/scr/bin/scrconfig -l [-n node] [-f outfile] /opt/scr/bin/scrconfig -d [-f outfile] /opt/scr/bin/scrconfig -n [{+ |- - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 44
node is not specified, list the managed node list. If node is specified, update the managed node list with node. node with prefix +(plus) is added to the list, and with prefix -(minus) is removed from the list. On removal, the database contents are also removed by scrdelete, which - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 45
SCR Reference (man Pages) scrconfig (1M) - Formats Formats -t [timeout | off] If timeout is not specified, list the default data collection timeout value. If timeout is specified, set the data collection timeout value to the specified value. If the keyword off is specified, no timeout will occur. The - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 46
System resource error - process, memory, or files. 4 Runtime error - cannot locate commands or files. 5 Communication error - DMI or network problem. 6 Specified node is not registered. 7 Specified node is already registered. EXAMPLES List Managed Nodes and Parameters View current parameters - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 47
SCR Reference (man Pages) scrconfig (1M) - Set Data Collection Interval Time Set Data Collection Interval Time Set the interval time for node1 to one week: # scrconfig -n node1 -i 1w Stop Data Collection Schedule Stop monitoring activity for node2: # scrconfig -n node2 -s off NOTE Default - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 48
SCR Reference (man Pages) scrdelete (1M) - DESCRIPTION scrdelete (1M) NAME scrdelete - remove SCR configuration information from the database SYNOPSIS /opt/scr/bin/scrdelete {-a | -n node } [ -f] [-p time1 [time2 ]] DESCRIPTION scrdelete removes specified configuration information from the System Con - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 49
SCR Reference (man Pages) scrdelete (1M) - EXTERNAL INFLUENCE EXTERNAL INFLUENCE Environment Variable TZ TZ determines the conversion between the system time in UTC and the time in the user's local time zone. See environ (5) and tztab (4). RETURN VALUE Upon completion, scrdelete returns with - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 50
SCR Reference (man Pages) scrdiff (1M) - DESCRIPTION scrdiff (1M) NAME scrdiff - list differences between data in SCR configuration snapshots SYNOPSIS /opt/scr/bin/scrdiff [-a] [-f filter] base_node:base_time target_node:target_time DESCRIPTION scrdiff lists configuration snapshot differences - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 51
SCR Reference (man Pages) scrdiff (1M) - EXTERNAL INFLUENCE [BASE] base_node : MM/DD/YYYY hh:mm tz (tag_name) [TARGET] target_node : MM/DD/YYYY hh:mm tz (tag_name) ATTRIBUTE NAME m component_name m group_name m attribute_name base_val ue base_val ue base_val ue target _value target _value - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 52
20:52 PDT [TARGET] node2 : 04/23/1999 10:15 PDT (latest) No filter applied. COMPONENT NAME BASE GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "General Information" * "System Name" node1 * "System Location" E-110 : : TARGET node2 W-206 : FILES /var/opt/scr/log/scrlog - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 53
from the managed nodes. Filter names must start with an alphabetic character. Optional following characters need to be one of alphabet(A-Z,a-z), digit(0-9), plus(+), hyphen(-) or underscore(_). The view extension flags, on and off, are set by copying and modifying the Template view filter. Template - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 54
Options SCR Reference (man Pages) scrfilter (1M) - Options -c filter new_filter Copy filter to new_filter. -d filter Delete filter. -i file Modify existing filter by specified filter file. The file can be generated by -o option. A filter name is described in the file and the filter needs to exist in - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 55
Formats -u filter SCR Reference (man Pages) scrfilter (1M) - Formats search condition is reset. The search condition affects the specified group only. Whether other groups are displayed or not depends on each view flag value of groups. The pattern needs to be enclosed by round brackets. Asterisk (*) - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 56
SCR Reference (man Pages) scrfilter (1M) - Formats Attribute: attribute2 : fla op g ti on Where flag above is either on or off. Where option above can be NewlyDetected, if the component, group, or attribute is detected using -u option. If a pattern is set to an attribute in repository, scrfilter - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 57
SCR Reference (man Pages) scrfilter (1M) - Formats to be followed by a blank line. The flag and pattern fields can be modified to customize a filter using -i option. scrfilter outputs the following messages. Filter "original_name" copied to "name". Filter "name" removed. Filter "name" renamed "new_name - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 58
. 3 Insufficient System resource - process, file, or memory. 4 Runtime error - cannot locate commands or files. 5 Communication error - DMI or network problem. 6 Specified filter is not registered. 7 Specified component, group or attribute is not identified. 8 Collection or template view filter - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 59
SCR Reference (man Pages) scrfilter (1M) - NOTE 11 Filter data version is unexpected. NOTE System Configuration Repository provides nine default filters, the collection filter, the template view filter and seven other pre-defined view filters. User-defined view filters can be created by copying the - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 60
Filter Contents List filter Template settings. # scrfilter -l Template [Filter Name]: Template [Data Version]: 1 [Extension]: on Component: DMI 2.0 Service Provider off Group: ComponentID on Attribute: Manufacturer on Attribute: Product on : Create Filter Create filter myFilter from - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 61
Device group. Only the rows in which the Device Type value matches with DiskStorage will be shown by scrviewer. # scrfilter -S DiskDevice "HP-UX Standard Groups Definition" \\\ "Host Device" "Device Type" "(DiskStorage)" Confirm the search condition of Disk Device filter. # scrfilter -l DiskDevice - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 62
filter file # scrviewer -f DiskDevice node1:Stable Filter "DiskDevice" applied. COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "Host Device" "scr dmi class" "HPUX_Host Device_" "scr dmi version" 001 "scr dmi key" "Host Device Index" [Host Device Index - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 63
SCR Reference (man Pages) scrfilter (1M) - FILES Apply the new setting from filter file SettingFile to filter myFilter. # scrfilter -i SettingFile FILES /var/opt/scr/log/scrlog.log Contains filter creation, deletion, and modification log. SEE ALSO scrdiff (1M), scrupdate (1M), scrviewer (1M), scr - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 64
SCR Reference (man Pages) scrhist (1M) - DESCRIPTION scrhist (1M) NAME scrhist - list existing SCR snapshots SYNOPSIS /opt/scr/bin/scrhist [-n node ... ] [-p start_time end_time] DESCRIPTION scrhist lists snapshots for target nodes in a given period of time. Target nodes can be specified by -n - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 65
SCR Reference (man Pages) scrhist (1M) - EXTERNAL INFLUENCE EXTERNAL INFLUENCE Environment Variable TZ TZ determines the conversion between the system time in UTC and the time in the user's local time zone. See environ (5) and tztab (4). RETURN VALUE Upon completion, scrhist returns with one of - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 66
SCR Reference (man Pages) scrstatus (1M) - DESCRIPTION scrstatus (1M) NAME scrstatus - list status of SCR data collection SYNOPSIS /opt/scr/bin/scrstatus /opt/scr/bin/scrstatus -a [-n node] /opt/scr/bin/scrstatus -r [-n node] DESCRIPTION scrstatus generates a status report of configuration data - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 67
an access error occurs, either the DMI is not functional or a network error prevents SCR from collecting data. Fix the DMI or network problem. If a runtime error occurs, a resource shortage such as file system, memory, or process resource prevented data collection. Increase the limiting resource. The - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 68
SCR Reference (man Pages) scrstatus (1M) - RETURN VALUE RETURN VALUE Upon completion, scrstatus returns with one of the following exit values: 0 Successful completion. 1 Syntax error. 2 Insufficient privilege. 3 Insufficient System resource - process, file, or memory. 4 Runtime error - - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 69
tag and time, removes a specified tag. The tag name must start with an alphabetic character. Optional following characters can be alphabet(A-Z,a-z), digit(0-9), plus(+), hyphen(-) or underscore(_). Options -l node tag Specified tag for node is converted to time. -r node time Specified time for node - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 70
SCR Reference (man Pages) scrtag (1M) - EXTERNAL INFLUENCE With the -l or -r option, scrtag outputs converted time or tag: YYYYMMDDhhmm tag_name With the -a, -m or -d option, scrtag outputs the following messages on successful termination: "node_name:tag_name" registered for MM/DD/YYYY hh:mm tz. " - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 71
SCR Reference (man Pages) scrtag (1M) - EXAMPLES EXAMPLES List All Tags List all registered tags # scrtag NODE node1 node2 TAG Stable latest oldest latest oldest TIME 01/31/1999 00:25 PST 04/10/1999 01:25 PDT 01/31/1999 00:25 PST 04/10/1999 16:00 PDT 02/07/1999 00:25 PST Display Time - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 72
SCR Reference (man Pages) scrupdate (1M) - DESCRIPTION scrupdate (1M) NAME scrupdate - update SCR contents SYNOPSIS /opt/scr/bin/scrupdate [-t name ] {-a | -n node} DESCRIPTION scrupdate collects system configuration information on registered managed nodes through DMI. scrupdate compares newly - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 73
ficient System resource - process, file, or memory. 4 Runtime error - cannot locate commands or files. 5 Communication error - DMI or network problem. 6 Specified node is not registered. EXAMPLES Collect configuration information for node node1. # scrupdate -n node1 Configuration data for "node1 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 74
SCR Reference (man Pages) scrviewer (1M) - DESCRIPTION scrviewer (1M) NAME scrviewer - view SCR configuration information SYNOPSIS /opt/scr/bin/scrviewer [-f filter ] node:time DESCRIPTION scrviewer displays configuration information on the specified node at the specified time. node is the hostname of - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 75
PDT. # scrviewer node1:199806231200 node1 : 06/23/1998 12:00 PDT (Stable) No filter applied. COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "DNS Configuration" "Domain Name" dom1.hp.com Search "Server IP Address(es)" 192.168.10.10 : : Reference 75 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 76
SCR Reference (man Pages) scrviewer (1M) - FILES FILES /var/opt/scr/log/scrlog.log Contains execution log. SEE ALSO scrfilter (1M), scrtag (1M), scr (5). 76 Reference - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 77
is displayed. The SCR logfile may contain entries of many different types. The entry types currently supported are: summary, detail, error, and note. The level of detail filters display some or all of that were executed. These commands may include HP-UX commands as well as SCR commands. Reference 77 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 78
date/time filters are used to ask for entries written since a specific date/time, before a specific date/time, or both. The user filters are supported for compatibility with samlog and dmilog only. SCR requires root privilege to operate. The following options enable you to set up filtering and other - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 79
SCR Reference (man Pages) scrlog_viewer (1M) - Options 1902-2037. If the year is not specified, the current year is used. If no start time is given, the beginning of the log is used as the start time. -e MMDDhhmm [[ CC ] YY ] The -e option sets the end date/time filter to the date/time given by its - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 80
disabled by default. The -n option forces non-interactive behavior. If specified, scrlog_viewer runs non-interactively, using the default or specified values for all supported options and source/destination files. Specifies the name of the file from which log data is read. The format of the data in the - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 81
SCR Reference (man Pages) scrlog_viewer (1M) - SEE ALSO SEE ALSO scrconfig (1M), scrdelete (1M), scrdiff (1M), scrfilter (1M), scrhist (1M), scrstatus (1M), scrtag (1M), scrupdate (1M), scrviewer (1M), scr (5). Reference 81 - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 82
SCR Reference (man Pages) scrlog_viewer (1M) - SEE ALSO 82 Reference - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 83
A SCR File Set This Appendix tells you how to get information on SCR file sets. SCR is comprised of three filesets: SCR-RUN, SCR-MAN, and SCR-MX. If more information regarding the fileset contents and their attributes is needed, then the following command can be executed: /usr/sbin/swlist -v -l file - HP Model 712/60 | System Configuration Repository User's Reference: HP-UX/HP 90 - Page 84
SCR File Set 84 Appendix A
System Configuration Repository
User’s Reference
HP-UX/HP 9000 Computers
Edition 1.2
April 2001
Printed in: USA