Print this page
2594 implement graceful shutdown for local zones in zoneadm

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/zoneadm.1m
          +++ new/usr/src/man/man1m/zoneadm.1m
   1    1  '\" te
        2 +.\" Copyright 2014 Nexenta Systems, Inc. All rights reserved.
   2    3  .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
   3    4  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    5  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    6  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH ZONEADM 1M "Feb 13, 2009"
        7 +.TH ZONEADM 1M "Oct 30, 2013"
   7    8  .SH NAME
   8    9  zoneadm \- administer zones
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
  12   13  \fBzoneadm\fR \fB-z\fR \fIzonename\fR [\fB-u\fR \fIuuid-match\fR] \fIsubcommand\fR
  13   14       [\fIsubcommand_options\fR]
  14   15  .fi
  15   16  
  16   17  .LP
↓ open down ↓ 233 lines elided ↑ open up ↑
 250  251  
 251  252  .sp
 252  253  .ne 2
 253  254  .na
 254  255  \fB\fBhalt\fR\fR
 255  256  .ad
 256  257  .sp .6
 257  258  .RS 4n
 258  259  Halt the specified zones. \fBhalt\fR bypasses running the shutdown scripts
 259  260  inside the zone. It also removes run time resources of the zone.
 260      -.sp
 261      -Use:
 262      -.sp
 263      -.in +2
 264      -.nf
 265      -zlogin \fIzone\fR shutdown
 266      -.fi
 267      -.in -2
 268      -.sp
 269      -
 270      -to cleanly shutdown the zone by running the shutdown scripts.
 271  261  .RE
 272  262  
 273  263  .sp
 274  264  .ne 2
 275  265  .na
 276  266  \fB\fBhelp\fR [\fIsubcommand\fR]\fR
 277  267  .ad
 278  268  .sp .6
 279  269  .RS 4n
 280  270  Display general help. If you specify \fIsubcommand\fR, displays help on
↓ open down ↓ 140 lines elided ↑ open up ↑
 421  411  .ad
 422  412  .sp .6
 423  413  .RS 4n
 424  414  Prepares a zone for running applications but does not start any user processes
 425  415  in the zone.
 426  416  .RE
 427  417  
 428  418  .sp
 429  419  .ne 2
 430  420  .na
 431      -\fB\fBreboot\fR\fR
      421 +\fB\fBreboot\fR\ [\fB--\fR \fIboot_options\fR]]\fR
 432  422  .ad
 433  423  .sp .6
 434  424  .RS 4n
 435  425  Restart the zones. This is equivalent to a \fBhalt\fR \fBboot\fR sequence. This
 436      -subcommand fails if the specified zones are not active.
      426 +subcommand fails if the specified zones are not active. See \fIboot\fR subcommand
      427 +for the boot options.
 437  428  .RE
 438  429  
      430 +.sp
      431 +.ne 2
      432 +.na
      433 +\fB\fBshutdown\fR [\fB-r\fR [\fB--\fR \fIboot_options\fR]]\fR
      434 +.ad
      435 +.sp .6
      436 +.RS 4n
      437 +Gracefully shutdown the specified zone. This subcommand waits for all zone
      438 +processes to finish; the default timeout is SCF_PROPERTY_TIMEOUT value from
      439 +the SMF service system/zones. If the \fB-r\fR option is specified, reboot the
      440 +zone. See \fIboot\fR subcommand for the boot options.
      441 +.RE
      442 +
 439  443  .sp
 440  444  .ne 2
 441  445  .na
 442  446  \fB\fBuninstall [\fR\fB-F\fR\fB]\fR\fR
 443  447  .ad
 444  448  .sp .6
 445  449  .RS 4n
 446  450  Uninstall the specified zone from the system. Use this subcommand with caution.
 447  451  It removes all of the files under the \fIzonepath\fR of the zone in question.
 448  452  You can use the \fB-F\fR flag to force the action.
↓ open down ↓ 234 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX