Quest LUW Editions 4.7 Toad for IBM DB2 Installation Guide
Διαφήμιση
Διαφήμιση
Toad
® for IBM DB2 LUW
Editions 4.7
Installation Guide
© 2011 Quest Software, Inc.
ALL RIGHTS RESERVED.
This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or nondisclosure agreement. This software may be used or copied only in accordance with the terms of the applicable agreement. No part of this guide may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording for any purpose other than the purchaser’s personal use without the written permission of Quest Software, Inc.
The information in this document is provided in connection with Quest products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Quest products. EXCEPT AS
SET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE
AGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITY
WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FOR
ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL
DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
PROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF
THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Quest does not make any commitment to update the information contained in this document.
If you have any questions regarding your potential use of this material, contact:
Quest Software World Headquarters
LEGAL Dept
5 Polaris Way
Aliso Viejo, CA 92656 www.quest.com
email: [email protected]
Refer to our web site for regional and international office information.
Trademarks
Quest, Quest Software, the Quest Software logo, Benchmark Factory, Toad, T.O.A.D.,
Toad World, and vToad are trademarks and registered trademarks of Quest Software, Inc in the United States of America and other countries. For a complete list of Quest
Software’s trademarks, please see http://www.quest.com/legal/trademark-information.aspx
.
Other trademarks and registered trademarks used in this guide are property of their respective owners.
Toad for IBM DB2 LUW Editions 4.7
Installation Guide
April 22, 2011
Table of Contents
Requirements
About Toad Editions
System Requirements
User Requirements
Compile and Debug Requirements for Stored SQL Procedures
Installation
Install Toad Editions
Register Toad for IBM DB2
About Product Licenses
Silent Installation
Install Toad for IBM DB2 Silently
Install Toad for IBM DB2 Silently
Install Bundle Products Silently
Install Quest SQL Optimizer Silently
Install Benchmark Factory Silently
Install Toad Data Modeler Silently
Parameters for Silent Installations
Appendix: Contact Quest
Contact Quest Support
9
6
12
12
12
13
5
5
15
26
15
20
26
Toad for IBM DB2 LUW Editions Installation Guide
Table of Contents
Contact Quest Software
About Quest Software
Index
26
27
28
4
1
Requirements
About Toad Editions
By purchasing one of the Toad for IBM DB2 LUW Editions, you have obtained not only a powerful IBM DB2 application development tool, but other tools to help you maintain and develop your IBM DB2 database applications.
This guide is an executive overview of the Toad for IBM DB2 Editions. It provides basic information about installing the products, including system requirements and the use of the
Quest Installer. See the specific Installation Guide for each product for more information about each application, including troubleshooting information.
Each Toad for IBM DB2 LUW edition is packaged with additional Quest products to expand your IBM DB2 experience. The following editions are available:
Toad for IBM DB2 LUW Xpert Edition
l
Toad for IBM DB2 LUW l
Quest SQL Optimizer for IBM DB2 LUW
Toad Dev Suite for IBM DB2 LUW
l
Toad for IBM DB2 LUW l
Quest SQL Optimizer for IBM DB2 LUW l
Benchmark Factory for Databases
Toad DBA Suite for IBM DB2 LUW
l
Toad for IBM DB2 LUW l
Quest SQL Optimizer for IBM DB2 LUW l
Spotlight on IBM DB2 LUW l
Toad Data Modeler l
Benchmark Factory for Databases
In many cases, if functionality is disabled within Toad for IBM DB2 LUW, you may not have an appropriate license to use it. When Toad is running, you can see which components are licensed by selecting Help | About.
Toad for IBM DB2 LUW Editions Installation Guide
Requirements
System Requirements
Client Requirements
Before installing your Toad Edition, ensure that your system meets the following minimum hardware and software requirements:
Platform
Memory
Hard Disk
Space
Operating
System
1 GHz minimum
512 MB of RAM minimum, 1 GB recommended
Note: The memory required may vary based on the following: l
Applications that are running on your system when using Toad l
Size and complexity of the database l
Amount of database activity l
Number of concurrent users accessing the database
By Toad Edition
l
Toad for IBM DB2 LUW Xpert Edition—262 MB l
Toad Dev Suite for IBM DB2 LUW—382 MB l
Toad DBA Suite for IBM DB2 LUW—542 MB
By Product
l
Toad for IBM DB2 LUW—212 MB l
Benchmark Factory for Databases – DB2 Edition—120 MB l
Quest SQL Optimizer for IBM DB2 LUW—50 MB l
Toad Data Modeler—100 MB minimum, 200 MB recommended l
Spotlight on IBM DB2 for LUW—60 MB
Windows Server 2003 (32-bit)
Windows XP Professional (32-bit)
Windows Vista (32-bit)
Windows Server 2008 (32-bit)
Windows 7 (32-bit or 64-bit)
Exceptions:
l
Spotlight on IBM DB2 LUW: o Does not support Windows Server 2008, Windows 7 o Windows 2003 is recommended for monitoring local databases only.
6
Toad for IBM DB2 LUW Editions Installation Guide
Requirements
.NET
Framework
Database
Client
Additional
Requirements
Microsoft .NET Framework 3.5 (Service Pack 1)
Note: The following conditions apply: l
If you have the .NET Framework 4.0 installed, you must still install the .NET Framework 3.5.
l
The .NET Framework Client Profile is not supported.
l
To run Toad, the .NET security policy must be set to unrestricted.
See "User Requirements and Restrictions for Running Toad "
(page 10) for more information.
Existing IBM DB2 Client Support
Toad installs a IBM DB2 9.7 client as part of the installation process.
The IBM DB2 9.7 client can co-exist with an existing IBM DB2 8 client, but is incompatible with a IBM DB2 7 client. If a IBM DB2 7 client already exists on your computer, the Toad installation stops and cannot complete. To resolve, first upgrade to the IBM DB2 8 client.
Then restart the Toad installation to avoid losing functionality in some IBM DB2 native tools.
Requirements for Windows 7 32-Bit and 64-Bit Environments
Toad provides a 32-bit and a 64-bit Toad IBM DB2 client installer.
The 32-bit client installs in any Toad-supported Windows environment. The 64-bit client installs in a Windows 7 64-bit environment only. Additionally, a 32-bit and a 64-bit IBM DB2 client cannot exist on the same computer. Based on this restriction, install the appropriate 32-bit or 64-bit Toad IBM DB2 client if another IBM
DB2 client already resides on your 64-bit computer.
Web Browser
Microsoft Internet Explorer 6.0 or later
PDF Viewer
Adobe Acrobat Reader 7.0 or later
7
Toad for IBM DB2 LUW Editions Installation Guide
Requirements
Server Requirements
Operating
System
Database
Server
Operating
System
Platforms for
Toad for DB2
Agent
DB2 for LUW
IBM AIX 5.1, 5.2, 5.3, 6.1
HP-UX 11i 1.5, 2 (32-bit or 64-bit)
Red Hat Enterprise Linux AS release 3 and 4 (32-bit or 64-bit)
Solaris 7, 8, 9, 10 (32-bit or 64-bit)
SuSE 7, 8, 9
Windows 2000, 2003 (including 64-bit), 2008, XP, Vista, Windows 7
IBM DB2 for LUW 8.1.5 or later
IBM DB2 for LUW 9.1 or later
Notes:
l
To run RUNSTATS and the native REORG utility on tablespaces and indexes in DB2 for LUW, Toad supports DB2 for LUW 8.2.2 or later.
Requirements:
l
Benchmark Factory for Databases: o All client libraries require the 32-bit versions.
l
Spotlight on IBM DB2 LUW requires: o IBM DB2 for LUW Enterprise Server Edition (ESE) 8.1
(with FixPak 1 applied) or later (64-bit) o IBM DB2 for LUW Enterprise Server Edition (ESE) 9.1
or later (64-bit)
Toad requires that the Toad for IBM DB2 Agent reside on each IBM
DB2 for LUW server on which you intend to execute scripts serverside (using the Toad LUW Remote Script Execution feature).
The agent supports servers running in any of these operating systems: l
Microsoft Windows 2000, Windows 2003 (32-bit), Windows
XP (32-bit) l
Sun Solaris 7 or later l
IBM AIX 4.3 or later l
SuSE Linux Enterprise Server 8 and 9 for zLinux l
SuSE Linux Enterprise Server 8 and 9 United Linux for Intel x86 l
SuSE Linux (2.6 Kernel) on AMD64 (x86_24) l
RedHat Enterprise Linux AS 3.0 and 4.0 zLinux (32-bit) l
RedHat Enterprise Linux AS 2.1, 3.0, and 4.0 for Intel x86
8
Toad for IBM DB2 LUW Editions Installation Guide
Requirements l
RedHat Enterprise AS 4.0 (2.6 Kernel) on AMD64 (x86)
Note: The following additional requirements apply: l
In 64-bit zLinux environments, the Toad for DB2 Agent supports only DB2 for LUW 9.1 or later.
l
Sun Solaris 7 servers must have Sun Solaris 7 patch
106327 applied.
l
RedHat 3.0 servers must have compatibility library compatlibstdc++- 7.3-2.96.122.i386.rpm installed. This package is available on Red Hat Advanced Server 3.0
installation media.
See the Toad for IBM DB2 LUW Agent Installation Guide for complete agent requirements and installation details.
Virtualization Support
Application
Virtualization
Limited testing has been performed for Citrix support on Windows
Server 2003 Enterprise Server (Service Pack 2) using the MetaFrame
Presentation Server 5.0 and Citrix Presentation Server Clients 10.2.
Toad Data Modeler has been tested for Citrix support on Windows XP using the XenApps 5.0 Server.
Desktop
(VDI)
Server
Toad Data Modeler has been tested with the following: Quest vWorkspace 7.0 running on Windows XP (32-bit)
Toad Data Modeler has been tested with VMware Server 2 running on
Windows 7.
Note: Toad may work in virtualization environments other than the ones in which it was tested.
User Requirements
User Requirements to Install Toad
Only Windows Administrators and Power Users can install Toad.
Note: The following exceptions exist for Power Users: l
A Power User cannot install Toad on a computer running Windows Vista Enterprise.
This is a Windows limitation because Vista does not support Power User mode.
l
A Power User cannot install Toad if a DB2 for LUW version earlier than 8.1.7 already exists on the computer. Only an Administrator can install Toad for IBM DB2 under this condition. However, if the computer has an existing DB2 for LUW 8.1.7 or later
9
Toad for IBM DB2 LUW Editions Installation Guide
Requirements
10 installation, a Power User can install Toad for IBM DB2 as long as this user belongs to the DB2ADMNS or DBUSERS group.
If an Administrator installs Toad, the Administrator can share the Toad shortcut icon on the desktop and menu items with any user--a Power User, Restricted User, Vista standard user--on the computer.
If a Power User installs Toad, a Restricted User cannot do the following: l
Associate file extensions.
l
View the Toad shortcut icon on the desktop or the Toad menu options in the
Windows Start menu. As a workaround, Restricted Users can create a shortcut to Toad from the install directory and place the shortcut on their desktop.
User Requirements and Restrictions for Running Toad
The following describes the requirements and restrictions for users who launch and run Toad: l
A Windows Power User or Restricted User must belong to the DB2ADMNS or
DB2USERS group. To add the user to one of these groups, select Start | Control
Panel | Administrative Tools | Computer Management | System Tools | Local Users
and Groups | Groups | DB2ADMNS or DB2USERS.
l
A Windows Vista user must be either an administrator or a standard user that belongs to an Vista Administrators group. Additionally, to enable full functionality in Toad for IBM DB2 when Vista’s User Access Control security feature is turned on, the standard user must run Toad for IBM DB2 as an administrator. (Right-click the Toad for IBM DB2 icon on the Vista desktop and select Run as administrator.) See the
Toad for IBM DB2 for DB2 Release Notes for a description of the restrictions that are in place when the standard user does not run Toad for IBM DB2 as an administrator.
l
A Windows Power User or Restricted User does not have the authority to add or remove DB2 catalog entries using the Toad for IBM DB2 Client Configuration wizard. However, these users can use the Import Profile function in the Toad for IBM
DB2 Client Configuration wizard to import catalog entries to Toad for IBM DB2.
l
To run Toad, the .NET security policy must be set to Unrestricted. To modify the security policy:
1. Select Control Panel from the Windows Start menu.
2. Double-click Administrative Tools.
3. Double-click Microsoft .NET Framework version Configuration.
4. Select My Computer, and then select the Runtime Security Policy node.
5. Select Evaluate Assembly from the list of tasks in the right panel, and locate and select Toad.exe in the File field.
6. Click Next and set the permission to Unrestricted.
Toad for IBM DB2 LUW Editions Installation Guide
Requirements l
To create or modify the QuestSoftware.ToadSecurity table to enable Toad Security, the user who maintains this table must have privileges to create, insert, update, and delete it. All other users need only the ability to read the QuestSoftware.ToadSecurity
table to use Toad Security features.
Compile and Debug Requirements for Stored SQL
Procedures
The following is required to debug and compile stored SQL procedures on DB2 for
LUW databases:
Component
Supported DB2
Versions
Each DB2 Database
Requirements
DB2 for LUW 9 or later
Privileges
IBM SYSPROC.DBG_% procedures, installed and operational
On each DB2 database, EXECUTE authority on all
SYSPROC.DBG_% procedures
11
2
Installation
Install Toad Editions
You can install any or all of the products that are included in your Toad edition using the
Quest Installer.
Note: See the Quest Installer Release Notes for detailed information about the current version of the Quest Installer.
To install a Toad edition
1. Run the Toad edition installation program.
2. Complete the wizards. Review the following for additional information:
Destination directory
Individual
Products
Select a directory to install the applications in your Toad edition. The default directory is C:\Program Files\Quest
Software.
Note: This directory sets the base directory for the installation of all Quest products.
Expand a product in the product list to select additional installation features such as install type, installation directory, and so on.
Note: For additional information about other products, see the appropriate product Installation Guide.
Note:Toad for IBM DB2 LUW Bundle installer contains only a 32-bit IBM DB2 client which could not be installed next to 64-bit IBM DB2 client. Uninstall a 64-bit client before installing one from bundle or if you can not uninstall it – please contact
Quest Support to be provided with further instructions.
Register Toad for IBM DB2
To register Toad for IBM DB2
1. Select Help | Licensing from the menu (ALT+H+L).
2. Review the following for additional information:
Toad for IBM DB2 LUW Editions Installation Guide
Installation
Authorization key
Site message
Enter the license key for Toad for IBM DB2.
Enter the site message included with the license key.
About Product Licenses
Toad Editions products store their license key information in several ways:
1. Toad for IBM DB2 4.7 and Quest SQL Optimizer for IBM DB2 LUW store the license files in the following directories depending on the operating system.
Platform
Windows 2000, Windows XP,
Windows 2003
License Location
C:\Documents and Settings\All
Users\Application Data\Quest
Software\<Product_Name>\
C:\ProgramData\Quest Software\<Product_
Name>\
Windows Vista, Windows 2008,
Windows 7
2. Toad Data Modeler and Benchmark Factory for Databases store the license key information in ProductLicenses.xml, located C:\Documents and
Settings\<username>\Local Settings\Application Data\Quest Software.
3. Spotlight on IBM DB2 for LUW store the licence key information in <Spotlight
install directory>\Console\Licenses
File Format
The format of the license file consists of two elements: l
LicenseKey—This is the license key that was provided by Quest.
l
SiteMessage—This is also provided by Quest, and typically contains the name of the customer and other asset information.
License Attributes for ProductLicenses.xml
The following describes the attributes for the license node: l
ProductName—This is a case-sensitive text value that is assigned by Quest to uniquely identify the product associated with the license key. ProductNames are not likely to change between versions of the product. It is recommended that you do not alter this attribute.
13
Toad for IBM DB2 LUW Editions Installation Guide
Installation l
ProductVersion—This is a unique identifier for a specific version of a product. It is typically only specific to the major version number (1.x). This means that all minor and patch updates are still able to use this key. However it can be specified all the way down to the build number if required by the product (1.0.0.13). Its primary purpose is to support side-by-side installations for different versions of a product.
l
KeySaveDate—This is the date that the key was saved into the system. This is used internally by the product for determining key priority when more than one suitable key is found. It is interpreted as an OLE date type and is represented as a floating point number. When performing a silent installation, or manually editing the
ProductLicenses.xml file, it is recommended that you omit this attribute. If this value is missing, the product automatically updates this attribute with the file’s last modified date value.
14
3
Silent Installation
Install Toad for IBM DB2 Silently
Install Toad for IBM DB2 Silently
Silent installation provides a convenient method for deploying Toad for IBM DB2 to multiple machines. With some customization, you can also deploy the license key and settings at the same time.
Silent Installation Prerequisites
Before you perform a silent installation, you must install the following software on every computer where you are installing Toad for IBM DB2: l
Microsoft .NET Framework 3.5 (Service Pack 1) l
Toad for IBM DB2 installs a DB2 9.7 client as part of the installation process. The
DB2 9.7 client can co-exist with an existing DB2 8 client, but is incompatible with a
DB2 7 client. If a DB2 7 client already exists on your computer, the Toad for IBM
DB2 installation stops and cannot complete. To resolve, first upgrade to the DB2 8 client. Then restart the Toad for IBM DB2 installation to avoid losing functionality in some IBM DB2 native tools.
Silent Installation Using the Microsoft Installer
You can create a Microsoft transform (.mst) file that deploys the license key, custom settings, and connections for users when performing a silent install using the .msi file. You can also use the .msi file to perform a basic silent install using the default directory or can install to a
different directory and specify command-line options and default installation overrides. See
"Perform Silent Installation Using MSI" (page 17) for more information if you are not creating
a transform file.
Notes:
l
The .msi file is located on the Toad installation CD or is available as a download from SupportLink at https://support.quest.com/SUPPORT/index?page=home .
l
The installer does not verify that system requirements have been met before installing.
If you do not want to manually verify system requirements, you should use the .exe
file for the silent install.
l
(MSI installs on Windows Vista and 7) If you are using MSI to install Toad on
Windows Vista or 7 with UAC enabled, you can install a file that adds a "Run as
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
16 administrator" option when right-clicking the MSI file: http://www.symantec.com/connect/downloads/msi-run-administrator-contextmenu-vista
Create Transform (MST) Files
The following procedure uses the Wise Installer to create the transform file.
To create a transform file that includes custom Toad settings
1. Save and install the ToadInstaller.msi file on a computer where the Wise for Windows
Installer is installed. After customizing Toad settings, you will use the Wise Installer to create the transform file.
2. Open Notepad, and do the following: a. Enter the license key in the first line.
b. Enter the site message in the second line. The file should look similar to the following:
AAABBBBCCCCCCEDXDWLMV0WJ9-123-45678-B2
Quest Software c. Save the file with license.key as the file name in the Toad install directory.
Make sure the file extension is .key not .txt.
3. Launch Toad. The application should open without prompting you to enter a license key.
4. Select Tools | Configuration Wizard from the Toad menu and complete the
Configuration wizard. This wizard creates an initial settings file (Settings.xml).
5. Select Tools | Options from the menu in Toad to open the Options window.
6. Select each page in the window and set any options you want to deploy. These options create a module settings folder and files.
7. Select View | Connection Manager from the menu in Toad to open the
Connection Manager.
8. Create any connections you want to deploy.
9. Exit Toad. Upon exiting, a Connections file is created.
10. Create the Microsoft Transform file, using any appropriate tool. The following steps describe how to use the Wise for Windows Installer to create the file: a. Select File | New.
b. Select Custom Templates under Categories, and then select the Transform template in the New Installation File window.
c. Select the ToadInstaller.msi file in the Select the .MSI file to base this transform on window.
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
17 d. Save the project.
e. Select Files from the Feature Details view.
f. Locate the following files and click Add to add them to the project:
File to Add
Settings.xml
Location
This file is located in the following directory:
C:\Documents and Settings\username\Application
Data\Quest Software\Toad for DB2 4.7.
ModuleSettings folder and files
This folder and related files are located in the following directory: C:\Documents and
Settings\username\Application Data\Quest
Software\Toad for DB2 4.7\ModuleSettings.
Connections.xml
This file is located in the following directory:
C:\Documents and Settings\username\Application
Data\Quest Software\Toad for DB2 4.7.
g. Save the project and compile it to create the transform (MST) file.
Perform Silent Installation Using MSI
To perform a silent install using msi
1. At a Windows command prompt, switch to the drive or directory where the msi installer for Toad is located. This file is located on the Toad installation CD or is available as a download from SupportLink at https://support.quest.com/SUPPORT/index?page=home .
2. For a standard installation with all features enabled, enter the following command: msiexec /i “ToadInstaller.msi” /q
You can customize command-line options and overrides for your installation similar to the following: msiexec /i “ToadInstaller.msi” INSTALLDIR= “Drive:\your_install_
path” /q USERNAME=”someone” COMPANYNAME=”your_company” ALLUSERS=1
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
Command-Line Options
The following MSIEXEC command-line options are used in this example:
Option
/i
Description
/q
Run the installation.
Specify the user interface (UI) that displays during installation.
You can append other options, such as n to hide the UI or b to hide the Cancel button during the installation.
Note: All command-line options are case-insensitive. See http://msdn2.microsoft.com/en-us/library/aa367988.aspx
for a complete list of command-line options.
Toad for IBM DB2 Default Installation Option Overrides
You can specify the following values to override Toad for IBM DB2’s default installation options. Enclose each value in double quotations:
Option
INSTALLDIR
ALLUSERS
Description
(Optional) Specify the absolute path for the directory in which you want to install Toad for IBM DB2. If you do not include this path, the installation program defaults to:
C:\Program Files\Quest Software\Toad fro DB2 4.7.
(Optional) Specify one of the following: l
For a per-machine installation, specify 1. This value allows any user to the Toad for IBM DB2 shortcut on the desktop after the installation completes.
l
For a per-user installation, enter the empty string value (“”) This value allows only the user specified for USERNAME and the user that installed Toad for IBM DB2 to see the Toad for
IBM DB2 shortcut on the target desktop. If
USERNAME is omitted, only the user that installed sees the shortcut.
Note: If you do not specify this property, the installation program defaults to a per-user installation.
18
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
Option
USERNAME
Description
(Optional) Specify the user that intends to use Toad for
IBM DB2 on the target computer.
Notes:
l
If ALLUSERS is omitted or defined with the empty string value (""), only the user specified here (and the user that installed Toad for IBM
DB2) can see the Toad for IBM DB2 shortcut on the desktop after the installation completes.
l
If ALLUSERS is omitted or defined with the empty string value ("") and you omit the
USERNAME option, only the user that installed
Toad for IBM DB2 sees the Toad for IBM DB2 shortcut on the desktop.
l
If ALLUSERS is 1, the USERNAME value is ignored during installation.
COMPANYNAME (Optional) Specify the name of the company that owns this installation.
Notes:
l
All default installation option overrides are case-sensitive.
l
Enclose all values (except for the ALLUSERS value) in double quotations.
Install Patches Silently
If you already have Toad installed and want to upgrade silently, you must include
REINSTALLMODE=vo REINSTALL=ALL in the command. If these parameters are not included, the MSI registers that Toad is already installed and does not upgrade it.
For example, if you are currently in the directory where the MSI resides, entering the following command installs to the standard location: msiexec.exe /i <path to msi file\ToadforDB2<version>SetupFull.msi>
REINSTALLMODE=vo REINSTALL=ALL
You can also set additional parameters or run the MSI from a location other than the active directory. For example: msiexec /i "C:\Documents and Settings\johndoe\desktop\
ToadforDB2SetupFull.msi REINSTALLMODE=vo REINSTALL=ALL
INSTALLDIR="C:\Programs\Quest Software\Toad for DB2 4.7\" /q /l*v
"C:\install.log"
19
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
20
Uninstall Toad Silently
To uninstall Toad silently
» Enter a command similar to the following: msiexec /x "<path to msi file\ToadforDB2_
version.SetupFull.msi>" /q
Install Bundle Products Silently
Extract MSI Files
In order to perform a silent install, you must first extract the MSI file from the Quest Installer.
The extraction log contains the command line parameters needed to perform default installations. However, you may want to change parameters to fit your environment or
standards. See "Parameters for Silent Installations" (page 23) for more information.
Note: You do not need to install the Quest Installer on any of the computers where you are silently installing Toad products. The Quest Installer is only used to extract the required MSI files.
To extract MSI files from the Quest Installer
1. Run your Toad bundle from the command prompt, including the correct path to the directory where it resides and the
/extract parameter. Since the executable contains spaces, remember to include quotation marks.
Note: Make sure that you use a bundle that contains the MSI files that you require.
2. Complete the wizard. Review the following for additional information:
Product
Selection Page
Select the product you want to extract
Finish Page
Readme.txt
Description
Verify that all the products you want to extract display in this list. If a product does not display, you should start over and select an edition that contains all the files.
Description
Click this link to open the extraction log as well as the command-line parameters that are needed to perform default installations of the products. This file also defines the order in which the products need to be installed to satisfy the dependencies between the products.
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
21
Install Quest SQL Optimizer Silently
To silently install Quest SQL Optimizer for IBM DB2 LUW in the default directory
1. Extract the MSI from the Quest Installer. See "Extract MSI Files" (page 20) for more information.
2. Enter the following command: msiexec.exe
/i "<path
to msi
file>\QuestSQLOptimizer_DB2LUW_3.msi
" /qn where
/i = install
/qn = quiet, no UI
To silently install SQL Optimizer in a custom directory
1. Extract the MSI from the Quest Installer. See "Extract MSI Files" (page 20) for more information.
2. Enter the following command: msiexec.exe/i "<path to msi file>\QuestSQLOptimizer_DB2LUW_3.msi”/qn
TARGETDIR=”<install dir>”
Install Benchmark Factory Silently
To install Benchmark Factory silently
1. Extract the MSI from the Quest Installer. See "Extract MSI Files" (page 20) for more information.
2. Enter the following command: msiexec.exe /i “<path to msi file\BenchmarkFactory_version.msi>” /qn
INSTALLDIR=”<destination directory>”
Where version is the full version, including the build number (for example, 6.0.0.147).
Install Spotlight Silently
To install Spotlight on IBM DB2 LUW silently
1. Extract the MSI from the Quest Installer. See "Extract MSI Files" (page 20) for more information.
2. Enter the following command: msiexec.exe /i “<path to msi file\QuestSpotlight_DB2_version.msi>”
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
CONSOLEDIRNEW=”C:\Program Files\Quest Software\Spotlight\” /qn
/i = install
/qn = quiet, no UI
Install Toad Data Modeler Silently
To install Toad Data Modeler silently
1. Extract the MSI from the Quest Installer. See "Extract MSI Files" (page 20) for more information.
2. Enter the following command: setup.msi /q INSTALLDIR="C:\Program Files\Quest Software\Toad Data
Modeler version\"
The argument for the silent installation from a command-line is “/q”. To specify a directory where Toad Data Modeler should be installed, use INSTALLDIR=”PATH”.
(Otherwise, the default path is used.)
To specify the database platform where you want to install Toad Data Modeler or which shortcuts should be created and where, use the ADDLOCAL parameter. If this parameter is not used, a default installation is performed.
Example: setup.msi /q INSTALLDIR="C:\Program Files\Quest Software\Toad Data
Modeler
version
\ADDLOCAL=Complete,XPMANIFEST,SUPPORTDATABASES,SHORTCUTUNINSTALL,
SHORTCUTDESKTOP,SHORTCUTSTARTMENU,SHORTCUTQUICKLAUNCH,SHORTCUTHELP,
POSTGRESQL,POSTGRESQL81,POSTGRESQL82
If you use the ADDLOCAL parameter, always select the Complete, XPMANIFEST, and SUPPORTDATABASES options. These options are required for the correct installation.
When installing support for a particular database platform, you must install basic support for the selected database platform.
Shortcuts
You can use the following to create shortcuts when installing silently:
Command
SHORTCUTUNINSTALL
SHORTCUTDESKTOP
Description
Creates a shortcut for uninstall in the Start menu.
Creates a shortcut for Toad Data Modeler on the desktop.
22
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
23
Command
SHORTCUTSTARTMENU
SHORTCUTQUICKLAUNCH
SHORTCUTHELP
Description
Creates a shortcut for Toad Data Modeler in the
Start menu.
Creates a shortcut for Toad Data Modeler in the
Quick Launch bar.
Creates a shortcut for the Help file, User Manual, and Reference Guide in the Start menu.
Tip: Other parameters for silent installs can be found if you enter the “setup.msi ?” command.
Parameters for Silent Installations
The following parameters are available for a silent installation:
Option Parameter
/l
/f
Package|ProductCode
[p|o|e|d|c|a|u|m|s|v]
Package|ProductCode
Description
Installs or configures the product.
Repairs the product. This option ignores any property values entered in the command-line.
The default argument list for this option is
'omus.' The following options are available: l p—Reinstalls only if a file is missing.
l o—Reinstalls if a file is missing or an older version is installed.
l e—Reinstalls if a file is missing or an equal or older version is installed.
l d—Reinstalls if a file is missing or a different version is installed.
l c—Reinstalls if a file is missing or the stored checksum does not match the calculated value. This option only repairs files that have msidbFileAttributesChecksum in the
Attributes column of the File table.
l a—Forces all files to be reinstalled.
l u—Rewrites all required, user-specific registry entries.
l m—Rewrites all required, computerspecific registry entries.
l s—Overwrites all existing shortcuts.
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
/a
/x
/l
Option
/q
Parameter
Package
Package/ProductCode
[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*]
Logfile n|b|r|f
Description
l v—Runs from source and re-caches the local package. Do not use this option for the initial installation of the product or feature.
Installs the product on the network.
Uninstalls the product.
Writes logging information to a logfile in the specified path. The path to the logfile location must already exist. The installer does not create the directory structure for the logfile.
Flags indicate which information to log. If no flags are set, the default is 'iwearmo.' The following options are available: l i—Status messages.
l w—Nonfatal warnings.
l e—All error messages.
l a—Start up of actions.
l r—Action-specific records.
l u—User requests.
l c—Initial UI parameters.
l m—Out-of-memory or fatal exit information.
l o—Out-of-disk-space messages.
l p—Terminal properties.
l v—Verbose output.
l x—Extra debugging information. Only available on Windows Server 2003.
l
+—Append to existing file.
l
!—Flush each line to the log.
l
"*"—Log all information except for the v and x options. To include the v and x options, enter "/l*vx".
Sets the user interface level. Review the following options: l q, qn—No UI
24
Toad for IBM DB2 LUW Editions Installation Guide
Silent Installation
Option Parameter Description
l qb—Basic UI. Use qb! to hide the
Cancel button.
l qr—Reduced UI with no modal dialog box displayed at the end of the installation.
l qf—Full UI and any authored
FatalError, UserExit, or Exit modal dialog boxes at the end.
l qn+—No UI except for a modal dialog box displayed at the end.
l qb+—Basic UI with a modal dialog box displayed at the end. The modal box does not display if you cancel the installation. Use qb+! or qb!+ to hide the Cancel button.
l qb- —Basic UI with no modal dialog boxes. Note that /qb+- is not a supported UI level. Use qb-! or qb!- to hide the Cancel button.
Note: The ! option is available with Windows
Installer 2.0 and works only with basic UI. It is not valid with the full UI.
25
Appendix: Contact Quest
Contact Quest Support
Quest Support is available to customers who have a trial version of a Quest product or who have purchased a Quest product and have a valid maintenance contract. Quest Support provides unlimited 24x7 access to SupportLink, our self-service portal. Visit SupportLink at http://support.quest.com
.
From SupportLink, you can do the following: l
Retrieve thousands of solutions from our online Knowledgebase l
Download the latest releases and service packs l
Create, update and review Support cases
View the Global Support Guide for a detailed explanation of support programs, online services, contact information, policies and procedures. The guide is available at: http://support.quest.com
.
Toad Community
Get the latest product information, find helpful resources, and join a discussion with the Toad for IBM DB2 LUW Editions team and other community members. Join the Toad for IBM
DB2 LUW Editions community at http://toadfordb2.com/index.jspa
.
Contact Quest Software
Mail [email protected]
Quest Software, Inc.
World Headquarters
5 Polaris Way
Aliso Viejo, CA 92656
USA
Web site www.quest.com
See our web site for regional and international office information.
Toad for IBM DB2 LUW Editions Installation Guide
Contact Quest Support
About Quest Software
Quest Software simplifies and reduces the cost of managing IT for more than 100,000 customers worldwide. Our innovative solutions make solving the toughest IT management problems easier, enabling customers to save time and money across physical, virtual and cloud environments. For more information about Quest go to www.quest.com
.
27
Index
A
About Toad Editions application virtualization
B
Benchmark Factory, silent install
C
client requirements contact support corporate deployment
D
desktop virtualization files, extract MSI
F
install
I
Benchmark Factory silently
Citrix support client requirements debugging requirements on client and subsystem
parameters for silent
silent
Spotlight on Oracle (RAC) silently 21
Spotlight on Oracle silently
SQL Optimizer silently
Toad Data Modeler silently
L
license keys
M
MSI files, extracting mst file
P
parameters, silent install
Product Licenses
Q
Quest Installer, extract MSI files
R
requirements
Citrix client
SQL procedure debugging virtualization server virtualization
S
silent install create transform file
Microsoft installer (MSI) prerequisites silent installation
Benchmark Factory
Toad for IBM DB2 LUW Editions Installation Guide
Index extract MSI files parameters
Spotlight on Oracle
Spotlight on Oracle (RAC)
SQL Optimizer
Toad Data Modeler
Spotlight on Oracle (RAC), silent instal21
Spotlight on Oracle, silent instal
SQL Optimizer, silent install system requirements
T
Toad Data Modeler, silent install transform file
U
uninstall silently
V
virtualization support
29
Λήψη
Διαφήμιση