Returns the current state of clustering as an XML document.
getState clustering [--OUTPUT_FILE=output_file] [--PROPERTY_LIST=status]
or
getState clustering [-o output_file] [-l status]
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.
This example shows the clustering is currently active:
SES>getState clustering
<?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>clustering</search:objectType>
<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>