Identify two acceptable values for a <dependent> element in a service manifest.

Identify two acceptable values for a <dependent> element in a service manifest.

Identify two acceptable values for a <dependent> element in a service manifest.

A.
require_all

B.
optional_all

C.
optional_any

D.
restart_on

E.
none

Explanation:
Service Dependency. This element identifies a group of FMRIs upon which the
service is in some sense dependent.
ATTRIBUTE: Grouping:
Possible values:
‘require_all’,
‘require_any’,
‘exclude_all’,
‘optional_all’
Note:
* Example 1:
<dependency
name=’network’
grouping=’require_all’
restart_on=’none’
type=’service’>
<service_fmri value=’svc:/milestone/network:default’ />
</dependency>
* In this example, let’s choose the svc:/system/zones:default service instance. We can use the -l
option and the service name to get more information, as shown in Listing 3.
# svcs -l svc:/system/zones:default
fmri svc:/system/zones:default
name Zones autoboot and graceful shutdown
enabled true
state online
next_state none
state_time June 14, 2012 08:30:31 PM NZST
logfile /var/svc/log/system-zones:default.log

–restarter svc:/system/svc/restarter:default
manifest /etc/svc/profile/generic.xml
manifest /lib/svc/manifest/system/zones.xml
manifest /lib/svc/manifest/system/zonestat.xml
dependency require_all/none svc:/milestone/multi-user-server (online)
dependency optional_all/none svc:/system/pools:default (disabled)
dependency optional_all/none svc:/system/pools/dynamic:default (disabled)
dependency optional_all/none svc:/system/zones-monitoring (online)



Leave a Reply 2

Your email address will not be published. Required fields are marked *