This chapter contains the following topics:
For users to be able to access Ingres, the following two steps are required:
Note: During installation, the installation owner user ID is defined. This account belongs to the Ingres administrator and is automatically authorized with maximum Ingres privileges that allow this user to perform all operations. Other user accounts can be set up after Ingres is installed.
When the instance includes Ingres Net, users can connect to databases on remote instances as well as those on their local instance. To connect to remote instances, the following requirements must be met:
A virtual node (vnode) is a name defined on the local instance that points to the connection data and authorization data necessary to access a particular remote instance. When a user on the local node wants to access a database on a remote instance or run an application that accesses a database on a remote instance, the user must specify the vnode name for the instance in addition to the name of the database.
The vnode name can be the same as the node's real address or node name. However, because the real names or addresses are often difficult to remember, and because there can be more than one instance on the node, other names are typically chosen for vnode names.
A connection data entry contains the information necessary for Ingres Net to locate and connect to an instance on a remote node. A connection data entry is typically associated with a particular, locally defined vnode, but can also be specified dynamically with the dynamic vnode format. It includes the name or address of the node on which the remote instance resides, the listen address of the remote instance, and an Ingres keyword for the network protocol used between the local and remote nodes.
A remote user authorization contains the login and password information necessary to gain access to a remote instance. It is typically associated with a particular, locally defined vnode, but can also be specified dynamically with the dynamic vnode format.
Note: It is not necessary for a particular user ID to be defined as an operating system account on an instance's host machine to be a valid Ingres user on that instance. An account on a remote node can be authorized in exactly the same way as an account on the local node. Provided an Installation Password has been defined locally, the remote account can then access the instance directly without having to go through a local account.
Instructions for defining an Installation Password for the local instance are provided later in this chapter. For the differences between these two types of passwords, see Remote User Authorizations.
Just as a local DBMS Server accesses a local database, a Star server (part of the Ingres Star product) accesses a distributed database. When one or more of the databases that make up the distributed database reside on separate instances, Ingres Star uses Ingres Net. To use Ingres Star across Ingres Net, vnodes (with their corresponding connection data entries and remote user authorizations) must be defined on the Star server instance for each of the remote instances containing the databases that make up the distributed database.
If the connection data entries and the remote user authorizations are defined as private, connection data entries and remote user authorizations must also be defined for the installation owner (or the system administrator). These definitions are used if a distributed transaction fails. The Star Server attempts to recover the transaction as the owner of the Ingres Star instance.
You define vnode names and their corresponding connection data entries and remote user authorizations using one of these tools:
Not all tools are available on all platforms.
Note: The Network Utility (if supported on your platform) is the preferred means of creating vnodes in Ingres.
To access the Network Utility
Windows and UNIX Environments that Support Ingres Visual Tools:
Use one of the following ways:
To access Visual DBA
Use one of the following ways:
To access netutil
Enter netutil on the command line. For the required command syntax, see the Command Reference Guide.
VMS and UNIX Environments that Do Not Support Ingres Visual Tools: Enter netutil on the command line. For the required command syntax, see the Command Reference Guide.
When Ingres and Ingres tools are installed as a cluster installation, it is necessary to run netutil from only one node to set up connection data entries and remote user authorizations for all of the nodes in the cluster.