Professional Documents
Culture Documents
LNT CC Presentation
LNT CC Presentation
Its covers the tools and processes used to control, co-ordinate and track code, requirements, documentation problems, change requests, design, tools, compilers, libraries, patches, changes made to them and who makes the changes.
SCM Tools
Clearcase PVCS (Perforce Version Control System) CVS (Concurrent Version Control System) VSS (Visual Source Safe) CM Synergy Subversion
What is ClearCase?
ClearCase is
Version management tool for all types of files and directories - records all actions - reports history - accurate reproduction of every release Available both in Unix and Windows NT environments Two user interfaces - command line: cleartool - graphical: xclearcase
Confidential L&T Infotech
Underlying architecture and MVFS can slow response times. Requires preinstall planning & investment in hardware and infrastructure.
Contd..
Attributes
Distributed development
Clearcase
Doesnt offer a scalable Achieved through distributed development Multisite solution Clearcase branching automatically tracks the history of all branching operations
Branching and Limited support for branching and related merging operations. Branching relationships arent maintained. Cost of ownership Available through Microsoft.
History of Clearcase
ClearCase was developed by Atria Software and
first released in 1992 on Unix and later on Windows. Atria later merged with Rational Software, which was purchased by IBM . IBM continues to develop and market ClearCase.
ClearCase Servers
ClearCase is a Client/Server style package. For example, all VOB information is kept on a Server called a VOB Server. The user's ClearCase client system requests information from the server which is sent to the user's machine The following are the various types of servers that a ClearCase site might have.
VOB Server
The machine that contains the VOB storage area is the VOB server. Therein maybe one or more VOB servers depending upon the speed of the system, the number of users, and most important of all, your budget. The ClearCase Administrator's Manual has some important information on setting up the size and number of your VOBs, and the power of your VOB server.
View Server
The Set of views (Workspace for developers) stored in one particular server is called as View server
License Server
If your site has a dedicated license server machine that serves licenses for a variety of software, then this system could serve as the License Server Since the License Server is a very low CPU intensive server which is usually placed upon the same machine that serves as the VOB server. Clearcase uses the floating type license
Registry Server
The Registry can be thought of as the "Table of Contents" to ClearCase's Vobs and Views. The ClearCase VOB Registry links the VOB Tags (the mount points of the VOBs on the ClearCase user's machine) to the directories where the VOBs are actually stored. The ClearCase View Registry links the View Tags (the name of the view) to the directories where the View is actually stored. It is recommended that a single Registry be used.
Advantages of ClearCase
Can handle projects that: a) Consists from a lot of developers. b) Go on for a very long time. Security Versatile (multi-purpose) lots of possibilities and capabilities. Traceability
Confidential L&T Infotech
Advantages cont.
Supported by multiple OS Windows, Unix (Solaris, AIX, ), Linux. Can be accessed from client on one OS to a server on another OS. Enables real parallel development - work on multiple versions of the same source file concurrently.
Disadvantages
High price Too versatile one can never learn all capabilities. Complex support must have very good - full time - administrator.
Basic Concepts
VOB
Versioned Object Base A Permanent read only data repository that stores the files, directories and metadata under the version controlled data The whole database consists of several VOBs
VIEW
A working area for an individual developer to access the VOB Used to select the version of an element Used to access for one or more VOBs without interfering others Temporary storage area Allows multiple views for each user
VOBs
vob1
vob2
vob 3
CONFIG SPECs
VIEWs
Kalles view Annas view Test groups view Peters view
elements
- a rule per line - rules are processed from top to bottom; if no matching version of an element was not found for the first rule, the system tries to find a version that matches the second rule etc.
Confidential L&T Infotech
/main x.cc 0 1 2 3
CHECKEDOUT
/main 0 1 2 3 4 5
/main w.cc 0 1 2 3 4
/main 0 1 2 3 4
/main 0 1 2 3
/main 0 1 2 3 4 5
/main 0 1 2 3 4
x.cc
Confidential L&T Infotech
y.cc
z.cc
w.c c
Labelling
/main 0 1 2 3 4 REL1 5
/main 0 1 REL1 2 3 4
y.cc
z.cc
w.c c
Branching
/main 0 1 2 rel1_corr 3 4 0 1
element * CHECKEDOUT element * /main/rel1_corr/LATEST element * REL1 -mkbranch rel1_corr element * /main/LATEST
/main 0 1 2 rel1_corr 3 4 0 1
y.cc
z.c c
w.c c
Types of VOBS
Private Vob
It will create by default
Public Vob
We have to mention the keyword public in the tag Registry password required
Need to create directory to mount (Access point) Only owner/root can mount the Vob
Confidential L&T Infotech
Automatically mount
Types of Views
Dynamic Works based on clearcase network MVFS (Multi Version File System) Slow Fast immediate updates Snapshot Works without CCase network also. CCFS Support (Clearcase File System) Fast Periodic (manual) updates are required to see file updates Derived objects sharing No such facility
Confidential L&T Infotech
Other Utilities
Clearmake - ClearCase variant of the Unix make utility MultiSite - same VOB is used concurrently at several different locations
Thank You!!