-
Notifications
You must be signed in to change notification settings - Fork 0
StorageManager
Joe Winter edited this page Sep 4, 2014
·
1 revision
Doradus Configuration and Operation : Managing Doradus via JMX : StorageManager
StorageManager
StorageManager is operative only when the Task Manager service has been initialized (com.dell.doradus.service.taskmanager.TaskManagerService). This is always the case when the server is started as a standalone process but optional when Doradus is embedded within another application. StorageManager provides the following attributes:
|
Attribute Name
|
Description
|
|
AppNames
|
The Doradus application names known to the Task Manager.
|
|
GlobalDefaultSettings
|
The global task schedule settings, which are used for tasks that do not have a more specific (e.g., application- or table-specific) schedule default. The global schedule is usually "never", meaning no default schedule is applied to tasks.
|
|
JobList
|
The list of tasks currently executing.
|
|
NodesCount
|
The number of Cassandra nodes in the cluster.
|
|
OS
|
The operating system of the Doradus server.
|
|
OperationMode
|
The operation mode of the first connected Cassandra mode (NORMAL, LEAVING, JOINING, etc.)
|
|
RecentJob
|
Attributes about the most recent job executed through the StorageManager interface.
|
|
ReleaseVersion
|
The Doradus server release version.
|
|
StartMode
|
The execution mode of the first connected Cassandra node: 1 (FOREGROUND), 2 (BACKGROUND), or 0 (UNKNOWN).
|
The StorageManager MXBean also provides operations that perform basic administrative functions, summarized below:
|
Operation Name
|
Description
|
|
getJobByID
|
Get the status of a job with a specific ID.
|
|
startCreateSnapshot
|
Start a task to create a backup snapshot of the first Cassandra node connected to the Doradus server, assigning the snapshot a name.
|
|
startDeleteSnapshot
|
Delete a backup snapshot with a given name.
|
|
startRestoreFromSnapshot
|
Restore the Cassandra node connected to the Doradus server from a given snapshot game.
|
|
sendInterruptTaskCommand
|
Interrupt an executing task with a given name, belonging to a given application.
|
|
sendSuspectSchedulingCommand
|
Suspend the scheduling of a task with a given name, belonging to a given application.
|
|
sendResumeSchedulingCommand
|
Resume the scheduling of a task with a given name, belonging to a given application.
|
|
getAppSettings
|
Get the default task schedule settings for a given application name.
|
|
getTaskStatus
|
Get the status of a task with a given name, belonging to a given application.
|