Go to main content

Data Services Reference for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

ORCL.ha-zone_sczsh (7)

Name

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

Description

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.

Standard Properties

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.

Extension Properties

The additional extension properties of the ORCL.ha-zone_sczsh resource type are as follows:

Child_mon_level

This property indicates the child monitoring level for PMF.

Default

-1

Category

Optional

Data Type

Integer

Tunable

At creation

Failover_enabled

This property determines whether to failover when retry_count is exceeded during retry_interval.

Default

False

Category

Optional

Data Type

Boolean

Tunable

When disabled

Monitor_retry_count

This property indicates the number of PMF restarts allowed for the fault monitor.

Default

4

Category

Optional

Data Type

Integer

Tunable

Any time

Monitor_retry_interval

This property indicates the time window, in minutes, for fault monitor restarts.

Default

2

Category

Optional

Data Type

Integer

Tunable

Any time

Probe_timeout

This property indicates the time-out value, in seconds, for the probe.

Default

30

Category

Optional

Data Type

Integer

Tunable

Any time

ServiceStartCommand

This property defines the command including all options to start the service in the configured zone.

Default

<unset>

Category

Required

Data Type

String

Tunable

When disabled

ServicStopCommand

This property defines the command including all options to stop the service in the configured zone.

Default

<unset>

Category

Required

Data Type

String

Tunable

When disabled

ServiceProbeCommand

This property defines the command including all options to probe the service in the configured zone.

Default

<unset>

Category

Required

Data Type

String

Tunable

When disabled

Zonename

This property defines the zone name of the branded zones to be managed.

Default

<unset>

Category

Required

Data Type

String

Tunable

When disabled

Examples

Example 1 Creating an ORCL.ha-zone_sczsh Resource

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

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
ha-cluster/data-service/ha-zones

See Also

attributes(7), r_properties(7), ORCL.ha-zone_sczbt(7), ORCL.ha-zone_sczsmf(7), clresource(8CL), clresourcegroup(8CL),clresourcetype(8CL)