Previous Topic

Next Topic

iinamu Command—Administer the Name Server

Permission required: Privileged user.

The Name Server Maintenance Utility (iinamu) allows a system administrator or other privileged user to display server information and administer the Name Server.

The iinamu command has the following format:

iinamu

At the IINAMU prompt, enter one of the following commands:

Note: At times, you may want to start DBMS servers that are not publicly registered with the Name Server. You can do this by setting the configuration parameter name_service to off. If this option is used, the server is not registered with the Name Server when it starts and is therefore invisible to iinamu. The GCF address can still be found and the server manually registered with the Name Server. If the server is a DBMS Server, connection can still be made by defining II_DBMS_SERVER to the server address.

Previous Topic

Next Topic

iinamu Example: Show All Registered Servers

The following command shows all servers registered with the Name Server:

IINAMU> show servers

UNIX: Here is sample output:

IINMSVR * 32770

IUSVR * 32775

INGRES * 32777

COMSVR * 32779

COMSVR * 32781

BRIDGE * 32793

JDBC * 32795

STAR * 32799

RMCMD * 32802

JOHN * 32810

DASVR * 32817

Windows: Here is sample output:

IINMSVR * EI\NMSVR\a10

IUSVR * EI\IUSVR\504

INGRES * EI\INGRES\f50

COMSVR * EI\COMSVR\e84

COMSVR * EI\COMSVR\cc8

BRIDGE * EI\BRIDGE\cb0

JDBC * EI\JDBC\ca8

STAR * EI\STAR\cd4

RMCMD * EI\RMCMD\cf8

JOHN * EI\JOHN\9b0

DASVR * EI\DASVR\924

The first column is the server type.

The second column is a list of databases registered to be served by the server. The entry * means that the server is registered to service requests for any database.

The third column is the server identifier, which is the GCF address for access to this server. This identifier can be used with the iimonitor command (in the case of DBMS, Recovery, and GCF servers).

Previous Topic

Next Topic

iinamu Example: Show All DBMS Servers for the Server Class Ingres

This command shows all DBMS Servers:

IINAMU> show ingres

Here is sample output:

UNIX: Here is sample output:

INGRES * 3105
INGRES * 4204

Windows: Here is sample output:

INGRES * II\INGRES\aa
INGRES * II\INGRES\ca

The example shows two DBMS servers running at GCF addresses 3105 and 4204 (on UNIX), and with process IDs of aa and ca (on Windows).

Previous Topic

Next Topic

iinamu Example: Show Communications Server Registrations

This command shows the Communications Server registrations:

IINAMU> show comsvr

UNIX: This sample output shows that two Communications Servers are running:

COMSVR * 3197
COMSVR * 3321

Windows: This sample output shows that two Communications Servers are running:

COMSVR * II\COMSVR\b3
COMSVR * II\COMSVR\a2

Previous Topic

Next Topic

iinamu Example: Add a DBMS Server to the Name Server Registry

UNIX: This command adds to the Name Server registry a DBMS Server with GCF address 1093 that can connect to any database:

IINAMU> add ingres * 1093

This command adds a DBMS Server with GCF address 2180 that can connect only to the salesdb database:

IINAMU> add ingres salesdb 2180

This command adds the accounts database to the existing DBMS Server with GCF address 2180:

IINAMU> add ingres accounts 2180 merge

Windows: This command adds to the Name Server registry a DBMS Server with a process ID of "af" that can connect to any database:

IINAMU> add ingres * II\INGRES\af

This command adds a DBMS Server with a process ID of "ab" that can connect only to the salesdb database:

IINAMU> add ingres salesdb II\INGRES\ab

This command adds the accounts database to the existing DBMS Server II\INGRES\ab:

IINAMU> add ingres accounts II\INGRES\ab merge

Previous Topic

Next Topic

iinamu Example: Delete a DBMS Server from the Name Server Registry

UNIX: This command deletes a DBMS Server with GCF address 1093 from the GCN registry so it is no longer visible from the Name Server:

IINAMU> delete ingres * 1093

Windows: This command deletes a DBMS Server with a process ID of "af" from the Name Server registry so it is no longer visible from the Name Server:

IINAMU> delete ingres * II\INGRES\af

Previous Topic

Next Topic

iinamu Example: Stop the Name Server

This command stops the Name Server:

IINAMU> stop


© 2007 Ingres Corporation. All rights reserved.