Home

How do I

Soft - is your software and documentation
Asset - is something that must be protected
Management - is what we do
Enterprise - is the capability
Computing - is the power
Services - are what we provide


ClearCase VOBs - “How do I” covers: (Last updated 12-Nov-09)

·                Elements – identifying by oid, source container, etc...

·                Triggers copying, ACL’s, applying, etc...

·                Types & Type manager – manually reconstruct cleartext, magic files, type manger, restoring elements, etc...

·                Links - hard links, etc...

·                VOB (Raima) database – Raima database errors.

·                VOB database – 2GB database files limit, reducing the size of string file, etc...

·                Storage - .(dot) identify file, renaming VOB storage, VOB tags, etc...

·                Backup & restore – about file system snapshots, etc...

·                ClearCase commands – rmname and checkouts, etc...

·                Scripts & utilities – changing ownership of all objects in, listing locked, last time VOB accessed, etc...

·                Limitations – of storage, etc...

·                Problems & Issues – VOB symbolic link issue, etc...

·                Addendums – to: mkvob –nremote_admin, etc

Table of Contents

ClearCase VOBs - “How do I” covers: (Last updated 12-Nov-09) 1

Table of Contents. 1

Elements. 5

1.       How do I – understand using directory protections is not sufficient to protect the contained elements. 5

2.       How do I - determine the full pathname and version of an element identified only by its oid. 5

3.       How do I - Identify elements by the source container path. 6

4.       How do I – understand the Primary Group requirements for element creation. 8

5.       How do I - Restore an element that has been rmnamed. 9

6.       How do I – understand what the History Mode element means. 11

7.       How do I - List and count the number of elements in VOB. 11

8.       How do I – understand the “db_obj_delete_V3: RPC: Unable to receive; errno = Connection reset by peer when running rmelem” issue  13

Triggers. 13

9.       How do I - determine the amount of elapsed time ClearCase spends in trigger logic. 13

10.     How do I - create a preop checkin trigger that does not fire on directories. 15

11.     How do I - copy a Trigger Type. 15

12.     How do I - use Access Control Lists with triggers to restrict operations to specific groups. 15

13.     How do I – understand about deleted user accounts and ClearCase performance. 16

14.     How do I - apply a trigger to the ClearCase move operation. 18

15.     How do I – create a trigger to prevent unreserved checkouts on UNIX and Linux. 19

16.     How do I – enforce a standard set of triggers from windows to control mklbtype, rmlbtype, etc... 19

17.     How do I - detect whether a checkin is part of an Add to Source Control operation in a trigger 20

18.     How do I - change element ownership when new elements are added to the VOB. 22

Methodology. 22

19.     How do I - convert a base ClearCase VOB to a UCM Component 22

20.     How do I – understand about reserved and unreserved checkouts. 26

21.     How do I - run JRE version 1.4.2_05 and higher within a VOB context on Linux. 29

22.     How do I - convert a VOB to an AdminVOB. 30

23.     How do I - suppress the confirmation dialogue box that displays VOBs that have been mounted. 30

Types and Type manager. 31

24.     How do I – handle binary files in ClearCase. 31

25.     How do I - manually construct cleartext 34

26.     How do I – understand the VOB server operation Create Container failed issue. 36

27.     How do I – understand how ClearCase evaluates multiple magic files. 37

28.     How do I – use the ClearCase Magic file. 38

29.     How do I – Add a new element type to the local cc.magic file. 40

30.     How do I – understand how the file type of a new element is determined. 42

31.     How do I – Change element types in a replicated VOB. 43

32.     How do I - restore an element from backup using standard file copy. 44

33.     How do I – Knowledge Collection: Type manager <text_file_delta> failed create_version operation. 46

34.     How do I – resolve a Type manager text_file_delta failed create_version operation. 46

35.     do I – understand the text_file_delta: Error: "foo.c" is not a 'text file': it contains a line exceeding 8000 bytes  48

36.     How do I – understand about type managers and size limitations. 49

37.     How do I – understand the file too large error checking in a text file issue. 49

38.     How do I – understand the mkbrtype command. 51

39.     How do I – understand how file types are determined when creating a new element 52

40.     How do – use the new Merge Type Copy feature with ClearCase version 7. 53

41.     How do I – resolve a definition of type in AdminVOB would be eclipsed issue. 53

42.     How do I – understand the type manager text_file_delta failed create_version operation issue. 55

43.     How do I - change the XML Diff/Merge Type Manager 56

Links. 64

44.     How do I - identifying hard links within a VOB. 64

45.     How do I – understand the VOB hard link created due to canceled checkout issue. 65

46.     How do I – understand about locating checkouts for VOB symbolic links. 66

47.     How do I - create Symbolic Links (symlinks) from command line. 67

48.     How do I - create Symbolic Links (symlinks) from the GUI 68

49.     How do I – manage symbolic links in ClearCase interop. 70

50.     How do I - remove Symbolic and Hard Links in ClearCase. 71

VOB (Raima) database. 73

51.     How do I – understand the db_VISTA error 2 from OpenFileMapping() of lockmgr_almd. 73

