Preparing to Install PSQL
Preparation Needed for PSQL Installation
The following topics prepare you to install PSQL by providing an overview of the requirements, the major components included in PSQL, the installation options available, a detailed checklist to help you gauge your readiness to proceed with the PSQL installation.
Installation Requirements
You may need to know about the following requirements to complete a PSQL installation. This list supplements the software and hardware requirements found in the PSQL release notes.
Access Rights
You must have administrator rights to install PSQL Server, PSQL Vx Server, or PSQL Workgroup.
Required Windows Updates
For PSQL installation to succeed, Windows systems require the following updates:
•Windows 7 or Server 2008 R2: Service Pack 1
•Windows 8.1 or Server 2012 R2: Windows Update 3118401
No Other PSQL Database Engine Installed
You cannot install an edition of PSQL on the same machine with another edition of PSQL. You must uninstall the other edition first. For example, PSQL Workgroup and PSQL Server cannot run on the same machine.
Upgrading to a New Version of PSQL
To upgrade from a previous version of PSQL, you must upgrade to the same edition of the new version. For example, if you are using PSQL Workgroup, you must upgrade to PSQL Workgroup and not to PSQL Server. To change editions, you must first uninstall the existing edition. The exception is that you may upgrade from PSQL Server to Vx Server, or from PSQL Vx Server to Server.
Operating Requirements
In a VM environment that supports live migration, an authorized PSQL instance – along with your application – can move from one host to another host with no impact to your end users.
So long as the host name is kept consistent, an authorized instance of PSQL can be moved to a different physical machine, or converted into a VM, or migrated to a different VM host. If you must change the host name, deauthorize the PSQL license key before moving, converting, or migrating. Each instance of PSQL, including those that are cloned or copied for VMs, requires its own permanent key even if the host name is the same. For more information, see
License Models in
PSQL User's Guide.
Installation Options
On Windows operating systems, PSQL offers complete and custom installation options.
On Linux, each edition has its own separate installation RPM or TAR file, which does not provide custom installation options. Raspbian uses a TAR installation.
On macOS, you can install using TAR, similar to Linux, or you can use a native Apple disk image (DMG) installer.
Complete Installation
A complete installation is recommended for most users. It uses default installation settings and installs PSQL and all of its features to the standard location for each operating system.
Custom Installation
A custom installation is recommended for users that need control over their PSQL installation. Custom installation allows you to install PSQL, along with only the features you select, in directory locations of your choosing. The customization is available for all Windows platforms except Nano Server and IoT Core.
PSQL Products
PSQL is available in a Server, Vx Server, Workgroup, and Client installation. This topic lists PSQL products and the components of each product installation.
Server and Vx Server
•MicroKernel Engine, which provides Btrieve/MicroKernel API support for PSQL applications.
•Relational Engine, which provides ODBC/SQL API support for PSQL applications.
•Client Requesters and required components to access a MicroKernel engine from Windows, Linux, macOS, or Raspbian.
•PSQL Distributed Tuning Interface (DTI) is used to configure and monitor the PSQL components from low-level (compiled) applications.
Workgroup
•MicroKernel Engine, which provides Btrieve/MicroKernel API support for PSQL applications.
•Relational Engine, which provides ODBC/SQL API support for PSQL applications.
•Client Requesters and components needed to access a MicroKernel engine for Windows or Linux.
•PSQL Distributed Tuning Interface (DTI) is used to configure and monitor the PSQL components from low-level (compiled) applications.
Client
•PSQL Client Requesters and components needed to access a MicroKernel engine from Windows, Linux, macOS, Raspbian.
•PSQL Distributed Tuning Interface (DTI), used to configure and monitor the PSQL components from low-level (compiled) applications.
•PSQL Cache Engine
Note On Linux, 32-bit client applications require an additional 32-bit PSQL client access package installed after the 64-bit PSQL client, server, or Vx package.
PSQL Optional Features
During a Custom install, PSQL features may be excluded with the PSQL product you are installing. The features listed here are optional, so if all the features in this section are excluded from the install, the PSQL product is still installed by default.
The following lists the optional features available with each PSQL installation, unless noted otherwise.
PSQL Access Methods
PSQL Access Methods include the PSQL Software Developer’s Kit (SDK) and the DOS Requester.
ActiveX Interface Controls
A set of nine custom controls that enable development environments that support ActiveX to easily access Btrieve data. The interface includes a data source control and eight bound data controls.
ADO.NET Provider
ADO.NET is a .NET managed data provider, built with 100% managed code. The data provider is a native wire protocol provider, which means that the data provider will not have to call out to unmanaged code-code outside of the .NET Framework-in the form of a database client.
Btrieve DOS
The DOS VxD (Virtual eXtended Driver) (DOS client requester) is the Btrieve requester used for running DOS based applications via a Windows Command window. (Transactional access only)
DTO
The PSQL Distributed Tuning Objects (DTO) are used from visual development environments.
JCL
The Java Class Library (JCL) is used for direct transactional access to data files via Java.
JDBC Driver
The JDBC driver is used for relational access to data files using the Java programming language.
OLE DB
The OLE DB access method includes runtime binaries used for transactional and relational access to data files.
PDAC
The PSQL Direct Access Components (PDAC) includes a set of Visual Component Library (VCL) components that allow direct transactional and relational access to PSQL Database Engines from within the Borland Delphi and C++ Builder Environments.
Note Downloads for design time components and samples are available for each access method on the
Actian website.
Utilities
The minimum set of utilities used to manage, configure and maintain the various components of the PSQL database engines. The utilities included in this base set are installed as a set for all PSQL products and may not be individually excluded from installation.
•Function Executor
•Btrieve Maintenance
•Rebuild
•Query Plan Viewer
•License Administrator
•Gateway Locator (Workgroup Engine only)
Cobol Schema Executor
The PSQL Cobol Schema Executor utility is used for providing SQL access to COBOL based applications.
Data Dictionary File Builder
PSQL Data Dictionary File Builder is used for creating and modifying Data Dictionary Files (DDFs).
PSQL Control Center
The PSQL Control Center is used for creating and manipulating database objects and accessing database tables via SQL.
PSQL System Analyzer
The PSQL System Analyzer utility is used for testing and troubleshooting network connectivity, viewing loaded modules and performing a component search.
Documentation
The PSQL Engine and SDK user documentation is integrated into PSQL Control Center (PCC). The documentation library is accessed through the PCC interface on the Welcome view, in the Help menu, by pressing F1 (Windows) or Shift F1 (Unix). The Engine and SDK user documentation is also available online at the
Actian website.
Note If you choose to not install the documentation, context sensitive (F1) help will be unavailable from all of the PSQL utility graphical user interfaces.
Java Runtime Environment (JRE)
The components of the JRE needed by the following features are installed as part of PSQL:
•PCC
•DDF Builder
•Core utilities
•Documentation
PSQL features use the local version of the JRE installed by PSQL. PSQL installs a local version of the JRE only if the minimum required JRE version is not installed. If the minimum required JRE version already exists, PSQL features will use those files instead of installing another local copy of that JRE.
Note The installation of a local version of the JRE is for use only by the PSQL features listed above. The local version of the JRE does not affect the requirements for developing Java applications using the PSQL access methods Java Class Libraries (JCL) or JDBC. Those requirements, such as components obtained from java.sun.com, are discussed in the PSQL software development kit (SDK) documentation. See Java Class Library Guide and JDBC Driver Guide.
Installation Review
The following checklist helps you prepare for installation and includes a set of commonly asked questions to review before installation.
Quick Checklist
This checklist covers requirements to install PSQL. Each should be met before running the installation.
Your system hardware meets the minimum requirements to install PSQL.
Your operating system and network environment is supported by PSQL.
Windows operating systems need to have applied the latest Microsoft updates.
You have full administrator-level rights on the system where you plan to install PSQL.
You understand the different options available in the Complete and Custom installation setup so you can install only the set of components you need.
You have reviewed the release notes in readme_psql.htm on the installation media for important, late-breaking warnings and information that could not be included as part of the user documentation but may be essential to your installation and use of the product.
If you are using a proxy server, you need to configure it to allow authorization of PSQL. Configure the proxy server before you install PSQL, or omit product authorization during installation and authorize the product after configuring the proxy server. See
Authorization Access Through a Proxy Server in
PSQL User's Guide.
You have a good understanding of User Access Control (UAC), as well as the differences and limitations of Standard Users versus Administrators and also have the appropriate permissions to install on the target system.
Your application vendor supports the PSQL engine.
Tip If you are uncertain, contact your application vendor or review the documentation provided by your vendor to ensure that they support the PSQL engine version and mode that you want to install.
Common Preinstallation Questions
This topic contains some of the most common questions asked prior to installing PSQL. These questions represent special case scenarios that could possibly prevent a successful first-time installation. Before you begin installation, consider the situations represented by these questions, along with the Quick Checklist to determine if you have met all the requirements and if there are situations that need special attention.
Where do I install the PSQL Server or Vx Server?
The Server engine must be installed on the same computer where the database files are located.
What about the Server’s client software?
PSQL Client must be running on each machine expected to access the database, whether or not the client is on the same machine as the server.
PSQL Client is installed with every database engine, so any engine can to connect to any other engine as a client.
Where do I install the PSQL Workgroup?
PSQL Workgroup can be installed on the same computer where the database files are located, or it can be installed on other computers to access the data over the network.
What about Workgroup clients?
PSQL Client is installed with every engine. If you access remote files through another Workgroup engine, the Client software is already installed, so you do not need to install Client separately.
How do I install PSQL in a Microsoft Cluster Services environment?
If you plan to install PSQL in a clustered environment using Microsoft Cluster Service (MSCS), first read
High Availability Support in
Advanced Operations Guide. This topic provides instructions for installing or patching PSQL in a clustering environment.
Running virtual machines (VMs) within an MSCS environment is typically quite involved. Consequently, running PSQL on VMs within an MSCS environment is more complicated than when not using VMs. Refer to the documentation from the various hypervisor vendors for running VMs within MSCS.
How do I install PSQL in a Microsoft Terminal Services or XenApp environment?
If you plan to install PSQL to a Microsoft Terminal Server or XenApp environment, you must be logged on to the console of the server as a user with system administrator rights to install. This can either be the physical console on the server or a remote console session.
If you install the Workgroup or the Client Cache Engine on a Terminal Services Environment, install the Engine to run as a service. For Workgroup, the default installation for a fresh install is to run as a service. For Client, the default installation is to run as an application, so you need to specify “run as a service” instead. If installed as a service, the Client Cache Engine service is set by default to auto-start. However, even though the Client cache service is running, an application does not use the Client Cache Engine unless the configuration setting for it is turned on (it is off by default). See
Use Cache Engine in
Advanced Operations Guide.
Only one instance of the database engine may run on any terminal server platform. You cannot run separate copies of the database engine within two or more terminal sessions. See the
Actian website for the list of Terminal Server Environments supported by PSQL Server, Vx Server, Workgroup and Client.
Note If a user starts the Workgroup Engine or Cache Engine in a Terminal Services session or in a multiuser environment where fast-user switching is used, other users on the system cannot access that engine nor can they start their own copy of the engine.
Status code 3032 results if a second user attempts to access another user's engine through the MicroKernel Engine.
If it is desirable to have multiple local users accessing a local engine, ensure that the Workgroup or Client Cache Engine runs as a service. See information above about installing Workgroup Engine or Cache Engine in a Terminal Services environment.
How do I install my PSQL database engine in a Microsoft Active Directory environment?
The installation of the PSQL database engine in an Active Directory environment requires no special steps. Follow the installation steps as described in this manual for the product you have purchased.
You may install the PSQL database engine on a domain controller if you choose. Be aware, however, that activity on the domain controller may affect the performance of the database engine. For this reason, you may prefer to install PSQL on a server that is not a domain controller.
Where do I install my PSQL Clients accessing Web applications?
For Web applications, the Client must be installed on the same computer as the Web server. Multiple Web server platforms require a client on each platform.
Does the PSQL Client version have to match the PSQL Server version?
We recommend that you use Client installations that are the same version as the database engine. If you choose, you may use a Client that is an older version than the database engine with which it interacts. In some situations, depending on the type of SDK access method used by your application, an older version requester will not work with the database engine. Your application will be unable to communicate with the database engine. For those situations, you must use clients that are the same version as the database engine.
Clients that are a newer version than the database engine may or may not function correctly. We cannot guarantee that newer Client versions will function correctly with older versions of the engine. Therefore, we recommend that you avoid the use of newer version Clients with an older engine.
Does it matter where I download the PSQL v13 installer?
Yes, it does matter. If you are installing a downloaded version of PSQL, do not place the install file in a location that is listed in the Path environment variables, as this can cause issues with file copying during install. Place the setup files in a location such as the Windows %Temp% directory.
My system runs 24/7. What is the best time for installing or upgrading to PSQL v13?
The installation and upgrade should be performed during a period when all users are logged off the system and all data files are closed. As with any significant software installation, be sure to back up any important files on the target hard drive, including data files, before you begin the installation.
If you are performing an upgrade, keep the installation media and instructions from the old installation, in the unlikely event that you need to fall back to the previous version of the product.
How can I restrict users running in Terminal Services from changing PSQL configuration settings, creating DSNs, and using the Monitor utility?
PSQL clients running within Terminal Services client sessions can perform PSQL administrative functions by default. For example, a user with such a client can change configuration settings for PSQL, create DSNs, and use the Monitor utility. In prior releases, the ability to perform administrative functions was prohibited from the client.
To restrict this capability, a system administrator should follow these steps:
1 From PCC, open the properties for the MicroKernel Router under Local Client.
2 On the Properties dialog, check the option Restrict Administrative Functions from a WTS Client.
3 Click OK, then exit PCC and start it again for the setting to take effect.
Are there special settings not listed here that I need to make for my configuration?
Yes, some default settings in a PSQL configuration need to be adjusted in certain situations. Typical instances of needing to adjust settings include any of the following:
•Multiple network interfaces
•Database files that must not include embedded spaces
•Microsoft Active Directory Service
•A network that is subject to outages
For more information, see
Configuration for Special Installation Situations, especially if you find unexpected behavior after installation.