Chapter 2
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 easy to
use tag. There are two types of tags in SCR, system managed and user
defined.
• System managed tags (oldest and latest) are used automatically to
indicate the oldest and latest configuration for each node. These tags
are managed by the system and updated for you as needed.
• User defined tags are used to represent other system configuration
snapshots. If you tag a configuration, SCR assumes it is important to
you and does not automatically delete it when it would expire. You
can delete the configuration with scrdelete when you want to. You
can remove the tag with scrtag.
Use the scrtag command to create or use tags. For example, suppose the
node elsa has frequent configuration changes lately, as shown below.
# scrhist
NODE
TIME
ERR
TAG
elsa
02/07/1999 12:05 PST
oldest
04/14/1999 13:05 PDT
04/15/1999 13:05 PDT
04/17/1999 13:05 PDT
04/18/1999 13:05 PDT
latest
You can use the oldest and latest tags in future commands, instead of
typing the date and time they represent (02/07/1999 12:05 PST and
04/18/1999 13:05 PDT). You can also create tags to use as labels for the
other snapshots.
The following command generates the tag, StandardConfig, as a label
for the time, 199904171305.:
# scrtag –a elsa StandardConfig 199904171305
Then, the scrtag command generates a report that identifies current
tags, similar to the following example.
# scrtag
NODE
TAG
TIME
elsa
StandardConfig
04/17/1999 13:05 PDT
latest
04/18/1999 13:05 PDT
oldest
02/07/1999 12:05 PST
Summary of Contents for 705 Workstation
Page 4: ...4 Contents ...
Page 8: ...8 ...
Page 10: ...10 Chapter1 Introduction ...
Page 82: ...82 Reference SCR Reference man Pages scrlog_viewer 1M SEE ALSO ...
Page 84: ...84 AppendixA SCR File Set ...