Configuring the Directory Server
Managing Administration Traffic to the Server
Overview of the Administration Connector
Accessing Administrative Suffixes
To Configure the Administration Connector
Configuring the Directory Server With dsconfig
Overview of the dsconfig Command
Using dsconfig in Interactive Mode
Configuring a Directory Server Instance
To Display the Properties of a Component
To Modify the Properties of a Component
To Modify the Values of a Multi-Valued Property
Configuring the Connection Handlers
To Display All Connection Handlers
Configuring the LDAP Connection Handler
To Control Which Clients Have LDAP Access to the Directory Server
Configuring the LDIF Connection Handler
To Enable the JMX Alert Handler Through the LDIF Connection Handler
Configuring the JMX Connection Handler
To Change the Port on Which the Server Listens for JMX Connections
Configuring Plug-Ins With dsconfig
Modifying the Plug-In Configuration
To Display the List of Plug-Ins
To Enable or Disable a Plug-In
To Display and Configure Plug-In Properties
To Configure Plug-In Invocation Order
Utilities That Can Schedule Tasks
Controlling Which Tasks Can Be Run
Scheduling and Configuring Tasks
To Configure Task Notification
To Configure Task Dependencies
Managing the Directory Server With the Control Panel
To Specify the Trust Manager Provider and Trust Store Algorithm Used by the Control Panel
Configuring and Testing the DSML Gateway
Deploying the DSML Gateway in Apache Tomcat
Deploying the DSML Gateway in Glassfish
Deploying the DSML Gateway in Sun Java System Web Server 7
Confirming the DSML Gateway Deployment
Confirming the DSML Gateway Deployment with JXplorer
Confirming the DSML Gateway Deployment with the Directory Server Resource Kit
The manage-tasks utility can be used to obtain a list of scheduled tasks, to display task status, and to cancel scheduled tasks. The following procedures provide examples of managing scheduled tasks. For more information, see manage-tasks in Sun OpenDS Standard Edition 2.0 Command-Line Usage Guide.
$ manage-tasks -D "cn=directory manager" -w password -n -s ID Type Status ------------------------------------------------ 2008100912550010 Backup Completed successfully 2008100912554710 Backup Completed successfully 2008100912560510 Backup Waiting on start time 2008100912561410 Backup Waiting on start time
$ manage-tasks -D "cn=directory manager" -w password -n -i 2008100912550010 Task Details ------------------------------------------------------ ID 2008100912550010 Type Backup Status Completed successfully Scheduled Start Time Immediate execution Actual Start Time Oct 9, 2008 12:55:00 PM SAST Completion Time Oct 9, 2008 12:55:01 PM SAST Dependencies None Failed Dependency Action None Email Upon Completion None Specified Email Upon Error None Specified Backup Options ---------------------------- Backup All true Backup Directory ../backups Last Log Message ------------------------------------------------------------------------------ [09/Oct/2008:12:55:01 +0200] severity="NOTICE" msgCount=4 msgID=10944795 message="The backup process completed successfully"
The following command cancels a particular task, specified by its task ID:
$ manage-tasks -D "cn=directory manager" -w password -n -c 2008100912561410
You can cancel an entire recurring task, in which case both the recurring task and its next scheduled iteration are canceled. Alternatively, you can cancel only the next scheduled task iteration, in which case future recurring task iterations will be spawned by the task scheduler.
$ manage-tasks -D "cn=directory manager" -w password -n -s ID Type Status ---------------------------------------------------------------------------- Hourly Backup Backup Recurring Hourly Backup - Wed Jan 14 13:00:00 SAST 2009 Backup Waiting on start time
$ manage-tasks -D "cn=directory manager" -w password -n -c "Hourly Backup" Task Hourly Backup canceled
$ manage-tasks -D "cn=directory manager" -w password -n \ -c "Hourly Backup - Wed Jan 14 13:00:00 SAST 2009 " Task Hourly Backup - Wed Jan 14 13:00:00 SAST 2009 canceled