Using PSQL Scripts in Macintosh Finder
 
Using PSQL Scripts in Macintosh Finder
Scripts for Managing Licenses and Engine Services
This section covers the following topics:
PSQL Scripts in Finder
Managing Licenses
Managing Engine Services
PSQL Scripts in Finder
PSQL offers a convenient way to work with its servers on Macintosh machines. You can manage licenses and engine services from within the Macintosh Finder.
Managing Licenses
The following table gives the license commands executed by double-clicking their script icons in Finder.
Script
Command Called
Description
PSQL Authorize
clilcadm -a key
Authorizes a license key. A dialog prompts you for the key. For details see CLI Syntax.
PSQL Deauthorize
clilcadm -d key
Deauthorizes a key from the computer where the CLI utility is running. A dialog prompts you for the key. If the key is a permanent one, also deauthorizes all increase keys (user count, session count, data in use) associated with the key.
PSQL Licenses
clilcadm -i
Lists license information for all keys. For details see CLI Syntax.
PSQL Repair
clilcadm -e
Repairs and authorizes a key (if repair is possible). The Repair action requires the certain conditions be met, as described under CLI Syntax.
Managing Engine Services
The following table gives the engine commands executed by double-clicking their script icons in Finder.
Script
Command Called
Description
PSQL Restart
/usr/local/psql/etc/init.d/psql
stop, start, status
PSQL Start
/usr/local/psql/etc/init.d/psql
start, status
PSQL Status
/usr/local/psql/etc/init.d/psql
status
PSQL Stop
/usr/local/psql/etc/init.d/psql
stop
The stop command is followed by the force option if needed.
Note PSQL products such as DataExchange also run as services. The services of these other products can have a dependency on the database engine services. See Services Dependencies for more information.