| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- manage a plugged-in JDBC-compliant Message Queue data store
/usr/bin/imqdbmgrsubcommandargument [ [option…]]
/usr/bin/imqdbmgr-h |-help
/usr/bin/imqdbmgr-v |-version
Theimqdbmgr utility creates and manages a Java DataBase Connectivity (JDBC) compliantdatabase used for Message Queue persistent storage.
The database can be either embedded or external. To use a JDBC-compliantdatabase (and theimdbmgr utility), you need to first set a numberof JDBC-related properties in the broker instance configuration file. See theSun Java System Message Queue Administrator's Guidefor additional information.
imqdbmgr supports four management subcommands. Thesesubcommands, and their correspondingarguments andoptions follow theimqdbmgr command on the command line. SeeUSAGE andOPTIONS.
The following subcommands are supported:
Create a Message Queue database schema.
Delete Message Queue database tables in the current data store.
Delete Message Queue database tables and recreate Message Queue database schema in the curent data store.
Reset the database table lock to allow other processes to access database tables.
Theimqdbmgr subcommands support the following arguments:
Indicates the subcommand applies to the data store, as well as the database tables.
Indicates the subcommand applies to the database table lock.
Indicates the subcommand applies to an older version of the database tables.
Indicates the subcommand applies to the database tables only.
The following options are supported:
Specify the broker instance name and corresponding instance configuration properties. If this option is not specified, the default broker instance is assumed.
Use this option with thecreate,delete,recreate, orreset subcommands.
Set system propertyproperty tovalue.
Use this option with thecreate,delete,recreate, orreset subcommands.
Display usage help. Execute nothing else on the command line.
Specify the database password.
Use this option with thecreate,delete,recreate, orreset subcommands.
Specify the database user name.
Use this option with thecreate,delete,recreate, orreset subcommands.
Display version information. Execute nothing else on the command line.
The following subcommands and associated arguments are supported:
Create a new embedded data store and Message Queue database schema for a specified or default broker instance.
Create Message Queue database schema in an existing data store for a specified or default broker instance.
Delete Message Queue database tables in the current data store for a specified or default broker instance.
Delete the earlier version of Message Queue database tables. Used after the data store has been automatically migrated to the current version of Message Queue.
Delete Message Queue database tables and recreate Message Queue database schema in the current data store for a specified or default broker instance.
Reset the database table lock to allow other processes to access database tables.
The following environment variables affect the execution of this command:
Specify the Java 2 compatible runtime. When this environment variable is not set it defaults to/usr/j2se.
The following exit values are returned:
Successful completion.
An error occurred.
Recommended directory in which to create an embedded database.
Seeattributes(5) for descriptions of the following attributes:
|
imqadmin(1M),imqbrokerd(1M),imqcmd(1M),imqusermgr(1M),imqkeytool(1M),imqobjmgr(1M),attributes(5)
Sun Java System Message Queue Administrator's Guide
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |