HP Model 755/125cL System Configuration Repository User's Reference: HP-UX/HP - Page 71

Examples, Note, Files, See Also

Page 71 highlights

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 Associated with Tag Display the time associated with tag Stable for node node1. # scrtag -l node1 Stable 199901310025 Set tag Set tag Standard for node node1 to Feb 7 13:00, 1999: # scrtag -a node1 Standard 199902071300 Remove Tag Remove the tag Standard for node node1: # scrtag -d node1 Standard NOTE The System Configuration Repository maintains the latest and oldest tags for each node as scrupdate probes each managed node. These tags are controlled by the system and treated as read-only tags. Any attempt to add, modify, or remove these tags are checked out. The expiration period of configuration data can be set so that as time passes, snapshots not associated with user defined tags are removed. Use scrdelete with the -f option to remove snapshots with associated user defined tags. FILES /var/opt/scr/log/scrlog.log Contains tag addition, modification and deletion log. SEE ALSO scrdelete (1M), scrupdate (1M), scr (5). Reference 71

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84

Reference
71
SCR Reference (man Pages)
scrtag (1M) - EXAMPLES
EXAMPLES
List All Tags
List all registered tags
# scrtag
NODE
TAG
TIME
node1
Stable
01/31/1999 00:25 PST
latest
04/10/1999 01:25 PDT
oldest
01/31/1999 00:25 PST
node2
latest
04/10/1999 16:00 PDT
oldest
02/07/1999 00:25 PST
Display Time Associated with Tag
Display the time associated with tag
Stable
for node
node1
.
# scrtag -l node1 Stable
199901310025
Set tag
Set tag
Standard
for node
node1
to Feb 7 13:00, 1999:
# scrtag -a node1 Standard 199902071300
Remove Tag
Remove the tag
Standard
for node
node1
:
# scrtag -d node1 Standard
NOTE
The System Configuration Repository maintains the latest and oldest
tags for each node as
scrupdate
probes each managed node. These tags
are controlled by the system and treated as read-only tags. Any attempt
to add, modify, or remove these tags are checked out. The expiration
period of configuration data can be set so that as time passes, snapshots
not associated with user defined tags are removed. Use
scrdelete
with
the
-f
option to remove snapshots with associated user defined tags.
FILES
/var/opt/scr/log/scrlog.log
Contains tag addition, modification
and deletion log.
SEE ALSO
scrdelete
(1M),
scrupdate
(1M),
scr
(5).