Scheduling a Send Log Files Job
Use the following steps to schedule a send log files operation for a job:
-
From the CommCell Console ribbon, on the Home tab, click Job Controller.
-
From the Job Controller window, right-click the desired job and then click Send Log Files.
The Send Log Files dialog box is displayed.
-
On the Job Initiation tab, select Schedule and then click Configure.
The Schedule Details dialog box appears.
-
Select the appropriate scheduling options.
For information on the scheduling options, see Schedule Pattern.
-
Click OK.
You can track the progress of the job from the Job Controller window of the CommCell Console.
Configuring an HTTP Proxy Server for Sending Log Files
If the CommCell computer uses an HTTP Proxy to connect to the Internet, you must use that HTTP proxy server for sending log files to an HTTP location. For instructions, see Configuring an HTTP Proxy Server for the CommServe Computer.
Configuring the Maximum Log Bundle Size for E-Mails
In some cases, when a log file bundle exceeds the maximum allowed size, a separate e-mail with the remainder of the bundle will be sent to the designated recipient.
Once the recipient saves the log files to disk, the log files can be concatenated into their original form by performing the following steps:
-
From the command line, enter the following: copy /B <source_directory>\<log_file_01_name> + <source_directory>\<log_file_02_name> /B c:\<concatenated _log_file_name>.CAB
-
Open concatenated _log_file_name.CAB using the WinZip application.
Use the following steps to change the maximum bundle size for e-mails:
-
From CommCell Console ribbon, on the Home tab, click Control Panel.
-
Under Maintenance, click EMail and Web Server.
The EMail and Web Server dialog box appears.
-
In the Mail Server Size Limit (MB) box, type the maximum log bundle size for the e-mails.
-
Click OK.
Sending a Log File Page
Once you view the log file for a CommCell component or a job, you can send the existing log file contents to an email recipient using the following steps:
-
From the CommCell Console, right-click the CommServe, MediaAgent, or Client, point to View and then select Log Files.
-
In the Select the log file to open dialog box, select the log file, and then click Open.
The selected log file appears in the Log File dialog box.
-
Click File, and then select Send Page.
The SMTP Parameters dialog box appears.
-
In the SMTP Host box, type the SMTP host server address.
If you are viewing the log files from a client other than the CommServe, make sure the SMTP host is same as the one configured on the CommServe.
-
In the To box, type the e-mail address of the user to whom you want to send the log page.
-
In the From box, type the e-mail address of the sender.
-
In the Subject box, type the e-mail subject for the log page.
-
Click OK.
Configuring Removal of Non-Log Files
In the log files directory, non-log files are deleted after 90 days by default. You can use this additional setting to configure the number of days a non-log file is saved in the log file directory.
-
In the CommCell Browser, right-click the CommServe computer, and then click Properties.
-
On the Additional Settings tab, click Add.
The Add Additional Settings dialog box appears.
-
In the Name box, type nDelete_NonLogFiles_OlderThan.
Alternatively you can click Lookup and search for the additional setting using the Find box
-
In the Category box, select or type EventManager.
-
In the Type box, select or type Integer.
-
In the Value box, type the number of days you want non-log files to be saved.
The minimum value is 7, and the maximum value is 365.
-
Click OK to close the Add Additional Settings dialog box.
-
Click OK to close the CommCell Properties dialog box.
Manage Compression Settings
By default, log files are compressed into the 7ZIP format during the Send Log Files operation. You can further configure the 7ZIP compression process by specifying a compression level, protecting log files with a password, or create a log of the compression process.
Set the Compression Level
Set the level of file compression for the 7ZIP format by specifying a numeric value. The higher the value, the higher the compression rate, and the slower the compression speed. The higher the compression level, the more resources required to run the compression.
-
In the CommCell Browser, right-click the CommServe computer, and then click Properties.
-
On the Additional Settings tab, click Add.
The Add Additional Settings dialog box appears.
-
In the Name box, type nLogCompLevel.
-
In the Category box, select or type EventManager.
-
In the Type box, select or type INTEGER.
-
In the Value box, type the number for the compression level that you want:
Compression Level
Description
0
Store
1
Fastest
3
Fast
5
Normal
7
Maximum
9
Ultra
Note: If you type any other number, the value defaults to 9.
-
Click OK.
-
Click OK.
Enable Password Protection
Create a password that users must enter to open the compressed log file.
-
In the CommCell Browser, right-click the CommServe computer, and then click Properties.
-
On the Additional Settings tab, click Add.
The Add Additional Settings dialog box appears.
-
In the Name box, type sLogPassPhrase.
-
In the Category box, select or type EventManager.
-
In the Type box, select or type STRING.
-
In the Value box, type the password that you want to use for opening the compressed log file.
-
Click OK.
-
Click OK.
Create a Log of the Compression Process
-
In the CommCell Browser, right-click the CommServe computer, and then click Properties.
-
On the Additional Settings tab, click Add.
The Add Additional Settings dialog box appears.
-
In the Name box, type b7ZipDebug.
-
In the Category box, select or type EventManager.
-
In the Type box, select or type STRING.
-
In the Value box, type 1.
-
Click OK.
-
Click OK.
Command Line Operations
You can run the Send Log Files operation from the command line with a custom script that you create.
Creating a Custom Send Log Files Script
Note
It is recommended that you use this method to send log files from the command line.
You can customize the send log files operation, and then run the script that you create from the command line. According to the options that you select, the log files are sent to the specified recipient e-mail address or stored on a local directory on the CommServe computer.
To create a custom Send Log Files operation:
-
From the CommCell Console, right-click the CommServe, point to All Tasks, and then select Send Log Files.
-
On the Computers tab, select the computers for which you want to send log files, and then click Save As Script.
The Save As Script dialog box appears.
-
In the File Path box, enter the location and file name for the send log files script, and then click OK.
The script is saved in the location that you specified.
-
To send log files, run the script from the command line.
Related Reports
Job Summary
Each time you send a log file, the operation is logged as an administrative job and can be seen in the Job Summary Report.
The Job Summary Report displays all data management, data recovery, and administrative jobs that ran in the CommCell during a specified period of time. The report also includes information about all media options. For more information, see Job Summary Report.