Which two statements are true about the behavior of this resource after it is added?

A third party application has provided files containing the command syntax required to register and
manage the application for high availability with Oracle Grid Infrastructure.
The command to define the application is as follows:
crsctl add resource LongApp -type cluster_resource -attr
“ACTION_SCRIPT=/u01/ogi/scripts/longapp.scr , PLACEMENT=restricted ,
HOSTING_MEMBERS=RACNODE1 RACNODE2 , CHECK_INTERVAL=30
,START_DEPENDENCIES=hard(LongAppvip) , STOP_DEPENDENCIES=hard (LongAppvip),
RESTART_ATTEMPTS=2″
Which two statements are true about the behavior of this resource after it is added?

A third party application has provided files containing the command syntax required to register and
manage the application for high availability with Oracle Grid Infrastructure.
The command to define the application is as follows:
crsctl add resource LongApp -type cluster_resource -attr
“ACTION_SCRIPT=/u01/ogi/scripts/longapp.scr , PLACEMENT=restricted ,
HOSTING_MEMBERS=RACNODE1 RACNODE2 , CHECK_INTERVAL=30
,START_DEPENDENCIES=hard(LongAppvip) , STOP_DEPENDENCIES=hard (LongAppvip),
RESTART_ATTEMPTS=2″
Which two statements are true about the behavior of this resource after it is added?

A.
It will be a policy-managed resource using the server pool containing nodes RACNODE1 and
RACNODE2.

B.
The LongAppvip vip resource must be activated to successfully activate this resource, but wl
not be activated automatically if not already active.

C.
The LongAppvip vip resource must be stopped before this resource is stopped.

D.
It will be an administrator-managed resource hosted by nodes RACNODE1 and RACNODE2.

Explanation:
Configurable Resource Attributes
HOSTING_MEMBERS
A space-separated, ordered list of cluster server names that can host a resource. This attribute is
required only when using administrator management, and when the value of the PLACEMENT
attribute is set to favored or restricted. When registering applications as Oracle Clusterware
resources, use the SERVER_POOLS attribute, instead.
START_DEPENDENCIES
hard([intermediate:][global:]{resource_name | type:resource_type})Specify a hard start
dependency for a resource when you want the resource to start only when a particular resource or
resource of a particular type starts.
weak([concurrent:][global:][uniform:]{resource_name | type:resource_type})Specify a weak start
dependency for a resource when you want that resource to start despite whether named
resources are running, or not. An attempt to start this resource also attempts to start any
resources on which this resource depends if they are not running.

STOP_DEPENDENCIES
hard([intermediate:][global:][shutdown:]{resource_name | type:resource_type})Specify a hard
stop dependency for a resource that you want to stop when named resources or resources of a
particular resource type stop.
Oracle Clusterware Administration and Deployment Guide
11g Release 2 (11.2)



Leave a Reply 1

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


L. Zhu

L. Zhu

A is wrong. HOSTING_MEMBERS is only for admin-managed resource
B is right. START_DEPENDENCY=HARD
C is wrong. if VIP resource stopped, this has to be stopped
D is right. HOSTING_MEMBERS is only for admin-managed resource

So B.D. are correct