Monday, May 28, 2012
How to find objects present more than twice on the project tree (Synergy tip work)
Sunday, May 20, 2012
How to set up the security read restrictions to all the members of specific project that belong to original component but not to other known components
- ccm set role group_mgr
- ccm query -i group (this bring us the grop name)
- ccm query "is_member_of('PROJNAME#<proj ver>') and type !='dir' and is_associated_object_of(cvtype='task' and release match '
*') and not is_associated_object_of(cvtype='task' and release match 'COMP1*' or release match 'COMP2*' or release match 'COMP3*')" -u -f "%objectname %task_release %task" > compname_only.list - ccm groups -a -v
:readsource @ (this actually adds the group attribute with a read restriction) - ccm set rile developer
Synergy conflilcts: "parallel, not included"
is for release that is not in process rules (reconfigure properties).
Here is how to find:
1. List all the objects of the offending task (35742):
> ccm task -show objects 35742 -u -f %objectname > 35742 .obj
2. Query for all the immediate successors of the task objects:
> for obj in `cat 35742 .obj`;do ccm query "has_predecessor('$obj')" -f
"%objectname %task_release" >> successors;done
3. Grep the list for objects of your current release:
> grep 27.0.3.20 successors
2) trroute.c#KUKU_27.0.3.20.1:csrc:3 KUKU_27.0.3.20
End of story.
Tuesday, May 24, 2011
Synergy groups: setting up read-only access to sources of specific project that come from specific releases only
Assume a role of group_mgr:
$ ccm set role group_mgr
Note: if you do not have a group_mgr role assume the role of ccm_admin and add yourself the group_mgr role. End the session and start over.
Verify:
$ ccm set role
group_mgr
Create group:
$ ccm groups -c mygroup
This will open the vi (or any other text editor you have set as a default) session where you should write all the names of the users to be members of the group, in a single line, space-delimited.
Once you are done adding the users save the file and close editor session. The group will be created.
Do not bother sorting the names, next time you look at it via ccm groups -show mygroup you will see all the names sorted alphabetically. And they will be cut in several lines anyway.
List groups:
$ ccm query -i group
1) group/admin/mygroup/1 admin myuser admin <void> group <void>
List group attribute: (so we know what can be viewed or changed):
$ ccm attr -l @1
create_time (time) (local)
cvtype (string) (local)
is_asm (boolean) (local)
is_model (boolean) (local)
membership (text) (local)
modify_time (time) (local)
name (string) (local)
owner (string) (local)
status (string) (local)
subsystem (string) (local)
version (string) (local)
View group owner:
$ ccm attr -s owner @1
myuser
View group members:
$ ccm attr -s membership @1
OR
$ ccm groups -show mygroup
Change group membership:
$ ccm groups -e <group name>
e.g. ccm groups –e mygroup
Query for all the objects to assign to the group (all objects in the ABC_v721_00 project that belong to the ABC* releases):
$ ccm query "is_member_of('ABCAPP#V721_00') and is_associated_object_of(cvtype='task' and release match 'ABC*') and type !='dir'"
Assign ABCAPP#V721_00 721-only objects to the dp security group with read-deny access to others:
$ ccm groups -a -v mygroup:readsource @
Wednesday, December 3, 2008
Synergy 6.5 License server installation
/opt/flexnet/linux
[flexnet@licserv linux]$ ll
total 3240
-rwxr-xr-x 1 flexnet flexnet 1021668 Apr 12 2008 lmgrd
-rwxr-xr-x 1 flexnet flexnet 1011900 Nov 27 2007 lmutil
-rwxr-xr-x 1 flexnet flexnet 1263712 Sep 5 10:44 telelogic
- Save or copy the FLEXnet license file you received from Telelogic into a text file called license.dat:
[flexnet@licserv flexnet]$ cp -pr license.dat.txt_validtilldec08end /opt/flexnet/license.dat
- Find out your FlexLM hostid:
[flexnet@licserv flexnet]$ /opt/flexnet/linux/lmutil lmhostid
lmutil - Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
The FLEXnet host ID of this machine is "001b786ed876"
- Add the following line at the very begining of the licence.dat file:
SERVER licserv 001b786ed876 19353
- Set up the license file location to the LM_LICENSE_FILE variable:
[flexnet@licserv flexnet]$ export LM_LICENSE_FILE=/opt/flexnet/license.dat
- Add the LM_LICENSE_FILE set to the flexnet ini file (.bashrc):
export LM_LICENSE_FILE=/opt/flexnet/license.dat
lmutil - Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
Flexible License Manager status on Sun 11/30/2008 09:25