Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Message Queue 3 2005Q1 Administration Guide 

Chapter 1
Administration Tasks and Tools

Sun Java™ System Message Queue administration consists of a number of tasks and a number of tools for performing those tasks.

This chapter first provides an overview of administrative tasks and then describes the administration tools, focusing on common features of the command line administration utilities. The chapter contains the following sections:

Administrative Tasks in a Development Environment

In a development environment, the work focuses on programming Message Queue client applications and programmers often administer their own systems. The Message Queue message server is needed principally for testing. In a development environment, the emphasis is on flexibility, and administration typically includes the following practices:

Administrative Tasks in a Production Environment

In a production environment, in which applications must be reliably deployed and run, administration is more important. The administration tasks you perform depend on the complexity of your messaging system and the complexity of the applications it must support. In general, these tasks can be grouped into setup operations and maintenance operations.

Setup Operations

Typically you must perform at least some, if not all, of the following setup operations:

Maintenance Operations

In a production environment, Message Queue message server resources need to be tightly monitored and controlled. Application performance, reliability, and security are at a premium, and you must perform a number of ongoing tasks, described below, using Message Queue administration tools:

Administrative Tools

Message Queue administration tools fall into two categories:

Command Line Utilities

This section introduces the command line utilities you use to perform Message Queue administration tasks. You use the Message Queue utilities to start up and manage a broker and to perform other, more specialized administrative tasks.

Figure 1-1  Local and Remote Administration Utilities

Diagram showing that imqcmd and imqobjmgr reside on remote host, while all other utilities must reside on the broker's host.

All Message Queue utilities are accessible from a command line interface (CLI). Utility commands share common formats, syntax conventions, and options, as described later in this chapter. You can find reference information on the use of the command line utilities in Chapter 13, "Command Reference."

Broker (imqbrokerd)     You use the Broker utility to start the broker. You use options to the imqbrokerd command to specify whether brokers should be connected in a cluster and to specify additional configuration information that the broker uses at startup.

Command (imqcmd)     After starting a broker, you use the Command utility to create, update, and delete physical destinations; control the broker and its connection services; and manage the broker’s resources.

Object Manager (imqobjmgr)     You use the Object Manager utility to add, list, update, and delete administered objects in an object store accessible via JNDI. Administered objects allow JMS clients to be provider-independent by insulating them from JMS provider-specific naming and configuration formats.

User Manager (imqusermgr)     You use the User Manager utility to populate a file-based user repository used to authenticate and authorize users.

Key Tool (imqkeytool)     You use the Key Tool utility to generate self-signed certificates used for SSL authentication.

Database Manager (imqdbmgr)     You use the Database Manager utility to create and manage a JDBC-compliant database used for persistent storage.

Service Administrator (imqsvcadmin)     You use the Service Administrator utility to install, query, and remove the broker as a Windows service.

Administration Console

The Administration Console combines some of the capabilities of two command line utilities: the Command utility (imqcmd) and the Object Manager utility (imqobjmgr).

You can use the Administration Console and these two command line utilities to manage a broker remotely and to manage Message Queue administered objects. Other command line utilities (imqusermgr, imqdbmgr, and imqkeytool) must be run on the same host as their associated broker, as shown in Figure 1-1.

Information on the Administration Console is available in its online help. The command line utilities, which are generally used to perform specialized tasks, are described in Command Line Utilities.

You can use the administration console to do the following:

There are some tasks that you cannot use the Administration Console to perform, including starting up a broker, creating broker clusters, configuring more specialized properties of a broker and physical destinations, and managing a user database.

Chapter 2, "Administration Quick Start" provides a brief, hands-on exercise to familiarize you with the Administration Console and to illustrate how you use it to accomplish basic tasks.

Previous      Contents      Index      Next     

Part No: 819-0066-10.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.