52.     How do I – understand the db_VISTA database error -4 - invalid database. 73

53.     How do I – understand db_VISTA database error -5 - invalid field name. 74

54.     How do I – understand VISTA error -6 – invalid db_address. 76

55.     How do I – understand db_VISTA error -900 (errno == "No such file or directory") 78

56.     How do I – understand db_VISTA database error -900 - no more space on file. 78

57.     How do I – understand db_VISTA error -901 (errno == "Resource temporarily unavailable") Error: Shared memory version changed on lock. 79

58.     How do I – understand the shared memory version changed on lock. 80

59.     How do I – understand db_VISTA database error -901 - system error - vobrpc_server- About the interaction between ClearCase and file system snapshots. 81

60.     How do I understand about db_VISTA error -901 (errno == "Permission denied") -901 (errno == "Permission denied"). 81

61.     How do I - understand db_VISTA database error -901 - system error - db_server - Shared-memory version not set, but there are live logged-in users. 82

62.     How do I – understand db_VISTA database error -905 - error opening file. 82

63.     How do I – understand db_VISTA database error -904 - unable to allocate sufficient memory SCENARIO: 83

64.     How do I – understand db_VISTA database error -905 - error opening file. 83

65.     How do I – understand db_VISTA error -907 (errno == "Resource temporarily unavailable") 84

66.     How do I – understand db_VISTA error -907 (errno == "Resource temporarily unavailable") 85

67.     How do I – understand db_VISTA database error -909 - file record limit exceeded. 86

68.     How do I – understand db_VISTA error -912 (errno == "Invalid argument") 87

69.     How do I – understand db_VISTA error -919 (errno == "Resource temporarily unavailable") 88

70.     How do I – understand db_VISTA database error -920 - no lock manager is & db_VISTA error 2 from OpenFileMapping() of lockmgr_almd. 88

71.     How do I – understand db_VISTA database -922: lockmgr is busy. 90

72.     How do I – understand db_VISTA error -925 (errno == "Resource temporarily unavailable") 90

73.     How do I - reduce the size of the string file for a ClearCase VOB. 91

74.     How do I – understand about the 2 Gigabyte limitation of VOB database files. 92

75.     How do I - remove all Derived Objects from a VOB. 94

VOB database. 95

76.     How do I – the issue reformatvob does not set the VOB replicated attribute entry of a replicated VOB. 95

77.     How do I - increase reformatvob performance. 96

78.     How do I - manually reformat VOB database using db_dumper and db_loader, when reformatvob does not  work  97

79.     How do I – understand why a database must be dumped before it can be loaded. 99

80.     How do I – understand the VOB database files that can be regenerated or replaced. 101

81.     How do I – understand about ClearCase database vista.* files. 102

82.     How do I – understand about ClearCase event records in the VOB database. 103

83.     How do I – understand the “Lock manager unable to recover from "User Table full" condition which may cause VOBs to become inaccessible” issue. 104

84.     How do I – understand why ClearCase spawns hundreds of db_server processes. 105

Storage. 105

85.     How do I – understand about the lost+found directory. 105

86.     How do I - rename a ClearCase VOB (applies to renaming a view as well) 111

87.     How do I – understand the additional groups in .identity directory not preserved after moving a VOB issue  111

88.     How do I – resolve there are no generated data sources available for storage dir issue. 112

89.     How do I – understand the permission to mount the VOB tag requires ownership of the VOB storage directory issue  112

90.     How do I – understand about cleartool mount options. 113

91.     How do I - recreate the cleartext storage pool 113

92.     How do I – address the the chown_pool and chown_container support issue on Linux. 114

Backup and restore. 114

93.     How do I – understand about the interaction between ClearCase and file system snapshots. 114

94.     How do I - restore an element from backup using clearexport_ccase. 115

ClearCase commands. 116

95.     How do I – understand about cleartool rmname and checkouts. 116

96.     How do I – understand why locking an element with the -obsolete option does not hide it from view.. 117

Scripts and utilities. 117

97.     How do I - list locked VOBs. 117

98.     How do I - change the ownership of all objects in a VOB. 118

99.     How do I - determine the last time a VOB was modified. 118

100.        How do I - find all checkins in a VOB that occurred since a particular date. 119

101.        How do I - automate uncheckout 119

102.        How do I - list and count the number of elements in VOB. 119

103.        How do I - show disk utilization per branch per element using UNIX du command. 121

Limitations. 122

104.        How do I – understand the issue of hosting VOB Servers on VMware. 122

105.        How do I – understand the limits on the number of VOBs stored on a single VOB server 122

106.        How do I – understand about the limits for simultaneously mounting VOBs on a single host 122

107.        How do I – understand that increasing the lockmgr parameters can cause NFS deadlocks. 123

Addendums. 124

108.        How do I – understand the supplement to the Command Reference Guide on mkvob -nremote_admin  124

109.        How do I – understand the supplement to the Command Reference Guide on comments. 124

110.        How do I – understand the supplement to the Command Reference Guide on mktrtype. 124