Actions
Feature #5023
closedPlease, oh please, let me clear N services in maintenance across zones from the GZ
Start date:
2014-07-18
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
We'd like the ability to use svcadm to manipulate multiple services that have a given state from the global zone. In essence, something that makes life easier than:
Otherwise, one must do this: (svcs -Z -ostate,zone,fmri | grep "^maintenance" | awk ' {print $2, $3} ') | while read zone svc; do echo $zone $svc; svcadm -z $zone clear $svc; done
Updated by Electric Monk almost 8 years ago
- Status changed from New to Closed
git commit 37b40227c992afc6bf6acdd1854ccd2e42a45028
commit 37b40227c992afc6bf6acdd1854ccd2e42a45028 Author: Jerry Jelinek <jerry.jelinek@joyent.com> Date: 2014-08-20T22:24:31.000Z 5023 Please, oh please, let me clear N services in maintenance across zones from the GZ Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
Actions