beautypg.com

Log files, Configuring failover -11 – HP Storage Mirroring V5.1 Software User Manual

Page 138

background image

19 - 2

Log files

Various Storage Mirroring components (Storage Mirroring service, Management Console, Failover

Control Center, and the Command Line Client) generate a log file to gather alerts, which are

notification, warning, and error messages. The log files are written to disk. They can be viewed, from

the location where Storage Mirroring is installed, with a standard text viewer. The log file output can

be filtered using the Storage Mirroring LogViewer utility.
Each log file consists of a base name, a series number, and an extension.

Base Name—The base name is determined by the application or process that is running.

Series Number—The series number ranges from

1

to

999

. For example, Storage Mirroring

begins logging messages to

dtlog1

. When this file reaches its maximum size, the next log file

will be written to

dtlog2

. As long as log messages continue to be written, files

dtlog3

,

dtlog4

,

dtlog5

will be opened and filled. When the maximum number of files is reached, which by default

is

5

, the oldest file is deleted when the sixth file is created. For example, when

dtlog6

is created,

dtlog1

is deleted and when

dtlog7

is created,

dtlog2

is deleted. When file

dtlog999

is

created and filled,

dtlog1

will be re-created and Storage Mirroring will continue writing log

messages to that file. In the event that a file cannot be removed, its number will be kept in the

list, and on each successive file remove, the log writer will attempt to remove the oldest file in

the list.

Extension—The extension for each log file is

.dtl

.

1.

To modify the maximum file size and the number of Storage Mirroring log files that are

maintained, access the Server Properties dialog box by right-clicking a machine name in the left

pane of the Management Console and selecting Properties.

2.

Select the Logging tab.

3.

At the top of the window, Folder indicates the directory where the log files are located. The

default is the directory where the Storage Mirroring program files are installed.

4.

Modify any of the options under Messages and Alerts, if necessary.

Maximum Length—Specify the maximum length of the log file. The default size is

1048576

bytes

and is limited by the available hard drive space.

Maximum Files—Specify the maximum number of log files that are maintained. The default

is

5

and the maximum is

999

.

5.

Click OK to save the changes.

Component

Log File Base Name

Storage Mirroring

dtlog

Management Console

mc

Failover Control Center

fcc

Command Line Client

dtcl

Component

Sample Log File Names

Storage Mirroring

dtlog1.dtl, dtlog2.dtl

Management Console

mc1.dtl, mc2.dtl

Failover Control Center

fcc1.dtl, fcc2.dtl

Command Line Client

dtcl1.dtl, dtcl2.dtl

NOTE:

If you change the Maximum Length

or Maximum Files, you must restart the

Storage Mirroring service for the change to take effect.

This manual is related to the following products: