com.microstrategy.webapi.IDSSXMLClusterAdmin |
This interface provides the functionality for an application to manage a cluster of Intelligence Servers. It provides methods to get a cluster, join a server to a cluster, remove a server from a cluster, manage projects on individual servers, and manage projects on all servers in a cluster.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
GetClusterMembership(String sessionID, int clusterMembershipFlags)
Contact IServer and return XML string in response to
GetClusterMembership XML API call.
| ||||||||||
abstract void |
JoinCluster(String sessionID, String clusterMemberID)
Join the server specified by clusterMemberID to the cluster
associated with sessionID
| ||||||||||
abstract void |
LeaveCluster(String sessionID, String clusterMemberID)
Remove a server specified by clusterMemberID from the cluster
associated with sessionID
| ||||||||||
abstract void |
ManageClusterProject(String sessionID, String ProjDSSID, int status, int action)
Perform an action and/or modify the status of a project for all
servers in cluster
| ||||||||||
abstract void |
ManageServerProject(String sessionID, int project, String clusterMemberID, int status, int action)
Perform an action and/or modify the status of a project on a single
server
| ||||||||||
abstract void |
ManageServerProject(String sessionID, int project, String clusterMemberID, int status, int action, int maxWaitSeconds)
Perform an action and/or modify the status of a project on a single
server
|
Contact IServer and return XML string in response to
GetClusterMembership XML API call. This XML contains all information
to create and populate a WebClusterMembership
object.
sessionID | A valid Session ID |
---|---|
clusterMembershipFlags | Flags to control the information returned. Value must be
from EnumDSSXMLGetClusterMembershipFlags . |
MSTRWebAPIException |
---|
Join the server specified by clusterMemberID to the cluster associated with sessionID
sessionID | A valid Session ID |
---|---|
clusterMemberID | The server ID to add to the cluster |
MSTRWebAPIException |
---|
Remove a server specified by clusterMemberID from the cluster associated with sessionID
sessionID | A valid Session ID |
---|---|
clusterMemberID | The server ID to remove from the cluster |
MSTRWebAPIException |
---|
Perform an action and/or modify the status of a project for all servers in cluster
sessionID | A valid Session ID |
---|---|
ProjDSSID | A valid Project ID |
status | Status of the project. Value must be from
EnumDSSXMLProjectStatus . |
action | Action to be performed on the project. Value must be from
EnumDSSXMLProjectActions .
|
Perform an action and/or modify the status of a project on a single server
sessionID | A valid Session ID |
---|---|
project | A valid Project ID |
status | Status of the project. Value must be from
EnumDSSXMLProjectStatus . |
action | Action to be performed on the project. Value must be from
EnumDSSXMLProjectActions .
|
MSTRWebAPIException |
---|
Perform an action and/or modify the status of a project on a single server
sessionID | A valid Session ID |
---|---|
project | A valid Project ID |
status | Status of the project. Value must be from
EnumDSSXMLProjectStatus . |
action | Action to be performed on the project. Value must be from
EnumDSSXMLProjectActions . |
maxWaitSeconds | timeout in seconds that i-server should poll for status change until the call returns (only supported for 'load' action) |
MSTRWebAPIException |
---|