<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="hadbm-restart-1as">
<refmeta><refentrytitle>hadbm-restart</refentrytitle><manvolnum>1AS</manvolnum>
<refmiscinfo class="date">7 March 2003</refmiscinfo>
<refmiscinfo class="sectdesc">User Commands</refmiscinfo>
<refmiscinfo class="software">Sun ONE Application Server 7 Enterprise Edition Early Access</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary sortas="hadbm-restartdb">hadbm-restart &mdash; restarts the database</primary></indexterm><indexterm><primary sortas="restarts the database">restarts the database &mdash; hadbm-restart</primary></indexterm><indexterm><primary sortas="restartdb">restart &mdash; restarts
the database</primary></indexterm><indexterm><primary sortas="restarts the database">restarts the database &mdash; restart</primary></indexterm><refname>hadbm-restart</refname><refname>restart</refname><refpurpose>restarts the database</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command><command>restart</command> <optional><option>-no-rolling</option></optional> <optional><replaceable>database_name</replaceable></optional></command>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Use the <command>restart</command> command to restart the database. Once the database is restarted, the database should return to the previous state. If the database name is specified, the database should exist. If a database is not identified, the default database is restarted. The default database
is hadb.</para>
<para>In interactive mode, the <command>restart</command> command prompts for a confirmation before restarting the database.</para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist>
<varlistentry><term><option>g</option> <?Pub Caret><option>-no-rolling</option></term><listitem><para>restarts all nodes in HADB at once with possible loss of service.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist>
<varlistentry><term><replaceable>database_name</replaceable></term><listitem><para>name of the database. The default database is hadb.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using restart with a database identified</title>
<screen>hadbm> <userinput>restart --rolling mydatabase</userinput>
This command will restart the named database.
Type "yes" or "y" to confirm this operation,
anything else to cancel:<userinput>y</userinput>
Database successfully restarted</screen>
</example>
</refsect1>
<refsect1><title>EXIT STATUS</title>
<variablelist>
<varlistentry><term>105</term><listitem><para>database is not running</para>
</listitem></varlistentry>
<varlistentry><term>106</term><listitem><para>database could not be restarted</para>
</listitem></varlistentry>
<varlistentry><term>107</term><listitem><para>database could not return to a previous state</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="hadbm-status-1as"><citerefentry><refentrytitle>hadbm-status</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-nodestatus-1as"><citerefentry><refentrytitle>hadbm-nodestatus</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-list-1as"><citerefentry>
<refentrytitle>hadbm-list</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-addnodes-1as"><citerefentry><refentrytitle>hadbm-addnodes</refentrytitle><manvolnum>1AS</manvolnum></citerefentry>, </link><link linkend="hadbm-clear-1as"><citerefentry><refentrytitle>hadbm-clear
</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-refragment-1as"><citerefentry><refentrytitle>hadbm-refragment</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-delete-1as"><citerefentry><refentrytitle>hadbm-delete</refentrytitle>
<manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-start-1as"><citerefentry><refentrytitle>hadbm-start</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link>, <link linkend="hadbm-stop-1as"><citerefentry><refentrytitle>hadbm-stop</refentrytitle><manvolnum>1AS</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004786>
