Академический Документы
Профессиональный Документы
Культура Документы
October 2010
2010 SAS IP Inc. All rights reserved. Ansoft and HFSS are tradmarks of SAS IP, Inc.
Table of Contents
1.
2.
3.
4.
5.
A.
Silent Installation
Running the Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-2 Silent Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-4
B.
License hostid
Network Interface Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2 Hardware Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 Machine hostid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4
Contents-2
1
Getting Started
Installation Prerequisites
Before installing Ansoft software, you need the following: The Ansoft product CD or product download (see Additional Resources on page 1-4 for download information). An Ansoft license file. The FLEXlm for Ansoft CD for counted evaluation and purchased licenses. (you may also download FLEXlm for Ansoft--see Additional Resources on page 1-4) A computer with TCP/IP installed, for counted evaluation and purchased licenses.
A computer that meets the minimum or recommended system requirements, which depends on the specific Ansoft products you plan to run (see product release notes for specifications).
Ansoft Software
The Ansoft product CD or equivalent download contains:
The Ansoft software product(s) and project examples. Third-party software, when necessary, for viewing online documentation (for example, HTML Help or Adobe Acrobat Reader). Documentation files. Hardware key drivers. (You can choose to install them when you install FLEXlm for Ansoft or any Ansoft software product.)
The FLEXlm for Ansoft license server software. The Ansoft License Utility. Hardware key drivers. (You can choose to install them when you install FLEXlm for Ansoft or any Ansoft software product software product.)
License File
Most Ansoft products require a license, which is sent as an e-mail attachment. After you receive a license file, save it to a temporary location. The license file requires a license hostid, which is a hardware device used to validate the license. A list of supported hostids, and a general explanation of hostids, is available in Appendix B, License hostid. Ansoft licenses are either counted or uncounted. If you are installing software that was purchased, your license is counted. If you are installing evaluation software, your license may be either counted or uncounted. If the license is counted, the FLEXlm for Ansoft license server must be installed. To determine if a particular license is counted or uncounted: 1. 2. Open the license file in any text editor (for example, Notepad). (The license file is a list of text blocks.) If the word Uncounted appears in the first line of each text block, then the license type is uncounted. Otherwise, the license type is counted, and a FLEXlm for Ansoft license server must be installed.
If you do not have a license file for the Ansoft software you are about to install, please contact your Ansoft sales representative.
License Server
Once you have purchased the software, you must designate a machine on your network to act as a license server. The FLEXlm for Ansoft license server must be installed in one of the following two locations:
On the computer where the software will be installed. On another machine accessible over the network. Note You can install the FLEXlm for Ansoft license server before or after you install the Ansoft software.
See Chapter 4, Installing the License Server, for FLEXlm for Ansoft installation instructions and additional licensing information.
TCP/IP
(Not Required for Uncounted Evaluation Licenses)
1-2 Getting Started
Transmission Control Protocol/Internet Protocol (TCP/IP) is required for any Ansoft software that uses the FLEXlm for Ansoft license server even for a single computer in stand-alone mode.
TCP/IP must be installed on the machine that is running FLEXlm for Ansoft (the server) and on each machine that obtains licenses from that server. By default, TCP/IP is usually already installed on a computer running a Windows platform. TCP/IP is usually bound to a network card. If a network card is already installed and set up for TCP/IP, no additional action is needed during installation. If a network card is not installed, then you can satisfy the TCP/IP requirement by installing the Microsoft Loopback Adapter (MLA). The MLA is a software module that emulates a network card. For more details, see the appropriate help topics in Microsoft Windows (on the Windows taskbar, click Start>Help or Start>Help and Support, depending on the operating system).
OpenGL
All Ansoft software (excluding FLEXlm for Ansoft) requires that the 32-bit OpenGL libraries be accessible from the machine running Ansoft software. Most graphics card drivers automatically come with OpenGL software for Windows.
Firewall Exceptions
Firewall exceptions are needed for the COM engines and Ansoft products if solving remotely (something that does not necessarily require RSM). Exceptions are also required for RSM as well if it is installed. This comes up most frequently with the Windows firewall.
Additional Resources
General: Downloads: The Ansoft Web site: http://www.ansoft.com. Software downloads (including FLEXlm for Ansoft) and installationrelated documentation are available at the ANSYS customer portal, http://www.ansys.com/customerportal. Available through the ANSYS customer portal: http://www.ansys.com/customerportal. Under Online Support, choose Ansoft Customer Support. Ansofts technical support site provides access to frequently asked questions, application notes, presentations, and example scripts. During installation, read the release notes. In the initial setup window, click View Release Notes to see any important, latebreaking information that was not included in the Ansoft Installation Guide. After installation, the release notes are available in the readme file located in the product directory. Getting Started Guides and other printed documentation may be available at the following locations: In the product package. On the product CD in the Documentation directory, depending on the product (in Portable Document Format [PDF]). Online help files are accessible from the Help menu of each application installed, and they are located in the Help subdirectory of each product directory. The online help system is in one of two formats: Microsoft HTML Help or FrameViewer.
Product Documentation:
2
Installing Ansoft Software
Obtain a license file for the software you are installing. See page 1-2 for more information. Obtain and install a hardware key for uncounted evaluation licenses. Install the Ansoft software. Set up a license server if prompted to do so.
3. 4. 5.
6. 7. 8.
9.
Click Next. Depending on the software and version being installed, you may see one or both of the following screens before the Select Program Folder screen: the Choose Temporary Folder Location screen and/or the Choose Library Option screen.
10. If the Temporary Folder Location screen appears, select a default location for all simulations (including local) to use as a temporary work space.
If desired, change the temporary folder assignment. You can edit the field directly or use the Browse button to display file browser to let you navigate the folders on your machine and network.
If desired, check the option to add read/write permissions for Everyone. If the installation will be used for remote simulation by multiple users, all users must have permissions on the temporary folder. 11. If the Choose Library Option screen appears, do one of the following to specify the location of Ansoft libraries: Note Ansoft libraries are large databases of electronic components, developed by Ansoft and various manufacturers. Click This local installation to copy and install the default Ansoft component libraries, and then click Next. Click The following common location to use libraries that are already installed (locally or on the network). Click Browse, select the appropriate path, and click OK. Click Next.
12. Click Next. 13. On the Select Program Folder screen, do one of the following to specify a name for the program folder:
Installing Ansoft Software 2-3
Note
Accept the default name displayed in the Program Folders box. Select an item from the Existing Folders list. Type a new name for the folder in the Program Folders box. The program folder, which appears on the Windows Start menu, is a grouping of related software that includes executable files and other components. The default programs folder is Ansoft (Start>Programs>Ansoft).
14. Click Next. The Integration with ANSYS 13.0 screen appears. If ANSYS 13.0 is installed on the machine, you have the choice of integrating now or later. If ANSYS 13.0 is not installed, the choice of intgrating now is disabled. 15. Click Next. The License Information screen appears.
For additional information about the three license options, click Help me decide which of the following options to choose. This displays a browser page with additional explanations. Note You can review the current license configuration by clicking View current license configuration.
Select this if you recently received a license file from Ansoft (either evaluation or purchased). a. Click Next. Another License Information window appears, asking you to specify a directory and license file. b. Click Browse. The Select License File window appears.
Select this if you are using a counted license and already know on which machine FLEXlm is/will be installed. a. Click Next. Another License Information window appears, asking if you want to use a single server or a redundant server.
Click Next.
b. Select or clear the Specify redundant servers check box, and enter the server name(s) in the field(s). c. Find and select the license The redundant-server setup file you received from requires three license servers, Ansoft. Click Open, and each serving an identical then click Next. license file. The order in d. If prompted, enter the name which the servers are entered of the license server. You must match the license files may also select or clear the on each server. Specify server TCP/IP port number (advanced) c. Select or clear the Specify option. Specifying a TCP/IP server TCP/IP port port means that the software number (advanced) option. For redundant servers you only looks at that port for licenses. If this option is not must enter a port. Specifying a TCP/IP port means that the selected, the software software only looks at that searches the default 27000port for licenses. If this 27009 port range. option is not selected, e. Click Next. software searches the default 27000-27009 port range. d. Click Next.
17. Select the checkbox for the appropriate USB or parallel port device. 18. Click Next. The Review settings before copying files screen appears. 19. In the Review settings before copying files screen, review the information displayed under Current Settings, and then do one of the following: If the settings are correct, click Next to start copying files. If the settings are incorrect, click Back as many times as necessary, and change your selections. Verify each screen before clicking Next to go to the next screen. When all information is correct, return to the Review settings before copying files screen, and click Next. The Setup Status screen appears, displaying a progress bar, and installation begins. You can click Cancel at any time to exit the installation. Note If you receive a message about read-only files, you typically want to overwrite them with the newer versions.
20. Once the files have all been copied, one of the following messages appears:
Installing Ansoft Software 2-7
If you identified as the license server the same machine where you installed the Ansoft software, then a message appears that informs you that you must install FLEXlm for Ansoft license server on this machine (refer to Installing the License Server on page 4-1 for details). Click OK. If you identified as the license server a machine other than where you installed the Ansoft software, then a message appears that identifies that machine as the license server and informs you that you must install FLEXlm for Ansoft license server on that machine. Click OK. If you supplied an uncounted evaluation license, no message appears. You do not need to install FLEXlm for Ansoft. Please make sure to install the hardware key on the machine where the software is installed.
21. When the installation is complete, a Setup Complete window appears. If Ansoft's Remote Simulation Manager (RSM) is available for this product, you will see one of two checkbox options:
If RSM is not installed, you will see a checkbox to launch the RSM installation and, once the installation is complete, register this Ansoft product with RSM. If you select this option and press Finish, the product installation ends and the RSM installation is automatically started. If RSM is installed, you will see a checkbox to register this Ansoft product with RSM.
See chapter 3 for more details on RSM. If Ansoft's Remote Simulation Manager (RSM) is not available for this product, you will see a checkbox to view the release notes for this product. 22. Click Finish. The initial setup Installation Shell reappears.
2. 3.
4.
When the Integration with ANSYS 13.0 dialog displays, select the Yes radio button to have the installer automatically integrate the Ansoft product with ANSYS 13.0.
Note
If you choose not to integrate the product with ANSYS 13.0 during installation, you can perform this step after installation.
5.
2.
In the Integration with ANSYS 13.0 dialog box, ensure that the Yes radio but-
ton is selected,
You can confirm that ANSYS 13.0 is aware of the Ansoft integrated applications via the ANSYS Workbench Options dialog, which shows the paths to the integrated Ansoft applications.
3
Remote Simulation
Remote Simulations
Most Ansoft products offer remote simulation capabilities, where you can run a simulation on a different machine from the one on which the Ansoft software was started. This is particularly useful if you want to take advantage of a more powerful machine but it is not convenient to directly access that machine. This can also be extended into distributed analysis, where a specified analysis, if supported, is concurrently solved on multiple processors and/or multiple nodes. Ansoft supports its own Remote Simulation Management (RSM) software, as well as a number of High Performance Computing (HPC) software management programs (see High Performance Computing Integration below).
Installing RSM
To install Ansoft RSM software: 1. If you checked to install the Remote Simulation Manager during the software installation, the Ansoft Remote Simulation Manager installer appears. You can also install the Remote Simulation Manager as an installation option on the installation CD. A Welcome screen appears.
2. 3.
4. 5. 6.
To install the Ansoft Remote Simulation Manager, click Next. The License Agreement screen appears. Read the license agreement carefully. Click Yes if you accept the terms of the agreement. The Customer Information screen appears. Enter your information in the User Name and Company Name boxes. Click Next. The Choose Destination Location screen appears. Under Destination Folder, do one of the following to accept the default path or specify a new one:
7. 8.
Accept the default installation directory listed under Destination Folder. To select a different directory, click Browse. The Choose Folder window appears. Select a directory, and click OK. If you have other Ansoft software, Ansoft recommends that you install new software in the same directory. To create a new directory, click Browse. The Choose Folder window appears. Enter the new name in the Path field, and click OK. Click Next. The Remote Simulation Manager Service Configuration window appears. Choose to run the Ansoft Communication service as the System User or as A specific user (who must have administrative privileges). If you select A specific user, the fields for User name, Password, and Machine or domain name are enabled.
Note
The user selected will run remote and distributed analyses when no user is specified in the product interface.
9.
On the Select Program Folder screen, do one of the following to specify a name for the program folder:
Note
Accept the default name displayed in the Program Folders box. Select an item from the Existing Folders list. Type a new name for the folder in the Program Folders box. The program folder, which appears on the Windows Start menu, is a grouping of related software that includes executable files and other components. The default programs folder is Ansoft (Start>Programs>Ansoft).
10. Click Next. The Review settings before copying files screen appears. 11. In the Review settings before copying files screen, review the information displayed under Current Settings, and then do one of the following: If the settings are correct, click Next to start copying files. If the settings are incorrect, click Back as many times as necessary, and change your selections. Verify each screen before clicking Next to go to the next screen. When all information is correct, return to the Review settings before copying files screen, and click Next. The Setup Status screen appears, displaying a progress bar, and installation begins. You can click Cancel at any time to exit the installation. Note If you receive a message about read-only files, you typically want to overwrite them with the newer versions.
machine. The InstallShield Wizard complete window appears. If you want to view the README file (recommended before using the software), check the box. 12. Click Finish to close the install window. If you use RSM, it must be installed on all remote machines. In addition, the product engines must be registered on RSM.
If this installation was automatically launched from a product installation, then the registration will occur automatically. To register the engines at any time on Windows, choose Start>Programs>Ansoft>product>Register with RSM. You can also run RegisterEnginesWithRSM.exe, located in the product subdirectory (for example, C:\Program Files\Ansoft\hfss12\RegisterEnginesWithRSM.exe). In each case, you see a dialog confirming the registration. OK the dialog.
Configuring RSM
To modify any of the settings configured during the RSM installation, modify the RSM installation. 1. Click Start>Programs>Ansoft>Remote Simulation Manager>Remote Simulation Manager maintenance. A Setup window appears. 2. 3. Choose Modify. Click Next and follow the instructions that appear.
To register an Ansoft product with RSM, run RegisterEngineswithRSM.exe, located in the product installation directory (for example, c:\Program Files\Ansoft\HFSS12\RegisterEnginesWithRSM.exe). To unregister an Ansoft product from RSM, run UnregisterEngineswithRSM.exe, located in the product installation directory (for example, c:\Program Files\Ansoft\HFSS12\RegisterEnginesWithRSM.exe).
HPC Prerequisites
1. You must use a supported High Performance Computing (HPC) management software program accessible from all machines. The list of currently-supported HPC software includes:
2. a. b. c. d.
Platforms Load Sharing Facility (LSF) Microsoft Windows Compute Cluster Server 2003 Microsoft Windows HPC Server 2008 Sun Grid Engine (SGE) Install the Ansoft product on all nodes of cluster at the same location. For example, c:\program files (x86)\ansoft\hfss12 When this installation is done, there should be a 'win_scheduler.dll' in 'hfss_install_dir/schedulers' folder. Don't install RSM on any node. In fact, if RSM is already running, you should uninstall. Put your project in a shared drive that is available using the *same* path on the entire cluster, for example, \\shared_drive\projs.
Ansoft products must be accessible from the same directory on all machines.
Assumption: HPC servers are already installed Install 'client' Microsoft HPC Pack on the machine from where the Ansoft product desktop will be started. When this installation is done, 'HPC Job Manager' application is available on this machine
Job Submission
Ansofts HPC integration allows you to submit jobs directly using Ansofts command line arguments for batchsolves. Please refer to your product documentation for batchsolve command line syntax. Note that you must pass in a -distributed flag as part of the Ansoft command line arguments if you want to run a distributed simulation. 1. 2. Launch the Ansoft product on any machine that has the 'HPC Job Manager' installed. Run Tools>Windows HPC>Submit HPC Job...
Remote Simulation 3-5
4
Installing the License Server
Most Ansoft products require a license, either counted or uncounted. If the license is counted, then the FLEXlm for Ansoft license server must be installed. The license server is required for all counted licenses, both purchased and evaluation. Before installing FLEXlm for Ansoft, you need the following:
Software licenses for each module of Ansoft product(s) you purchased are contained in one or more license files, provided by Ansoft. For more information, see License File on page 1-2. Setting up licensing involves two parts:
Installing the FLEXlm for Ansoft license server if you do not have the most recent version installed. The setup program searches for the version of FLEXlm for Ansoft you are running and notifies you if you need to install a newer version. However, for the setup program to find your license server, it must be named FLEXlm for Ansoft -- if it is not, the setup program may be unable to determine this automatically. You may also need to update license files or other server settings, using the Ansoft License Utility. This utility is installed as a part of the FLEXlm for Ansoft license server.
Acresso's FLEXnet Publisher executables. Ansofts vendor-specific daemon, ansoftd. Ansofts License Utility, which is used to update license files and certain server settings at any time after installation. All hardware key drivers (if you use a hardware key) if you do not currently have the latest drivers installed. See Hardware Key on page B-3 for more information.
Some products, such as student versions of Ansoft products or third-party products, such as Adobe Acrobat Reader, may not require a license file or a FLEXlm for Ansoft license server. The software installation program does not indicate that FLEXlm for Ansoft needs to be installed.
Single Machine
Single machine containing the following: Ansoft software Hardware key (if required) FLEXlm for Ansoft license server (daemon) installed (node-locked license) Using a single machine setup, the Ansoft software works only on the computer to which it is locked. Do the following to install Ansoft software in a single machine set up: 1. 2. 3. If required, attach the hardware key to the computer where you will install and use Ansoft software. Install the Ansoft software on the same machine. Install and start the FLEXlm for Ansoft license server on the same machine.
Single-Server Network
(Same or Mixed-platform Networked Machines) License server machine containing the following: Ansoft software may or may not be installed Hardware key (if required) FLEXlm for Ansoft license server (daemon) installed (floating license)
Using a single-server network setup, you can run the Ansoft software from any computer where it is installed. Do the following to install Ansoft software in a single-server network set up: 1. 2. 3. If required, attach the hardware key to the server computer. Install the Ansoft software on the server and/or the client machines. Install and start the FLEXlm for Ansoft license server on the license server machine, if not already done. This machine must be accessible, through the network, to each client machine.
FLEXlm for Ansoft license server (daemon) installed (same floating license on all three machines)
Using a triple-redundant server network setup, you can run the software from any computer where it is installed. Do the following to install Ansoft software in a triple-redundant server network set up: 1. 2. 3. If required, attach a hardware key to each server computer. Install the Ansoft software on the servers and/or the client machines. Install and start the FLEXlm for Ansoft license server on all three license server machines, if not already done. These machines must be accessible, through a network, to each client machine. To check out a license when using a triple-redundant server network set up, at least two servers (a quorum) must be running at any given time.
Note
5. 6.
To accept the default installation directory, click Next. To select a different directory for the Ansoft software, click Browse. The Choose Folder window appears. Select a directory, and click OK. Click Next. To create a new directory, click Browse. The Choose Folder window appears. Enter the new name in the Path field, and click OK. Click Next.
The Select Program Folder screen appears. Program folders, which appear on the Windows Start menu under Programs, are groupings of related software (executable files, documentation, and other components). 8. Do one of the following:
Accept the default name (FLEXlm for Ansoft). Select an item from the Existing Folders list. Type a new folder name.
Installing the License Server 4-5
9.
10. Make sure that all other programs are closed (press ALT+TAB to find open applications). Then check the information displayed under Current Settings, and do one of the following:
If the settings are correct, click Next to start copying files. If the settings are incorrect, click Back as many times as necessary, and edit the information. When correct, return to the Start Copying Files screen, and click Next.
The Setup Status screen appears and displays a progress bar. You can click Cancel at any time to exit installation. As soon as the installation is complete, the InstallShield Wizard Complete screen appears. 11. Click Finish. A confirmation message appears, announcing that the Ansoft License Utility is about to start.
12. Click OK. The Ansoft License Utility window appears in Initial Setup Mode. Note You can use the Ansoft License Utility to: view, add, remove, and rename license files; change the license file directory; or change the FLEXlm for Ansoft server configuration. See Managing License Files After Installation on page 4-9. At this time in the FLEXlm for Ansoft license server installation, you must select a directory from which licenses will be loaded. Before you exit, the license file directory must contain at least one license file in order to save and start the service. You can also start the Ansoft License Utility after installation is complete by clicking Start>Programs>FLEXlm for Ansoft>Ansoft License Utility from the Windows taskbar. 13. In the Ansoft License Utility, do one of the following to select a directory that contains Ansoft license files: Accept the default in the License File Storage Directory field. The
4-6 Installing the License Server
License File Storage Directory field displays the location where all license files will be stored. If you change this location, any license files stored in the previous location will not be automatically moved to the new location; you must use the Add File command to find and add them to the Existing License Files list.
Change the license file storage directory: a. Click Change to select a new directory. A message appears asking if you are sure you want to change the directory. Click Yes. The Browse for Directory window appears. Select the directory, and click OK. The Ansoft License Utility window reappears, with the new path in the License File Storage Directory field. The Existing License Files list is updated. This list displays only files with a .lic extension that are in that directory.
b. c.
14. If necessary, add a new license file obtained from Ansoft. To select a new license file, do the following: a. b. c. d. Click Add File. The Open window appears. Find and select the file you want. Click OK. If another window appears asking you to rename the file, enter a new filename for the license file, and click OK. The Ansoft License Utility appends a .lic extension to the filename you enter.
15. Make sure the Start License Service on Power Up check box is selected. Note This option causes FLEXlm for Ansoft to start automatically when you restart your computer. If you do not want it to start automatically, clear the Start License Service on Power Up check box. At any time after installation, you can use the Ansoft License Utility for ongoing management of Ansoft license files, as described in Managing License Files After Installation on page 4-9. 16. Click OK to save changes and close the Ansoft License Utility. A message appears, stating that the FLEXlm for Ansoft license service has been saved. If an error occurs, you must correct it before you can use Ansoft software. See Managing License Files After Installation for more information. 17. Click OK.
Installing the License Server 4-7
A second message appears, stating that the FLEXlm for Ansoft license service has started. 18. Click OK to close the message and complete the installation. After the FLEXlm for Ansoft license server software is installed, the installation may ask if you want to restart your computer. You can restart your computer now and activate the changes, or you can wait until later (for instance, if you need to close any open applications). Note If you are prompted to restart your computer, then the FLEXlm for Ansoft service cannot be started until you do so.
To change the directory containing your license files: 1. Click the Change button next to the License File Storage Directory field. A warning message appears, asking if you are sure you want to change the directory.
2. 3. 4.
Click Yes. The Browse for Directory window appears. Select the directory, and click OK. The Ansoft License Utility window reappears, with the new path in the License File Storage Directory field. The Existing License Files list is updated. This list displays only files with a .lic extension that are in that directory.
To remove a license file: 1. 2. Select the file you want to delete from the Existing License Files list. Click Remove File. The Rename/Delete window appears. If the FLEXlm for Ansoft license service is currently running, you are prompted to stop the service before removing any license files.
Note
3.
Select the Delete option, and click OK. The file is removed from the Existing License Files list.
To remove a file, you can change the .lic extension or move the file to a location other than the License File Storage Directory. FLEXlm for Ansoft only recognizes files with a .lic extension as license files.
4-12 Installing the License Server
To rename a license file: 1. Select the file you want to rename from the Existing License Files list. 2. Click Remove File. The Rename/Delete window appears. Note 3. 4. If the FLEXlm for Ansoft license service is currently running, you will be prompted to stop the service before renaming any license files.
Select the Rename option, and enter the new name. Click OK. The name of the file is changed in the Existing License Files list.
3.
Dynamic Port: The service automatically chooses an available port when it is started. The server automatically looks at all TCP/IP ports between 27000 and 27009, choosing the first available port. Static Port: The service tries to start on the port number specified in this panel. If that port is in use, the service fails to start.
For the ansoftd vendor daemon's TCP/IP port number, select one of the following options:
4.
Dynamic Port: The service automatically chooses an available port when it is started. The ansoftd vendor may choose any port number higher than 1024 on which to start. Static Port: The service tries to start on the port number specified in this panel. If that port is in use, the service starts with an error, and FLEXlm for Ansoft tries to use a dynamic port to start ansoftd.
Click OK to close the window and update the port numbers in the license files.
2.
2.
To set the service manager to automatically start when the machine boots up, select the Start License Service on Power Up check box. By default, this check box is selected, and FLEXlm for Ansoft automatically starts whenever the computer starts. Clearing this check box disables automatic start-up. To save the current service configuration, click Save Service. This option saves the current service configuration, including registry settings and service manager settings. If the service is currently running, the service is stopped and restarted. To shut down and delete the service, click Delete Service. This option shuts down the service and deletes it from the registry. To restart the service or re-read the license file directory, click Start Service. If the service is not currently running, this option starts the service. If the service is currently running, the service is stopped and restarted. To shut down the service, click Stop Service.
Any FLEXlm-related environment variables. The name of your machine. The path to your license file storage directory. The path to your log file. The contents of all license files (.lic files) contained in your license file storInstalling the License Server 4-15
age directory.
License: Contains the path to a license file or directory. Lmgrd: Contains the path to lmgrd.exe. LMGRD_LOG_FILE: Contains the path to the log file.
5
Updating Software and Licenses
After installation, you may need to reinstall the software, update a license, or add a software component, such as a library. If you have already installed the software, the next time you run the Setup program, the installation starts in Maintenance mode.
Modify: Allows you to modify the existing installation. Use this option to select new software components or to select a new license file. Repair: Upgrades the existing software with new features and defect patches and refreshes files. Remove: Removes all installed software components. Update/Remove (This displays only if the version you are installing is newer than what is installed.) Click Start>Programs. Click the desired Ansoft product program folder. Click <AnsoftProduct> Click <AnsoftProduct> Maintenance.
5.
6.
Modify: change the program features installed by the previous setup. You can also choose this option to specify new license files or a new server. Repair: Reinstall all program features installed by the previous setup. Remove: Remove the Ansoft product previously installed.
When you change the license server. When you convert from an evaluation license to a purchased license. When you receive an updated purchased license file. When you change servers or switch from an evaluation to a purchased license, you need to: 1. 2. Install FLEXlm for Ansoft on the new server machine, and add the new license file. Run each Ansoft software installation in Maintenance mode, and specify the name of the new server(s).
When you receive an updated purchased license file, you only need to update the license file using the Ansoft License Utility. For more information, see Chapter 4, Installing the License Server.
If you are updating an evaluation license or changing the name of the license server used by the software, you need to modify the client installation: 1. 2. Click Start>Programs>Ansoft. Click the desired Ansoft product program folder, and then click <AnsoftProduct> Maintenance. The Maintenance Mode screen appears for the desired Ansoft software. 3. 4. 5. Click Modify. Click Next in each window. On the License Information screen, select the new license file. Select I have a new license file to change the license file (if you received a new one from Ansoft, either evaluation or purchased). Select I want to specify a license server if you need to change the name of the machine where FLEXlm for Ansoft is installed. See page 2-6, in Chapter 2, Installing Ansoft Software, for more details on available license options.
Note
To update an Ansoft software license on the license server: 1. Click Start>Programs>Ansoft>FLEXlm for Ansoft>Ansoft License Utility. The Ansoft License Utility window appears. Note If the Ansoft License Utility is not installed, then you need to run the FLEXlm for Ansoft installation. See Chapter 4, Installing the License Server.
2. 3.
Click Add File. The Open window appears. Find and select the new license file, and click OK. The Ansoft License Utility window reappears, with the new license file in the Existing License Files list.
4.
Click Start Service, and then click OK. See Managing License Files After Installation on page 4-9 for more information on the Ansoft License Utility and for details on adding a license file.
To modify FLEXlm for Ansoft: 1. Select Modify, and click Next. The FLEXlm for Ansoft service is shut down, and the Setup Status screen appears as the updates are made. When the update is complete, the InstallShield Wizard Complete screen appears. 2. Click Finish.
3. 4.
5.
6.
A confirmation message appears, announcing that the Ansoft License Utility is about to start. Click OK. The Ansoft License Utility appears. Make any desired changes, and click OK. A message appears, stating that the FLEXlm for Ansoft license service has been saved. Click OK. A second message appears, stating that the FLEXlm for Ansoft license service has started. Click OK to close the message and complete the installation.
To repair FLEXlm for Ansoft: 1. Select Repair and click Next. The FLEXlm for Ansoft service is shut down, and the Setup Status screen appears as the updates are made. When the update is complete, the InstallShield Wizard Complete screen appears. Click Finish. A confirmation message appears, announcing that the Ansoft License Utility is about to start. Click OK. The Ansoft License Utility appears.
2.
3.
To remove FLEXlm for Ansoft: 1. Select Remove my FLEXlm for Ansoft service, and click Next. A message appears, asking if you are sure you want to remove FLEXlm for Ansoft and all of it components. The FLEXlm for Ansoft license server will be shut down. 2. Click OK. A Setup Status screen appears as FLEXlm for Ansoft is removed from your computer. If you receive a message about read-only files, you typically want to remove them. When the update is complete, the InstallShield Wizard Complete screen appears. Click Finish.
3.
A
Silent Installation
When you use Ansofts silent installation feature, the software is installed on your computer with no windows appearing during the installation process. InstallShield suppresses all dialog boxes, including error messages and informational message boxes. To install Ansoft software using a silent installation:
Obtain a license file for the software you are installing. Obtain and install a hardware key if necessary. On a representative machine, install the Ansoft software once from the command prompt, as described in this chapter.
To install the software on other computers running Windows: 1. 2. 3. Copy the setup.iss file so that you can use it on the other computers. On other computers where you want to install the same software, go to the command prompt, and change to the directory containing setup.exe. Type the following, and press Enter: setup.exe -s -f1<path to .iss file> -f2<path to log file> Note For InstallShield to work, there must be NO spaces between the flags and the path strings, and the flags MUST appear in the above order. For example, if your setup.iss file is in c:\ISSDir, and you want to write the installation log file to c:\LogDir\setup.log, then type the following at the DOS prompt: setup.exe -s -f1c:\ISSDir\setup.iss f2c:\LogDir\setup.log In silent mode, no confirmation windows of any kind are displayed. In this mode, InstallShield suppresses all dialog boxes, including error messages and informational message boxes. 4. To verify that the silent setup succeeded, open the setup.log file, and look at the ResultCode value in the [ResponseResult] section. If the value is zero, the installation was successful.
If a failure occurs in silent mode, Setup aborts just as if you clicked the Abort button in a wizard dialog box during a normal installation. In this case, an error is written to the log file. Note The installation typically fails for one of the following two reasons: An invalid path was specified on the command line. There were differences in the dialog box sequences between the recorded response file and the current silent installation for example, an additional message appearing during the playback due to differences in the two computer systems. Since most computers would normally be configured identically by a system administrator, this problem should not occur often.
Silent Codes
Result Code 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -51 -52 -53 Description Success. General error. Invalid mode. Required data not found in the Setup.iss file. Not enough memory available. File does not exist. Cannot write to the response file. Unable to write to the log file. Invalid path to the InstallShield Silent response file. Not a valid list type (string or number). Data type is invalid. Unknown error during setup. Dialog boxes are out of order. Cannot create the specified folder. Cannot access the specified file or folder. Invalid option selected.
B
License hostid
Software licenses for each module of Ansoft products you purchased are contained in one or more license files provided by Ansoft. Each license file requires one or more license hostids, which are physical devices that contain a unique identification. License hostids are always required for the license server, and they may also be required for each machine running Ansoft software. Each supported operating system supports certain hostids: Operating System Windows Permitted hostids
The ethernet address of a network interface card (MAC address). Macrovision FLEXid parallel port hardware key. Macrovision FLEXid USB port hardware key. The ethernet address of a network interface card (MAC address).
Linux
Solaris
Windows
To obtain an ethernet address as a valid license hostid when running Microsoft Windows: 1. 2. 3. 4. If you are using a laptop, disconnect the laptop from the docking station if docked. Go to the command prompt. Type ipconfig /all, and press Enter. A listing of network interface cards is shown. For a valid network interface card, look for the Physical Address line. The ethernet address for that device is the value of the physical address, without dashes. Other types of adapters, including Point-to-Point Tunneling Protocol (PPTP) adapters and the Microsoft Loopback Adapter, may be listed here. These are not valid for license hostids.
Note
Linux
To obtain an ethernet address as a valid license hostid when running Red Hat Enterprise Linux: 1. 2. 3. 4. If you are using a laptop, disconnect the laptop from the docking station if docked. Start a terminal session. Type ip addr (normally located in the /sbin directory) to see a listing of all active network devices. Devices with an ethernet address show a Link encap value of Ethernet. The ethernet address for each device is the value in the HWaddr field, without colons.
Hardware Key
A Macrovision FLEXid hardware key may be provided to you by Ansoft as your physical device. The license hostid of a hardware key is affixed to the hardware key itself. The hostid is a 17- to 21-character value that begins with FLEXID=.
Machine hostid
A machine hostid is present on most Unix machines, including Sun machines. To determine the hostid for a supported Unix machine, enter the following command: Sun Solaris hostid
Index
Symbols
.lic file 2-2
C
changing license servers 5-4 closing the Ansoft License Utility 4-16 contents of product package 1-1
A
adding license files 4-12 Ansoft License Utility adding license files 4-12 closing 4-16 exporting license information 4-15 FLEXlm log file 4-14 installing 4-2 online help 4-16 removing license files 4-12 renaming license files 4-12 service manager settings 4-15 troubleshooting/debugging license problems 4-15 Ansoft software installing 2-1 silent installation A-1 uninstalling 5-2 upgrading 5-2
D
debugging license problems 4-15 deleting service configuration 4-15 dongle installing 2-2
E
exporting license information 4-15
F
files .lic 2-2 FLEXlm daemon 1-2 FLEXlm for Ansoft license server 1-2 installing 4-2 Maintenance mode 5-6 removing 5-6 updating 5-6
Index-1
M
Maintenance mode FLEXlm for Ansoft 5-6 Modify 5-2 Remove 5-2 Repair 5-2 Modify Maintenance mode 5-2 modifying existing installation 5-2
H
hardware key installing 2-2
I
installing Ansoft software 2-1 FLEXlm for Ansoft license server 4-2 hardware key 2-2 license options 4-2 silent installation A-1
O
online help for Ansoft License Utility 4-16
P
package contents 1-1 prerequisites to installation 1-1, B-1 license file 1-2 TCP/IP 1-2 product package 1-1
L
license daemon 1-2 license files adding 4-12 counted 2-2 evaluation 2-2 exporting license information 4-15 purchased 2-2 receiving and preparing 2-2 removing 4-12 renaming 4-12 standard 2-2 troubleshooting/debugging problems 4-15 uncounted 2-2 license server 1-2 installing 4-2 license service manager deleting 4-15 saving 4-15 starting 4-15 stopping 4-15
R
Remove Maintenance mode 5-2 removing license files 4-12 removing software 5-2 removing the FLEXlm for Ansoft license server 5-6 renaming license files 4-12 Repair Maintenance mode 5-2
S
saving service configuration 4-15 selecting new license file 5-2 service manager settings 4-15 silent installation A-1 software installing 2-1 silent installation A-1 uninstalling 5-2
Index-2
upgrading 5-2 starting license manager service on power up 415 stopping license manager service 4-15
T
TCP/IP 1-2 troubleshooting license problems 4-15
U
uninstalling Ansoft software 5-2 updating a software license 5-4 updating license file 5-2 updating the FLEXlm for Ansoft license server 5-6 upgrading software 5-2
Index-3
Index-4