Previous PageNext Page

Chapter 13 - Tracking Server Events

Overview

Note: You can also use StreetTalk Explorer to accomplish these tasks.

Server Event Reporting

Local operations - Events related to operations you perform at the server, such as backup/restore operations, or installing hardware or software.

Network transactions - Events related to services maintained on the server, such as service users, sessions, file usage, access errors.

Mask Levels

Log and Event Masks

Types of Network Events

Alarms

Warnings

Audits

Information Events

Setting Mask Levels

Table 13-1. Log Mask Levels

Table 13-2. Event Mask Levels

Setting the Mask for Multiple Servers and Events

To Set the Log Mask Level for Multiple Services

1. From the DOS command line of a network workstation, do one of the following:

- Enter OPERATE. The Operate A Server screen appears and displays a list of servers. Continue with step 2.

or

- Enter OPERATE servername, where servername represents the name of a server. The Operate A Server screen appears. Skip to step 3.

2. Select a server from the list of available servers. You can only select one server name at a time. The Operate A Server screen changes to display a list of commands and a list of services.

Figure 13-1. Operate A Server Screen

3. Select MANAGE server logs. The Manage Server Logs screen appears.

Figure 13-2. Manage Server Logs Screen

4. Select SPECIFY service log levels. The Select Services screen appears and displays a list of the services on the server.

Figure 13-3. Select Services Screen

5. Select the services that you will set the log levels for by doing one of the following:

- To select all services, press F8.

- To select individual services, use the arrow keys to highlight a service and press ENTER. You can select more than one service. An asterisk (*) appears beside the name of each service you select.

Services that you do not select do not have their log level changed.

6. Press F10. The Specify Log Message Level screen appears and displays the available log levels.

Figure 13-4. Specify Log Message Level Screen

7. Do one of the following:

- Select a log level. The following message appears:

Setting log levels on selected services.

The new log level takes effect immediately.

- Press ESC to leave the current log level in effect.

To Set the Mask Level for a Single Service

1. From the DOS command line of a network workstation, do one of the following:

- Enter MSERVICE. The Manage Services screen appears and lists the services available in your StreetTalk group.

or

- Enter MSERVICE servicename, where servicename represents the full StreetTalk name of a service you want to control. The Manage a Service screen appears. Skip to step 7.

Figure 13-5. Manage Services Screen

2. Do one of the following:

- If the service appears on the screen, choose SELECT from list below. Skip to step 6.

- If the service does not appear, select SEARCH for other services. The Search For Services screen appears.

Figure 13-6. Search For Services Screen

3. Select the method you would like to use to search for a service. You are prompted to enter information about the service.

4. Enter the appropriate information. The Manage Services screen appears and lists services that match your search criteria.

5. Choose SELECT from list below.

6. Select a service from the list. The Manage A Service screen appears.

7. Select CONTROL the service. The Control A Service screen appears.

Figure 13-7. Control A Service Screen

8. Do one of the following:

- Select SPECIFY log mask. The Specify Log Message Level screen appears.

- Select SPECIFY event mask. The Specify Event Mask Level screen appears.

Figure 13-8. Specify Log Mask Level Screen

9. Do one of the following:

- Select a mask level. The Control a Service Menu appears and briefly displays the following message:

Setting level for servicename@group@organization.

The new log level takes effect immediately except in the case of file services; go to step 10.

- Press ESC to leave the current mask level in effect.

10. For file services, stop and then restart the service for the new log level to take effect. Refer to Chapter 2 for information on how to stop and start services.

Generating Log Reports

Note: The time range covered by a log report may not be exactly as you specify it. Services have no control over messages generated by the operating system and the report may contain operating system messages from dates outside the specified range. In addition, if the log file for the days you specify has been overwritten, messages from those days are no longer available.

To Generate a Log Report for Several Services

1. From the DOS command line of a network workstation, do one of the following:

- Enter OPERATE. The Operate A Server screen appears and displays a list of servers.

or

- OPERATE servername, where servername represents the name of a server. The Operate A Server screen appears. Skip to step 3.

2. Select a server from the list of available servers. You can select only one server name at a time. The Operate a Server screen changes to display a list of commands and a list of services.

Figure 13-9. Operate A Server Screen

3. Select MANAGE Server Logs. The Manage Server Logs screen appears.

Figure 13-10. Manage Server Logs Screen

4. Select GENERATE a log report. The Select Services screen appears and lists the services on the server.

Figure 13-11. Select Services Screen

5. Do one of the following:

- To select all services, press F8.

- To select individual services, use the arrow keys to highlight a service and press ENTER. You can select more than one service. You can also choose to view the System Log. An asterisk (*) appears beside the name of each selection you make.

6. Press F10. The Specify Time/Date Range screen appears. You are prompted to enter the date and time of the period for which you want to view log messages.

Figure 13-12. Specify Time/Date Range Screen

7. Do one of the following:

- To view logs that relate to a specific period of time, at the prompt, enter the time and date for the earliest and latest log entries you wish to view. You must enter the information in the following format: MM/DD/YY,HH:MM.

For example, specifying 05/14/95,00:30 in the From field and 05/16/95,12:30 in the To field displays all messages logged from 12:30 a.m. on May 14, 1995 to 12:30 p.m. on May 16, 1995.

- To accept the default time range, press ENTER. If you do not specify a range, the report includes all log entries received from each selected service during the period shown.

8. Press ENTER. One of the following occurs:

- If you selected System Log or pressed F8 to view all logs in step 5, you are prompted to perform consistency checking within the System Logs.

- The Creating Log Report screen appears. Skip to step 10.

9. Do one of the following:

- Select NO to cancel the consistency checking.

- Select YES to perform consistency checking. A consistency check requires several minutes to complete.

