<!--Arbortext, Inc., 1988-2008, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<?Pub UDT _bookmark _target>
<?Pub EntList bull rArr sect>
<?Pub Inc>
<refentry id="get-health-1"><?Pub Tag atict:info tracking="off" ref="2"><?Pub Tag
atict:user user="hl34125" fullname=""><?Pub Tag atict:user user="pmdavies"
fullname=""><?Pub Tag atict:user user="ah95648" fullname="">
<!-- @(#)get-health.1 1.11 07/07/13 SMI; -->
<refmeta><refentrytitle>get-health</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">13 Jul 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary>get-health</primary></indexterm><indexterm>
<primary>provides information on the cluster health</primary></indexterm>
<refname>get-health</refname><refpurpose>provides information on the cluster
health</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>get-health</command> &synopsis-common; [<option
role="double-dash">target</option> <replaceable>cluster_name</replaceable>]</synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>The <command>get-health</command> command gets information about the
health of the cluster. Note that if GMS is not enabled<?Pub Caret>, the basic
information about whether the server instances in this cluster are running
or not running is returned. </para>
</refsect1>
<refsect1 role="options"><title></title>&cmd-clust-domain-only;
<variablelist termlength="wholeline">&options-common;
<varlistentry><term><option>-target</option></term>
<listitem><para>The name of the cluster for which you want the health information.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="examples"><title></title>
<example><title>Using get-health</title>
<screen>asadmin> <userinput>get-health --user admin --passwordfile password.txt 
--host fuyako --port 7070 --target cluster</userinput>
Command get-health executed successfully</screen>
</example>
</refsect1>
<refsect1 role="exit-status"><title></title>
<variablelist termlength="narrow">
<varlistentry><term>0</term>
<listitem><para>command executed successfully</para>
</listitem>
</varlistentry>
<varlistentry><term>1</term>
<listitem><para>error in executing the command</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
</refentry>
