3.6 System Actions

You can use the system action options to display information about a specified Dynamic File Services server. For information about authentication parameters, see Section 3.3, Authentication Parameters.

3.6.1 Display Active Directory Computers

-adComputers

Displays a list of the computers in the Active Directory domain.

Syntax

DswCli.exe -adComputers
        [authentication_parameters]

3.6.2 Display Active Directory Shares

-adShares

Displays the shares that are published in Active Directory.

Syntax

DswCli.exe -adShares
        [authentication_parameters]

3.6.3 Display the File Types Information

-fileTypesInfo, -types

Displays a list of file types found on the target server. File types are the MIME content types or perceived types of file extensions that are associated in the Windows Registry with applications installed on the server. It also lists the perceived file types that are defined in the ..\Dynamic File Services\DswFileTypes.cfg file. You can customize the types defined in the DswFileTypes.cfg file. For information, see Configuring File Extensions and Categories for the File Types Filter in the Dynamic File Services 2.1 Administration Guide.

Syntax

DswCli.exe -fileTypesInfo
        [authentication_parameters]

DswCli.exe -types
        [authentication_parameters]

3.6.4 Display Local Drives

-localDrives

Displays local drive information for the specified server.

Syntax

DswCli.exe -localDrives
        [authentication_parameters]

3.6.5 Display Network Shares

-shares

Displays network share information for the specified server.

Syntax

DswCli.exe -shares
        [authentication_parameters]

3.6.6 Display Server System Information

-system

Displays system information for the specified server.

Syntax

DswCli.exe -system
        [authentication_parameters]

3.6.7 Display or Set the Logging Level for the Service and Engines

-logFileName [-logLevel]

Novell Dynamic File Services uses Apache log4net to log events. Log level settings determine the type of events that are logged. You can use the log level commands to display or set the logging levels for the following components:

  • Dynamic File Service

  • Standard Pair engine

  • Retention Pair engine

  • Cloud engine

Syntax
DswCli.exe
        -logFileName=<*|SERVICE|STANDARDPAIR|RETENTIONPAIR|CLOUD|filename>
        [-logLevel=<ALL|DEBUG|INFO|WARN|ERROR|FATAL|OFF>]
        [authentication_parameters]

The two log level options are used together to set the log level for the specified log file. If you use the -logFileName option without the -logLevel option, the current setting for the specified log file is displayed.

Log File Name Options

Specify whether you want to apply the -logLevel setting to the configuration files for all engines, or for a specified engine. You can alternatively specify a log configuration file name.

LogFileName Option

Log Configuration File Name

Log File Name

*

All

All

SERVICE

SVC

DswMcpCore.config.xml

DswMcpCore.log

STANDARDPAIR

DswStandardEngine.config.xml

DswStandardEngine.log

RETENTIONPAIR

DswRetentionEngine.config.xml

DswRetentionEngine.log

CLOUD

DswCloudEngine.config.xml

DswCloudEngine.log

"filename"

Specify the name of the log configuration file instead of an option.

Applies to the specified log file.

LogFileName Examples

-logFileName=*

-logFileName="SERVICE"

-logFileName="DswRetentionPair.config.xml"
Log Level Options

The log level options determine which events are logged for the specified log files. Use this option in combination with the -logFileName option to modify the log level setting for the specified log file. The default logging level is WARN.

Each level includes the events specified, plus the events of the levels below it. The log4net software supports the following logging levels in order of increasing priority:

Log Level Option

Description

All

Record all events in the specified log file. (This is the same output as the DEBUG level.)

DEBUG

Record debug, information, warning, error, and fatal events in the specified log file.

INFO

Record information, warning, error, and fatal events in the specified log file.

WARN

(Default) Record warning, error, and fatal events in the specified log file.

ERROR

Record error and fatal events in the specified log file.

FATAL

Record fatal events in the specified log file.

OFF

No events are recorded in the specified log file.

Log Level Examples

-logLevel=INFO

-logLevel=FATAL
Logging Level Examples

Get the current value of the Service log file (DswMcpCore.config.xml):

DswCli.exe [authentication_parameters] -logFileName=SERVICE

Set the log level to ALL for the Service log file (DswMcpCore.config.xml):

DswCli.exe[authentication_parameters] -logFileName=SERVICE -logLevel=ALL

3.6.8 Query for File Types or Extensions (for Novell Support Use Only)

Dynamic File Services provides the following query commands for use only by Novell Support:

-fileTypeExtensionQuery, -extQuery

Returns a list of file types associated with the specified extensions.

Example

DswCli.exe [authentication_parameters] -fileTypeExtensionQuery=".jpg,.mp3"
-fileTypeQuery, -typeQuery

Returns a list of file extensions associated with the specified file type. File types are the MIME content types or perceived types of file extensions that are associated with applications installed on the server.

Example

DswCli.exe [authentication_parameters] -fileTypeQuery="image"