没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Klocwork Installation
and Upgrade
Software release 8.0 SR1
Document version 5.0
Copyright © 1998-2008 Klocwork Inc.
All rights reserved
This document, as well as the software described in it, is furnished under license and may only be
used or copied in accordance with the terms of such license. The information contained herein is the
property of Klocwork Inc. and is confidential between Klocwork Inc. and the client and remains the
exclusive property of Klocwork Inc. No part of this documentation may be copied, translated, stored
in a retrieval system, or transmitted in any form or by any means, electronic, mechanical,
photocopying, recording or otherwise without the prior written permission of Klocwork Inc.
If you find any problems in the documentation, please report them to us in writing. Klocwork Inc.
does not warrant that this document is error-free.
Klocwork Inc. and Klocwork are registered trademarks and Klocwork Insight, Klocwork Solo, Klocwork Insight Architect, Klocwork Insight
Review, Klocwork Source Cross-Reference, Klocwork Management Console, Klocwork Developer for Java in Eclipse, Klocwork for C/C++,
Klocwork for Java, Klocwork Extensibility Interface, and Klocwork Stack Overflow Analyzer are trademarks of Klocwork Inc.
Copyright notices for third-party software are contained in the file “3rdparty_copyright_notices.txt”, located in the Klocwork installation
directory.
Adobe®, Adobe Acrobat, Acrobat Exchange, Acrobat Reader, and PostScript are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries. Rational ClearCase is a registered trademark of IBM Corporation. Linux is a registered
trademark of Linus Torvalds. FLEXlm is a registered trademark of Macrovision Corporation. Microsoft®, Microsoft Word, Microsoft Excel,
Microsoft Office, Internet Explorer, Windows®, Windows NT®, Windows® 2000, Windows® 2000 Server, Windows® Server 2003, Windows®
XP, MS-DOS™, Microsoft Visual Studio®, Microsoft .NET, and Microsoft Visual C++ are trademarks of Microsoft Corporation. Pentium® is a
registered trademark of Intel Corporation. Red Hat is a trademark of Red Hat, Inc., in the United States and other countries. Sun, Sun
Microsystems, the Sun Logo, Solaris, Forte, Java, JRE and all Java-related trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered
trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an
architecture developed by Sun Microsystems, Inc. MySQL is a registered trademark of MySQL AB in the USA and other countries. InstallShield
is a service mark and is either a registered trademark or trademark of InstallShield Software Corporation in the United States and/or other
countries. IntelliJ IDEA is either a trademark or a registered trademark of JetBrains, Inc. Java Service Wrapper is a trademark of Tanuki Software.
WinCVS, Krusader and SourceForge are trademarks of OSTG Open Source Technology Group, All Rights Reserved. Apache TomCat is a
trademark of the Apache Software Foundation. Green Hills is a registered trademark of Green Hills Software, Inc. Metrowerks is a registered
trademark of Freescale Semiconductor, Inc. Wind River is a registered trademark of Wind River Systems, Inc. yEd is a trademark of yWorks
GmbH. JBuilder is a registered trademark of Borland Software Corporation. BEA WebLogic is a registered trademark of BEA Systems, Inc.
Klocwork Inc.
Toll-free telephone (North America):
1-866-556-2967
E-mail:
sales@klocwork.com
support@klocwork.com
Web site: http://www.klocwork.com
In the U.S.:
8 New England Executive Park, Suite 180
Burlington, Massachusetts 01803 USA
In Canada:
30 Edgewater Street, Suite 114
Ottawa, Ontario
Canada K2L 1V8
iii
Contents
Chapter 1 About this document 7
Who should read this book ........................................................................................................................... 7
Documentation conventions ......................................................................................................................... 8
Klocwork sample projects ............................................................................................................................ 8
Help and support ........................................................................................................................................... 8
Chapter 2 Plan your installation or upgrade, and download packages 11
A collaborative activity ............................................................................................................................... 11
About installing User components .............................................................................................................. 12
About the Klocwork components and packages ......................................................................................... 12
User package components ............................................................................................................... 13
Server package components ............................................................................................................ 14
About firewalls ........................................................................................................................................... 16
Changing the vendor daemon port in your license file .................................................................... 17
Download the packages you need ............................................................................................................... 17
For a small installation ................................................................................................................................ 18
For a large installation there are several considerations ............................................................................. 18
You can install Server components on multiple machines .............................................................. 18
A dedicated server for Klocwork analysis ....................................................................................... 19
You can integrate Klocwork analysis with your organization's builds ............................................ 20
You can set up for faster Klocwork analysis ................................................................................... 20
You can control access to Klocwork ............................................................................................... 21
Chapter 3 Obtain your Klocwork license file 23
Klocwork licenses and Macrovision FLEXlm ............................................................................................ 23
About User and Server licenses .................................................................................................................. 24
Chapter 4 Upgrading from a previous release 25
Introduction ................................................................................................................................................ 25
Minor changes to names of Klocwork servers ................................................................................. 26
Notes on upgrading from version 8.0 GA to 8.0 SR1 ................................................................................. 26
Prepare to upgrade ...................................................................................................................................... 27
If you are using a separate MySQL database server ................................................................................... 29
Install Klocwork 8.0 SR1 ............................................................................................................................ 29
Put your new license in the right directory ................................................................................................. 29
If necessary, upgrade the license manager daemon .................................................................................... 30
(Optional) Checking the version number of the license manager daemon ...................................... 30
(Optional) Upgrading the license manager daemon ........................................................................ 30
iv Contents
Run kwservice start with the --migrate option ............................................................................................ 31
If you used access control ........................................................................................................................... 32
If you created custom compiler configuration files .................................................................................... 32
If you added custom metrics reports to Klocwork Review ......................................................................... 33
If you used Klocwork Architectural Analysis ............................................................................................. 34
If you used Metrics and Trending (inTellect) ............................................................................................. 34
Deleting old inTellect data .............................................................................................................. 34
If you created custom checkers ................................................................................................................... 35
Test your upgrade ....................................................................................................................................... 35
Repeat upgrade steps on other projects_root directories as necessary ........................................................ 36
Chapter 5 Install Klocwork 37
Before you start ........................................................................................................................................... 37
Installing Klocwork on Windows ............................................................................................................... 38
Installing Klocwork with the installation wizard ............................................................................. 38
Unattended installation from Windows ........................................................................................... 45
How to view what components are installed on a Windows machine ............................................. 48
Note on the Path environment variable ........................................................................................... 49
Installing Klocwork on Linux or Solaris..................................................................................................... 50
Rolling Klocwork out to the development team .............................................................................. 50
Setting up an integrated server deployment ..................................................................................... 51
Linux and Solaris command-line options ........................................................................................ 53
Subsequent installations on a Linux or Solaris machine ................................................................. 54
Chapter 6 Set up licensing 57
Quick or custom setup? ............................................................................................................................... 57
Quick license setup ..................................................................................................................................... 57
Custom license setup .................................................................................................................................. 58
Using your organization's FLEXlm server ...................................................................................... 58
Setting up redundant license servers ................................................................................................ 62
Resolving conflicts with other tools that use FLEXlm licensing ..................................................... 64
Chapter 7 Flexible licensing ...................................................................................................................... 67
What are your needs? ...................................................................................................................... 68
How it works ................................................................................................................................... 70
Make two copies of your license file ............................................................................................... 71
Create an options file ....................................................................................................................... 71
Add the path to the options file to your Klocwork license .............................................................. 77
Start or re-start the Klocwork License Server ................................................................................. 78
Check the lm log file to test your options file .................................................................................. 78
Changing the session timeout period for Klocwork Review ....................................................................... 79
Chapter 8 Configuring and starting the Klocwork servers 81
Running Klocwork servers as Windows Services ...................................................................................... 81
Configuring the Web Server to use a secure HTTP connection ................................................................. 82
Viewing and changing Klocwork server settings........................................................................................ 85
Viewing server settings ................................................................................................................... 85
Setting the ports used by the Klocwork servers ............................................................................... 85
Setting the host name of the Klocwork servers ............................................................................... 86
Making network changes that affect the host name or IP address of a host machine ...................... 88
Contents v
Starting the Klocwork servers ..................................................................................................................... 88
Stopping the Klocwork servers ................................................................................................................... 90
Chapter 9 Security and permissions 93
Setting up access control ............................................................................................................................. 93
About access control ........................................................................................................................ 93
Start the access control setup utility ................................................................................................ 94
Setting None or Basic access control ............................................................................................... 95
Setting NIS access control ............................................................................................................... 96
LDAP access control ....................................................................................................................... 98
Updating NIS or LDAP access control .......................................................................................... 107
Additional security for projects_root data ................................................................................................ 108
Setting a database password .......................................................................................................... 108
Give read or read/write permissions ......................................................................................................... 109
Permissions for Klocwork administrators and build engineers ..................................................... 109
Permissions for users ..................................................................................................................... 110
Chapter 10 What to communicate to the team 111
Chapter 11 Backing up Klocwork data 113
What should you back up? ........................................................................................................................ 113
Backing up the projects_root directory ..................................................................................................... 114
Restoring Klocwork data from backup ..................................................................................................... 115
Appendix A Troubleshooting 117
Klocwork tools not communicating .......................................................................................................... 117
Servers ...................................................................................................................................................... 117
Unable to stop Klocwork servers ................................................................................................... 117
Unable to restart servers ................................................................................................................ 118
Klocwork clients cannot access servers after disconnecting Windows computer from network ... 118
Can't access the Klocwork servers from a remote machine ........................................................... 118
Unable to generate build specification for Visual Studio 6.0 project ............................................ 119
Database .................................................................................................................................................... 120
Unable to start the Database Server because the path to the socket file is too long....................... 120
Database connection error ............................................................................................................. 120
Licensing .................................................................................................................................................. 121
Can't connect to License Server ..................................................................................................... 121
Project LOC exceeded maximum allowed LOC ........................................................................... 122
Resolving conflicts with other tools that use FLEXlm licensing ................................................... 123
Flexible licensing doesn't work, all licenses fixed ......................................................................... 124
Java memory problems when running Klocwork applications ................................................................. 124
User Models not visible in Architect or Klocwork Review in a project created from tables .................... 125
Access control problems ........................................................................................................................... 125
Unable to start or check the Klocwork servers because of LDAP error ........................................ 126
Klocwork error messages .......................................................................................................................... 126
Klocwork Management Console error messages ........................................................................... 126
kwcc error messages ...................................................................................................................... 128
kwjava error messages ................................................................................................................... 130
kwlinker error messages ................................................................................................................ 132
剩余141页未读,继续阅读
资源评论
stephegn
- 粉丝: 9
- 资源: 39
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功