Back to Contents Page

Back to Utilities and Command-Line Operation

Database Management Utility

Dell OpenManage™ IT Assistant User's Guide

bullet.gif (1107 bytes) Overview bullet.gif (1107 bytes) dconfig.ini File Requirements
bullet.gif (1107 bytes) Using the GUI Database Management Utility bullet.gif (1107 bytes) DLL Requirements
bullet.gif (1107 bytes) Using the Command-Line Database Management Utility bullet.gif (1107 bytes) Registry Key Requirements

Overview

The Dell OpenManage IT Assistant Database Management Utility has two implementations: a graphical user interface (GUI) and a command-line interface. Both versions of the utility allow users to perform operations on databases and tables that reside in the IT Assistant data repository.

You must start the GUI version of the Database Management Utility separately from IT Assistant. When you start the utility, a window opens that contains database and table management functions. See the Dell OpenManage IT Assistant Database Manager User's Guide for information on using the GUI utility. The command-line application performs the functions of the GUI utility along with a few others.


Using the GUI Database Management Utility

See the Dell OpenManage IT Assistant Database Manager User's Guide for information on using this utility.


Using the Command-Line Database Management Utility

  1. At a command prompt, change directory to \Program Files\Dell\OpenManage\IT Assistant\bin.

  2. Type dcdbmng followed by a switch that specifies the command you want. To see a list of valid switches, type:

dcdbmng /h

OR

dcdbmng /H

OR

dcdbmng /?

NOTE: Type a space between the dcdbmng command and the / (forward slash).

This command displays a dialog box that lists commands that you can use to do the following:

Help

Attach Database

NOTE: Related registry keys must be set up correctly, and the dconfig.ini file must be placed in the correct location.

Clear Table

Detach Database

NOTE: The detached database file remains in the location from where it was attached to the MSDE or Microsoft SQL Server.

Export Table

Export Database

NOTE: The utility creates the files in the location specified by path in the format of tablename.txt.

Import Table

NOTE: If the flat text file was exported from IT Assistant 5.x, specify the optional variable [migrate] to be MIGRATE_5.x_TO_6.4. Do not use this optional variable if the flat file was exported from IT Assistant 6.1.

Import Database

NOTE: Do not use flat files exported from IT Assistant 5.x to import data into this version of IT Assistant.

Flat text files must be named tablename.txt.

Install MSDE

NOTE: Related registry keys must be set up correctly.
NOTE: The MSDEx85.exe and iss files must be placed in the correct location.

Start Server

Stop Server

Suppress Messages

When you run the Database Management Utility as a command-line application, you receive messages when commands succeed or fail. The command to suppress messages halts these notifications.

NOTE: Using /S with no other option causes the command to be ignored.

dconfig.ini File Requirements

The IT Assistant installation program installs the dconfig.ini file in the \configuration directory of the IT Assistant installation directory. The content of the dconfig.ini file is correct at installation and requires no modification; the following section is provided for reference only. This section is required for proper operation of the Database Management Utility.

;**********************************

;BEGIN Database Section

;**********************************

 

[DATABASE]

name=ITAssist

ODBC_SECTION=ITASSIST_ODBC

 

[ITASSIST_ODBC]

DSN_name=ITAssist

DRIVER=SQL Server

ATTRIBUTE_SECTION=ITAssist_Odbc_Attributes

 

[ITAssist_Odbc_Attributes]

NUMBER_OF_ATTRIBUTES=5

; Key Name - Name of the key

; Key Value - Value of the key

ATTRIBUTE0=DSN,ITAssist

ATTRIBUTE1=DESCRIPTION,ITAssistant Database

ATTRIBUTE2=DATABASE,ITAssist

ATTRIBUTE3=SERVER,(local)

ATTRIBUTE4=TRUSTED_CONNECTION,yes

 

[MASTER_DATABASE]

name=master

ODBC_SECTION=MASTER_ODBC

 

[MASTER_ODBC]

DSN_name=master

DRIVER=SQL Server

ATTRIBUTE_SECTION=Master_Odbc_Attributes

 

[Master_Odbc_Attributes]

NUMBER_OF_ATTRIBUTES=5

; Key Name - Name of the key

; Key Value - Value of the key

ATTRIBUTE0=DSN,master

ATTRIBUTE1=DESCRIPTION,master database

ATTRIBUTE2=DATABASE,master

ATTRIBUTE3=SERVER,(local)

ATTRIBUTE4=TRUSTED_CONNECTION,yes

 

[MIGRATE_5.X_TO_6.4]

; TableName.ColumnName in 5.x database

; ColumnName in 6.4 database

DiscoveryConfiguration.SubnetAddress=Address

 

[RESTORE_6.4_DATABASE]

GLOBAL_CONFIGURATION=GlobalConfiguration

EVENT_MGMT_SYSTEM=EventCategory,EventType,SNMPEventSource,DMIEventSource,SNMPEventSeverityConfiguration,EventManager,StoredAction

 

;**********************************

;END Database Section

;**********************************


DLL Requirements

The IT Assistant installation program installs the following dynamic link library (DLL) files in the \bin directory of the IT Assistant installation directory. No additional installation of these files is necessary; this list is for reference only. These files are required for proper operation of the Database Management Utility:

DLL File Name
dclang.dll 
dcutil.dll   
dcsock:dll 
dccomm.dll 
wcdmi.dll
wdmiutil.dll 
tls7015.dll 
tls7012.dll

Registry Key Requirements

The IT Assistant installation program enters the following keys into the Windows registry under the \HKEY_LOCAL_MACHINE\SOFTWARE\Dell Computer\Dell OpenManage IT Assistant\Connection Service key. No additional registry modification is necessary; this list is provided for reference only. These registry keys are required for proper operation of the Database Management Utility.

Name Type Data
DbFilePath String Specifies the full path for the single database file (.mdf) to attach to the server, such as D:\Program Files\Dell\OpenManage\IT Assistant\database\ITAssist.mdf.
LogFilePath String Specifies the full path for database transaction log file (.ldf) to delete after database file is detached from server, such as D:\Program Files\Dell\OpenManage\IT Assistant\database\ITAssist_log.ldf.
MsdeExePath String Specifies the full path for the MSDEx86.exe program. The path must be enclosed in quotes.
MsdeArgument String Command line options for the MSDEx86.exe program. For unattended installation, the valid string value is -s -a -f1.
MsdeIssPath String Specifies the full path for the InstallShield unattended installation input file (.iss file). This path is used by the MSDEx86.exe program and must be enclosed in quotes.
TimeoutDuration String Time interval  to wait for the MSDE installation to complete. Value may be specified in milliseconds or by the string INFINITE.

Back to Contents Page

Back to Utilities and Command-Line Operation