ORCL.ha-zone_sczsh, ha-zone_sczsh - resource type implementation for processing of the Oracle Solaris Cluster HA for Oracle Solaris Zones zone script resource
The ORCL.ha-zone_sczsh resource type represents the zone script resource in an Oracle Solaris Cluster HA for Solaris Zones configuration.
The resource type logs the output of the zone script resource start and stop functions in the /var/cluster/logs/DS/ORCL.ha-zone_sczsh/message_log.resource_name directory as well as in the /var/adm/messages file.
For more information about Oracle Solaris Cluster HA for Oracle Solaris Zones, see Oracle Solaris Cluster Data Service for Oracle Solaris Zones Guide.
Standard properties and extension properties that are defined for the ORCL.ha-zone_sczsh resource type are described in the subsections that follow. To set these properties for an instance of the ORCL.ha-zone_sczsh resource type, use the clresourcetype(8CL) command.
None of the standard resources properties have been overridden for this resource type.
For a description of all standard resource properties, see the r_properties(7) man page.
The additional extension properties of the ORCL.ha-zone_sczsh resource type are as follows:
This property indicates the child monitoring level for PMF.
-1
Optional
Integer
At creation
This property determines whether to failover when retry_count is exceeded during retry_interval.
False
Optional
Boolean
When disabled
This property indicates the number of PMF restarts allowed for the fault monitor.
4
Optional
Integer
Any time
This property indicates the time window, in minutes, for fault monitor restarts.
2
Optional
Integer
Any time
This property indicates the time-out value, in seconds, for the probe.
30
Optional
Integer
Any time
This property defines the command including all options to start the service in the configured zone.
<unset>
Required
String
When disabled
This property defines the command including all options to stop the service in the configured zone.
<unset>
Required
String
When disabled
This property defines the command including all options to probe the service in the configured zone.
<unset>
Required
String
When disabled
This property defines the zone name of the branded zones to be managed.
<unset>
Required
String
When disabled
This example shows the commands to create an ORCL.ha-zone_sczsh resource. These commands perform the following operations:
Registering ORCL.ha-zone_sczsh
Adding the hazone-rs resource to the zone-rg resource group
This example makes the following assumptions:
The bash shell is used.
The failover resource group zone-rg is already created and contains the hazone-rs resource of type ORCL.ha-zone_sczbt.
The logical host resource is already created.
The storage resource hasp-rs is already created.
Note that only the mandatory extension properties are used in the following example.
# clrt register ORCL.ha-zone_sczsh # clrs create -d -g zone-rg \ -t ORCL.ha-zone_sczsh \ -p Zonename=myzone \ -p ServiceStartCommand=start-command \ -p ServiceStopCommand=stop-command \ -p ServiceProbeCommand=probe-command \ -p resource_dependencies=hazone-rs \ hazone-cmd-rs
See attributes(7) for descriptions of the following attributes:
|
attributes(7), r_properties(7), ORCL.ha-zone_sczbt(7), ORCL.ha-zone_sczsmf(7), clresource(8CL), clresourcegroup(8CL),clresourcetype(8CL)