Before you set up the DevOps Code ClearCase®
integration with Cadence Virtuoso, review the following information.
Procedure
Before users can start using the
ClearCase Cadence Integration, the
DevOps Code ClearCase VOBs must be set up by the
ClearCase administrators. The Cadence design libraries
must be put under
ClearCase version control so
that they can be used by the designers to carry out
ClearCase design management (DM) operations. The
ClearCase DM system is named as "
ccase".
Note: The ClearCase Administrator and the Cadence Virtuoso
Administrator must carry out their respective parts of the following steps to integrate DevOps Code ClearCase with Cadence Virtuoso.
Steps
to be done by the ClearCase
Administrator
-
Create a Base ClearCase dynamic view (for
example, cds_view).
-
Create a VOB if none exists (for example, /vobs/cds_vob).
-
Mount the VOB (for example, % cleartool mount /vobs/cds_vob).
-
Set the view (for example, % cleartool setview cds_view).
In this example, there is a library called basic that needs to be managed
under the DevOps Code ClearCase Design Management
System and that the current location of the library on the filesystem is
/cdslib/basic.
-
Make the library and its elements ClearCase
elements.
% clearfsimport -recurse /cdslib/basic /vobs/cds_vob/
This step adds the
basic library and all its cells, views, property files,
and category files under the
ClearCase Design
Management System.
Note: This is a one-time operation. It might require you to run
cleartool protectvob and/or cleartool protect on the
VOB and directory file elements to give appropriate permission to the users and groups.
-
In addition, the ClearCase-Cadence
integration supports atomic check-in of co-managed sets of design files. Its required that the VOB
should be enabled to support atomic checkin.
% cleartool protectvob [-atomic_checkin | -natomic_checkin]
After DevOps Code ClearCase is set up and libraries
are put under ClearCase source control, the
libraries must be configured so that the Cadence system recognizes that the libraries are under
ccase DM system
control.
-
ClearCase-Cadence integration supports
synchronous request for mastership (SRFM) in a MultiSite setup. SRFM allows a user to immediately
check out a file or directory version even if the branch is mastered at another replica in the VOB
family.
Before users can start using SRFM, the
DevOps Code ClearCase VOBs must be set up by the
ClearCase administrators.
- Install DevOps Code ClearCase on every server
machine that hosts VOBs that are to be available for SRFM.
- Enable SRFM in a replica to make the functionality available to users at that site. SRFM is
enabled on a per VOB basis, and it must be enabled at every replica where the operation is to be
supported.
% cleartool protectvob [-srfm | -nsrfm] <VOBtag>
- Configure and enable reqmaster on every VOB where the mastership of files
or directories is requested by SRFM.
Steps to be done by the Cadence Virtuoso Administrator
-
Edit cds.lib (if there is a centralized Cadence Virtuoso deployment used
by group of users). Comment the existing entry for library basic and create a
new entry so that it points to the DevOps Code ClearCase location.
#DEFINE basic /cdslib/basic
DEFINE basic /vobs/cds_vob/basic
-
Edit cdsinfo.tag inside the library
(/vobs/cds_vob/basic/cdsinfo.tag) to
enable DMTYPE ccase. If
cdsinfo.tag does not exists, create it.
Modify: DMTYPE none
to DMTYPE ccase
-
This is a mandatory step. Users must source the configuration script every time on a new
shell. To start carrying out ClearCase DM operations, users must source the configuration file on the shell before launching the
integration commands virtuoso/libManager
- For bash and
zsh
32-bit:
% source /opt/devops/clearcase/ccase_cds/ccase_cds_init.sh
64-bit:
% source /opt/devops/clearcase/ccase_cds/ccase_cds_init_64bit.sh
- For
ksh
32-bit:
% . /opt/devops/clearcase/ccase_cds/ccase_cds_init.sh
64-bit:
% . /opt/devops/clearcase/ccase_cds/ccase_cds_init_64bit.sh
- For csh,
tcsh
32-bit:
% source /opt/devops/clearcase/ccase_cds/ccase_cds_init.csh
64-bit:
% source /opt/devops/clearcase/ccase_cds/ccase_cds_init_64bit.csh
-
To open Virtuoso
- For IC5141:
% icfb &
- For IC61:
% virtuoso &