Beruflich Dokumente
Kultur Dokumente
Installation
1 2 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
Introduction
The following sections will guide you through the process of installing the VectorCAST software, and obtaining a license key. During this process, you will need to fill out a Software License Key Request form, which is available on the Vector Software Web site (www.vectorcast.com). VectorCAST uses FLEXlm as the license manager. A user guide for FLEXlm is shipped with VectorCAST and can be found in the VectorCAST installation directory, under
DOCS.
Platforms
VectorCAST runs on the following platforms: Windows (7, Vista, XP, 2000) Linux (Red Hat, SuSE, Debian, Mandrake, Fedora) Solaris 2.5.1 and above
The License Server can be any platform; the VectorCAST client can be on any platform. The VectorCAST distribution CD contains VectorCAST for the client platform you specified at the time of your order. The Vector Software website provides access to VectorCAST on all platforms. If you are installing VectorCAST from the website (versus from a distribution CD), be sure you download the appropriate version for your platform. If your License Server is on a UNIX platform and your client is on a Windows platform, you will need to follow the UNIX Installation Instructions for steps 1-4 and the Windows Installation Instructions for step 5.
I N S T A L L A T I O N
1 3
1 4 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
3.
Un-tar the files from the distribution media or download from the Vector Software Web site. If you are installing from a CD, /cdrom refers to the mount point. If your mount point is not /cdrom, substitute your CD mount-point name, as follows: From a CD ROM, enter:
gunzip -c /cdrom/vectorcast/vcast.platform.version.tar.gz > vcast.platform.version.tar tar -xvf /cdrom/vectorcast/vcast.platform.version.tar.gz .
2.
3.
Use this information to fill out the Software License Key Request form (available on our web site at http://www.vectorcast.com/support/vectorcast-license-keyrequest.php); then send this form to Vector Software.
I N S T A L L A T I O N
1 5
\ \ \ \
In this example, the name of the machine that is serving the license is ultra80, the HostID is 80fce864, and the license is being served from port 7650 (the default). The path to the vector daemon is /home/FLEXlm/vector. This license-key enables 10 seats of several Vector Software products: VectorCAST/Ada on the Solaris platform (VCAST_ADA_02xx) on the host machine (xx = 01) and its command line (xx = 02); VectorCAST/Ada for AdaWorld 68K CSMART target (03 and 04); VectorCAST/C++ on the Solaris platform (CCAST_02xx) on the host machine (01) and its command line (02); VectorCAST/C++ for the VxWorks target (51); VectorCAST/Cover and its command line (21 and 20), and MC/DC coverage option. Modify the DAEMON line in the license-key file to point to the location of the
vector.exe vendor daemon on the license server. For example,
1 6 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
2.
3.
I N S T A L L A T I O N
1 7
You then set LM_LICENSE_FILE to port@server, where port is the port number in the VectorCAST license file (the default port is 7650), and server is the Host Name of the License Server. For example: Using sh, enter:
export LM_LICENSE_FILE=7650@HostName
If your organization has more than one application using FLEXlm as the license manager, you may find it easier to set the environment variable VECTOR_LICENSE_FILE instead of LM_LICENSE_FILE. Using VECTOR_LICENSE_FILE enables FLEXlm to find the vector vendor daemon quickly, without searching through the list specified for LM_LICENSE_FILE. When you have installed VectorCAST and your license key, we highly recommend that you select and run the relevant Tutorials in this guide. These tutorials will quickly get you up and running using VectorCASTs powerful functionality to automate the entire process of conducting unit testing.
1 8 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
1. 2.
Insert the VectorCAST distribution CD into the CD drive, or unzip the VectorCAST distribution file (vcast.win32.version.zip). Double-click on the Setup.exe icon. The VectorCAST software displays a welcome page.
3.
Click Next and select an installation mode: Typical: Select this option if you will be running VectorCAST on the License Server. All VectorCAST and FLEXlm files will be installed in a specified directory (next step) on the local computer. FLEXlm Server Only: Select this option if you will NOT be running VectorCAST on the License Server.
4.
5. 6.
Click Next. Select the program folder. "VectorCAST" is the default program folder.
7.
I N S T A L L A T I O N
1 9
8.
When the files have finished copying, select Skip this step I will set up licensing later, and click Next. You are reminded that you will need (later) to fill out a License Key Request form.
9.
Click OK. You are given the option here of installing Adobe Acrobat Reader. If Adobe Acrobat Reader is not already installed, click the checkbox next to Install Adobe Acrobat Reader.
10.
Click the Finish button to complete the installation. VectorCAST sets environment variable VECTORCAST_DIR to the installation directory you specified.
2.
2 0 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
System settings appear on the screen, including the host name and the host ID (Ethernet Address). For example:
Hostname is ella
Host ID is 001372e211d6
3.
Close the screen: Select File => Exit, or click the close icon ( ). The LMTools utility exits.
4.
Use this information to fill out the Software License Key Request form (available on our web site at http://www.vectorcast.com/support/vectorcast-license-keyrequest.php); then submit this form to Vector Software.
I N S T A L L A T I O N
2 1
# # # # # # # # # #
Vector Software, Inc. products that you have licensed. >>>>> You must verify the path to the DAEMON file <<<<< Please refer to the FLEXlm End User Manual at http://www.macrovision.com/solutions/esd/support/index.html for installation and configuration information. If you use other FLEXlm licensed software, read the section on Managing Licenses from Multiple Vendors You may change hostname, port address, and VectorCAST Daemon location. Any other changes will invalidate this license file.
In this example, the Host name of the machine that is serving the license is ultra60, the HostID is 83127DD1, and the license is being served from port 7650 (the default). The path to the vector daemon is C:\VCAST\flexlm\vector.exe. 2. If necessary, modify the DAEMON line in the license-key file to point to the location of the vector.exe vendor daemon on the license server. For example:
DAEMON vector c:\VCAST\flexlm\vector.exe
2 2 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
In the Service Name field, replace a default entry (such as "Borrow") with "FLEXlm License Manager," if necessary. 3. Use the Browse button associated with Path to the lmgrd.exe file to enter the full pathname for lmgrd.exe. By default, this file is located at C:\vcast\FLEXlm\. If you installed VectorCAST in a different directory, use that path instead of C:\vcast. 4. Use the Browse button associated with Path to the license file to enter the full pathname for the VectorCAST license key (license.dat). This file is located in the directory in which you stored it in Step 3. 5. In the Path to the debug log file field, enter the full pathname for a debug log file. If this file already exists, you can view it before selecting it (click View Log). If this file does not exist, it will be created at the location you specify here. 6. 7. Check the box preceding Use Services. If you want the license server to start automatically when the server machine is rebooted, also select Start Server at Power-Up.
8.
Click the Save Service button (upper right), and confirm when asked.
I N S T A L L A T I O N
2 3
9.
10. Click Start Server, then click Reread License File. 11. Exit the LMTools utility: Select File => Exit, or click the close icon ( ). The LMTools utility exits. If you experience any problems, contact Technical Support at: Phone: (401) 398-7185, press option 3 Email: support@vectorcast.com For answers to frequently asked questions, and to access FLEXlm user help (the FLEXNET LICENSING END USER GUIDE), select: Start => All Programs => VectorCAST => FLEXLM => Licensing User Guide The FLEXNET LICENSING END USER GUIDE is available in PDF format.
2 4 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
Typical: Select this option to install all VectorCAST files in a specified directory (next step) on the local machine. Compact: Select this option if you need to save space on the local machine. Only those files needed to run VectorCAST are installed; no help files or tutorial source code files are installed. Client: Select this option if VectorCAST is installed on a server and your machine is the client. Client installation is efficient when VectorCAST is installed and maintained on one machine, with many users simply pointing to it. Only locally required .dll files are installed.
If you select the Client option, VectorCAST must be installed on the server machine in a shared folder that gives read access to users. You can access VectorCAST through a networked path (as in \\SERVER\vcast), or you can map a networked drive on the client machine during installation.
Note:
Custom: Select this option if you want to specify exactly which components to install. This option is useful if you previously selected the Compact option and want to reinstall the VectorCAST help files or tutorials.
6. 7.
Click Next and specify an installation directory for the VectorCAST software. The default directory (C:\VCAST) is recommended.
The directory path you use must not include spaces.
Note:
8. 9.
VectorCAST begins installing the licensed software. When the files finish copying, the License Setup dialog appears:
10. Select either 'I would like to browse for an existing license file' or 'I know the name of my license server'. 11. Click Next.
I N S T A L L A T I O N
2 5
If you indicated that you wanted to browse for the license file, a file dialog appears:
Navigate to the License Server and locate the license file installed there (see preceding screen shot). Select the file and click Open. If you indicated you know the name of your license server, the Enter [License] Information dialog appears:
Enter the address of the FLEXlm license server. Enter this address in the format: port@server_name. The default port on a Windows License Server is 27000; the default port on a UNIX License Server is 7650. 12. Click Next. 13. You are given the option here of installing Adobe Acrobat Reader. If Adobe Acrobat Reader is not already installed, click the checkbox next to Install Adobe Acrobat Reader.
2 6 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T
14. Click the Finish button to complete the installation. VectorCAST sets environment variable VECTORCAST_DIR to the installation directory you specified. When you have installed VectorCAST and your license key, we highly recommend you select and run the relevant tutorials in this guide. These tutorials will quickly get you up and running using VectorCASTs powerful functionality to automate the entire process of conducting unit testing.
The uninstall shield asks you to confirm that you want to uninstall. 2. Click Yes.
I N S T A L L A T I O N
2 7
Upgrading VectorCAST
Visit our web site (www.vectorcast.com) to see if a new version of VectorCAST has been released. By request or if you have an outstanding problem report, your organization is notified about new releases of VectorCAST. If you decide to upgrade your VectorCAST installation, you should first determine if you will need to upgrade the FLEXnet licensing binaries. VectorCAST 5.1 and above require that FLEXlm version 11.7 or above be used. To determine the version of the FLEXlm license manager, enter in a Command Prompt (Windows) or shell (UNIX):
(Win) %VECTORCAST_DIR%\flexlm\lmutil lmver %VECTORCAST_DIR%\flexlm\lmgrd.exe (UNIX) $VECTORCAST_DIR/flexlm/lmutil lmver $VECTORCAST_DIR/flexlm/lmgrd lmutil - Copyright (c) 1989-2009 Acresso Software Inc. All Rights Reserved. FLEXnet Licensing v11.7.0.0 build 73797 i86_n3 (lmgr.lib), Copyright (c) 1988-2009 Acresso Software Inc. All Rights Reserved.
If you see v11.7.0.0 or greater, then you do not need to upgrade your FLEXlm binaries. You can upgrade to VectorCAST 5.1 or above right away.
Note: If some users in your organization plan to continue using VectorCAST 5.0 while others are upgrading, do NOT upgrade the FLEXnet licensing binaries. Instead, request a special license key that will enable both versions of VectorCAST to run with your current version of the FLEXnet licensing binaries.
If you do need to upgrade your FLEXlm binaries, follow these steps: 1. 2. Obtain a new license key from Vector Software. Stop the license server by entering:
%VECTORCAST_DIR%\flexlm\lmutil lmstat %VECTORCAST_DIR%\flexlm\lmutil lmdown -c path_to_old_license_file
3. 4. 5.
Install the new version of VectorCAST, which will upgrade the FLEXlm binaries to version 11.7 (or greater). Install the new license key (see Step 3, Install the License Key, above). Restart the license server and check the status by entering:
%VECTORCAST_DIR%\flexlm\lmgrd c path_to_new_license_file %VECTORCAST_DIR%\flexlm\lmutil lmreread c path_to_new_license_file %VECTORCAST_DIR%\flexlm\lmutil lmstat
2 8 G E T T I N G
S T A R T E D
W I T H
V E C T O R C A S T