> Sorry, I am not quite clear about the difference between service and instance.

It's all about property inheritance.   A service can be thought of as
a collection of instances with a common set of properties.  The way
instance properties are composed, if an instance doesn't have that
particular property it inherits it from the service.

Example - suppose you have a bunch of web servers (apache).  You can
apply all of the default properties (start_ssl, location of the apache
binary, the "now completely unnecessary pid file (tm)" ... ) at the
service level.   Then override these properties at the instance level
if they need to be different.



> This service is a single instance service. I just use the abbreviation to
> identify it. So it should be an instance, right?

> You mean I should use 'svccfg refresh' to the running instance?

Actually svcadm refresh.   That instructs the restarter service
(probably svc.startd in your case) to reread (and recompose) the
instance properties out of the repository.  And if a refresh
method exists, it will also be executed (the obligatory sighup
to a daemon).

The trick here is that you should follow any svccfg that changes
service properties with a refresh on the instances so that
the restarter is notified of the changes.

Bob


Reply via email to