Thanks to everyone that responded! Of the options presented, I
believe that the best option that will have the longest
supportability across Solaris and OpenSolaris versions over time is...
"...create an rc script in the zone with the svcadm enable command
which removes itself after executin
It should be possible to do it since the integration of PSARC
2008/015 svccfg refresh subcommand in nevada.
eg.
# svccfg
svc:> repository /etc/svc/repository.db
svc:> select
svc:> setprop general/enabled = true
svc:> refresh
svc:> exit
I've never tried it though and I'm not sure you can
manipu
AFAIK the "upgrade" script is not an stable interface.
IMHO it's better to create an rc script in the zone with the svcadm
enable command which removes itself after executing the svcadm command.
regards
Bernd
Mike Gerdts wrote:
On Sun, Sep 27, 2009 at 10:50 AM, Brad Diggs wrote:
I wo
On Sun, Sep 27, 2009 at 10:50 AM, Brad Diggs wrote:
>
> I would like to svcadm enable a service of a non-global zone who's state is
> not 'running'.
> Is that possible? If so, how?
> Thanks in advance,
> Brad
> Brad Diggs
> Principal Field Technologist
You can cause it to become enabled on the
Not exactly. That will work if the zone is running. However, it will
not work for a non-running zone because
because it requires an execution environment to run within. Imagine
if you will that we created a zone and
then shut it down and halted it. Now, while the zone is down how can
I en
Do you mean you mean from the global zone like this?
zlogin $ZONE_NAME svcadm enable svc:/system/foo
Brad Diggs wrote:
I would like to svcadm enable a service of a non-global
zone who's state is not 'running'.
Is that possible? If so, how?
Thanks in advance,
Brad
I would like to svcadm enable a service of a non-global zone who's
state is not 'running'.
Is that possible? If so, how?
Thanks in advance,
Brad
Brad Diggs
Principal Field Technologist
Sun Microsystems, Inc.
Phone x52957/+1 972-992-0002
Mail bradley.di...@sun.com
Blog http://TheZone