Installation Considerations for IPM

This chapter discusses various installation and configuration settings required to monitor Ingres. This includes granting privileges for lesser-privileged users to monitor Ingres.

Previous Topic

Next Topic

Privileges and IPM

IPM provides powerful abilities to view information about any user session and the Ingres installation as a whole. It requires restricted system privileges to run.

You can install IPM so that less privileged users can use it. However, this type of installation permits any user to display large quantities of system and other user information. Users can display, for example, what other user sessions are running, what tables other users are accessing, whether a given user session is currently active, how much log file space any transaction is taking up, which user sessions are holding locks blocking which other sessions, and so on.

Note: Do not select this type of IPM installation unless you intend ordinary users to have the capability to display system and other user information.

Privileges are required to view queries or remove sessions or servers.

UNIX: By default, IPM can be run only by the Ingres system administrator. This is the account used for performing installations.

If needed, you can permit IPM to be run by less privileged users with the following command entered at the operating system prompt:

chmod 4711 ipm

VMS: By default, IPM can be run only with operating system privileges that requires SYSPRV CMKRNL and WORLD privileges.

If needed, you can permit IPM to be run by less privileged users by installing it with enhanced privileges. To do this, type the following at the operating system prompt:

INSTALL :== $INSTALL/COMMAND

INSTALL REPLACE full_dir_spec:IPM.EXE -

$_ /OPEN/PRIV=(SYSPRV,CMKRNL,WORLD)

Previous Topic

Next Topic

Requirements for Running IPM

IPM must be run on the same machine as the Ingres installation that is to be monitored and must be pointed at the desired installation just as any application or embedded user program.

Because IPM opens the master database (iidbdb) to get a list of databases and opens other databases to get table names, the installation must be in a state to allow database connections.

An exception is the stand-alone mode (the -s option). In stand-alone mode, IPM does not require DBMS servers to accept connections, but can show logging and locking information only, not server and session information.

Previous Topic

Next Topic

ipm Command—Start IPM

The ipm command invokes IPM. If the ipm command is invoked with no options, IPM displays databases, open databases, relation and page resources, active transactions, and user lock lists for all databases in the current installation.

Some ipm command options are incompatible with other options. If you select options that are incompatible at start-up, a message is displayed that indicates the incompatibility.

Most options can be changed while running IPM from the Option Selection Screen.

The ipm command has the following format:

ipm [options]

where options are:

Previous Topic

Next Topic

Resource Type—Display Specific Resource

The following resource types can be specified on the -l flag on the ipm command. These options affect only the Resource List Display:

Previous Topic

Next Topic

IPM Release Compatibility

The release of IPM supplied with your current release package works only with that release. You cannot use the current release with any previous releases.


© 2007 Ingres Corporation. All rights reserved.