WebSphere:*,type=AdminOperations
MBean AdminOperations
Management interface for a miscellaneous set of admin functions
Operation Summary | |
---|---|
void | mergeConfigDataOnDmgr( Process config files that were sent by node. |
void | checkNodeAndDmgrCompatibility( Invokes dmgr side extension checkers to ensure node to be federated is compatible with the dmgr |
void | renameNodeOnDmgr( rename node. |
void | doUnMergeConfigDataOnDmgr( Process config files that were sent by node. |
void | addNode( Add this node to a specified cell. |
void | addNodeWithOptions( Add this node to a specified cell. |
void | removeNode() Remove this node from the cell. |
void | removeNodeWithOptions( Remove this node from the cell. |
java.lang.String | expandVariable( Expand the variable supplied and return the variable value in the current runtime context. |
javax.management.AttributeList | getResourceAdapterFromRAR( Returns a list of JMX attributes corresponding to the Resource Adapter created from the RAR file specified. |
void | extractArchive( Extracts the archive to destination directory specified. |
void | configChanged( config is changed |
java.lang.Object | getTokenForNodeFederationOrRemoval() Method to make sure that only one addNode or removeNode is being done at a time. |
java.lang.Object | getTokenForNodeFederationOrRemoval( Method to make sure that only one addNode or removeNode is being done at a time. |
boolean | completeNodeFederationOrRemoval( Clears the addNode/removeNode flag which was set in {@link #beginNodeFederationOrRemoval}. |
void | forceNodeFederationOrRemovalTokenReset() Forces the synchronization token for addNode and removeNode to be reset so that additional operations can be performed. |
void | updateMetadataForNode( Update managed object metadata for the specified node. |
java.util.Properties | collectMetadataForThisNode() Collect managed object metadata for this MBean's node. |
java.util.Hashtable | _getAppDistributionStatus( Get app distribution status on a node |
java.util.Hashtable | getRARInfo( Returns a list of default attribute value of specified RAR. |
Operation Detail |
---|
public void mergeConfigDataOnDmgr(
java.util.Properties nodeProperties,
java.util.Properties adminProperties
)
Process config files that were sent by node.
nodeProperties
-
Metadata for node being added. adminProperties
-
client side options, etc.
administrator
operator
public void checkNodeAndDmgrCompatibility(
java.util.Properties nodeProperties
)
Invokes dmgr side extension checkers to ensure node to be federated is compatible with the dmgr
nodeProperties
-
Metadata for node being added.
administrator
operator
public void renameNodeOnDmgr(
java.lang.String oldNode,
java.lang.String newNode,
java.lang.String shortName
)
rename node.
oldNode
-
old node newNode
-
new node shortName
-
node short name
administrator
operator
public void doUnMergeConfigDataOnDmgr(
java.util.Properties nodeProperties
)
Process config files that were sent by node.
nodeProperties
-
Metadata for node being removed.
administrator
operator
public void addNode(
java.lang.String cellHost,
java.lang.String cellPort
)
Add this node to a specified cell.
cellHost
-
Name of the host on which the Deployment Manager is executing. cellPort
-
Number of the JMX port on which the Deployment Manager is listening.
administrator
operator
public void addNodeWithOptions(
java.lang.String cellHost,
java.lang.String cellPort,
java.lang.String options
)
Add this node to a specified cell.
cellHost
-
Name of the host on which the Deployment Manager is executing. cellPort
-
Number of the JMX port on which the Deployment Manager is listening. options
-
Options to use for addNode; these are the same as the command line options.
administrator
operator
public void removeNode()
Remove this node from the cell.
administrator
operator
public void removeNodeWithOptions(
java.lang.String options
)
Remove this node from the cell.
options
-
Options to use for removeNode; these are the same as the command line options.
administrator
operator
public java.lang.String expandVariable(
java.lang.String variable
)
Expand the variable supplied and return the variable value in the current runtime context.
variable
-
The variable string to be expanded.
administrator
operator
public javax.management.AttributeList getResourceAdapterFromRAR(
java.lang.String rarPath,
java.util.Hashtable props
)
Returns a list of JMX attributes corresponding to the Resource Adapter created from the RAR file specified.
rarPath
-
The RAR file path local to the node where MBean is running. props
-
The hashtable .
administrator
operator
public void extractArchive(
java.lang.String archivePath,
java.lang.String dest,
int flag
)
Extracts the archive to destination directory specified.
archivePath
-
The archive file path local to the node where MBean is running. dest
-
The destination path local to the node where MBean is running. flag
-
Expansion flags
administrator
operator
public void configChanged(
ConfigRepositoryEvent event
)
config is changed
event
-
Config repository event
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.Object getTokenForNodeFederationOrRemoval()
Method to make sure that only one addNode or removeNode is being done at a time. If one is currently in progress, this method returns false, and the addNode or removeNode should fail. If it is not in progress, this method will return true, and the {@link #completeNodeFederationOrRemoval} method should be called when finished so other add/removeNodes can be performed. A token is returned.
administrator
operator
public java.lang.Object getTokenForNodeFederationOrRemoval(
java.lang.String version
)
Method to make sure that only one addNode or removeNode is being done at a time. If one is currently in progress, this method returns false, and the addNode or removeNode should fail. If it is not in progress, this method will return true, and the {@link #completeNodeFederationOrRemoval} method should be called when finished so other add/removeNodes can be performed. A token is returned.
version
-
WebSphere version of node we are trying to add.
administrator
operator
public boolean completeNodeFederationOrRemoval(
java.lang.Object token
)
Clears the addNode/removeNode flag which was set in {@link #beginNodeFederationOrRemoval}. Returns true if the token was accepted, false otherwise.
token
-
Token obtained from getTokenForNodeFederationOrRemoval method.
administrator
operator
public void forceNodeFederationOrRemovalTokenReset()
Forces the synchronization token for addNode and removeNode to be reset so that additional operations can be performed. This should only be necessary if addNode was exited prematurely and you don't want to wait 30 minutes (token expiration time).
administrator
operator
public void updateMetadataForNode(
java.lang.String nodeName,
java.util.Properties nodeProperties
)
Update managed object metadata for the specified node.
nodeName
-
Name of the node on which the metadata has been gathered.ResourceInstanceIdentifier
The resource being modified for the MBean is of type Node
The instance is identified by the value of the parameter
nodeProperties
-
The node metadata gathered by a Managed Object Metadata Collector Manager.
administrator
operator
public java.util.Properties collectMetadataForThisNode()
Collect managed object metadata for this MBean's node.
administrator
operator
public java.util.Hashtable _getAppDistributionStatus(
java.lang.String appName,
java.util.Hashtable options
)
Get app distribution status on a node
appName
-
App NameResourceInstanceIdentifier
The resource being modified for the MBean is of type Application
The instance is identified by the value of the parameter
options
-
Options
administrator
operator
public java.util.Hashtable getRARInfo(
java.lang.String ,
java.util.Hashtable props
)
Returns a list of default attribute value of specified RAR.
-
The RAR file path local to the node where MBean is running. props
-
The hashtable
administrator
operator