Wednesday, January 7, 2009

How To: expand temporary db space

ccmsrv expand -dbspace temp -p /data/informix_dbs -size 2048000
Also, from version 6.5 may use large chunk files ~ 30 GB.

Wednesday, December 3, 2008

Synergy 6.5 License server installation

Here is the step by step instructions on setting up the Synergy license server (11.5).
Based on Telelogic Lifecycle Solutions Licensing Guide.
As root:
- Create user flexnet.
[root@licserv ~]# adduser flexnet
[root@licserv ~]# passwd flexnet
As flexnet:
- Copy licence archive to Linux machine.
- [root@licserv ~]# mkdir -p /opt/flexnet/linux
- [root@licserv ~]# chown -R flexnet:flexnet /opt/flexnet/linux
- Unpack the flex.tar file from …/license_server/linux to the newly created installation directory /opt/flexnet/linux:
[flexnet@licserv linux]$ tar -xvf /home/flexnet/linux/flex.tar
You should get :
[flexnet@licserv linux]$ pwd
/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

where licserv is the machine where license server will be running, 001b786ed876 is the hostid you discovered in the previous step, 19353 is the port to be used by the license server.

- 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

- You may also want to create a link
/usr/local/flexlm/licenses/license.dat -> /opt/flexnet/license.dat
'cause flexlm is looking for the license.dat by default in the /usr/loca/flexlm/license.
- Change directory to the installation path:
[flexnet@licserv flexnet]$ cd /opt/flexnet/linux
- Start the license server:
[flexnet@licserv flexnet]$ /opt/flexnet/linux/lmgrd -local -c license.dat -l license.log
- Make sure it is running:
[flexnet@licserv flexnet]$ /opt/flexnet/linux/lmutil lmstat -c license.dat
You should get the following:
[flexnet@licserv ~]$ /opt/flexnet/linux/lmutil lmstat -c 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
License server status: 19353@licserv
License file(s) on
licserv: /opt/flexnet/license.dat:
licserv: license server UP (MASTER) v11.5
Vendor daemon status (on licserv):
telelogic: UP v11.5
This completes the Synergy license server installation.
Make sure you refer to this license server by inspecting the following file on you: Synergy engine installations:
/usr/local/ccm/etc/license_data.txt
It should have the following content:
$ cat /usr/local/ccm/etc/license_data.txt
19353@
licserv

Make sure to add the server start command to the machine boot procedure.
Remember, the license daemon has to run with the flexnet user, not as ccm_root or root.

Tuesday, November 25, 2008

Synergy troubleshooting: Linux Java GUI client does not start

Make sure to use esd for identification.
On Synergy server machine file $CCM_HOME/esd/ccm.ini should have the lines:
[Options]
engine_daemon = TRUE
This will make it work even if there is no rsh-server daemon running on server.
(Linux RHEL 5.* do not have rsh installed by default as it is not secure).

Monday, November 3, 2008

How To: start / check / stop flex license for Telelogic products

Start
/opt/flexnet/telelogic/linux/lmgrd -local -c /opt/flexnet/telelogic/license.dat -log /opt/flexnet/telelogic/license.log
Check
/opt/flexnet/telelogic/linux/lmutil lmstat -c /opt/flexnet/telelogic/license.dat
Stop
/opt/flexnet/telelogic/linux/lmutil lmdown -c /opt/flexnet/telelogic/license.dat

Tuesday, October 28, 2008

Monday, April 14, 2008

Linux tips: see machine HW config

Virtual directory /proc holds virtual files :
version
mounts
modules
meminfo
filesystems
driver
devices
uptime
stat
scsi
etc...
... and virtual dirs per all running processes.

To see the values just "cut" the corresponding file, e.g.

$ cat /proc/version
Linux version 2.4.21-27.ELsmp (bhcompile@bugs.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)) #1 SMP Wed Dec 1 21:59:02 EST 2004
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.16GHz
stepping : 1
cpu MHz : 3169.446
cache size : 1024 KB
physical id : 0
siblings : 2
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm lm
bogomips : 6317.67
...

$ cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 8396136448 8349917184 46219264 0 98226176 6759067648
Swap: 8587182080 38506496 8548675584
MemTotal: 8199352 kB
MemFree: 45136 kB
MemShared: 0 kB
...