목차
RVDS제품의 라이선스에는 크게 Node-locked license (=Single user license)와 Floating license (= Network shared license)로 나뉘어 집니다. 여기서는 Floating license 서버의 설치 방법만을 다룹니다. 라이선스 파일을 만드는 방법과 서버 프로그램을 다운로드 받는 방법은 아래 링크를 참조하세요.
Floating license
아래의 Floating license 파일은 최초 ARM 웹사이트에(https://license.arm.com) 구입한 제품을 등록하여 다운받은 라이선스 파일 원본입니다. 여기서 this_host 부분을 서버의 Host name으 로 반드시 변경해 주어야 하며, 뒤에 나오는 12자리의 Mac address는 현재 사용할 서버의 Mac address 이므로 라이선스 발행할 때 사용자가 입력한 hostid 값이기 때문에 동일한지 확인해야 합니다. 서버의 Host name은 커맨드 창에서 hostname 명령의 반환 값으로 알 수 있습니다.
SERVER this_host 000bdba71043
VENDOR armlmd
USE_SERVER
INCREMENT armasm armlmd 1.2 permanent 1 16227B6711FB DUP_GROUP=UHD \
ISSUER=”ARM Ltd” NOTICE=”For support please contact \
support-sw@arm.com.” ck=91 SN=DS120-2A59A-08554-A0013
INCREMENT armulate armlmd 1.2 permanent 1 3EEF76C7F7C4 DUP_GROUP=UHD \
ISSUER=”ARM Ltd” NOTICE=”For support please contact \
support-sw@arm.com.” ck=198 SN=DS120-2A59A-08554-A0013
INCREMENT compiler armlmd 1.2 permanent 1 B12004A72C6F DUP_GROUP=UHD \
ISSUER=”ARM Ltd” NOTICE=”For support please contact \
support-sw@arm.com.” ck=93 SN=DS120-2A59A-08554-A0013
INCREMENT axd armlmd 1.2 permanent 1 8DB75C8408BF DUP_GROUP=UHD \
ISSUER=”ARM Ltd” NOTICE=”For support please contact \
support-sw@arm.com.” ck=127 SN=DS120-2A59A-08554-A0013
INCREMENT fromelf armlmd 1.2 permanent 1 3F39A5B8A0CD DUP_GROUP=UHD \
ISSUER=”ARM Ltd” NOTICE=”For support please contact \
support-sw@arm.com.” ck=145 SN=DS120-2A59A-08554-A0013
this_host는 서버의 Hostname 입니다.위에서 쓰인 000bdba71043는 서버의 MAC 어드레스 중 하나 즉 hostid 의 예입니다.
환경변수 등록
윈도우의 시스템 환경변수에 ARMLMD_LICENSE_FILE 항목을 추가하고 값을 라이선스 파일의 경로로 수정합니다.
Flexlm에 대해서
Floating license를 정상적으로 구동하기 위해서는 설치할 서버에 Flexlm server utility를 저장 및 실행해야 합니다. (서버에서 RVDS를 실행하지 않을 경우에는 서버에 RVDS를 설치 할 필요는 없습니다. )
서버에 로컬 폴더를 하나 만듭니다. (“C:\flexlm”)
RVDS를 설치하면 생성되는 “C:\Program Files\ARM\Utilities\FLEXlm\10.8.5.0\1\win_32-pentium” 를 열어 폴더 내의 모든 파일을 “C:\flexlm\”으로 복사 합니다. 또는 RVDS CD내에 있는 FLEXlm 디렉토리에서도 복사할 수 있습니다. (위의 경로는 버전에 따라 다를 수도 있습니다.)
ARM사로부터 발급받은 라이선스파일을 같은 폴더에 복사합니다.
flexlm폴더의 lmtools를 실행 시킵니다. (“C:\flexlm\lmtools.exe” 실행)
Service/License Tab에서 Configuration using Services 버튼을 클릭합니다.
Service/License File
아래와 같이 lmtools의 Configuration using Services버튼을 체크합니다.
- lmtools.exe 실행 – 서버 설치 유틸리티, 윈도우 전용 프로그램
Config Services
Config Services 탭으로 이동하여 아래의 사항들을 체크합니다.
- Service Name – 식별 가능한 이름으로 명시
- Path to the lmgrd.exe file – lmgrd의 파일 경로 지정
- Path to the license file – 라이선스 파일의 경로 지정
- Path to the debug log file – 로그 정보가 저장될 파일 지정(사용자가 파일명 및 경로 설정)
Start/Stop/Reread
Start/Stop/Reread 탭으로 이동하고, Start Server 버튼을 눌러 License server를 동작 시킵니다.
Server Status
Server Status 탭으로 이동하여 등록한 라이선스 파일이 정상적으로 로딩이 되는지 확인합니다.
-
Perform Status Enquiry – 라이선스 서버의 상태를 파악
-
서버상태 출력
Status 상태를 확인해 보면 아래와 같은 log 메시지를 볼 수 있습니다. (버전에 따라 일부 표기가 다를수 있습니다.)
특히 아래 굵게 표시한 부분이 현재 서비스 되고 있는 포트 번호와 서버의 hostname입니다. 각 클라이언트의 라이선스 구성에 필요한 정보 입니다. 아래의’Client PC의 세팅’ 부분을 참조 하기 바랍니다.
Flexible License Manager status on Mon 8/8/2005 14:24
[Detecting lmgrd processes…] License server status: 27000@my_server
License file(s) on my_server: c:\License_Files\license.txt:
sj_dell600: license server UP (MASTER) v9.2
Vendor daemon status (on my_server):
armlmd: UP v9.2
Feature usage info:
Users of armasm: (Total of 1 license issued; Total of 0 licenses in use)
Users of armulate: (Total of 2 licenses issued; Total of 0 licenses in use)
Users of compiler: (Total of 1 license issued; Total of 0 licenses in use)
Users of axd: (Total of 1 license issued; Total of 0 licenses in use)
Users of fromelf: (Total of 1 license issued; Total of 0 licenses in use)
Users of armlink: (Total of 1 license issued; Total of 0 licenses in use)
Users of codewarrior: (Total of 1 license issued; Total of 0 licenses in use)
Users of armsd: (Total of 1 license issued; Total of 0 licenses in use)
Users of adwu: (Total of 1 license issued; Total of 0 licenses in use)
Users of bats: (Total of 1 license issued; Total of 0 licenses in use)
Users of rvd_arm: (Total of 1 license issued; Total of 0 licenses in use)
Users of rvd_rtos: (Total of 1 license issued; Total of 0 licenses in use)
Users of rvd_ide: (Total of 1 license issued; Total of 0 licenses in use)
Log file
Log file을 통해서 floating license의 사용내역을 확인할 수 있습니다.
9:39:09 (lmgrd) ———————————————–
9:39:09 (lmgrd) Please Note:
9:39:09 (lmgrd)
9:39:09 (lmgrd) This log is intended for debug purposes only.
9:39:09 (lmgrd) There are many details in licensing policies
9:39:09 (lmgrd) that are not reported in the information logged
9:39:09 (lmgrd) here, so if you use this log file for any kind
9:39:09 (lmgrd) of usage reporting you will generally produce
9:39:09 (lmgrd) incorrect results.
9:39:09 (lmgrd)
9:39:09 (lmgrd) ———————————————–
9:39:09 (lmgrd)
9:39:09 (lmgrd)
9:39:09 (lmgrd) Done rereading
9:39:09 (lmgrd) FLEXlm (v9.2 ) started on myserver (IBM PC) (8/8/2005)
9:39:09 (lmgrd) Copyright (c) 1988-2003 by Macrovision Corporation. All rights reserved.
9:39:09 (lmgrd) US Patents 5,390,297 and 5,671,412.
9:39:09 (lmgrd) World Wide Web: http://www.macrovision.com
9:39:09 (lmgrd) License file(s): c:\License_Files\license.txt
9:39:09 (lmgrd) lmgrd tcp-port 27000
9:39:09 (lmgrd) Starting vendor daemons …
9:39:09 (lmgrd) Started armlmd (pid 212)
9:39:09 (lmgrd) armlmd using TCP-port 1025
0 for: armasm
9:39:09 (armlmd) armulatearmulatecompiler
9:39:09 (armlmd) axdfromelfarmlink
9:39:09 (armlmd) codewarriorarmsdadwu
9:39:09 (armlmd) batsrvd_armrvd_rtos
9:39:09 (armlmd) rvd_ide
14:58:01 (armlmd) OUT: “axd” david@sj_dell600
14:58:05 (armlmd) IN: “axd” david@sj_dell600
Client PC의 세팅
Flexlm utility가 설치된 Server PC의 설정이 끝나면클라이언트PC에서 Server에 저장된 floating license로 접근하기 위한 설정을 해 주어야 합니다.
- 제어판에서 시스템을 실행 시키거나 혹은단축키 Windows key+break를 동시에 누릅니다.
- 고급 탭의 환경변수를 누릅니다.
- ARMLMD_LICENSE_FILE을 다음의 형식으로 편집합니다. 포트번호@hostname. 정확한 포트 번호가 입력되어야 하므로 서버 관리자에게 포트 번호를 확인 받아야 합니다.위의 ‘Server Status’ 부분을 참고하세요.Host Name는 서버의 Host name 또는 IP Address를 입력하면 됩니다.위의 ‘Server Status’ 부분을 참고하세요.아래 그림에서의 my_server는 서버의 Host Name의 예 입니다.
- 모든 변경사항을 저장합니다.
Test
서버와클라이언트 PC의 모든 설정이 완료가 되었으면 정상적으로 라이선스를 받아올수 있는지 확인해 봅니다. 방법으로는클라이언트 PC에서 command line에서 “armcc” 등의 RVCT component를 실행해 보면 확인할 수 있습니다.
문제 해결
DNS 세팅이 잘 되어 있지 않은 네트워크 시스템에서는 hostname을 지정한 경우, 네트워크 설정 상태에 따라 동작하지 않을 수도 있습니다. 이때는 ping 테스트를 통해 hostname을 네트워크상에서 식별 할수 있는지 확인 해 보기 바랍니다. ping 테스트가 실패할 때는 ip 어드레스를 직접 입력 하면 대부분의 경우 문제가 없어지게 됩니다.
댓글 남기기
죄송합니다,로그인을 해야 댓글을 남길 수 있습니다.