Oracle® Secure Enterprise Search Administration API Guide 11g Release 1 (11.1.2.0.0) Part Number E14133-02 |
|
|
View PDF |
Returns the current state of a cluster tree as an XML document.
See Also
getAllStates clusterTree getStateList clusterTree
Syntax
getState clusterTree --NAME=object_name [--OUTPUT_FILE=output_file] [--PROPERTY_LIST=status]
or
getState clusterTree -n object_name [-o output_file] [-l status]
Parameters
Content of a <search:name>
element in the XML document.
Name of a file in which the exported XML document is stored. You can specify a simple file name, a relative path, or a fully qualified path. When executing on multiple instances, the getState
command creates a separate file for each one and appends the host name and port number to the base name.
Example
This example shows that the Metadata Tree cluster tree is currently active.
SES>getState clusterTree --NAME=Metadata Tree
<?xml version="1.0" encoding="UTF-8"?>
<search:state productVersion="11.1.2.0.0" xmlns:search="http://xmlns.oracle.com/search">
<search:objectStates>
<search:objectState>
<search:objectType>clusterTree</search:objectType>
<search:objectKey>
<search:keyPairs>
<search:keyPair>
<search:name>name</search:name>
<search:value>Metadata Tree</search:value>
</search:keyPair>
</search:keyPairs>
</search:objectKey>
<search:stateProperties>
<search:stateProperty>
<search:propertyName>status</search:propertyName>
<search:propertyValues>
<search:propertyValue>
<search:value>ACTIVE</search:value>
</search:propertyValue>
</search:propertyValues>
</search:stateProperty>
</search:stateProperties>
</search:objectState>
</search:objectStates>
</search:state>