Print this page
7711 SMF: Finish implementing support for degraded state
   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.

   3 .\" 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 .\" 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 .\" 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 SVCADM 1M "Oct 17, 2017"
   7 .SH NAME
   8 svcadm \- manipulate service instances
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/usr/sbin/svcadm\fR [\fB-S state\fR] [\fB-v\fR] [\fB-Z\fR | \fB-z\fR \fIzone\fR] enable [\fB-rst\fR]
  13      [{\fIFMRI\fR | \fIpattern\fR}...]
  14 .fi
  15 
  16 .LP
  17 .nf
  18 \fB/usr/sbin/svcadm\fR [\fB-S state\fR] [\fB-v\fR] [\fB-Z\fR | \fB-z\fR \fIzone\fR] disable [\fB-s\fR]
  19      [{\fIFMRI\fR | \fIpattern\fR}...]
  20 .fi
  21 
  22 .LP
  23 .nf
  24 \fB/usr/sbin/svcadm\fR [\fB-S state\fR] [\fB-v\fR] [\fB-Z\fR | \fB-z\fR \fIzone\fR] restart [\fB-d\fR]
  25      [{\fIFMRI\fR | \fIpattern\fR}...]
  26 .fi


 229 .sp
 230 .ne 2
 231 .na
 232 \fB\fBmark [\fR\fB-It\fR\fB]\fR \fIinstance_state\fR {\fIFMRI\fR |
 233 \fIpattern\fR}...\fR
 234 .ad
 235 .sp .6
 236 .RS 4n
 237 If \fIinstance_state\fR is "maintenance", then for each service specified by
 238 the operands, \fBsvcadm\fR requests that the assigned restarter place the
 239 service in the \fBmaintenance\fR state. See \fBsvc.startd\fR(1M) and
 240 \fBinetd\fR(1M) for a detailed description of the actions taken for each
 241 restarter.
 242 .sp
 243 If \fIinstance_state\fR is "degraded", then for services specified by the
 244 operands in the online state, \fBsvcadm\fR requests that the restarters
 245 assigned to the services move them into the \fBdegraded\fR state.
 246 .sp
 247 If the \fB-I\fR option is specified, the request is flagged as immediate.
 248 .sp
 249 The \fB-t\fR option is only valid for maintenance requests. When this option is
 250 specified, the request is flagged as temporary, and its effect will only last
 251 until the next reboot.
 252 .RE
 253 
 254 .sp
 255 .ne 2
 256 .na
 257 \fB\fBmilestone\fR [\fB-d\fR] \fImilestone_FMRI\fR\fR
 258 .ad
 259 .sp .6
 260 .RS 4n
 261 If \fImilestone_FMRI\fR is the keyword "none", all services other than the
 262 master restarter, \fBsvc:/system/svc/restarter:default\fR, will be temporarily
 263 disabled.
 264 .sp
 265 If \fImilestone_FMRI\fR is the keyword "all", temporary enable and disable
 266 requests for all services will be nullified.
 267 .sp
 268 If \fImilestone_FMRI\fR is one of the following:
 269 .sp


   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 2017 RackTop Systems.
   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.
   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.
   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]
   7 .TH SVCADM 1M "Dec 4, 2017"
   8 .SH NAME
   9 svcadm \- manipulate service instances
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fB/usr/sbin/svcadm\fR [\fB-S state\fR] [\fB-v\fR] [\fB-Z\fR | \fB-z\fR \fIzone\fR] enable [\fB-rst\fR]
  14      [{\fIFMRI\fR | \fIpattern\fR}...]
  15 .fi
  16 
  17 .LP
  18 .nf
  19 \fB/usr/sbin/svcadm\fR [\fB-S state\fR] [\fB-v\fR] [\fB-Z\fR | \fB-z\fR \fIzone\fR] disable [\fB-s\fR]
  20      [{\fIFMRI\fR | \fIpattern\fR}...]
  21 .fi
  22 
  23 .LP
  24 .nf
  25 \fB/usr/sbin/svcadm\fR [\fB-S state\fR] [\fB-v\fR] [\fB-Z\fR | \fB-z\fR \fIzone\fR] restart [\fB-d\fR]
  26      [{\fIFMRI\fR | \fIpattern\fR}...]
  27 .fi


 230 .sp
 231 .ne 2
 232 .na
 233 \fB\fBmark [\fR\fB-It\fR\fB]\fR \fIinstance_state\fR {\fIFMRI\fR |
 234 \fIpattern\fR}...\fR
 235 .ad
 236 .sp .6
 237 .RS 4n
 238 If \fIinstance_state\fR is "maintenance", then for each service specified by
 239 the operands, \fBsvcadm\fR requests that the assigned restarter place the
 240 service in the \fBmaintenance\fR state. See \fBsvc.startd\fR(1M) and
 241 \fBinetd\fR(1M) for a detailed description of the actions taken for each
 242 restarter.
 243 .sp
 244 If \fIinstance_state\fR is "degraded", then for services specified by the
 245 operands in the online state, \fBsvcadm\fR requests that the restarters
 246 assigned to the services move them into the \fBdegraded\fR state.
 247 .sp
 248 If the \fB-I\fR option is specified, the request is flagged as immediate.
 249 .sp
 250 The \fB-t\fR option is mandatory for degrade requests. When this option is
 251 specified, the request is flagged as temporary, and its effect will only last
 252 until the next reboot.
 253 .RE
 254 
 255 .sp
 256 .ne 2
 257 .na
 258 \fB\fBmilestone\fR [\fB-d\fR] \fImilestone_FMRI\fR\fR
 259 .ad
 260 .sp .6
 261 .RS 4n
 262 If \fImilestone_FMRI\fR is the keyword "none", all services other than the
 263 master restarter, \fBsvc:/system/svc/restarter:default\fR, will be temporarily
 264 disabled.
 265 .sp
 266 If \fImilestone_FMRI\fR is the keyword "all", temporary enable and disable
 267 requests for all services will be nullified.
 268 .sp
 269 If \fImilestone_FMRI\fR is one of the following:
 270 .sp