The Creating Log Report screen appears.

Note: If you want to perform a consistency check, select YES within 30 seconds; otherwise the log report is automatically generated without performing the check.

10. Do one of the following:

- Press ENTER or ESC to cancel the report. You are prompted to verify that you want to cancel the report. Continue with step 11.

- Wait until the report is created. The Manage Log Report menu appears. You can now view the report on-line or write it to a DOS file. Refer to "Viewing Log Reports" later in this chapter.

11. Select one of the following:

- YES to cancel the report. The Manage Server Logs screen appears.

- NO to continue generating the report. The Manage Log Report menu appears. You can now view the report on-line or write it to a DOS file. Refer to "Viewing Log Reports" later in this chapter.

Note: If you do not cancel the report within 30 seconds after you are prompted to verify your choice, the log report is automatically generated.

To Generate a Log Report for a Single Service

1. From the DOS command line of a network workstation, do one of the following:

- Enter MSERVICE. The Manage Services screen appears and lists the services available in your StreetTalk group. Continue with step 2.

or

- Enter MSERVICE servicename, where servicename represents the full StreetTalk name of a service you want to control. The Manage a Service screen appears. Skip to step 7.

2. Do one of the following:

- If the service appears on the screen, choose SELECT from list below.

- If the service does not appear, select SEARCH for other services. The Search For Services screen appears.

Figure 13-13. Search for Services Screen

3. Select the method you would like to use to search for a service. You are prompted to enter information about the service.

4. Enter the appropriate information. The Manage Services screen appears and lists services that match your search criteria.

Figure 13-14. Manage Services Screen

5. Choose SELECT from list below.

6. Select a service from the list. The Manage A Service screen appears.

7. Select CONTROL the service. The Control A Service Menu appears.

Figure 13-15. Control A Service Menu Screen

8. Select Generate log report. The Creating Log Report screen appears.

9. Do one of the following:

- Press ENTER or ESC to cancel the report. You are prompted to verify that you want to cancel the report. Go to step 10.

- Wait until the report is created. The Manage Log Report menu appears. You can now view the report on-line or write it to a DOS file. Refer to "Viewing Log Reports" later in this chapter.

10. Select one of the following:

- YES to cancel the report. The Control a Service screen appears.

- NO to continue generating the report. The Manage Log Report menu appears. You can now view the report on-line or write it to a DOS file. Refer to "Viewing Log Reports," which follows.

Note: If you do not cancel the report within 30 seconds after you are prompted to verify your choice, the log report is automatically generated.

Viewing Log Reports

To Write Log Messages to a DOS File

Figure 13-16. Manage Log Report Screen

1. From the Manage Log Report screen, select Write Log Messages to a File. You are prompted to enter a pathname for the file.

2. Enter the pathname to a directory on a workstation or network fixed disk.

3. One of the following occurs:

- If you specify an invalid directory, the file is not created.

- The following messages appear:

Copying file please wait...
Log report written to drive:\directory\filename

4. The Manage Log Report Menu appears. Press ESC to exit.

To View the Log Report On-line

Figure 13-17. Manage Log Report Screen

1. From the Manage Log Report screen, select View Log Messages to view the log report on-line. Page 1 of the log report appears. The current line number is listed on the lower right of the screen.

2. Do one of the following:

- Use the arrow keys or PAGE UP and PAGE DOWN to scroll through the report. Commands for searching the log file are available (Table 13-3).

- Press ESC or CTRL-C to stop viewing the report. The Manage Log Report screen appears.

3. Depending in whether you want to save the report to a file, do one of the following:

- If you do not want to save the report, press ESC. You are prompted to save the report. Continue with step 4.

- If you want to save the report, refer to "To Write Log Messages to a DOS File."

4. Select NO. The Control a Service screen appears.

Table 13-3. Workstation Keys Log File Search Commands

Generating Server Log Reports from the Console

To Generate a Server Log Report on a VINES Server

1. From the Operator Menu, select System Maintenance. The System Maintenance menu appears.

2. Select Save/Display Server Log Reports. A menu appears, listing the items you can include in the report. The menu includes the following: Server Operating System, Server Log File, Backup/Restore Log files, and all services on the server.

Figure 13-18. Server Logs Menu Screen

3. Do one of the following:

- To generate a comprehensive report on all services, enter ALL. You are prompted to perform consistency checking on the System Log files. Enter NO. You are prompted to choose between viewing the report on screen or saving the report to a file. Skip to step 5.

- To generate a log report for one or more individual items, enter the number of each item to include. If you chose Server Operating System as one of the items to include in the report, you are prompted to perform consistency checking on the System Log files. Enter NO.

After each entry, the number of the item appears in the list of current choices and you are prompted to enter another number or press ENTER.

4. When you finish selecting items to include in the report, press ENTER. You are prompted to choose between viewing the report on screen or saving the report to a file.

5. Do one of the following:

- Select Save Report. The report is saved in the specified file volume.

- Select Display Report on Screen. The report appears on the console.

Benign Log Entries

[256] Version mismatch encountered in atp.db.
[256] Version mismatch encountered in arte.db.

[256] error 2 opening /disk1/local/ss/pgms.db
[256] error 2 opening /disk1/local/ss/svc.db

BAD DIR ENTRY I = 233
BLK 33109 I=233 OWNER=root MODE=40000
SIZE=352288 MTIME=May 14 13:57 1992
DIR=/BFS/VFS/resource_forks

BAD DIR ENTRY I = 88
BLK 11631 I=88 OWNER=root MODE=40000
SIZE=352288 MTIME=May 10 15:17 1992
DIR=/BFS/VFS/newrforks

Previous PageTop Of PageNext Page