You can perform management tasks for workstation connections to the NetWare® server from the Connections option in MONITOR's Available Options menu. Console commands that serve the same purpose are also listed for some tasks.
The tasks for which you can use MONITOR include
You can also use CLEAR STATION n or CLEAR STATION ALL at the console prompt. See CLEAR STATION in Utilities Reference.
The following table contains tasks and procedures.
Using MONITOR for Connection Management Tasks
Monitoring Workstation Connections to the Server
Table 3. Monitoring Server Connections
| To | Do |
|---|---|
View a list of active server connections Determine which users are logged in |
1. Select Available Options > Connections. The list of Active Connections appears. 2. (Optional) Press F3 to re-sort the connection list. List items without an asterisk (*) represent logged-in users. List items with an asterisk (*) are unlicensed connections (this means they do not count against a server's total licenses). These connections are authenticated to NDS but are not logged in. |
View information about a connection
|
1. Select Available Options > Connections to display the list of Active Connections. 2. Highlight a connection from the list. 3. Press Tab to activate the Connection Information screen in the upper window. 4. For an explanation of the information fields and statistics, press F1. |
Configure a watchdog to monitor connections for activity |
See Configuring Watchdog Packets and Enabling Console Message when Watchdog Logout Occurs. |
View a list of files that the connection has open. Use this procedure when you want to determine whether a crashed workstation has open files remaining on the server. |
1. Select Available Options > Connections. 2. Select the connection from the list. 3. After determining whether files are open on the server, press Esc to return to the Active Connections list. |
Terminate one or more connections Use this procedure to clear the connection when a workstation has crashed and left open files on the server. Note: Transaction monitoring (TTS) provides automatic backout for database records or files stored on the server if a workstation has crashed and left those files open on the server. Also a file is protected if the Transaction (T) file attribute is set for it. |
1. Select Available Options > Connections. 2. Highlight the connection (or for multiple connections, highlight each one and press F5 to mark it). 3. Press Delete. 4. At the Clear Connection? prompt, select Yes. Deleted connections are no longer listed. Press F6 to clear all unlicensed connections, indicated in the connection list by an asterisk (*). These connections are authenticated but are not logged in and therefore do not count against a server's total licenses. Note: If you know the connection number, you can also terminate a connection at the server console prompt with CLEAR STATION n. Use CLEAR STATION ALL to terminate all connections. See CLEAR STATION in Utilities Reference. |
Send a message to one or more workstations Use this procedure when you need to warn users to log out before you down the server. |
1. Select Available Options > Connections. 2. Highlight the connection (for multiple connections, highlight each connection and press F5 to mark it and then press F4 to confirm your selections). 3. In the text-entry box that appears, enter the message. 4. At the confirmation prompt, select Yes to send the message or select No to redisplay the text-entry window. Note: In the Active Connections list, items without an asterisk (*) represent logged-in users. |
For an explanation of NDS connection types, see Network Connections.
To send a message from the server console to all workstations or to a single user, access MONITOR.
Choose MONITOR's Available Options > Connections.
Press F8 to display more options on the task bar.
On the list of Active Connections, highlight the connection for the user you want to send a message to. Or use F5 to mark additional recipients.
To display the message composition box, press F4.
Type your message in the message box and press Enter to send it.
A confirmation box appears.
You can either choose to send the message immediately or you can press Esc to discard it.
For more information, see MONITOR in Utilities Reference. For information about receiving and clearing messages at the workstation, see the documentation for your NetWare client.
You can use either MONITOR or CLEAR STATION to clear a client connection when the workstation has crashed and left open files on the server.
NOTE: If you clear the connection while the workstation is in the middle of a transaction or a file update, the files might be saved with incorrect data.
Select Available Options > Connections. A list of active connections appears. (Optional) To view a workstation's open files, select the workstation's connection. After viewing files, press Esc to return to the Active Connections list. Clear one or more connections, as follows:
Deleted connections are no longer listed on the Active Connections list. To determine the workstation's connection number, from MONITOR's Available Options, select Connections. Highlight the appropriate connection in the Active Connections list. The connection information, which includes the connection number, appears in the upper window. Note the connection number. Press Alt + Esc and then tap Esc until you cycle to the server console prompt. At the server console prompt, enter either CLEAR STATION
n
or CLEAR STATION ALL
Replace n with the connection number of the workstation, or use the ALL parameter to clear all connections. For more information, see CLEAR STATION or MONITOR in Utilities Reference. If you need to make repairs to the server, you can prevent users from logging in by entering the following at the server console prompt: DISABLE LOGIN
This does not affect users who are already logged in to the network. However, a user who logs out cannot log in again until you execute ENABLE LOGIN. To allow users to log in again, enter the following at the server console prompt: ENABLE LOGIN
You can also use ENABLE LOGIN to enable a SUPERVISOR account when it has been locked by the intruder detection function. See DISABLE LOGIN and ENABLE LOGIN in Utilities Reference. Client 32 has automatic reconnection capabilities that make possible a complete restoration of the user environment after a network failure. Because auto-reconnect is enabled by default, you need to prevent workstations from reconnecting while you are trying to perform some function on the server. Client 32 also supports file caching on the client side, which allows files to be cached as they are read from the server and as they are written to the server. With the default settings for the Auto Reconnect Level and the File Cache Level parameters, Client 32 will restore all files to their actual state before the workstation connection was cleared (or the server went down). The workstation monitor displays a message: Client32: Please wait while Application retries request to ServerName. To stop waiting, press Enter. NetWare will then return an error and try to reconnect in the background. You can combine the use of console commands to prevent clients from reconnecting for long enough to complete your work on the server.
HINT: Note that if you don't clear a workstation's connection and a communication failure occurs (such as a broken or unplugged network cable), the workstation will be able to auto-reconnect when the problem is fixed.
For a more complete discussion, refer to Disconnecting NetWare Client that Have Automatic Reconnection Enable, in the February 1997 AppNotesTM A lock prevents a file or record from being updated by more than one user at a time. By controlling the number of file and record locks available to a workstation or a server, you control access to files and records. You can increase the number of locks if clients cannot open files. Or you can limit the number of locks to prevent overuse of file resources. If you are running out of file resources, use MONITOR to limit the number of locks for the server and for each connection. Before limiting file and record locks, make sure the workstations have an adequate number of locks to access the files and records they need. Limiting needed locks can cause applications to generate errors. From MONITOR's Available Options, select Server Parameters > Locks. NOTE: You can also set locks parameter values with SET. See SET Locks Parameters in Utilities Reference.
To edit a parameter value, highlight it and enter the new value. For the server, limit the total number of file and record locks allowed by decreasing the values of the following parameters: Maximum Record Locks Maximum File Locks
The changes to the parameter values take effect immediately and are persistent. For each client, limit the total number of file and record locks allowed by decreasing the value of the following parameters: Maximum Record Locks Per Connection Maximum File Locks Per Connection Use MONITOR to provide more file record locks if applications fail either because clients cannot open enough files or because not enough record locks are available. From MONITOR's Available Options, select Server Parameters > Locks. NOTE: You can also set locks parameters with SET. See SET Locks Parameters in Utilities Reference.
To edit a parameter value, highlight it and enter the new value. Increase the values of the following parameters to increase the number of file and record locks allowed for the server: Maximum Record Locks Maximum File Locks
The changes to the parameter values take effect immediately and are persistent. Increase the values of the following parameters to increase the number of file and record locks allowed for each workstation: Maximum Record Locks Per Connection Maximum File Locks Per Connection
The changes to the parameter values take effect immediately and are persistent. Press Esc until you return to Available Options. The server sends watchdog packets to a workstation to determine if the workstation connection is still active. If there is no response from the workstation within a set amount of time, the server terminates the connection. To provide an early warning that a connection has failed, set the values of the watchdog parameters so that the server sends twice the default number of packets in the shortest amount of time allowed. If you enable an alert, a console message displays when the server terminates a connection. For this procedure, see Enabling Console Message when Watchdog Logout Occurs. If you enable an alert, a console message displays when the server terminates a connection. From MONITOR's Available Options, select Server Parameters > Communications. Change the following parameter to the indicated value by highlighting the parameter and pressing Enter: Console Display Watchdog Logout=ON
The changes to the parameter values take effect immediately and are persistent. Press Esc until you return to Available Options.Using MONITOR to Clear the Connection
Using CLEAR STATION to Clear the Connection
Disabling and Enabling Logins
Clearing a Connection that Uses Auto Reconnect
Controlling Resource Allocation with Locks
Preventing Workstations from Overusing File Resources
Increasing File Record Locks
Configuring Watchdog Packets
Enabling Console Message when Watchdog Logout Occurs